Fix JSR wasm package license

This commit is contained in:
Keisuke Hirata 2026-07-09 03:29:27 +09:00
parent 4142fcd46a
commit 335ecde816
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,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`.
JSR currently expects a single SPDX license identifier in `jsr.json`; the WebAssembly package metadata uses `MIT` while the Rust workspace remains dual licensed as `MIT OR Apache-2.0`.
The playground editor uses CodeMirror 6 with the generated Lezer parser in `src/lib/codemirror/decodal-parser.js`. The playground editor uses CodeMirror 6 with the generated Lezer parser in `src/lib/codemirror/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.

View File

@ -1,7 +1,7 @@
{ {
"name": "@hare/decodal-wasm", "name": "@hare/decodal-wasm",
"version": "0.1.2", "version": "0.1.2",
"license": "MIT OR Apache-2.0", "license": "MIT",
"exports": "./decodal_wasm.js", "exports": "./decodal_wasm.js",
"publish": { "publish": {
"include": [ "include": [