Fix JSR license metadata
This commit is contained in:
@@ -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-wasm` npm/JSR package: `0.1.4`
|
||||||
- `decodal-codemirror`: `0.1.6`
|
- `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
|
## Validate
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ npx jsr publish --dry-run
|
|||||||
|
|
||||||
The npm package name is `decodal-wasm`.
|
The npm package name is `decodal-wasm`.
|
||||||
The JSR package name is `@hare/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 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.
|
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 npm package name is `decodal-codemirror`.
|
||||||
The JSR package name is `@hare/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.
|
The documentation build still uses the lightweight JavaScript fallback highlighter so Astro can render Markdown without initializing WASM at build time.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hare/decodal-codemirror",
|
"name": "@hare/decodal-codemirror",
|
||||||
"version": "0.1.6",
|
"version": "0.1.6",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/mod.ts",
|
".": "./src/mod.ts",
|
||||||
"./format": "./src/format.ts"
|
"./format": "./src/format.ts"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hare/decodal-wasm",
|
"name": "@hare/decodal-wasm",
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT",
|
||||||
"exports": "./mod.ts",
|
"exports": "./mod.ts",
|
||||||
"publish": {
|
"publish": {
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
Reference in New Issue
Block a user