bun-types 1.1.42-canary.20241230T140525 → 1.1.42-canary.20250101T140623
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.
|
@@ -15,6 +15,14 @@ $ bun create next-app
|
|
|
15
15
|
Creating a new Next.js app in /path/to/my-app.
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
You can specify a starter template using the `--example` flag.
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
$ bun create next-app --example with-supabase
|
|
22
|
+
✔ What is your project named? … my-app
|
|
23
|
+
...
|
|
24
|
+
```
|
|
25
|
+
|
|
18
26
|
---
|
|
19
27
|
|
|
20
28
|
To start the dev server with Bun, run `bun --bun run dev` from the project root.
|
package/docs/install/lockfile.md
CHANGED
|
@@ -72,6 +72,8 @@ $ bun install --yarn
|
|
|
72
72
|
print = "yarn"
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
{% /codetabs %}
|
|
76
|
+
|
|
75
77
|
### Text-based lockfile
|
|
76
78
|
|
|
77
79
|
Bun v1.1.39 introduced `bun.lock`, a JSONC formatted lockfile. `bun.lock` is human-readable and git-diffable without configuration, at [no cost to performance](https://bun.sh/blog/bun-lock-text-lockfile#cached-bun-install-gets-30-faster).
|
|
@@ -90,8 +92,6 @@ Once `bun.lock` is generated, Bun will use it for all subsequent installs and up
|
|
|
90
92
|
|
|
91
93
|
Bun v1.2.0 will switch the default lockfile format to `bun.lock`.
|
|
92
94
|
|
|
93
|
-
{% /codetabs %}
|
|
94
|
-
|
|
95
95
|
{% details summary="Configuring lockfile" %}
|
|
96
96
|
|
|
97
97
|
```toml
|
package/package.json
CHANGED