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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions docs/migrations/v12-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---

Expand Down Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion docs/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/default-layout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/string-layouts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/uhtml-isomorphic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading