mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
respect optional peer dependencies and update docs (#6615)
* update docs * optional peer dependencies * rename offset variable name, cache invalidation time * Update install.zig * install more peer dependencies
This commit is contained in:
@@ -31,7 +31,7 @@ $ bun install
|
||||
|
||||
Running `bun install` will:
|
||||
|
||||
- **Install** all `dependencies`, `devDependencies`, and `optionalDependencies`. Bun does not install `peerDependencies` by default.
|
||||
- **Install** all `dependencies`, `devDependencies`, and `optionalDependencies`. Bun will install `peerDependencies` by default.
|
||||
- **Run** your project's `{pre|post}install` and `{pre|post}prepare` scripts at the appropriate time. For security reasons Bun _does not execute_ lifecycle scripts of installed dependencies.
|
||||
- **Write** a `bun.lockb` lockfile to the project root.
|
||||
|
||||
@@ -162,7 +162,7 @@ optional = true
|
||||
dev = true
|
||||
|
||||
# whether to install peerDependencies
|
||||
peer = false
|
||||
peer = true
|
||||
|
||||
# equivalent to `--production` flag
|
||||
production = false
|
||||
|
||||
Reference in New Issue
Block a user