@socket-help/cli 0.3.0 → 0.3.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @socket-help/cli
2
+
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5bd1172: Clarify beta installation, include package changelogs and automate reviewed client releases. Read the CLI version from its package manifest so SDK and CLI releases can version independently.
8
+ - Updated dependencies [5bd1172]
9
+ - @socket-help/sdk@0.3.1
10
+
11
+ ## 0.3.0
12
+
13
+ Initial public beta release.
package/README.md CHANGED
@@ -3,17 +3,17 @@
3
3
  The command-line client for [socket.help](https://socket.help). Requires Node.js
4
4
  22.13+. Commands share the HTTP API's access rules, plan limits and expiry.
5
5
 
6
- After the first public release:
6
+ Install the current beta:
7
7
 
8
8
  ```sh
9
- npx --package=@socket-help/cli socket-help --help
9
+ npx --package=@socket-help/cli@beta socket-help --help
10
10
  # Or install the command:
11
- npm install --global @socket-help/cli
11
+ npm install --global @socket-help/cli@beta
12
12
  socket-help --version
13
13
  ```
14
14
 
15
- Before publication, run `pnpm build:packages` and `pnpm cli --help` from the
16
- repository, or install the verified SDK and CLI tarballs together. The CLI depends
15
+ For source development, run `pnpm build:packages` and `pnpm cli --help` from the
16
+ repository, or use `pnpm test:packages` to verify SDK and CLI tarballs together. The CLI depends
17
17
  on the matching SDK; it does not require the backend or media-processing packages.
18
18
 
19
19
  ```sh
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.3.0";
1
+ export declare const VERSION: string;
package/dist/version.js CHANGED
@@ -1 +1,2 @@
1
- export const VERSION = '0.3.0';
1
+ import { readFileSync } from 'node:fs';
2
+ export const VERSION = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socket-help/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "socket-help": "./bin/socket-help.mjs"
@@ -14,10 +14,11 @@
14
14
  "files": [
15
15
  "dist/**/*.js",
16
16
  "dist/**/*.d.ts",
17
- "bin"
17
+ "bin",
18
+ "CHANGELOG.md"
18
19
  ],
19
20
  "dependencies": {
20
- "@socket-help/sdk": "0.3.0"
21
+ "@socket-help/sdk": "0.3.1"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@types/node": "^26.6.5",
@@ -40,7 +41,8 @@
40
41
  },
41
42
  "publishConfig": {
42
43
  "access": "public",
43
- "registry": "https://registry.npmjs.org/"
44
+ "registry": "https://registry.npmjs.org/",
45
+ "tag": "beta"
44
46
  },
45
47
  "main": "./dist/commands.js",
46
48
  "types": "./dist/commands.d.ts",