feat: include config for extra package names (native binary optional deps) - #16
Merged
Merged
Conversation
|
The changes in this PR will be included in the next version bump.
|
…manifests Native binary packages published as optional deps have no package.json in the workspace. List their exact names in `fledgling.include` and they are claimed, trusted, synced, and tab-completed like discovered packages. npm-only: the JSR flow skips them (nothing to scaffold a jsr.json next to).
theoephraim
force-pushed
the
claude/npm-optional-native-binaries-92b0ef
branch
from
September 17, 2026 19:14
5b39071 to
7e23178
Compare
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 an
includeoption to thefledglingconfig for packages published from the repo that have no package.json in the workspace — the classic case being per-platform native binary packages shipped asoptionalDependenciesand generated at build time.{ "fledgling": { "include": ["@scope/my-tool-darwin-arm64", "@scope/my-tool-linux-x64-gnu"] } }add,sync, the wizard, glob selectors, and tab completion. Trust is set up by default since they publish from the same repo/workflow.ignoreglobs.fledgling jsrskips them (no manifest to scaffold a jsr.json next to).collectPackages()helper replaces the repeatedapplyIgnore(discoverPackages(...))pattern.Verified with a fake monorepo: 1 real package + 2 includes →
add --dry-runplans all 3;add "*-gnu"resolves the glob to the included name.