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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ npm install --save-dev @appos.space/plugin-types
npm install @appos.space/view-builders @appos.space/plugin-utils
```

> **Runtime support:** the runtime packages (`view-builders`, `plugin-utils`)
> ship ESM only. The standard plugin pipeline (esbuild IIFE bundle), `tsx`, and
> native ESM `import` work on any Node line. Plain CommonJS `require()` of these
> packages relies on native `require(esm)`, which needs Node
> `^20.19.0 || ^22.12.0 || >=23` — on older lines (e.g. Node 18, EOL since
> April 2025) use `import` or a bundler instead. This floor applies only to the
> `require()` path, so it is documented here rather than as a package `engines`
> constraint (which would block install for ESM/bundler consumers that work
> fine on older Node lines).

Minimal example:

```ts
Expand Down
3 changes: 2 additions & 1 deletion packages/plugin-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
"default": "./dist/index.js"
Comment thread
acebytes marked this conversation as resolved.
}
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/view-builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
"default": "./dist/index.js"
}
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ npm run build
npm test

echo "==> Bumping all packages to $VERSION..."
npm version "$VERSION" --workspaces --include-workspace-root --no-git-tag-version
npm version "$VERSION" --workspaces --include-workspace-root --no-git-tag-version --allow-same-version

echo "==> Committing version bump..."
git add packages/*/package.json package.json package-lock.json
Expand Down