Skip to content

fix(repo): point package metadata at this project, not upstream - #18

Merged
kinlane merged 1 commit into
mainfrom
fix/package-metadata
Aug 3, 2026
Merged

fix(repo): point package metadata at this project, not upstream#18
kinlane merged 1 commit into
mainfrom
fix/package-metadata

Conversation

@kinlane

@kinlane kinlane commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Closes #12.

All twelve manifests — the root and eleven packages — still carried upstream's contact metadata. These are the fields npm renders on a package page, and the ones npm bugs and npm repo open.

Field Was Now
homepage github.com/stoplightio/spectral https://spotlight-rules.com
bugs github.com/stoplightio/spectral/issues github.com/api-commons/spotlight-tools/issues
repository github.com/stoplightio/spectral(.git) github.com/api-commons/spotlight-tools.git
author Stoplight <support@stoplight.io> API Commons <info@apicommons.org>
contributors The Spectral contributors

author states who answers for this build today. Naming Stoplight there would say they maintain it, and they do not. The lineage is credited in contributors, and more fully in NOTICE, the README and the LICENSE.

license verified as Apache-2.0 in all twelve, unchanged.

What this deliberately does not do

Package names are untouched. They are still @stoplight/spectral-*. Renaming them is #8 and nothing here depends on that decision — which is the point of splitting it out. This lands the half that is not blocked, so that whenever #8 is settled the only remaining change is the name itself.

Files: root package.json plus packages/{cli,core,formats,formatters,functions,parsers,ref-resolver,ruleset-bundler,ruleset-migrator,rulesets,runtime}/package.json.

All twelve manifests — the root and eleven packages — still carried upstream's
`homepage`, `bugs`, `repository` and `author`. Those fields are what npm renders
on a package page, and what `npm bugs` and `npm repo` open. Publishing as-is
would have shipped every package with a contact address that does not accept
reports for this build, which is the exact failure this project was started over.

  homepage      -> https://spotlight-rules.com
  bugs          -> https://github.com/api-commons/spotlight-tools/issues
  repository    -> https://github.com/api-commons/spotlight-tools.git
  author        -> API Commons <apicommons@gmail.com>
  contributors  -> The Spectral contributors

`author` states who answers for this build today. Naming Stoplight there would
say they maintain it, and they do not. The lineage is credited in `contributors`,
in the README and in the LICENSE, where it is accurate.

`license` verified as Apache-2.0 in all twelve. Package names are deliberately
untouched — that decision is #8, and nothing here depends on it.

Closes #12

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@kinlane kinlane left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- all updated to point to api commons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

package.json metadata still points at stoplightio/spectral

1 participant