Skip to content

Bump node version to v20#11341

Merged
adleong merged 4 commits intomainfrom
matei/bump-lingui-cli
Sep 11, 2023
Merged

Bump node version to v20#11341
adleong merged 4 commits intomainfrom
matei/bump-lingui-cli

Conversation

@mateiidavid
Copy link
Member

@mateiidavid mateiidavid commented Sep 6, 2023

lingui/cli manages locales, extracts messages from source files and compiles message catalogs for production use. Dependabot's bump seems to fail since lingui/cli requires at least node v16, and the current Dockerfile uses node v14.

This change updates the web dockerfile to use node v20 and also configures the JS web test runner to use node v20.

Lingui/cli's migration docs are covered in
https://lingui.dev/releases/migration-4#backward-incompatible-changes for migrating from v3.x.x to v4.x.x.

lingui/cli manages locales, extracts messages from source files and
compiles message catalogs for production use. Dependabot's bump seems to
fail since lingui/cli requires at least node v16, and the current
Dockerfile uses node v14.

This change updates the web dockerfile to use node v20 and also
configures the JS web test runner to use node v20.

Lingui/cli's migration docs are covered in
https://lingui.dev/releases/migration-4#backward-incompatible-changes
for migrating from v3.x.x to v4.x.x.

Signed-off-by: Matei David <[email protected]>
@mateiidavid mateiidavid requested a review from a team as a code owner September 6, 2023 12:04
@mateiidavid mateiidavid changed the title Bump lingui/cli to 4.4.2 Bump node version to v20 Sep 6, 2023
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

LGTM, but my understanding is that bookworm is the latest Debian stable, did you try using that?

@mateiidavid
Copy link
Member Author

ah, good spot, I've fallen off the debian release chart. I haven't but I think it's safe to use bookworm, the runtime for node is still the same.

Signed-off-by: Matei David <[email protected]>
@mateiidavid mateiidavid requested a review from alpeb September 6, 2023 15:26
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

It looks like codecov.yml also uses node:14-stretch. Do we want to update that as well?

Signed-off-by: Matei David <[email protected]>
@mateiidavid
Copy link
Member Author

It looks like codecov.yml also uses node:14-stretch. Do we want to update that as well?

That's probably a good idea, updated the PR.

@adleong adleong merged commit 28e95d4 into main Sep 11, 2023
@adleong adleong deleted the matei/bump-lingui-cli branch September 11, 2023 19:35
adamshawvipps pushed a commit to adamshawvipps/linkerd2 that referenced this pull request Sep 18, 2023
lingui/cli manages locales, extracts messages from source files and
compiles message catalogs for production use. Dependabot's bump seems to
fail since lingui/cli requires at least node v16, and the current
Dockerfile uses node v14.

This change updates the web dockerfile to use node v20 and also
configures the JS web test runner to use node v20.

Lingui/cli's migration docs are covered in
https://lingui.dev/releases/migration-4#backward-incompatible-changes
for migrating from v3.x.x to v4.x.x.

Signed-off-by: Matei David <[email protected]>
adamshawvipps pushed a commit to adamshawvipps/linkerd2 that referenced this pull request Sep 18, 2023
lingui/cli manages locales, extracts messages from source files and
compiles message catalogs for production use. Dependabot's bump seems to
fail since lingui/cli requires at least node v16, and the current
Dockerfile uses node v14.

This change updates the web dockerfile to use node v20 and also
configures the JS web test runner to use node v20.

Lingui/cli's migration docs are covered in
https://lingui.dev/releases/migration-4#backward-incompatible-changes
for migrating from v3.x.x to v4.x.x.

Signed-off-by: Matei David <[email protected]>
Signed-off-by: Adam Shaw <[email protected]>
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.

3 participants