Skip to content

Commit

Permalink
chore: stay at es2022
Browse files Browse the repository at this point in the history
  • Loading branch information
simllll committed Feb 20, 2023
1 parent a441a05 commit 5ec5ef9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
node-version: 16
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Pack
run: npm run pack
- name: Commit new build output
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"main": "lib/cli.js",
"scripts": {
"build": "tsc",
"pack": "ncc build -m --license licenses.txt lib/index.js",
"pack": "ncc build -m --license licenses.txt src/index.ts",
"test": "jest --passWithNoTests --coverage",
"local": "babel-node src/cli",
"format": "prettier --write src/*.js src/**/*.js *.js",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rootDir": "./src",

// target settings for node 16
"module": "Node16",
"module": "ES2022",
"target": "ES2022",
"lib": ["ESNext"],
// "lib": ["esnext", "esnext.asynciterable", "dom"],
Expand Down

0 comments on commit 5ec5ef9

Please sign in to comment.