Skip to content

Commit

Permalink
require node 16, update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Apr 18, 2023
1 parent 731812c commit 1a23571
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 16, 18]
node: [16, 18, 20]

runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ build: $(DST)

$(DST): $(SRC) node_modules
# workaround for https://github.com/evanw/esbuild/issues/1921
npx esbuild --log-level=warning --platform=node --target=node14 --format=esm --bundle --minify --legal-comments=none --banner:js="import {createRequire} from 'module';const require = createRequire(import.meta.url);" --outfile=$(DST) $(SRC)
npx esbuild --log-level=warning --platform=node --target=node16 --format=esm --bundle --minify --legal-comments=none --banner:js="import {createRequire} from 'module';const require = createRequire(import.meta.url);" --outfile=$(DST) $(SRC)
chmod +x $(DST)

.PHONY: publish
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bin": "./bin/versions.js",
"type": "module",
"engines": {
"node": ">=14"
"node": ">=16"
},
"files": [
"bin/versions.js"
Expand All @@ -20,7 +20,7 @@
"execa": "7.1.1",
"minimist": "1.2.8",
"toml": "3.0.0",
"updates": "13.4.0",
"updates": "14.0.0",
"vitest": "0.30.1"
}
}

0 comments on commit 1a23571

Please sign in to comment.