Two ruleset packages are not on npm, while their READMEs and the registry offer npm as an adoption route:
| Package |
npm |
@api-common/spectral-owasp-ruleset |
✅ published |
@api-common/api-governance-mcp |
✅ published |
@api-common/spectral-problem-details-ruleset |
❌ 404 |
@api-common/spectral-fhir-ruleset |
❌ 404 |
Adoption by extends against the raw GitHub URL works today and is what the READMEs lead with, so nothing is broken. But npm i -D @api-common/spectral-fhir-ruleset fails, and both package.json files declare publishConfig.access: public as though publication were intended.
Before publishing
Both packages now declare "license": "CC-BY-NC-SA-4.0 AND Apache-2.0". Worth a deliberate look at what that means on a public registry — npm surfaces the license prominently, and NonCommercial on a governance ruleset is a real constraint for the commercial teams most likely to install it. That tension is known and was accepted as policy; publishing to npm is where it becomes most visible.
Either publish both, or drop the npm route from the READMEs and the registry adoptVia so the only advertised path is the one that works.
Two ruleset packages are not on npm, while their READMEs and the registry offer npm as an adoption route:
@api-common/spectral-owasp-ruleset@api-common/api-governance-mcp@api-common/spectral-problem-details-ruleset@api-common/spectral-fhir-rulesetAdoption by
extendsagainst the raw GitHub URL works today and is what the READMEs lead with, so nothing is broken. Butnpm i -D @api-common/spectral-fhir-rulesetfails, and bothpackage.jsonfiles declarepublishConfig.access: publicas though publication were intended.Before publishing
Both packages now declare
"license": "CC-BY-NC-SA-4.0 AND Apache-2.0". Worth a deliberate look at what that means on a public registry — npm surfaces the license prominently, and NonCommercial on a governance ruleset is a real constraint for the commercial teams most likely to install it. That tension is known and was accepted as policy; publishing to npm is where it becomes most visible.Either publish both, or drop the npm route from the READMEs and the registry
adoptViaso the only advertised path is the one that works.