Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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)
  • Loading branch information
niemyjski committed Mar 24, 2026
commit 1ddbe9ad9d09e84baccc8e792d78510fd450ac12
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- macos-latest
- windows-latest
node_version:
- 20
- 24
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- name: Checkout
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
npm install --global replace-in-files-cli
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} **/package*.json
npm install
npm ci
- name: Build
run: npm run build
- name: Lint
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
Comment thread
niemyjski marked this conversation as resolved.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
.agents
node_modules
minver
example/svelte-kit/.svelte-kit
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import tseslint from "typescript-eslint";

export default defineConfig(
{
ignores: ["**/dist/", "**/node_modules/", "example/", "jest-resolver.cjs"]
ignores: ["**/dist/", "**/node_modules/", ".agents/", "example/", "jest-resolver.cjs"]
},
eslint.configs.recommended,
{
Expand Down
4 changes: 1 addition & 3 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": {
"ignoreDeprecations": "6.0"
}
"diagnostics": false
}
]
},
Expand Down
4 changes: 1 addition & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": {
"ignoreDeprecations": "6.0"
}
"diagnostics": false
}
]
},
Expand Down
6 changes: 2 additions & 4 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
},
"engines": {
"node": ">=18"
"node": ">=24"
Comment thread
niemyjski marked this conversation as resolved.
},
"jest": {
"moduleFileExtensions": [
Expand All @@ -54,9 +54,7 @@
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": {
"ignoreDeprecations": "6.0"
}
"diagnostics": false
}
]
},
Expand Down
Loading