chore: include skills directory in npm package#32
Open
aliou wants to merge 1 commit intonicobailon:mainfrom
Open
chore: include skills directory in npm package#32aliou wants to merge 1 commit intonicobailon:mainfrom
aliou wants to merge 1 commit intonicobailon:mainfrom
Conversation
Author
|
ffs, sonnet opened this before i could look at it |
Author
|
Anyway for more context: I create nix packages for my deps and more and more I try to vendor the skills with them. When the source of the package is GitHub, it's pretty easy to vendor the skill if it's in the repo. But! When the package is available in a package registry, I get it the package from there but it requires having the skills available with the package, which is not the case here for surf. Full session: https://buildwithpi.ai/session/#004dbe4a7f7e9103cba72493c4bd68cc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
skills/directory to thefilesarray in package.json so that the skills are included when the package is published to npm.Currently, the skills directory exists in the repository but is not included in the published npm package. This change ensures users who install surf-cli via npm will have access to the skills documentation.
Changes:
skills/to thefilesarray in package.jsonTesting:
Can be verified with
npm pack --dry-runto confirm skills/ is included in the package.