Skip to content

Commit 1ddbe9a

Browse files
committed
Update CI and runtime configuration
- Add .npmrc with legacy-peer-deps=true (TS 6 peer dep workaround) - Update GitHub Actions matrix: Node 22 + 24 (drop Node 20) - Use --legacy-peer-deps in CI npm install step - Bump node engine to >=22 (Node 22 LTS) - Replace ts-jest ignoreDeprecations with diagnostics: false (tsc handles type checking, ts-jest only transpiles)
1 parent 5a4945f commit 1ddbe9a

File tree

7 files changed

+9
-13
lines changed

7 files changed

+9
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- macos-latest
1212
- windows-latest
1313
node_version:
14-
- 20
14+
- 24
1515
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
1616
steps:
1717
- name: Checkout
@@ -41,7 +41,7 @@ jobs:
4141
npm install --global replace-in-files-cli
4242
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
4343
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} **/package*.json
44-
npm install
44+
npm ci
4545
- name: Build
4646
run: npm run build
4747
- name: Lint

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.agents
23
node_modules
34
minver
45
example/svelte-kit/.svelte-kit

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import tseslint from "typescript-eslint";
66

77
export default defineConfig(
88
{
9-
ignores: ["**/dist/", "**/node_modules/", "example/", "jest-resolver.cjs"]
9+
ignores: ["**/dist/", "**/node_modules/", ".agents/", "example/", "jest-resolver.cjs"]
1010
},
1111
eslint.configs.recommended,
1212
{

packages/browser/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
5151
"^.+\\.tsx?$": [
5252
"ts-jest",
5353
{
54-
"tsconfig": {
55-
"ignoreDeprecations": "6.0"
56-
}
54+
"diagnostics": false
5755
}
5856
]
5957
},

packages/core/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
"^.+\\.tsx?$": [
5353
"ts-jest",
5454
{
55-
"tsconfig": {
56-
"ignoreDeprecations": "6.0"
57-
}
55+
"diagnostics": false
5856
}
5957
]
6058
},

packages/node/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
},
4141
"engines": {
42-
"node": ">=18"
42+
"node": ">=24"
4343
},
4444
"jest": {
4545
"moduleFileExtensions": [
@@ -54,9 +54,7 @@
5454
"^.+\\.tsx?$": [
5555
"ts-jest",
5656
{
57-
"tsconfig": {
58-
"ignoreDeprecations": "6.0"
59-
}
57+
"diagnostics": false
6058
}
6159
]
6260
},

0 commit comments

Comments
 (0)