Skip to content

Commit

Permalink
chore: fix broken upgrade-node workflow (#345)
Browse files Browse the repository at this point in the history
node-fetch needs to be pinned to v2 if we don't want to use ES modules.
  • Loading branch information
xiehan authored Oct 17, 2023
1 parent 9641568 commit 3ecbd5b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 43 deletions.
1 change: 1 addition & 0 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const project = new cdk.JsiiProject({
devDeps: [
"@types/fs-extra",
"glob",
"node-fetch", // @TODO this can be removed once we upgrade to Node 18 and use native fetch
"node-fetch@~2", // @TODO this can be removed once we upgrade to Node 18 and use native fetch
],
bundledDeps: ["change-case", "fs-extra"],
license: "MPL-2.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 22 additions & 36 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ecbd5b

Please sign in to comment.