Skip to content

Remove 'examples/' from package.json files#1

Merged
GsCommand merged 1 commit intomainfrom
GsCommand-patch-1
Mar 18, 2026
Merged

Remove 'examples/' from package.json files#1
GsCommand merged 1 commit intomainfrom
GsCommand-patch-1

Conversation

@GsCommand
Copy link
Contributor

Removed 'examples/' from the files list.

Removed 'examples/' from the files list.
@GsCommand GsCommand enabled auto-merge March 18, 2026 06:34
@GsCommand GsCommand added this pull request to the merge queue Mar 18, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 18, 2026
@GsCommand GsCommand added this pull request to the merge queue Mar 18, 2026
@GsCommand GsCommand requested a review from Copilot March 18, 2026 14:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the npm packaging configuration to stop publishing the repository’s examples/ directory as part of the published package contents.

Changes:

  • Removed examples/ from the files allowlist in package.json (i.e., from what gets included in the npm tarball).
Comments suppressed due to low confidence (1)

package.json:44

  • Removing examples/ from the published files list means the npm package will no longer include the examples referenced throughout README.md (e.g. npx cl-validate examples/v1.0.0/...) and in manifest.json (examples_root: "examples/v1.0.0"). This makes those paths invalid for package consumers and may be a breaking packaging/API change. Either keep examples/ in files, or adjust the manifest/docs (and any tooling expectations) to reflect that examples are not shipped in the package.
  "files": [
    "schemas/",
    "checksums.txt",
    "manifest.json",
    "LICENSE",
    "README.md"
  ],

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@GsCommand GsCommand merged commit 6f72e3a into main Mar 18, 2026
5 checks passed
@GsCommand GsCommand deleted the GsCommand-patch-1 branch March 20, 2026 01:49
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.

2 participants