Closed jasongitmail closed 7 months ago
Based on the existing NPM and PNPM versions.
I added a test file, based on the test/npm-package-manager.ts.
test/npm-package-manager.ts
Not tested via linking and using in a terminal yet.
Bun package manager is not supported.
Adds support for Bun package manager. Falls back to npm commands when Bun does not have an analogous command, like search and view.
npm
search
view
Implements https://github.com/NativeScript/NativeScript/issues/10397
ns package-manager set bun, then use the ns CLI commands like normal.
ns package-manager set bun
ns
Marked this as experimental, so we can release it as-is and do follow-up adjustments as necessary.
Great thanks!
Based on the existing NPM and PNPM versions.
I added a test file, based on the
test/npm-package-manager.ts
.Not tested via linking and using in a terminal yet.
PR Checklist
What is the current behavior?
Bun package manager is not supported.
What is the new behavior?
Adds support for Bun package manager. Falls back to
npm
commands when Bun does not have an analogous command, likesearch
andview
.Implements https://github.com/NativeScript/NativeScript/issues/10397
Migration steps
ns package-manager set bun
, then use thens
CLI commands like normal.