Skip to content

Commit 3e0feaf

Browse files
chore: support development with node 22 (#1255)
* chore(phrasebook): remove unnecessary esm package * chore: update node CI runtime to 22 --------- Co-authored-by: Wasuwat Limsuparhat <[email protected]>
1 parent b9d55dc commit 3e0feaf

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Setup Node.js
88
uses: actions/setup-node@v4
99
with:
10-
node-version: 20.x
10+
node-version: 22.x
1111
cache: 'npm'
1212

1313
- name: Update npm to 11 # Trusted Publishing requires npm >= 11.5.1

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/phrasebook/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,12 @@
125125
"clean": "nx exec -- rm -rf lib tsconfig.tsbuildinfo",
126126
"lint": "eslint .",
127127
"lint:fix": "eslint . --fix",
128-
"test": "npm run build && mocha __test__/**/*.test.js --require esm",
128+
"test": "npm run build && mocha __test__/**/*.test.js",
129129
"prepack": "npm run version",
130130
"version": "node ../../scripts/version/index.js"
131131
},
132132
"devDependencies": {
133133
"chai": "^4.3.7",
134-
"esm": "^3.2.25",
135134
"mocha": "^11.0.1"
136135
},
137136
"publishConfig": {

0 commit comments

Comments
 (0)