diff --git a/README.md b/README.md index aaf7d103..41d157c8 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ The [documentation](docs/) covers each convention in detail. ## Installation and first build -Use Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer, with npm 10 or newer. +Use Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer, with npm 10 or newer. ### Create a new app diff --git a/docs/migrations/v12-migration.md b/docs/migrations/v12-migration.md index e2727952..2bdd1899 100644 --- a/docs/migrations/v12-migration.md +++ b/docs/migrations/v12-migration.md @@ -22,19 +22,19 @@ Then apply the v12 changes below. ## Runtime requirements -DOMStack v12 supports Node.js 22.18+ within the 22.x release line, and Node.js 24 or newer: +DOMStack v12 supports Node.js 22.22+ within the 22.x release line, and Node.js 24 or newer: ```json { "engines": { - "node": "^22.18.0 || >=24.0.0" + "node": "^22.22.0 || >=24.0.0" } } ``` Node.js 23 satisfied v11's `>=22` engine range but is not supported by v12. -Move development, CI, and deployment environments to Node.js 22.18+ within the 22.x release line, or Node.js 24+ before upgrading. -The minimum matches `@domstack/sync` and enables native TypeScript type stripping without an experimental flag. +Move development, CI, and deployment environments to Node.js 22.22+ within the 22.x release line, or Node.js 24+ before upgrading. +The minimum satisfies Chokidar 6's Node.js requirement and enables native TypeScript type stripping without an experimental flag. --- @@ -586,7 +586,7 @@ This lets DOMStack inject the finalized `manifest.version` into `/service-worker ## Migration checklist -- [ ] Run development, CI, and deployment builds on Node.js 22.18+ within the 22.x release line, or Node.js 24+. Do not use Node.js 23. +- [ ] Run development, CI, and deployment builds on Node.js 22.22+ within the 22.x release line, or Node.js 24+. Do not use Node.js 23. - [ ] If you import public types from `@domstack/static`, update those imports to `@domstack/static/types.js`. - [ ] If you rely on BrowserSync-specific dev-server behavior, test watch mode with `@domstack/sync`. - [ ] If you use the new `--serve` preview, keep it separate from watch modes and use `--port` only with `--serve`. diff --git a/docs/typescript/README.md b/docs/typescript/README.md index da50c81e..6a7ad626 100644 --- a/docs/typescript/README.md +++ b/docs/typescript/README.md @@ -15,7 +15,7 @@ Node.js strips types from server-side modules, esbuild handles browser bundles, ## Runtime requirements -- Use Node.js 22.18+ within the 22.x release line, or Node.js 24 and newer, as required by DOMStack v12. +- Use Node.js 22.22+ within the 22.x release line, or Node.js 24 and newer, as required by DOMStack v12. These versions enable type stripping by default; no `NODE_OPTIONS` flag is needed. - Seamlessly mix `.ts`, `.mts`, `.cts` files alongside `.js`, `.mjs`, `.cjs`. - No explicit compilation step needed—Node.js handles type stripping at runtime. diff --git a/examples/basic/README.md b/examples/basic/README.md index 6ed2964a..588c5228 100644 --- a/examples/basic/README.md +++ b/examples/basic/README.md @@ -17,7 +17,7 @@ The basic example illustrates: ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/default-layout/README.md b/examples/default-layout/README.md index f578b5b4..1d4dc5a3 100644 --- a/examples/default-layout/README.md +++ b/examples/default-layout/README.md @@ -17,7 +17,7 @@ When no layout is provided, DOMStack will: ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/string-layouts/README.md b/examples/string-layouts/README.md index e4c3d324..b005d3c9 100644 --- a/examples/string-layouts/README.md +++ b/examples/string-layouts/README.md @@ -15,7 +15,7 @@ String layouts provide a straightforward approach to creating HTML templates wit ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/uhtml-isomorphic/README.md b/examples/uhtml-isomorphic/README.md index 281de472..d0d94cf7 100644 --- a/examples/uhtml-isomorphic/README.md +++ b/examples/uhtml-isomorphic/README.md @@ -16,7 +16,7 @@ uhtml-isomorphic is a lightweight library that provides the same API for both se ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/package.json b/package.json index 4c3f8ca8..b78846d7 100644 --- a/package.json +++ b/package.json @@ -49,14 +49,14 @@ "url": "https://github.com/bcomnes/domstack/issues" }, "engines": { - "node": "^22.18.0 || >=24.0.0" + "node": "^22.22.0 || >=24.0.0" }, "dependencies": { "@11ty/dependency-tree-typescript": "^1.0.0", "@domstack/sync": "^0.0.8", "argsclopts": "^1.0.4", "async-folder-walker": "^3.0.5", - "chokidar": "^5.0.0", + "chokidar": "^6.0.0", "clean-deep": "^3.4.0", "cpx2": "^9.0.3", "esbuild": "^0.28.1",