@bluestep-systems/b6p-cli 0.1.0 → 0.2.0
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/CHANGELOG.md +37 -14
- package/README.md +34 -1
- package/dist/cli.js +111 -108
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,23 +5,39 @@ All notable changes to `@bluestep-systems/b6p-cli` will be documented in this fi
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [0.2.0] — 2026-06-29
|
|
9
9
|
|
|
10
|
-
###
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Standalone binaries.** Each GitHub Release now ships self-contained, Node-bundling `b6p`
|
|
13
|
+
executables for Windows (x64) and macOS (x64 + arm64), built in CI via Node SEA and attached to
|
|
14
|
+
the Release (`b6p-windows-x64.exe`, `b6p-macos-x64`, `b6p-macos-arm64`, each with a `.sha256`
|
|
15
|
+
checksum sidecar). They run the full CLI on machines with **no Node or npm installed** — download
|
|
16
|
+
one file, put it on `PATH`, and `b6p <command>` works. The npm package
|
|
17
|
+
(`npm i -g @bluestep-systems/b6p-cli`) is **unchanged** and remains the primary distribution. See
|
|
18
|
+
[the toolchain ADR](docs/adr/0001-standalone-binary-toolchain.md).
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `b6p --version` now reports the actual package version instead of a hardcoded `0.0.1`. The version
|
|
23
|
+
is injected at build time via an esbuild `define` (`__B6P_VERSION__`), so it stays correct in both
|
|
24
|
+
the npm bundle and the standalone binary — neither of which can read `package.json` at runtime.
|
|
25
|
+
|
|
26
|
+
## [0.1.1] — 2026-06-24
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
11
29
|
|
|
12
|
-
-
|
|
13
|
-
(`
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
([`b6p-cli`](https://github.com/Bluestep-Systems/b6p-cli)) with self-contained
|
|
18
|
-
`tsconfig`/eslint/prettier config and per-repo CI (validation) and publish (tag-triggered,
|
|
19
|
-
provenance) GitHub Actions workflows. No change to commands, flags, or runtime behavior.
|
|
30
|
+
- Password prompts now mask typed input (echoed as `*`) instead of displaying it in
|
|
31
|
+
plaintext. `CliPrompt.inputBox()` previously ignored its `password` flag, leaking
|
|
32
|
+
credentials entered during `b6p auth` to the terminal and scrollback. Masking uses
|
|
33
|
+
raw-mode stdin on a TTY and falls back to the standard read for piped/non-TTY input.
|
|
34
|
+
([#1](https://github.com/Bluestep-Systems/b6p-cli/issues/1))
|
|
20
35
|
|
|
21
|
-
## [0.1.0] — 2026-
|
|
36
|
+
## [0.1.0] — 2026-06-23
|
|
22
37
|
|
|
23
|
-
Initial release of the
|
|
24
|
-
|
|
38
|
+
Initial standalone release of the `b6p` CLI, extracted (with history) from the former
|
|
39
|
+
`bsjs-push-pull` monorepo into its own repository and published to the public npm registry.
|
|
40
|
+
Shares its core (`@bluestep-systems/b6p-core`) with the VS Code extension.
|
|
25
41
|
|
|
26
42
|
### Added
|
|
27
43
|
|
|
@@ -41,4 +57,11 @@ extension and sharing its core (`@bluestep-systems/b6p-core`) with the extension
|
|
|
41
57
|
|
|
42
58
|
### Changed
|
|
43
59
|
|
|
44
|
-
-
|
|
60
|
+
- Distribution is the **public npm registry** (`registry.npmjs.org`, public access). Install with
|
|
61
|
+
`npm i -g @bluestep-systems/b6p-cli` — no authentication required. The `@bluestep-systems/b6p-core`
|
|
62
|
+
dependency is resolved from public npm by version (bundled at build time) rather than a monorepo
|
|
63
|
+
workspace symlink. (Supersedes the in-monorepo GitHub Packages configuration.)
|
|
64
|
+
- Extracted into its own standalone repository with self-contained `tsconfig`/eslint/prettier config and
|
|
65
|
+
per-repo CI (validation) and publish (tag-triggered, provenance) GitHub Actions workflows. No change to
|
|
66
|
+
commands, flags, or runtime behavior.
|
|
67
|
+
- Snapshot creation is part of the unified push flow rather than a separate step.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ server, snapshot history, and deploy across targets.
|
|
|
6
6
|
|
|
7
7
|
The CLI shares its core implementation
|
|
8
8
|
([`@bluestep-systems/b6p-core`](https://github.com/Bluestep-Systems/b6p-core)) with the
|
|
9
|
-
[VS Code extension](https://github.com/Bluestep-Systems/
|
|
9
|
+
[VS Code extension](https://github.com/Bluestep-Systems/vscode-extension) and can be used standalone in
|
|
10
10
|
terminals, CI pipelines, and scripts.
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -26,6 +26,39 @@ required to install it.
|
|
|
26
26
|
b6p --help
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
## Standalone binary (no Node required)
|
|
30
|
+
|
|
31
|
+
For machines without Node.js or npm, each
|
|
32
|
+
[GitHub Release](https://github.com/Bluestep-Systems/b6p-cli/releases) also ships a self-contained
|
|
33
|
+
`b6p` binary with Node bundled in — download one file and run it.
|
|
34
|
+
|
|
35
|
+
| Platform | Asset |
|
|
36
|
+
|---|---|
|
|
37
|
+
| Windows (x64) | `b6p-windows-x64.exe` |
|
|
38
|
+
| macOS (Intel / x64) | `b6p-macos-x64` |
|
|
39
|
+
| macOS (Apple Silicon / arm64) | `b6p-macos-arm64` |
|
|
40
|
+
|
|
41
|
+
Each asset has a matching `<asset>.sha256` checksum sidecar. Download the latest with:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
https://github.com/Bluestep-Systems/b6p-cli/releases/latest/download/<asset>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Install by saving the file into the shared BlueStep tools directory under the bare command name, then
|
|
48
|
+
ensuring that directory is on your `PATH`:
|
|
49
|
+
|
|
50
|
+
| | Directory | Save as |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| Windows | `%LOCALAPPDATA%\BlueStep\bin\` | `b6p.exe` |
|
|
53
|
+
| macOS | `~/.bluestep/bin/` | `b6p` |
|
|
54
|
+
|
|
55
|
+
Then `b6p <command>` works from any shell, with no Node or npm present. On macOS the binary is ad-hoc
|
|
56
|
+
signed (so it runs) but not notarized; a copy downloaded via a browser may be quarantined by Gatekeeper —
|
|
57
|
+
clear it with `xattr -d com.apple.quarantine ~/.bluestep/bin/b6p` and make it executable with
|
|
58
|
+
`chmod +x ~/.bluestep/bin/b6p`.
|
|
59
|
+
|
|
60
|
+
The npm install above is unchanged and remains the recommended path wherever Node is available.
|
|
61
|
+
|
|
29
62
|
## Commands
|
|
30
63
|
|
|
31
64
|
| Command | Purpose |
|