diff options
author | 2021-10-14 14:50:34 -0700 | |
---|---|---|
committer | 2021-10-14 14:50:34 -0700 | |
commit | e21b9afdf21c1870e790fa2e3adc2061a7fbe7c2 (patch) | |
tree | f495a2e3f4f43abdd4410e300fae11fd6728bcf2 | |
parent | 901d7d8759dd4bb1cd4bea6cd18d57137afd3505 (diff) | |
download | bun-e21b9afdf21c1870e790fa2e3adc2061a7fbe7c2.tar.gz bun-e21b9afdf21c1870e790fa2e3adc2061a7fbe7c2.tar.zst bun-e21b9afdf21c1870e790fa2e3adc2061a7fbe7c2.zip |
Update bun-create.md
-rw-r--r-- | examples/bun-create.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bun-create.md b/examples/bun-create.md index 68119ed0d..d47ea30d8 100644 --- a/examples/bun-create.md +++ b/examples/bun-create.md @@ -49,7 +49,7 @@ When you run `bun create ${template} ${destination}`, here's what happens: 2. GET `registry.npmjs.org/@bun-examples/${template}/-/${template}-${latestVersion}.tgz` 3. Decompress & extract `${template}-${latestVersion}.tgz` into `${destination}` 3a. If there are files that would overwrite, warn and exit unless `--force` is passed -4. Parse the `package.json`(again!), update `name` to be `${basename(destination)}`, remove the `bun-create` section from the `package.json` and save updated `package.json` to disk +4. Parse the `package.json` (again!), update `name` to be `${basename(destination)}`, remove the `bun-create` section from the `package.json` and save updated `package.json` to disk 5. Auto-detect the npm client, preferring `pnpm`, `yarn` (v1), and lastly `npm` 6. Run any tasks defined in `"bun-create": { "preinstall" }` with the npm client 7. Run `${npmClient} install` |