@bluestep-systems/b6p-cli 0.1.1 → 0.2.1

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.
Files changed (104) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +33 -0
  3. package/dist/cli.js +158 -157
  4. package/dist/lib/lib.d.ts +22 -0
  5. package/dist/lib/lib.decorators.d.ts +384 -0
  6. package/dist/lib/lib.decorators.legacy.d.ts +22 -0
  7. package/dist/lib/lib.dom.asynciterable.d.ts +41 -0
  8. package/dist/lib/lib.dom.d.ts +39429 -0
  9. package/dist/lib/lib.dom.iterable.d.ts +571 -0
  10. package/dist/lib/lib.es2015.collection.d.ts +147 -0
  11. package/dist/lib/lib.es2015.core.d.ts +597 -0
  12. package/dist/lib/lib.es2015.d.ts +28 -0
  13. package/dist/lib/lib.es2015.generator.d.ts +77 -0
  14. package/dist/lib/lib.es2015.iterable.d.ts +605 -0
  15. package/dist/lib/lib.es2015.promise.d.ts +81 -0
  16. package/dist/lib/lib.es2015.proxy.d.ts +128 -0
  17. package/dist/lib/lib.es2015.reflect.d.ts +144 -0
  18. package/dist/lib/lib.es2015.symbol.d.ts +46 -0
  19. package/dist/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  20. package/dist/lib/lib.es2016.array.include.d.ts +116 -0
  21. package/dist/lib/lib.es2016.d.ts +21 -0
  22. package/dist/lib/lib.es2016.full.d.ts +23 -0
  23. package/dist/lib/lib.es2016.intl.d.ts +31 -0
  24. package/dist/lib/lib.es2017.arraybuffer.d.ts +21 -0
  25. package/dist/lib/lib.es2017.d.ts +26 -0
  26. package/dist/lib/lib.es2017.date.d.ts +31 -0
  27. package/dist/lib/lib.es2017.full.d.ts +23 -0
  28. package/dist/lib/lib.es2017.intl.d.ts +44 -0
  29. package/dist/lib/lib.es2017.object.d.ts +49 -0
  30. package/dist/lib/lib.es2017.sharedmemory.d.ts +135 -0
  31. package/dist/lib/lib.es2017.string.d.ts +45 -0
  32. package/dist/lib/lib.es2017.typedarrays.d.ts +53 -0
  33. package/dist/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  34. package/dist/lib/lib.es2018.asynciterable.d.ts +53 -0
  35. package/dist/lib/lib.es2018.d.ts +24 -0
  36. package/dist/lib/lib.es2018.full.d.ts +24 -0
  37. package/dist/lib/lib.es2018.intl.d.ts +83 -0
  38. package/dist/lib/lib.es2018.promise.d.ts +30 -0
  39. package/dist/lib/lib.es2018.regexp.d.ts +37 -0
  40. package/dist/lib/lib.es2019.array.d.ts +79 -0
  41. package/dist/lib/lib.es2019.d.ts +24 -0
  42. package/dist/lib/lib.es2019.full.d.ts +24 -0
  43. package/dist/lib/lib.es2019.intl.d.ts +23 -0
  44. package/dist/lib/lib.es2019.object.d.ts +33 -0
  45. package/dist/lib/lib.es2019.string.d.ts +37 -0
  46. package/dist/lib/lib.es2019.symbol.d.ts +24 -0
  47. package/dist/lib/lib.es2020.bigint.d.ts +765 -0
  48. package/dist/lib/lib.es2020.d.ts +27 -0
  49. package/dist/lib/lib.es2020.date.d.ts +42 -0
  50. package/dist/lib/lib.es2020.full.d.ts +24 -0
  51. package/dist/lib/lib.es2020.intl.d.ts +474 -0
  52. package/dist/lib/lib.es2020.number.d.ts +28 -0
  53. package/dist/lib/lib.es2020.promise.d.ts +47 -0
  54. package/dist/lib/lib.es2020.sharedmemory.d.ts +99 -0
  55. package/dist/lib/lib.es2020.string.d.ts +44 -0
  56. package/dist/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  57. package/dist/lib/lib.es2021.d.ts +23 -0
  58. package/dist/lib/lib.es2021.full.d.ts +24 -0
  59. package/dist/lib/lib.es2021.intl.d.ts +166 -0
  60. package/dist/lib/lib.es2021.promise.d.ts +48 -0
  61. package/dist/lib/lib.es2021.string.d.ts +33 -0
  62. package/dist/lib/lib.es2021.weakref.d.ts +78 -0
  63. package/dist/lib/lib.es2022.array.d.ts +121 -0
  64. package/dist/lib/lib.es2022.d.ts +25 -0
  65. package/dist/lib/lib.es2022.error.d.ts +75 -0
  66. package/dist/lib/lib.es2022.full.d.ts +24 -0
  67. package/dist/lib/lib.es2022.intl.d.ts +145 -0
  68. package/dist/lib/lib.es2022.object.d.ts +26 -0
  69. package/dist/lib/lib.es2022.regexp.d.ts +39 -0
  70. package/dist/lib/lib.es2022.string.d.ts +25 -0
  71. package/dist/lib/lib.es2023.array.d.ts +924 -0
  72. package/dist/lib/lib.es2023.collection.d.ts +21 -0
  73. package/dist/lib/lib.es2023.d.ts +22 -0
  74. package/dist/lib/lib.es2023.full.d.ts +24 -0
  75. package/dist/lib/lib.es2023.intl.d.ts +56 -0
  76. package/dist/lib/lib.es2024.arraybuffer.d.ts +65 -0
  77. package/dist/lib/lib.es2024.collection.d.ts +29 -0
  78. package/dist/lib/lib.es2024.d.ts +26 -0
  79. package/dist/lib/lib.es2024.full.d.ts +24 -0
  80. package/dist/lib/lib.es2024.object.d.ts +29 -0
  81. package/dist/lib/lib.es2024.promise.d.ts +35 -0
  82. package/dist/lib/lib.es2024.regexp.d.ts +25 -0
  83. package/dist/lib/lib.es2024.sharedmemory.d.ts +68 -0
  84. package/dist/lib/lib.es2024.string.d.ts +29 -0
  85. package/dist/lib/lib.es5.d.ts +4601 -0
  86. package/dist/lib/lib.es6.d.ts +23 -0
  87. package/dist/lib/lib.esnext.array.d.ts +35 -0
  88. package/dist/lib/lib.esnext.collection.d.ts +96 -0
  89. package/dist/lib/lib.esnext.d.ts +29 -0
  90. package/dist/lib/lib.esnext.decorators.d.ts +28 -0
  91. package/dist/lib/lib.esnext.disposable.d.ts +193 -0
  92. package/dist/lib/lib.esnext.error.d.ts +24 -0
  93. package/dist/lib/lib.esnext.float16.d.ts +445 -0
  94. package/dist/lib/lib.esnext.full.d.ts +24 -0
  95. package/dist/lib/lib.esnext.intl.d.ts +21 -0
  96. package/dist/lib/lib.esnext.iterator.d.ts +148 -0
  97. package/dist/lib/lib.esnext.promise.d.ts +34 -0
  98. package/dist/lib/lib.esnext.sharedmemory.d.ts +25 -0
  99. package/dist/lib/lib.scripthost.d.ts +322 -0
  100. package/dist/lib/lib.webworker.asynciterable.d.ts +41 -0
  101. package/dist/lib/lib.webworker.d.ts +13150 -0
  102. package/dist/lib/lib.webworker.importscripts.d.ts +23 -0
  103. package/dist/lib/lib.webworker.iterable.d.ts +340 -0
  104. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,41 @@ 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
+ ## [0.2.1] — 2026-07-07
9
+
10
+ ### Fixed
11
+
12
+ - `b6p push` no longer fails its pre-flight TypeScript compile with `File 'lib.esnext.d.ts' not found`
13
+ (cascading into `Cannot find global type 'Array'`) in the bundled npm CLI and the standalone
14
+ binaries. TypeScript's default host resolves its standard library relative to `__filename`, which
15
+ once bundled points inside the bundle where no `lib.*.d.ts` exist. The CLI now ships the full
16
+ TypeScript lib set — copied next to the npm bundle and embedded in (then extracted from) the SEA
17
+ binary — and hands it to the core via `providers.typescriptLibDirs`.
18
+ ([#4](https://github.com/Bluestep-Systems/b6p-cli/issues/4))
19
+
20
+ ### Changed
21
+
22
+ - Bumped `@bluestep-systems/b6p-core` to `^0.2.0`, which adds the `typescriptLibDirs` provider and the
23
+ `TsLibResolver` that consumes it.
24
+
25
+ ## [0.2.0] — 2026-06-29
26
+
27
+ ### Added
28
+
29
+ - **Standalone binaries.** Each GitHub Release now ships self-contained, Node-bundling `b6p`
30
+ executables for Windows (x64) and macOS (x64 + arm64), built in CI via Node SEA and attached to
31
+ the Release (`b6p-windows-x64.exe`, `b6p-macos-x64`, `b6p-macos-arm64`, each with a `.sha256`
32
+ checksum sidecar). They run the full CLI on machines with **no Node or npm installed** — download
33
+ one file, put it on `PATH`, and `b6p <command>` works. The npm package
34
+ (`npm i -g @bluestep-systems/b6p-cli`) is **unchanged** and remains the primary distribution. See
35
+ [the toolchain ADR](docs/adr/0001-standalone-binary-toolchain.md).
36
+
37
+ ### Fixed
38
+
39
+ - `b6p --version` now reports the actual package version instead of a hardcoded `0.0.1`. The version
40
+ is injected at build time via an esbuild `define` (`__B6P_VERSION__`), so it stays correct in both
41
+ the npm bundle and the standalone binary — neither of which can read `package.json` at runtime.
42
+
8
43
  ## [0.1.1] — 2026-06-24
9
44
 
10
45
  ### Fixed
package/README.md CHANGED
@@ -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 |