bunli 0.5.2 → 0.5.4
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/README.md +15 -8
- package/dist/cli.js +91 -64
- package/dist/commands/init.d.ts +1 -1
- package/dist/commands/release.d.ts +15 -0
- package/dist/config.d.ts +4 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ bunli init my-cli --template advanced
|
|
|
117
117
|
bunli init --name my-cli --dir ./projects
|
|
118
118
|
|
|
119
119
|
# Skip git/install
|
|
120
|
-
bunli init --
|
|
120
|
+
bunli init --git false --install false
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
Init options:
|
|
@@ -171,17 +171,24 @@ bunli release --version 2.0.0
|
|
|
171
171
|
# Dry run
|
|
172
172
|
bunli release --dry
|
|
173
173
|
|
|
174
|
-
#
|
|
175
|
-
bunli release --
|
|
174
|
+
# Disable npm publish explicitly
|
|
175
|
+
bunli release --npm=false
|
|
176
|
+
|
|
177
|
+
# Create GitHub release entry
|
|
178
|
+
bunli release --github=true
|
|
176
179
|
```
|
|
177
180
|
|
|
178
181
|
Release options:
|
|
179
182
|
- `--version, -v` - Version to release (patch/minor/major/x.y.z)
|
|
180
183
|
- `--tag, -t` - Git tag format
|
|
181
|
-
- `--npm` - Publish to npm
|
|
182
|
-
- `--github` - Create GitHub release
|
|
183
|
-
- `--dry, -d` - Dry run -
|
|
184
|
-
- `--all` -
|
|
184
|
+
- `--npm` - Publish to npm (`--npm=false` to disable)
|
|
185
|
+
- `--github` - Create GitHub release (`--github=true` to enable)
|
|
186
|
+
- `--dry, -d` - Dry run (runs npm publish with `--dry-run` when npm publish is enabled)
|
|
187
|
+
- `--all` - Workspace release mode (currently not implemented; exits with error)
|
|
188
|
+
|
|
189
|
+
Note: `bunli release` supports npm package release flows, including binary package distribution via `release.binary`
|
|
190
|
+
(`optionalDependencies` + shim launcher). For standalone GitHub release assets, checksums, and Homebrew automation,
|
|
191
|
+
use the `bunli-releaser` GitHub Action.
|
|
185
192
|
|
|
186
193
|
### Build Options
|
|
187
194
|
|
|
@@ -281,4 +288,4 @@ bun test
|
|
|
281
288
|
|
|
282
289
|
## License
|
|
283
290
|
|
|
284
|
-
MIT
|
|
291
|
+
MIT
|