bun-types 1.3.2-canary.20251106T140813 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bun.d.ts +102 -6
- package/docs/bundler/bytecode.mdx +465 -0
- package/docs/bundler/css.mdx +1024 -0
- package/docs/bundler/esbuild.mdx +253 -0
- package/docs/bundler/executables.mdx +535 -0
- package/docs/bundler/fullstack.mdx +1064 -0
- package/docs/bundler/hot-reloading.mdx +229 -0
- package/docs/bundler/html-static.mdx +386 -0
- package/docs/bundler/index.mdx +1499 -0
- package/docs/bundler/loaders.mdx +356 -0
- package/docs/bundler/macros.mdx +328 -0
- package/docs/bundler/minifier.mdx +1306 -0
- package/docs/bundler/plugins.mdx +411 -0
- package/docs/feedback.mdx +85 -0
- package/docs/guides/binary/arraybuffer-to-array.mdx +29 -0
- package/docs/guides/binary/arraybuffer-to-blob.mdx +26 -0
- package/docs/guides/binary/arraybuffer-to-buffer.mdx +27 -0
- package/docs/guides/binary/arraybuffer-to-string.mdx +17 -0
- package/docs/guides/binary/arraybuffer-to-typedarray.mdx +41 -0
- package/docs/guides/binary/blob-to-arraybuffer.mdx +16 -0
- package/docs/guides/binary/blob-to-dataview.mdx +16 -0
- package/docs/guides/binary/blob-to-stream.mdx +16 -0
- package/docs/guides/binary/blob-to-string.mdx +17 -0
- package/docs/guides/binary/blob-to-typedarray.mdx +16 -0
- package/docs/guides/binary/buffer-to-arraybuffer.mdx +16 -0
- package/docs/guides/binary/buffer-to-blob.mdx +16 -0
- package/docs/guides/binary/buffer-to-readablestream.mdx +43 -0
- package/docs/guides/binary/buffer-to-string.mdx +27 -0
- package/docs/guides/binary/buffer-to-typedarray.mdx +16 -0
- package/docs/guides/binary/dataview-to-string.mdx +17 -0
- package/docs/guides/binary/typedarray-to-arraybuffer.mdx +27 -0
- package/docs/guides/binary/typedarray-to-blob.mdx +18 -0
- package/docs/guides/binary/typedarray-to-buffer.mdx +16 -0
- package/docs/guides/binary/typedarray-to-dataview.mdx +16 -0
- package/docs/guides/binary/typedarray-to-readablestream.mdx +43 -0
- package/docs/guides/binary/typedarray-to-string.mdx +18 -0
- package/docs/guides/deployment/aws-lambda.mdx +204 -0
- package/docs/guides/deployment/digital-ocean.mdx +161 -0
- package/docs/guides/deployment/google-cloud-run.mdx +197 -0
- package/docs/guides/deployment/railway.mdx +145 -0
- package/docs/guides/deployment/render.mdx +82 -0
- package/docs/guides/deployment/vercel.mdx +99 -0
- package/docs/guides/ecosystem/astro.mdx +82 -0
- package/docs/guides/ecosystem/discordjs.mdx +80 -0
- package/docs/guides/ecosystem/docker.mdx +151 -0
- package/docs/guides/ecosystem/drizzle.mdx +195 -0
- package/docs/guides/ecosystem/edgedb.mdx +257 -0
- package/docs/guides/ecosystem/elysia.mdx +31 -0
- package/docs/guides/ecosystem/express.mdx +43 -0
- package/docs/guides/ecosystem/hono.mdx +47 -0
- package/docs/guides/ecosystem/mongoose.mdx +92 -0
- package/docs/guides/ecosystem/neon-drizzle.mdx +234 -0
- package/docs/guides/ecosystem/neon-serverless-postgres.mdx +60 -0
- package/docs/guides/ecosystem/nextjs.mdx +57 -0
- package/docs/guides/ecosystem/nuxt.mdx +90 -0
- package/docs/guides/ecosystem/pm2.mdx +55 -0
- package/docs/guides/ecosystem/prisma-postgres.mdx +169 -0
- package/docs/guides/ecosystem/prisma.mdx +164 -0
- package/docs/guides/ecosystem/qwik.mdx +114 -0
- package/docs/guides/ecosystem/react.mdx +52 -0
- package/docs/guides/ecosystem/remix.mdx +97 -0
- package/docs/guides/ecosystem/sentry.mdx +54 -0
- package/docs/guides/ecosystem/solidstart.mdx +66 -0
- package/docs/guides/ecosystem/ssr-react.mdx +49 -0
- package/docs/guides/ecosystem/stric.mdx +54 -0
- package/docs/guides/ecosystem/sveltekit.mdx +138 -0
- package/docs/guides/ecosystem/systemd.mdx +114 -0
- package/docs/guides/ecosystem/upstash.mdx +87 -0
- package/docs/guides/ecosystem/vite.mdx +77 -0
- package/docs/guides/html-rewriter/extract-links.mdx +72 -0
- package/docs/guides/html-rewriter/extract-social-meta.mdx +97 -0
- package/docs/guides/http/cluster.mdx +69 -0
- package/docs/guides/http/fetch-unix.mdx +35 -0
- package/docs/guides/http/fetch.mdx +26 -0
- package/docs/guides/http/file-uploads.mdx +97 -0
- package/docs/guides/http/hot.mdx +28 -0
- package/docs/guides/http/proxy.mdx +26 -0
- package/docs/guides/http/server.mdx +48 -0
- package/docs/guides/http/simple.mdx +20 -0
- package/docs/guides/http/stream-file.mdx +50 -0
- package/docs/guides/http/stream-iterator.mdx +49 -0
- package/docs/guides/http/stream-node-streams-in-bun.mdx +22 -0
- package/docs/guides/http/tls.mdx +32 -0
- package/docs/guides/index.mdx +10 -0
- package/docs/guides/install/add-dev.mdx +28 -0
- package/docs/guides/install/add-git.mdx +38 -0
- package/docs/guides/install/add-optional.mdx +27 -0
- package/docs/guides/install/add-peer.mdx +45 -0
- package/docs/guides/install/add-tarball.mdx +35 -0
- package/docs/guides/install/add.mdx +44 -0
- package/docs/guides/install/azure-artifacts.mdx +76 -0
- package/docs/guides/install/cicd.mdx +43 -0
- package/docs/guides/install/custom-registry.mdx +32 -0
- package/docs/guides/install/from-npm-install-to-bun-install.mdx +230 -0
- package/docs/guides/install/git-diff-bun-lockfile.mdx +47 -0
- package/docs/guides/install/jfrog-artifactory.mdx +28 -0
- package/docs/guides/install/npm-alias.mdx +25 -0
- package/docs/guides/install/registry-scope.mdx +40 -0
- package/docs/guides/install/trusted.mdx +50 -0
- package/docs/guides/install/workspaces.mdx +70 -0
- package/docs/guides/install/yarnlock.mdx +50 -0
- package/docs/guides/process/argv.mdx +66 -0
- package/docs/guides/process/ctrl-c.mdx +18 -0
- package/docs/guides/process/ipc.mdx +69 -0
- package/docs/guides/process/nanoseconds.mdx +15 -0
- package/docs/guides/process/os-signals.mdx +41 -0
- package/docs/guides/process/spawn-stderr.mdx +34 -0
- package/docs/guides/process/spawn-stdout.mdx +28 -0
- package/docs/guides/process/spawn.mdx +43 -0
- package/docs/guides/process/stdin.mdx +62 -0
- package/docs/guides/read-file/arraybuffer.mdx +30 -0
- package/docs/guides/read-file/buffer.mdx +21 -0
- package/docs/guides/read-file/exists.mdx +18 -0
- package/docs/guides/read-file/json.mdx +19 -0
- package/docs/guides/read-file/mime.mdx +22 -0
- package/docs/guides/read-file/stream.mdx +28 -0
- package/docs/guides/read-file/string.mdx +24 -0
- package/docs/guides/read-file/uint8array.mdx +23 -0
- package/docs/guides/read-file/watch.mdx +66 -0
- package/docs/guides/runtime/build-time-constants.mdx +295 -0
- package/docs/guides/runtime/cicd.mdx +45 -0
- package/docs/guides/runtime/codesign-macos-executable.mdx +61 -0
- package/docs/guides/runtime/define-constant.mdx +149 -0
- package/docs/guides/runtime/delete-directory.mdx +39 -0
- package/docs/guides/runtime/delete-file.mdx +21 -0
- package/docs/guides/runtime/heap-snapshot.mdx +28 -0
- package/docs/guides/runtime/import-html.mdx +17 -0
- package/docs/guides/runtime/import-json.mdx +46 -0
- package/docs/guides/runtime/import-toml.mdx +32 -0
- package/docs/guides/runtime/import-yaml.mdx +104 -0
- package/docs/guides/runtime/read-env.mdx +37 -0
- package/docs/guides/runtime/set-env.mdx +51 -0
- package/docs/guides/runtime/shell.mdx +42 -0
- package/docs/guides/runtime/timezone.mdx +38 -0
- package/docs/guides/runtime/tsconfig-paths.mdx +31 -0
- package/docs/guides/runtime/typescript.mdx +51 -0
- package/docs/guides/runtime/vscode-debugger.mdx +48 -0
- package/docs/guides/runtime/web-debugger.mdx +103 -0
- package/docs/guides/streams/node-readable-to-arraybuffer.mdx +13 -0
- package/docs/guides/streams/node-readable-to-blob.mdx +13 -0
- package/docs/guides/streams/node-readable-to-json.mdx +14 -0
- package/docs/guides/streams/node-readable-to-string.mdx +14 -0
- package/docs/guides/streams/node-readable-to-uint8array.mdx +13 -0
- package/docs/guides/streams/to-array.mdx +16 -0
- package/docs/guides/streams/to-arraybuffer.mdx +16 -0
- package/docs/guides/streams/to-blob.mdx +16 -0
- package/docs/guides/streams/to-buffer.mdx +17 -0
- package/docs/guides/streams/to-json.mdx +16 -0
- package/docs/guides/streams/to-string.mdx +16 -0
- package/docs/guides/streams/to-typedarray.mdx +24 -0
- package/docs/guides/test/bail.mdx +24 -0
- package/docs/guides/test/coverage-threshold.mdx +67 -0
- package/docs/guides/test/coverage.mdx +49 -0
- package/docs/guides/test/happy-dom.mdx +73 -0
- package/docs/guides/test/migrate-from-jest.mdx +125 -0
- package/docs/guides/test/mock-clock.mdx +50 -0
- package/docs/guides/test/mock-functions.mdx +70 -0
- package/docs/guides/test/rerun-each.mdx +16 -0
- package/docs/guides/test/run-tests.mdx +116 -0
- package/docs/guides/test/skip-tests.mdx +43 -0
- package/docs/guides/test/snapshot.mdx +102 -0
- package/docs/guides/test/spy-on.mdx +49 -0
- package/docs/guides/test/svelte-test.mdx +113 -0
- package/docs/guides/test/testing-library.mdx +93 -0
- package/docs/guides/test/timeout.mdx +17 -0
- package/docs/guides/test/todo-tests.mdx +74 -0
- package/docs/guides/test/update-snapshots.mdx +49 -0
- package/docs/guides/test/watch-mode.mdx +24 -0
- package/docs/guides/util/base64.mdx +17 -0
- package/docs/guides/util/deep-equals.mdx +41 -0
- package/docs/guides/util/deflate.mdx +20 -0
- package/docs/guides/util/detect-bun.mdx +25 -0
- package/docs/guides/util/entrypoint.mdx +19 -0
- package/docs/guides/util/escape-html.mdx +24 -0
- package/docs/guides/util/file-url-to-path.mdx +16 -0
- package/docs/guides/util/gzip.mdx +20 -0
- package/docs/guides/util/hash-a-password.mdx +56 -0
- package/docs/guides/util/import-meta-dir.mdx +15 -0
- package/docs/guides/util/import-meta-file.mdx +15 -0
- package/docs/guides/util/import-meta-path.mdx +15 -0
- package/docs/guides/util/javascript-uuid.mdx +25 -0
- package/docs/guides/util/main.mdx +43 -0
- package/docs/guides/util/path-to-file-url.mdx +16 -0
- package/docs/guides/util/sleep.mdx +24 -0
- package/docs/guides/util/version.mdx +23 -0
- package/docs/guides/util/which-path-to-executable-bin.mdx +17 -0
- package/docs/guides/websocket/compression.mdx +33 -0
- package/docs/guides/websocket/context.mdx +74 -0
- package/docs/guides/websocket/pubsub.mdx +40 -0
- package/docs/guides/websocket/simple.mdx +35 -0
- package/docs/guides/write-file/append.mdx +54 -0
- package/docs/guides/write-file/basic.mdx +46 -0
- package/docs/guides/write-file/blob.mdx +30 -0
- package/docs/guides/write-file/cat.mdx +19 -0
- package/docs/guides/write-file/file-cp.mdx +18 -0
- package/docs/guides/write-file/filesink.mdx +54 -0
- package/docs/guides/write-file/response.mdx +19 -0
- package/docs/guides/write-file/stdout.mdx +23 -0
- package/docs/guides/write-file/stream.mdx +19 -0
- package/docs/guides/write-file/unlink.mdx +18 -0
- package/docs/index.mdx +133 -0
- package/docs/installation.mdx +365 -0
- package/docs/pm/bunx.mdx +83 -0
- package/docs/pm/catalogs.mdx +292 -0
- package/docs/pm/cli/add.mdx +179 -0
- package/docs/pm/cli/audit.mdx +60 -0
- package/docs/pm/cli/install.mdx +471 -0
- package/docs/pm/cli/link.mdx +48 -0
- package/docs/pm/cli/outdated.mdx +197 -0
- package/docs/pm/cli/patch.mdx +69 -0
- package/docs/pm/cli/pm.mdx +319 -0
- package/docs/pm/cli/publish.mdx +123 -0
- package/docs/pm/cli/remove.mdx +16 -0
- package/docs/pm/cli/update.mdx +140 -0
- package/docs/pm/cli/why.mdx +84 -0
- package/docs/pm/filter.mdx +102 -0
- package/docs/pm/global-cache.mdx +72 -0
- package/docs/pm/isolated-installs.mdx +205 -0
- package/docs/pm/lifecycle.mdx +57 -0
- package/docs/pm/lockfile.mdx +64 -0
- package/docs/pm/npmrc.mdx +111 -0
- package/docs/pm/overrides.mdx +83 -0
- package/docs/pm/scopes-registries.mdx +35 -0
- package/docs/pm/security-scanner-api.mdx +95 -0
- package/docs/pm/workspaces.mdx +109 -0
- package/docs/project/benchmarking.mdx +218 -0
- package/docs/project/bindgen.mdx +223 -0
- package/docs/project/building-windows.mdx +133 -0
- package/docs/project/contributing.mdx +343 -0
- package/docs/project/feedback.mdx +20 -0
- package/docs/project/license.mdx +78 -0
- package/docs/project/roadmap.mdx +8 -0
- package/docs/quickstart.mdx +240 -0
- package/docs/runtime/auto-install.mdx +97 -0
- package/docs/runtime/binary-data.mdx +846 -0
- package/docs/runtime/bun-apis.mdx +59 -0
- package/docs/runtime/bunfig.mdx +642 -0
- package/docs/runtime/c-compiler.mdx +204 -0
- package/docs/runtime/child-process.mdx +532 -0
- package/docs/runtime/color.mdx +267 -0
- package/docs/runtime/console.mdx +67 -0
- package/docs/runtime/cookies.mdx +454 -0
- package/docs/runtime/debugger.mdx +335 -0
- package/docs/runtime/environment-variables.mdx +214 -0
- package/docs/runtime/ffi.mdx +565 -0
- package/docs/runtime/file-io.mdx +306 -0
- package/docs/runtime/file-system-router.mdx +118 -0
- package/docs/runtime/file-types.mdx +354 -0
- package/docs/runtime/glob.mdx +181 -0
- package/docs/runtime/globals.mdx +72 -0
- package/docs/runtime/hashing.mdx +315 -0
- package/docs/runtime/html-rewriter.mdx +340 -0
- package/docs/runtime/http/cookies.mdx +79 -0
- package/docs/runtime/http/error-handling.mdx +40 -0
- package/docs/runtime/http/metrics.mdx +36 -0
- package/docs/runtime/http/routing.mdx +289 -0
- package/docs/runtime/http/server.mdx +647 -0
- package/docs/runtime/http/tls.mdx +101 -0
- package/docs/runtime/http/websockets.mdx +404 -0
- package/docs/runtime/index.mdx +223 -0
- package/docs/runtime/jsx.mdx +115 -0
- package/docs/runtime/module-resolution.mdx +342 -0
- package/docs/runtime/networking/dns.mdx +111 -0
- package/docs/runtime/networking/fetch.mdx +468 -0
- package/docs/runtime/networking/tcp.mdx +239 -0
- package/docs/runtime/networking/udp.mdx +129 -0
- package/docs/runtime/node-api.mdx +19 -0
- package/docs/runtime/nodejs-compat.mdx +468 -0
- package/docs/runtime/plugins.mdx +405 -0
- package/docs/runtime/redis.mdx +582 -0
- package/docs/runtime/s3.mdx +863 -0
- package/docs/runtime/secrets.mdx +336 -0
- package/docs/runtime/semver.mdx +57 -0
- package/docs/runtime/shell.mdx +637 -0
- package/docs/runtime/sql.mdx +1404 -0
- package/docs/runtime/sqlite.mdx +699 -0
- package/docs/runtime/streams.mdx +232 -0
- package/docs/runtime/templating/create.mdx +269 -0
- package/docs/runtime/templating/init.mdx +58 -0
- package/docs/runtime/transpiler.mdx +288 -0
- package/docs/runtime/typescript.mdx +58 -0
- package/docs/runtime/utils.mdx +922 -0
- package/docs/runtime/watch-mode.mdx +161 -0
- package/docs/runtime/web-apis.mdx +29 -0
- package/docs/runtime/workers.mdx +328 -0
- package/docs/runtime/yaml.mdx +469 -0
- package/docs/snippets/cli/add.mdx +166 -0
- package/docs/snippets/cli/build.mdx +196 -0
- package/docs/snippets/cli/feedback.mdx +17 -0
- package/docs/snippets/cli/init.mdx +84 -0
- package/docs/snippets/cli/install.mdx +173 -0
- package/docs/snippets/cli/link.mdx +163 -0
- package/docs/snippets/cli/outdated.mdx +140 -0
- package/docs/snippets/cli/patch.mdx +171 -0
- package/docs/snippets/cli/publish.mdx +198 -0
- package/docs/snippets/cli/remove.mdx +146 -0
- package/docs/snippets/cli/run.mdx +293 -0
- package/docs/snippets/cli/test.mdx +100 -0
- package/docs/snippets/cli/update.mdx +144 -0
- package/docs/snippets/product-card.mdx +32 -0
- package/docs/snippets/product-tiles.mdx +94 -0
- package/docs/test/code-coverage.mdx +409 -0
- package/docs/test/configuration.mdx +467 -0
- package/docs/test/dates-times.mdx +129 -0
- package/docs/test/discovery.mdx +90 -0
- package/docs/test/dom.mdx +226 -0
- package/docs/test/index.mdx +380 -0
- package/docs/test/lifecycle.mdx +348 -0
- package/docs/test/mocks.mdx +637 -0
- package/docs/test/reporters.mdx +117 -0
- package/docs/test/runtime-behavior.mdx +342 -0
- package/docs/test/snapshots.mdx +434 -0
- package/docs/test/writing-tests.mdx +635 -0
- package/docs/typescript.mdx +54 -0
- package/package.json +8 -6
- package/test.d.ts +2 -2
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
## CLI Usage
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
bun build <entry points>
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### General Configuration
|
|
8
|
+
|
|
9
|
+
<ParamField path="--production" type="boolean">
|
|
10
|
+
Set <code>NODE_ENV=production</code> and enable minification
|
|
11
|
+
</ParamField>
|
|
12
|
+
|
|
13
|
+
<ParamField path="--bytecode" type="boolean">
|
|
14
|
+
Use a bytecode cache when compiling
|
|
15
|
+
</ParamField>
|
|
16
|
+
|
|
17
|
+
<ParamField path="--target" type="string" default="browser">
|
|
18
|
+
Intended execution environment for the bundle. One of <code>browser</code>, <code>bun</code>, or <code>node</code>
|
|
19
|
+
</ParamField>
|
|
20
|
+
|
|
21
|
+
<ParamField path="--conditions" type="string">
|
|
22
|
+
Pass custom resolution conditions
|
|
23
|
+
</ParamField>
|
|
24
|
+
|
|
25
|
+
<ParamField path="--env" type="string" default="disable">
|
|
26
|
+
Inline environment variables into the bundle as <code>process.env.${name}</code>. To inline variables matching a
|
|
27
|
+
prefix, use a glob like <code>FOO_PUBLIC_*</code>
|
|
28
|
+
</ParamField>
|
|
29
|
+
|
|
30
|
+
### Output & File Handling
|
|
31
|
+
|
|
32
|
+
<ParamField path="--outdir" type="string" default="dist">
|
|
33
|
+
Output directory (used when building multiple entry points)
|
|
34
|
+
</ParamField>
|
|
35
|
+
|
|
36
|
+
<ParamField path="--outfile" type="string">
|
|
37
|
+
Write output to a specific file
|
|
38
|
+
</ParamField>
|
|
39
|
+
|
|
40
|
+
<ParamField path="--sourcemap" type="string" default="none">
|
|
41
|
+
Generate source maps. One of <code>linked</code>, <code>inline</code>, <code>external</code>, or <code>none</code>
|
|
42
|
+
</ParamField>
|
|
43
|
+
|
|
44
|
+
<ParamField path="--banner" type="string">
|
|
45
|
+
Add a banner to the output (e.g. <code>"use client"</code> for React Server Components)
|
|
46
|
+
</ParamField>
|
|
47
|
+
|
|
48
|
+
<ParamField path="--footer" type="string">
|
|
49
|
+
Add a footer to the output (e.g. <code>// built with bun!</code>)
|
|
50
|
+
</ParamField>
|
|
51
|
+
|
|
52
|
+
<ParamField path="--format" type="string" default="esm">
|
|
53
|
+
Module format of the output bundle. One of <code>esm</code>, <code>cjs</code>, or <code>iife</code>
|
|
54
|
+
</ParamField>
|
|
55
|
+
|
|
56
|
+
### File Naming
|
|
57
|
+
|
|
58
|
+
<ParamField path="--entry-naming" type="string" default="[dir]/[name].[ext]">
|
|
59
|
+
Customize entry point filenames
|
|
60
|
+
</ParamField>
|
|
61
|
+
|
|
62
|
+
<ParamField path="--chunk-naming" type="string" default="[name]-[hash].[ext]">
|
|
63
|
+
Customize chunk filenames
|
|
64
|
+
</ParamField>
|
|
65
|
+
|
|
66
|
+
<ParamField path="--asset-naming" type="string" default="[name]-[hash].[ext]">
|
|
67
|
+
Customize asset filenames
|
|
68
|
+
</ParamField>
|
|
69
|
+
|
|
70
|
+
### Bundling Options
|
|
71
|
+
|
|
72
|
+
<ParamField path="--root" type="string">
|
|
73
|
+
Root directory used when bundling multiple entry points
|
|
74
|
+
</ParamField>
|
|
75
|
+
|
|
76
|
+
<ParamField path="--splitting" type="boolean">
|
|
77
|
+
Enable code splitting for shared modules
|
|
78
|
+
</ParamField>
|
|
79
|
+
|
|
80
|
+
<ParamField path="--public-path" type="string">
|
|
81
|
+
Prefix to be added to import paths in bundled code
|
|
82
|
+
</ParamField>
|
|
83
|
+
|
|
84
|
+
<ParamField path="--external" type="string">
|
|
85
|
+
Exclude modules from the bundle (supports wildcards). Alias: <code>-e</code>
|
|
86
|
+
</ParamField>
|
|
87
|
+
|
|
88
|
+
<ParamField path="--packages" type="string" default="bundle">
|
|
89
|
+
How to treat dependencies: <code>external</code> or <code>bundle</code>
|
|
90
|
+
</ParamField>
|
|
91
|
+
|
|
92
|
+
<ParamField path="--no-bundle" type="boolean">
|
|
93
|
+
Transpile only — do not bundle
|
|
94
|
+
</ParamField>
|
|
95
|
+
|
|
96
|
+
<ParamField path="--css-chunking" type="boolean">
|
|
97
|
+
Chunk CSS files together to reduce duplication (only when multiple entry points import CSS)
|
|
98
|
+
</ParamField>
|
|
99
|
+
|
|
100
|
+
### Minification & Optimization
|
|
101
|
+
|
|
102
|
+
<ParamField path="--emit-dce-annotations" type="boolean" default="true">
|
|
103
|
+
Re-emit Dead Code Elimination annotations. Disabled when <code>--minify-whitespace</code> is used
|
|
104
|
+
</ParamField>
|
|
105
|
+
|
|
106
|
+
<ParamField path="--minify" type="boolean">
|
|
107
|
+
Enable all minification options
|
|
108
|
+
</ParamField>
|
|
109
|
+
|
|
110
|
+
<ParamField path="--minify-syntax" type="boolean">
|
|
111
|
+
Minify syntax and inline constants
|
|
112
|
+
</ParamField>
|
|
113
|
+
|
|
114
|
+
<ParamField path="--minify-whitespace" type="boolean">
|
|
115
|
+
Minify whitespace
|
|
116
|
+
</ParamField>
|
|
117
|
+
|
|
118
|
+
<ParamField path="--minify-identifiers" type="boolean">
|
|
119
|
+
Minify variable and function identifiers
|
|
120
|
+
</ParamField>
|
|
121
|
+
|
|
122
|
+
<ParamField path="--keep-names" type="boolean">
|
|
123
|
+
Preserve original function and class names when minifying
|
|
124
|
+
</ParamField>
|
|
125
|
+
|
|
126
|
+
### Development Features
|
|
127
|
+
|
|
128
|
+
<ParamField path="--watch" type="boolean">
|
|
129
|
+
Rebuild automatically when files change
|
|
130
|
+
</ParamField>
|
|
131
|
+
|
|
132
|
+
<ParamField path="--no-clear-screen" type="boolean">
|
|
133
|
+
Don’t clear the terminal when rebuilding with <code>--watch</code>
|
|
134
|
+
</ParamField>
|
|
135
|
+
|
|
136
|
+
<ParamField path="--react-fast-refresh" type="boolean">
|
|
137
|
+
Enable React Fast Refresh transform (for development testing)
|
|
138
|
+
</ParamField>
|
|
139
|
+
|
|
140
|
+
### Standalone Executables
|
|
141
|
+
|
|
142
|
+
<ParamField path="--compile" type="boolean">
|
|
143
|
+
Generate a standalone Bun executable containing the bundle. Implies <code>--production</code>
|
|
144
|
+
</ParamField>
|
|
145
|
+
|
|
146
|
+
<ParamField path="--compile-exec-argv" type="string">
|
|
147
|
+
Prepend arguments to the standalone executable’s <code>execArgv</code>
|
|
148
|
+
</ParamField>
|
|
149
|
+
|
|
150
|
+
### Windows Executable Details
|
|
151
|
+
|
|
152
|
+
<ParamField path="--windows-hide-console" type="boolean">
|
|
153
|
+
Prevent a console window from opening when running a compiled Windows executable
|
|
154
|
+
</ParamField>
|
|
155
|
+
|
|
156
|
+
<ParamField path="--windows-icon" type="string">
|
|
157
|
+
Set an icon for the Windows executable
|
|
158
|
+
</ParamField>
|
|
159
|
+
|
|
160
|
+
<ParamField path="--windows-title" type="string">
|
|
161
|
+
Set the Windows executable product name
|
|
162
|
+
</ParamField>
|
|
163
|
+
|
|
164
|
+
<ParamField path="--windows-publisher" type="string">
|
|
165
|
+
Set the Windows executable company name
|
|
166
|
+
</ParamField>
|
|
167
|
+
|
|
168
|
+
<ParamField path="--windows-version" type="string">
|
|
169
|
+
Set the Windows executable version (e.g. <code>1.2.3.4</code>)
|
|
170
|
+
</ParamField>
|
|
171
|
+
|
|
172
|
+
<ParamField path="--windows-description" type="string">
|
|
173
|
+
Set the Windows executable description
|
|
174
|
+
</ParamField>
|
|
175
|
+
|
|
176
|
+
<ParamField path="--windows-copyright" type="string">
|
|
177
|
+
Set the Windows executable copyright notice
|
|
178
|
+
</ParamField>
|
|
179
|
+
|
|
180
|
+
### Experimental & App Building
|
|
181
|
+
|
|
182
|
+
<ParamField path="--app" type="boolean">
|
|
183
|
+
<b>(EXPERIMENTAL)</b> Build a web app for production using Bun Bake
|
|
184
|
+
</ParamField>
|
|
185
|
+
|
|
186
|
+
<ParamField path="--server-components" type="boolean">
|
|
187
|
+
<b>(EXPERIMENTAL)</b> Enable React Server Components
|
|
188
|
+
</ParamField>
|
|
189
|
+
|
|
190
|
+
<ParamField path="--debug-dump-server-files" type="boolean">
|
|
191
|
+
When <code>--app</code> is set, dump all server files to disk even for static builds
|
|
192
|
+
</ParamField>
|
|
193
|
+
|
|
194
|
+
<ParamField path="--debug-no-minify" type="boolean">
|
|
195
|
+
When <code>--app</code> is set, disable all minification
|
|
196
|
+
</ParamField>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## CLI Usage
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
bun feedback [options] [feedback text ... | files ...]
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### Contact Information
|
|
8
|
+
|
|
9
|
+
<ParamField path="--email" type="string">
|
|
10
|
+
Set the email address used for this submission. Alias: <code>-e</code>
|
|
11
|
+
</ParamField>
|
|
12
|
+
|
|
13
|
+
### Help
|
|
14
|
+
|
|
15
|
+
<ParamField path="--help" type="boolean">
|
|
16
|
+
Show this help message and exit. Alias: <code>-h</code>
|
|
17
|
+
</ParamField>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
## CLI Usage
|
|
2
|
+
|
|
3
|
+
```bash terminal icon="terminal"
|
|
4
|
+
bun init <folder?>
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### Initialization Options
|
|
8
|
+
|
|
9
|
+
<ParamField path="--yes" type="boolean">
|
|
10
|
+
{" "}
|
|
11
|
+
Accept all default prompts without asking questions. Alias: <code>-y</code>{" "}
|
|
12
|
+
</ParamField>
|
|
13
|
+
<ParamField path="--minimal" type="boolean">
|
|
14
|
+
{" "}
|
|
15
|
+
Only initialize type definitions (skip app scaffolding). Alias: <code>-m</code>{" "}
|
|
16
|
+
</ParamField>
|
|
17
|
+
|
|
18
|
+
### Project Templates
|
|
19
|
+
|
|
20
|
+
<ParamField path="--react" type="string|boolean">
|
|
21
|
+
{" "}
|
|
22
|
+
Scaffold a React project. When used without a value, creates a baseline React app.
|
|
23
|
+
<br /> Accepts values for presets:{" "}
|
|
24
|
+
<ul>
|
|
25
|
+
{" "}
|
|
26
|
+
<li>
|
|
27
|
+
<code>tailwind</code> – React app preconfigured with Tailwind CSS
|
|
28
|
+
</li>{" "}
|
|
29
|
+
<li>
|
|
30
|
+
<code>shadcn</code> – React app with <code>@shadcn/ui</code> and Tailwind CSS
|
|
31
|
+
</li>{" "}
|
|
32
|
+
</ul>{" "}
|
|
33
|
+
Examples:{" "}
|
|
34
|
+
<pre>
|
|
35
|
+
<code>bun init --react bun init --react=tailwind bun init --react=shadcn</code>
|
|
36
|
+
</pre>{" "}
|
|
37
|
+
</ParamField>
|
|
38
|
+
|
|
39
|
+
### Output & Files
|
|
40
|
+
|
|
41
|
+
<ParamField path="(result)" type="info">
|
|
42
|
+
{" "}
|
|
43
|
+
Initializes project files and configuration for the chosen options (e.g., creating essential config files and a
|
|
44
|
+
starter directory structure). Exact files vary by template.{" "}
|
|
45
|
+
</ParamField>
|
|
46
|
+
|
|
47
|
+
### Global Configuration & Context
|
|
48
|
+
|
|
49
|
+
<ParamField path="--cwd" type="string">
|
|
50
|
+
{" "}
|
|
51
|
+
Run <code>bun init</code> as if started in a different working directory (useful in scripts).{" "}
|
|
52
|
+
</ParamField>
|
|
53
|
+
|
|
54
|
+
### Help
|
|
55
|
+
|
|
56
|
+
<ParamField path="--help" type="boolean">
|
|
57
|
+
{" "}
|
|
58
|
+
Print this help menu. Alias: <code>-h</code>{" "}
|
|
59
|
+
</ParamField>
|
|
60
|
+
|
|
61
|
+
### Examples
|
|
62
|
+
|
|
63
|
+
- Accept all defaults
|
|
64
|
+
|
|
65
|
+
```bash terminal icon="terminal"
|
|
66
|
+
bun init -y
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- React
|
|
70
|
+
|
|
71
|
+
```bash terminal icon="terminal"
|
|
72
|
+
bun init --react
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
- React + Tailwind CSS
|
|
76
|
+
|
|
77
|
+
```bash terminal icon="terminal"
|
|
78
|
+
bun init --react=tailwind
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
- React + @shadcn/ui
|
|
82
|
+
```bash terminal icon="terminal"
|
|
83
|
+
bun init --react=shadcn
|
|
84
|
+
```
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
## CLI Usage
|
|
2
|
+
|
|
3
|
+
```sh terminal icon="terminal"
|
|
4
|
+
bun install <name>@<version>
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### General Configuration
|
|
8
|
+
|
|
9
|
+
<ParamField path="--config" type="string">
|
|
10
|
+
Specify path to config file (bunfig.toml)
|
|
11
|
+
</ParamField>
|
|
12
|
+
|
|
13
|
+
<ParamField path="--cwd" type="string">
|
|
14
|
+
Set a specific cwd
|
|
15
|
+
</ParamField>
|
|
16
|
+
|
|
17
|
+
### Dependency Scope & Management
|
|
18
|
+
|
|
19
|
+
<ParamField path="--production" type="boolean">
|
|
20
|
+
Don't install devDependencies
|
|
21
|
+
</ParamField>
|
|
22
|
+
|
|
23
|
+
<ParamField path="--no-save" type="boolean">
|
|
24
|
+
Don't update package.json or save a lockfile
|
|
25
|
+
</ParamField>
|
|
26
|
+
|
|
27
|
+
<ParamField path="--save" type="boolean" default="true">
|
|
28
|
+
Save to package.json
|
|
29
|
+
</ParamField>
|
|
30
|
+
|
|
31
|
+
<ParamField path="--omit" type="string">
|
|
32
|
+
Exclude 'dev', 'optional', or 'peer' dependencies from install
|
|
33
|
+
</ParamField>
|
|
34
|
+
|
|
35
|
+
<ParamField path="--only-missing" type="boolean">
|
|
36
|
+
Only add dependencies to package.json if they are not already present
|
|
37
|
+
</ParamField>
|
|
38
|
+
|
|
39
|
+
### Dependency Type & Versioning
|
|
40
|
+
|
|
41
|
+
<ParamField path="--dev" type="boolean">
|
|
42
|
+
Add dependency to "devDependencies"
|
|
43
|
+
</ParamField>
|
|
44
|
+
|
|
45
|
+
<ParamField path="--optional" type="boolean">
|
|
46
|
+
Add dependency to "optionalDependencies"
|
|
47
|
+
</ParamField>
|
|
48
|
+
|
|
49
|
+
<ParamField path="--peer" type="boolean">
|
|
50
|
+
Add dependency to "peerDependencies"
|
|
51
|
+
</ParamField>
|
|
52
|
+
|
|
53
|
+
<ParamField path="--exact" type="boolean">
|
|
54
|
+
Add the exact version instead of the ^range
|
|
55
|
+
</ParamField>
|
|
56
|
+
|
|
57
|
+
### Lockfile Control
|
|
58
|
+
|
|
59
|
+
<ParamField path="--yarn" type="boolean">
|
|
60
|
+
Write a yarn.lock file (yarn v1)
|
|
61
|
+
</ParamField>
|
|
62
|
+
|
|
63
|
+
<ParamField path="--frozen-lockfile" type="boolean">
|
|
64
|
+
Disallow changes to lockfile
|
|
65
|
+
</ParamField>
|
|
66
|
+
|
|
67
|
+
<ParamField path="--save-text-lockfile" type="boolean">
|
|
68
|
+
Save a text-based lockfile
|
|
69
|
+
</ParamField>
|
|
70
|
+
|
|
71
|
+
<ParamField path="--lockfile-only" type="boolean">
|
|
72
|
+
Generate a lockfile without installing dependencies
|
|
73
|
+
</ParamField>
|
|
74
|
+
|
|
75
|
+
### Network & Registry Settings
|
|
76
|
+
|
|
77
|
+
<ParamField path="--ca" type="string">
|
|
78
|
+
Provide a Certificate Authority signing certificate
|
|
79
|
+
</ParamField>
|
|
80
|
+
|
|
81
|
+
<ParamField path="--cafile" type="string">
|
|
82
|
+
File path to Certificate Authority signing certificate
|
|
83
|
+
</ParamField>
|
|
84
|
+
|
|
85
|
+
<ParamField path="--registry" type="string">
|
|
86
|
+
Use a specific registry by default, overriding .npmrc, bunfig.toml and environment variables
|
|
87
|
+
</ParamField>
|
|
88
|
+
|
|
89
|
+
### Installation Process Control
|
|
90
|
+
|
|
91
|
+
<ParamField path="--dry-run" type="boolean">
|
|
92
|
+
Don't install anything
|
|
93
|
+
</ParamField>
|
|
94
|
+
|
|
95
|
+
<ParamField path="--force" type="boolean">
|
|
96
|
+
Always request the latest versions from the registry & reinstall all dependencies
|
|
97
|
+
</ParamField>
|
|
98
|
+
|
|
99
|
+
<ParamField path="--global" type="boolean">
|
|
100
|
+
Install globally
|
|
101
|
+
</ParamField>
|
|
102
|
+
|
|
103
|
+
<ParamField path="--backend" type="string" default="clonefile">
|
|
104
|
+
Platform-specific optimizations: "clonefile", "hardlink", "symlink", "copyfile"
|
|
105
|
+
</ParamField>
|
|
106
|
+
|
|
107
|
+
<ParamField path="--filter" type="string">
|
|
108
|
+
Install packages for the matching workspaces
|
|
109
|
+
</ParamField>
|
|
110
|
+
|
|
111
|
+
<ParamField path="--analyze" type="boolean">
|
|
112
|
+
Analyze & install all dependencies of files passed as arguments recursively
|
|
113
|
+
</ParamField>
|
|
114
|
+
|
|
115
|
+
### Caching Options
|
|
116
|
+
|
|
117
|
+
<ParamField path="--cache-dir" type="string">
|
|
118
|
+
Store & load cached data from a specific directory path
|
|
119
|
+
</ParamField>
|
|
120
|
+
|
|
121
|
+
<ParamField path="--no-cache" type="boolean">
|
|
122
|
+
Ignore manifest cache entirely
|
|
123
|
+
</ParamField>
|
|
124
|
+
|
|
125
|
+
### Output & Logging
|
|
126
|
+
|
|
127
|
+
<ParamField path="--silent" type="boolean">
|
|
128
|
+
Don't log anything
|
|
129
|
+
</ParamField>
|
|
130
|
+
|
|
131
|
+
<ParamField path="--verbose" type="boolean">
|
|
132
|
+
Excessively verbose logging
|
|
133
|
+
</ParamField>
|
|
134
|
+
|
|
135
|
+
<ParamField path="--no-progress" type="boolean">
|
|
136
|
+
Disable the progress bar
|
|
137
|
+
</ParamField>
|
|
138
|
+
|
|
139
|
+
<ParamField path="--no-summary" type="boolean">
|
|
140
|
+
Don't print a summary
|
|
141
|
+
</ParamField>
|
|
142
|
+
|
|
143
|
+
### Security & Integrity
|
|
144
|
+
|
|
145
|
+
<ParamField path="--no-verify" type="boolean">
|
|
146
|
+
Skip verifying integrity of newly downloaded packages
|
|
147
|
+
</ParamField>
|
|
148
|
+
|
|
149
|
+
<ParamField path="--trust" type="boolean">
|
|
150
|
+
Add to trustedDependencies in the project's package.json and install the package(s)
|
|
151
|
+
</ParamField>
|
|
152
|
+
|
|
153
|
+
### Concurrency & Performance
|
|
154
|
+
|
|
155
|
+
<ParamField path="--concurrent-scripts" type="number" default="5">
|
|
156
|
+
Maximum number of concurrent jobs for lifecycle scripts
|
|
157
|
+
</ParamField>
|
|
158
|
+
|
|
159
|
+
<ParamField path="--network-concurrency" type="number" default="48">
|
|
160
|
+
Maximum number of concurrent network requests
|
|
161
|
+
</ParamField>
|
|
162
|
+
|
|
163
|
+
### Lifecycle Script Management
|
|
164
|
+
|
|
165
|
+
<ParamField path="--ignore-scripts" type="boolean">
|
|
166
|
+
Skip lifecycle scripts in the project's package.json (dependency scripts are never run)
|
|
167
|
+
</ParamField>
|
|
168
|
+
|
|
169
|
+
### Help Information
|
|
170
|
+
|
|
171
|
+
<ParamField path="--help" type="boolean">
|
|
172
|
+
Print this help menu
|
|
173
|
+
</ParamField>
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# CLI Usage
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
bun link <packages>
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### Installation Scope
|
|
8
|
+
|
|
9
|
+
<ParamField path="--global" type="boolean">
|
|
10
|
+
Install globally. Alias: <code>-g</code>
|
|
11
|
+
</ParamField>
|
|
12
|
+
|
|
13
|
+
### Dependency Management
|
|
14
|
+
|
|
15
|
+
<ParamField path="--production" type="boolean">
|
|
16
|
+
Don't install devDependencies. Alias: <code>-p</code>
|
|
17
|
+
</ParamField>
|
|
18
|
+
|
|
19
|
+
<ParamField path="--omit" type="string">
|
|
20
|
+
Exclude <code>dev</code>, <code>optional</code>, or <code>peer</code> dependencies from install
|
|
21
|
+
</ParamField>
|
|
22
|
+
|
|
23
|
+
### Project Files & Lockfiles
|
|
24
|
+
|
|
25
|
+
<ParamField path="--yarn" type="boolean">
|
|
26
|
+
Write a <code>yarn.lock</code> file (yarn v1). Alias: <code>-y</code>
|
|
27
|
+
</ParamField>
|
|
28
|
+
|
|
29
|
+
<ParamField path="--frozen-lockfile" type="boolean">
|
|
30
|
+
Disallow changes to lockfile
|
|
31
|
+
</ParamField>
|
|
32
|
+
|
|
33
|
+
<ParamField path="--save-text-lockfile" type="boolean">
|
|
34
|
+
Save a text-based lockfile
|
|
35
|
+
</ParamField>
|
|
36
|
+
|
|
37
|
+
<ParamField path="--lockfile-only" type="boolean">
|
|
38
|
+
Generate a lockfile without installing dependencies
|
|
39
|
+
</ParamField>
|
|
40
|
+
|
|
41
|
+
<ParamField path="--no-save" type="boolean">
|
|
42
|
+
Don't update <code>package.json</code> or save a lockfile
|
|
43
|
+
</ParamField>
|
|
44
|
+
|
|
45
|
+
<ParamField path="--save" type="boolean" default="true">
|
|
46
|
+
Save to <code>package.json</code> (true by default)
|
|
47
|
+
</ParamField>
|
|
48
|
+
|
|
49
|
+
<ParamField path="--trust" type="boolean">
|
|
50
|
+
Add to <code>trustedDependencies</code> in the project's <code>package.json</code> and install the package(s)
|
|
51
|
+
</ParamField>
|
|
52
|
+
|
|
53
|
+
### Installation Control
|
|
54
|
+
|
|
55
|
+
<ParamField path="--force" type="boolean">
|
|
56
|
+
Always request the latest versions from the registry & reinstall all dependencies. Alias: <code>-f</code>
|
|
57
|
+
</ParamField>
|
|
58
|
+
|
|
59
|
+
<ParamField path="--no-verify" type="boolean">
|
|
60
|
+
Skip verifying integrity of newly downloaded packages
|
|
61
|
+
</ParamField>
|
|
62
|
+
|
|
63
|
+
<ParamField path="--backend" type="string" default="clonefile">
|
|
64
|
+
Platform-specific optimizations for installing dependencies. Possible values: <code>clonefile</code> (default),{" "}
|
|
65
|
+
<code>hardlink</code>, <code>symlink</code>, <code>copyfile</code>
|
|
66
|
+
</ParamField>
|
|
67
|
+
|
|
68
|
+
<ParamField path="--linker" type="string">
|
|
69
|
+
Linker strategy (one of <code>isolated</code> or <code>hoisted</code>)
|
|
70
|
+
</ParamField>
|
|
71
|
+
|
|
72
|
+
<ParamField path="--dry-run" type="boolean">
|
|
73
|
+
Don't install anything
|
|
74
|
+
</ParamField>
|
|
75
|
+
|
|
76
|
+
<ParamField path="--ignore-scripts" type="boolean">
|
|
77
|
+
Skip lifecycle scripts in the project's <code>package.json</code> (dependency scripts are never run)
|
|
78
|
+
</ParamField>
|
|
79
|
+
|
|
80
|
+
### Network & Registry
|
|
81
|
+
|
|
82
|
+
<ParamField path="--ca" type="string">
|
|
83
|
+
Provide a Certificate Authority signing certificate
|
|
84
|
+
</ParamField>
|
|
85
|
+
|
|
86
|
+
<ParamField path="--cafile" type="string">
|
|
87
|
+
Same as <code>--ca</code>, but as a file path to the certificate
|
|
88
|
+
</ParamField>
|
|
89
|
+
|
|
90
|
+
<ParamField path="--registry" type="string">
|
|
91
|
+
Use a specific registry by default, overriding <code>.npmrc</code>, <code>bunfig.toml</code>, and environment
|
|
92
|
+
variables
|
|
93
|
+
</ParamField>
|
|
94
|
+
|
|
95
|
+
<ParamField path="--network-concurrency" type="number" default="48">
|
|
96
|
+
Maximum number of concurrent network requests (default 48)
|
|
97
|
+
</ParamField>
|
|
98
|
+
|
|
99
|
+
### Performance & Resource
|
|
100
|
+
|
|
101
|
+
<ParamField path="--concurrent-scripts" type="number" default="5">
|
|
102
|
+
Maximum number of concurrent jobs for lifecycle scripts (default 5)
|
|
103
|
+
</ParamField>
|
|
104
|
+
|
|
105
|
+
### Caching
|
|
106
|
+
|
|
107
|
+
<ParamField path="--cache-dir" type="string">
|
|
108
|
+
Store & load cached data from a specific directory path
|
|
109
|
+
</ParamField>
|
|
110
|
+
|
|
111
|
+
<ParamField path="--no-cache" type="boolean">
|
|
112
|
+
Ignore manifest cache entirely
|
|
113
|
+
</ParamField>
|
|
114
|
+
|
|
115
|
+
### Output & Logging
|
|
116
|
+
|
|
117
|
+
<ParamField path="--silent" type="boolean">
|
|
118
|
+
Don't log anything
|
|
119
|
+
</ParamField>
|
|
120
|
+
|
|
121
|
+
<ParamField path="--quiet" type="boolean">
|
|
122
|
+
Only show tarball name when packing
|
|
123
|
+
</ParamField>
|
|
124
|
+
|
|
125
|
+
<ParamField path="--verbose" type="boolean">
|
|
126
|
+
Excessively verbose logging
|
|
127
|
+
</ParamField>
|
|
128
|
+
|
|
129
|
+
<ParamField path="--no-progress" type="boolean">
|
|
130
|
+
Disable the progress bar
|
|
131
|
+
</ParamField>
|
|
132
|
+
|
|
133
|
+
<ParamField path="--no-summary" type="boolean">
|
|
134
|
+
Don't print a summary
|
|
135
|
+
</ParamField>
|
|
136
|
+
|
|
137
|
+
### Platform Targeting
|
|
138
|
+
|
|
139
|
+
<ParamField path="--cpu" type="string">
|
|
140
|
+
Override CPU architecture for optional dependencies (e.g., <code>x64</code>, <code>arm64</code>, <code>*</code> for
|
|
141
|
+
all)
|
|
142
|
+
</ParamField>
|
|
143
|
+
|
|
144
|
+
<ParamField path="--os" type="string">
|
|
145
|
+
Override operating system for optional dependencies (e.g., <code>linux</code>, <code>darwin</code>, <code>*</code> for
|
|
146
|
+
all)
|
|
147
|
+
</ParamField>
|
|
148
|
+
|
|
149
|
+
### Global Configuration & Context
|
|
150
|
+
|
|
151
|
+
<ParamField path="--config" type="string">
|
|
152
|
+
Specify path to config file (<code>bunfig.toml</code>). Alias: <code>-c</code>
|
|
153
|
+
</ParamField>
|
|
154
|
+
|
|
155
|
+
<ParamField path="--cwd" type="string">
|
|
156
|
+
Set a specific current working directory
|
|
157
|
+
</ParamField>
|
|
158
|
+
|
|
159
|
+
### Help
|
|
160
|
+
|
|
161
|
+
<ParamField path="--help" type="boolean">
|
|
162
|
+
Print this help menu. Alias: <code>-h</code>
|
|
163
|
+
</ParamField>
|