Skip to content

Commit

Permalink
fix(engines): Revert engine back to 16 (#432)
Browse files Browse the repository at this point in the history
#430 upgraded the Node version to 18, but as a fix (instead of a breaking change). So it breaks consumers of the library (such as [`semantic-release`](https://github.com/semantic-release/semantic-release)) that are still on Node 16.

Fixes #431
  • Loading branch information
benmvp committed Jun 2, 2023
1 parent f755e88 commit 630edf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -82,6 +82,6 @@
]
},
"engines": {
"node": ">= 18"
"node": ">= 16"
}
}
2 changes: 1 addition & 1 deletion scripts/build.mjs
Expand Up @@ -42,7 +42,7 @@ async function main() {
outdir: "pkg/dist-node",
bundle: true,
platform: "node",
target: "node18",
target: "node16",
format: "cjs",
...sharedOptions,
}),
Expand Down

0 comments on commit 630edf1

Please sign in to comment.