Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version: 24

- name: Install Dependencies
run: npm install pnpm@10 -g && pnpm install
run: npm install pnpm@11 -g && pnpm install

- name: Build
run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version: 24

- name: Install Dependencies
run: npm install pnpm@10 -g && pnpm install
run: npm install pnpm@11 -g && pnpm install

- name: Build
run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install pnpm@10 -g && pnpm install
run: npm install pnpm@11 -g && pnpm install

- name: Build
if: matrix.node-version != '20'
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
],
"author": "Team Hyphen <hello@hyphen.ai>",
"license": "MIT",
"packageManager": "pnpm@11.0.9",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Downgrading @types/node to version 24 is consistent with the Node.js 24 migration, but happy-dom still pulls in version 25 as a dependency (as seen in the lockfile). This version mismatch often leads to TypeScript "Duplicate identifier" errors. It is recommended to add a pnpm.overrides block to force a single version of Node types across the entire dependency tree.

  "packageManager": "pnpm@11.0.9",
  "pnpm": {
    "overrides": {
      "@types/node": "^24.12.3"
    }
  },

"devDependencies": {
"@biomejs/biome": "^2.4.14",
"@faker-js/faker": "^10.4.0",
"@testing-library/react": "^16.3.2",
"@types/node": "^25.6.0",
"@types/node": "^24.12.3",
"@types/react": "^19.2.14",
"@vitest/coverage-v8": "^4.1.5",
"dotenv": "^17.4.2",
Expand Down
Loading
Loading