Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node to 20, make sbvr-types a peer dependency, update dependencies & tests to match #255

Merged
merged 6 commits into from
Oct 7, 2024

Conversation

thgreasi
Copy link
Contributor

@thgreasi thgreasi commented Oct 4, 2024

Update @balena/lf-to-abstract-sql from 5.0.0 to 5.0.2
Update @balena/odata-parser from 3.0.0 to 3.1.0
Update @balena/odata-to-abstract-sql from 6.0.1 to 6.4.0
Update @balena/sbvr-parser from 1.4.3 to 1.4.6
Update @balena/sbvr-types from 7.0.1 to 9.0.2

Change-type: major

@thgreasi thgreasi requested a review from Page- October 4, 2024 14:49
@flowzone-app flowzone-app bot enabled auto-merge October 4, 2024 14:53
@thgreasi thgreasi force-pushed the update-dependencies branch from 8b6f93b to dae9f0e Compare October 4, 2024 14:58
@thgreasi thgreasi changed the title Update dependencies & tests to match Update node to 20, dependencies & tests to match Oct 4, 2024
@thgreasi thgreasi changed the title Update node to 20, dependencies & tests to match Update node to 20, make sbvr-types a peer dependency, update dependencies & tests to match Oct 4, 2024
@@ -57,8 +59,8 @@
]
},
"engines": {
"node": ">=16.13.0",
"npm": ">=8.1.0"
"node": ">=20.14.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update tsconfig to es2023 to match this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good reminder!
@Page- TS wiki mentions target es2022 & lib es2023 for node 20, so I guess we should go with that, right?
https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-20

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's outdated since it talks about using node.green and node.green says that target es2023 should be fine for nodejs 20

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also move to "module": "Node16", ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally yes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

package.json Outdated
"@types/common-tags": "^1.8.4",
"@types/lodash": "^4.17.10",
"@types/mocha": "^10.0.8",
"@types/node": "^22.7.4",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still be nodejs 20 since that's what is targeted

@thgreasi thgreasi requested a review from Page- October 4, 2024 15:54
Update @balena/lf-to-abstract-sql from 5.0.0 to 5.0.2
Update @balena/odata-parser from 3.0.0 to 3.1.0
Update @balena/odata-to-abstract-sql from 6.0.1 to 6.4.0
Update @balena/sbvr-parser from 1.4.3 to 1.4.6
Update @balena/sbvr-types from 7.0.1 to 9.0.2

Change-type: patch
Change-type: patch
@thgreasi thgreasi force-pushed the update-dependencies branch from b0828b5 to 9fa6236 Compare October 4, 2024 15:56
@flowzone-app flowzone-app bot merged commit 51695da into master Oct 7, 2024
50 checks passed
@flowzone-app flowzone-app bot deleted the update-dependencies branch October 7, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants