We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.7.1
Darwin 22.5.0 arm64 arm
mkdir -p a/packages/b cd a bun init -y cd packages/b bun init -y
add "workspaces": ["packages/*"], to a/package.json and some dependency to packages/b/package.json
"workspaces": ["packages/*"],
a/package.json
packages/b/package.json
cd packages/b cd ../.. bun install
I expect the dependency to be present in a/packages/b/node_modules
a/packages/b/node_modules
b's dependencies have not been installed
I would expect running bun install in b also to install the full project.
bun install
b
I might also expect some kind of ability to restrict or filter this like pnpm provides.
The text was updated successfully, but these errors were encountered:
This was fixed some time ago, most likely in Bun v1.0.3 or so
Build/worky2/a ❯ cd packages/b cd ../.. bun install^C Build/worky2/a ❯ code packages/b/package.json Build/worky2/a ❯ cd packages/b cd ../.. bun install bun install v1.0.11 (8f3e278a) + b@workspace:packages/b 1 package installed [99.00ms] Removed: 2 Build/worky2/a ❯ ls node_modules b@ bun-types/ typescript/ Build/worky2/a ❯ cat package.json ───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: package.json ───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ { 2 │ "name": "a", 3 │ "module": "index.ts", 4 │ "type": "module", 5 │ "workspaces": [ 6 │ "packages/*" 7 │ ] 8 │ } ───────┴───────────
Sorry, something went wrong.
No branches or pull requests
What version of Bun is running?
0.7.1
What platform is your computer?
Darwin 22.5.0 arm64 arm
What steps can reproduce the bug?
add
"workspaces": ["packages/*"],
toa/package.json
and some dependency to
packages/b/package.json
What is the expected behavior?
I expect the dependency to be present in
a/packages/b/node_modules
What do you see instead?
b's dependencies have not been installed
Additional information
I would expect running
bun install
inb
also to install the full project.I might also expect some kind of ability to restrict or filter this like pnpm provides.
The text was updated successfully, but these errors were encountered: