Repository navigation
Commit ee19e33
fix(pnpm): resolve versionless package specs with the Rust engine
parse-package-name returns an empty string for a spec with no version
(e.g. 'is-positive', '@teambit/react.react-env'). The napi resolver
rejects an empty bareSpecifier with "isn't supported by any available
resolver" — only undefined (or an explicit range) resolves as latest.
This broke every 'bit install <pkg>' / 'bit create' path that resolves
a package without a version (~60 e2e failures on CI).
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 35185fd commit ee19e33
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| |||
0 commit comments