chore: support creating Snaps and libraries with create-package - #258
Merged
Conversation
create-package
ulissesferreira
force-pushed
the
feat/create-package-snap-and-library
branch
from
September 3, 2026 10:49
4ad7b73 to
a1076dd
Compare
create-packagecreate-package
ulissesferreira
force-pushed
the
feat/create-package-snap-and-library
branch
3 times, most recently
from
September 3, 2026 11:03
9316e60 to
1f1da3b
Compare
Base automatically changed from
chore/rename-and-reorganize-tsconfig-files
to
main
September 3, 2026 11:05
ulissesferreira
force-pushed
the
feat/create-package-snap-and-library
branch
from
September 3, 2026 11:05
1f1da3b to
50abe22
Compare
ulissesferreira
commented
Sep 3, 2026
| ...(baseConfig.coveragePathIgnorePatterns ?? []), | ||
| '.*/__mocks__/', | ||
| ], | ||
|
|
Contributor
Author
There was a problem hiding this comment.
This comes from snap-networks-utils, to match behaviour across our library packages
ulissesferreira
force-pushed
the
feat/create-package-snap-and-library
branch
from
September 3, 2026 11:22
50abe22 to
3adeed5
Compare
ulissesferreira
commented
Sep 3, 2026
Contributor
Author
There was a problem hiding this comment.
Unused dependencies
Julink-eth
reviewed
Sep 3, 2026
ulissesferreira
force-pushed
the
feat/create-package-snap-and-library
branch
from
September 3, 2026 13:31
3adeed5 to
4e76c18
Compare
Julink-eth
approved these changes
Sep 3, 2026
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.
Description
Builds on #257.
Refactors
create-packageso it can scaffold both Snaps and non-Snap library packages, and removes thesample-snappackage now that a Snap can be generated from a template.--typeoption that defaults tosnap:snap,library, or thelibshorthand.snap-templatebased onsample-snap, and deletepackages/sample-snap.package-templatetolibrary-templateand sync itstsconfig/jestconfigs and dependency versions withsnap-networks-utils.tsconfigreference updates, which are obsolete now that the root configs no longer track package references.docs/processes/adding-new-packages.mdandAGENTS.mdaccordingly.Verified end to end: generated a library and a snap with the new CLI, then type-checked, built, and tested both.