Skip to content

Mark the example server package as private - #4

Merged
darthwillis merged 1 commit into
mainfrom
mark-package-private
Oct 1, 2026
Merged

darthwillis merged 1 commit into
mainfrom
mark-package-private

Conversation

@darthwillis

@darthwillis darthwillis commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Adds "private": true to example-server/package.json.

Why

Nothing in this repository is published to a package registry — without the private flag npm publish from example-server/ would succeed.

Scope

One line. npm install, npm test, npm run lint, and npm run server are unaffected — the flag only gates publishing.

Nothing in this repository is published to a package registry, and the name
external-custom-properties-example-server is unclaimed on npm. Without the
private flag, npm publish from example-server would succeed, so a contributor
running it by mistake could put a GitHub-authored package on the registry.

Setting private makes npm refuse. Install, test, lint, and run are unaffected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 97372c67-02e2-4b8b-a713-1d9e9c42f6ca
@darthwillis
darthwillis requested a review from a team as a code owner September 30, 2026 18:20
@darthwillis
darthwillis requested review from isaacmbrown and joshbanks14 and a balanced review from Copilot September 30, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused manifest change correctly prevents accidental publication without affecting runtime behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Marks the example server package as non-publishable to prevent accidental npm publication.

Changes:

  • Adds "private": true to the package manifest.
File Description
example-server/​package.json Prevents publishing the example server package.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@darthwillis
darthwillis merged commit 9a0a663 into main Oct 1, 2026
7 checks passed
@darthwillis
darthwillis deleted the mark-package-private branch October 1, 2026 12:20
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.

3 participants