Commit b48c49c
fix(shim): use SPDX LicenseRef syntax for PMPL so JSR accepts the license
JSR validates the `license` field in `deno.json` against the SPDX
license list and rejects unknown identifiers:
Failed to publish @hyperpolymath/affinescript at 0.1.2:
The license specified in the "license" field of your
configuration file, or in the LICENSE file was not recognized.
`PMPL-1.0-or-later` is not on the SPDX list (it's the custom Polymath
Public License from this repo). The SPDX-sanctioned way to declare a
custom license is the `LicenseRef-*` prefix, which JSR accepts.
Switch `packages/affinescript-cli/deno.json` to
`LicenseRef-PMPL-1.0-or-later`. No behaviour change; the licence the
package is offered under is exactly the same. The repo's `LICENSE`
file is the canonical text.
Dry-run is clean post-change (4 files, no warnings). This is the last
blocker for the v0.1.2 JSR publish — package exists, OIDC trusted
publisher is wired, types are typed; license string was the final gate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a8f65d3 commit b48c49c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments