Skip to content
Merged
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: 'pnpm'

- name: Validate PR title (Conventional Commits)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm test
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thank you for contributing! This project uses a PR-based workflow with required

## Requirements

Node.js >= 20 and pnpm >= 10.
Node.js >= 24 and pnpm >= 10.
TypeScript strict mode, Biome for formatting, Vitest for tests.

## Scripts
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
npm install @sigrea/react @sigrea/core react react-dom
```

Requires React 18+ and Node.js 20 or later.
Requires React 18+ and Node.js 24 or later.

## Quick Start

Expand Down Expand Up @@ -224,7 +224,7 @@ createRoot(document.getElementById("root")!).render(<App />);

## Development

This repo targets Node.js 20 or later.
This repo targets Node.js 24 or later.

If you use mise:

Expand Down
4 changes: 2 additions & 2 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pnpm = "10.0.0"

[tasks.check_node]
description = "Ensure Node.js version is >= 20"
run = "node -e 'const major = Number(process.versions.node.split(\".\")[0]); if (major < 20) { console.error(`Node.js >= 20 is required (current: ${process.versions.node})`); process.exit(1); }'"
description = "Ensure Node.js version is >= 24"
run = "node -e 'const major = Number(process.versions.node.split(\".\")[0]); if (major < 24) { console.error(`Node.js >= 24 is required (current: ${process.versions.node})`); process.exit(1); }'"

[tasks.ci]
description = "Run CI-equivalent checks (install/test/typecheck/build/format)"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "https://github.com/sigrea/react/issues"
},
"engines": {
"node": ">=20"
"node": ">=24"
},
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -45,13 +45,13 @@
"cicheck": "pnpm test && pnpm typecheck && pnpm format:fix"
},
"peerDependencies": {
"@sigrea/core": "^0.5.0",
"@sigrea/core": "^0.6.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@sigrea/core": "^0.5.0",
"@sigrea/core": "^0.6.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.3",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading