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
5 changes: 5 additions & 0 deletions .changeset/require-node-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
linaria: patch
---

Require Node.js `>=20` (aligned with WyW 1.x).
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x]
include:
- os: windows-latest
node-version: 20.x
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ See [Configuration](https://wyw-in-js.dev/configuration) to customize how Linari

Linaria relies on WyW (`@wyw-in-js/*`) to evaluate your modules at build time and extract CSS. If you hit issues like slow builds, invalidation storms, or unexpected code being executed during the build, it’s usually related to the WyW evaluation model and how your modules are structured.

Linaria 7 requires Node.js `>=20` (WyW 1.x enforces this via `engines`).

See https://wyw-in-js.dev/stability for practical guidance and common pitfalls.

## Syntax
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"typescript": "^5.2.2"
},
"engines": {
"node": ">=16.0.0",
"node": ">=20.0.0",
"pnpm": "^9.0.0"
},
"packageManager": "pnpm@9.15.9+sha256.cf86a7ad764406395d4286a6d09d730711720acc6d93e9dce9ac7ac4dc4a28a7"
Expand Down
2 changes: 1 addition & 1 deletion packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/node": "^17.0.39"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dedent": "^1.5.1"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/linaria/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@linaria/server": "workspace:^"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-linaria/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"postcss": "^8.4.31"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"react": ">=16"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"prettier": "^3.0.3"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-standard-linaria/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"stylelint-config-standard": "^28.0.0"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^17.0.39"
},
"engines": {
"node": ">=16.11.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/testkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"ts-jest": "^29.1.1"
},
"engines": {
"node": ">=16.11.0"
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
Expand Down