diff --git a/RELEASING.md b/RELEASING.md index 4d56887..2a68a7b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -9,6 +9,9 @@ Run all commands from the repository root. Publishing requires Cargo, npm, and J - `decodal-wasm` npm/JSR package: `0.1.4` - `decodal-codemirror`: `0.1.6` +The npm packages advertise the repository's dual `MIT OR Apache-2.0` license. +JSR metadata uses the single `MIT` identifier required by its publisher; both license files remain included in every package. + ## Validate ```sh diff --git a/doc/manual/souce/development.md b/doc/manual/souce/development.md index 5443375..7514d33 100644 --- a/doc/manual/souce/development.md +++ b/doc/manual/souce/development.md @@ -105,6 +105,7 @@ npx jsr publish --dry-run The npm package name is `decodal-wasm`. The JSR package name is `@hare/decodal-wasm`. +The npm package advertises `MIT OR Apache-2.0`; JSR metadata uses `MIT` because its publisher requires a single recognized license identifier. Both license files are included in the package. The playground editor uses the `decodal-codemirror` package with the generated Lezer parser in `packages/decodal-codemirror/src/decodal-parser.js`. The canonical grammar is documented in `doc/manual/souce/language/grammar.md`; regenerate the Lezer parser when that grammar or `editors/lezer-decodal/decodal.grammar` changes. @@ -128,6 +129,7 @@ npx jsr publish --dry-run The npm package name is `decodal-codemirror`. The JSR package name is `@hare/decodal-codemirror`. +As with `decodal-wasm`, JSR metadata uses `MIT` while both the MIT and Apache-2.0 license files remain included. The documentation build still uses the lightweight JavaScript fallback highlighter so Astro can render Markdown without initializing WASM at build time. diff --git a/packages/decodal-codemirror/jsr.json b/packages/decodal-codemirror/jsr.json index 2c172dd..a6828dd 100644 --- a/packages/decodal-codemirror/jsr.json +++ b/packages/decodal-codemirror/jsr.json @@ -1,7 +1,7 @@ { "name": "@hare/decodal-codemirror", "version": "0.1.6", - "license": "MIT OR Apache-2.0", + "license": "MIT", "exports": { ".": "./src/mod.ts", "./format": "./src/format.ts" diff --git a/packages/decodal-wasm/jsr.json b/packages/decodal-wasm/jsr.json index 409e9a9..9c8dbde 100644 --- a/packages/decodal-wasm/jsr.json +++ b/packages/decodal-wasm/jsr.json @@ -1,7 +1,7 @@ { "name": "@hare/decodal-wasm", "version": "0.1.4", - "license": "MIT OR Apache-2.0", + "license": "MIT", "exports": "./mod.ts", "publish": { "include": [