@onbox/cli 0.1.0-rc.0 → 0.1.0-rc.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Onbox Labs, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -158,9 +158,21 @@ The tag must match `version` in `package.json`.
158
158
  A prerelease version (`0.2.0-rc.1`) goes to the `next` dist-tag; a stable one to `latest`.
159
159
 
160
160
  ```bash
161
- # in apps/cli: set the version, commit, then
162
- git tag cli-v0.2.0 && git push origin cli-v0.2.0
161
+ # Bump `version` in apps/cli/package.json in a pull request and merge it, then tag the merge commit:
162
+ git fetch origin && git tag cli-v0.2.0 origin/main && git push origin cli-v0.2.0
163
163
  ```
164
164
 
165
- The workflow publishes only `dist/onbox.js`, `README.md` and `package.json`.
165
+ Watch the run with `gh run list --workflow cli-release.yml`, then check `npx @onbox/cli@next --version` (or `@latest`).
166
+ A published version cannot be republished: a failed or wrong release needs a new version.
167
+
168
+ To make a prerelease the default install, move `latest` by hand (npm asks for your 2FA code):
169
+
170
+ ```bash
171
+ npm dist-tag add @onbox/cli@0.2.0-rc.1 latest
172
+ ```
173
+
174
+ The trusted publisher is configured on npmjs.com, in the package's settings: GitHub Actions, `Onboxing/onbox`, workflow `cli-release.yml`, no environment, with "Allow npm publish" ticked ("Allow npm dist-tag" stays off).
175
+ Publishing access requires two-factor authentication and refuses tokens, so a by-hand publish needs a maintainer's npm login.
176
+
177
+ The workflow publishes only `dist/onbox.js`, `LICENSE`, `README.md` and `package.json`.
166
178
  `build:binary` is kept for later; no binaries, Homebrew formula or signing are released yet.
package/dist/onbox.js CHANGED
@@ -11856,7 +11856,7 @@ import { createServer } from "http";
11856
11856
  // package.json
11857
11857
  var package_default = {
11858
11858
  name: "@onbox/cli",
11859
- version: "0.1.0-rc.0",
11859
+ version: "0.1.0-rc.2",
11860
11860
  description: "The onbox command line: the Onbox public API (/v1) from a terminal.",
11861
11861
  keywords: [
11862
11862
  "onbox",
@@ -11866,7 +11866,7 @@ var package_default = {
11866
11866
  "api"
11867
11867
  ],
11868
11868
  homepage: "https://onbox.ing",
11869
- license: "UNLICENSED",
11869
+ license: "MIT",
11870
11870
  repository: {
11871
11871
  type: "git",
11872
11872
  url: "git+https://github.com/Onboxing/onbox.git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onbox/cli",
3
- "version": "0.1.0-rc.0",
3
+ "version": "0.1.0-rc.2",
4
4
  "description": "The onbox command line: the Onbox public API (/v1) from a terminal.",
5
5
  "keywords": [
6
6
  "onbox",
@@ -10,7 +10,7 @@
10
10
  "api"
11
11
  ],
12
12
  "homepage": "https://onbox.ing",
13
- "license": "UNLICENSED",
13
+ "license": "MIT",
14
14
  "repository": {
15
15
  "type": "git",
16
16
  "url": "git+https://github.com/Onboxing/onbox.git",
@@ -38,8 +38,8 @@
38
38
  "typescript-eslint": "^8.67.0",
39
39
  "vitest": "^4.1.4",
40
40
  "@repo/eslint-config": "0.0.0",
41
- "@repo/typescript-config": "0.0.0",
42
- "@repo/openapi": "1.0.0"
41
+ "@repo/openapi": "1.0.0",
42
+ "@repo/typescript-config": "0.0.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsup",