@zalosai/zalos-cli 0.2.13 → 0.2.14

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/PUBLISHING.md CHANGED
@@ -8,8 +8,9 @@ Zalos product access.
8
8
 
9
9
  - The release commit must be merged into `develop`.
10
10
  - The package version must not already exist in npm.
11
- - The repository `NPM_TOKEN` secret must have publish access to
12
- `@zalosai/zalos-cli` on npm.
11
+ - npm Trusted Publishing must authorize GitHub Actions from
12
+ `Zalos-io/mesh` through `publish-zalos-cli.yml`, with direct publishing
13
+ enabled.
13
14
 
14
15
  ## Release
15
16
 
@@ -58,6 +59,8 @@ Do not publish with uncommitted package changes or reuse an existing version.
58
59
 
59
60
  ## Central developer access release
60
61
 
62
+ Version 0.2.14 moves publishing to npm Trusted Publishing through the
63
+ `publish-zalos-cli.yml` GitHub Actions workflow, so releases no longer rely on a stored npm token.
61
64
  Version 0.2.13 adds revision-safe Markdown import and export for team Pages. It converts common
62
65
  Tiptap process-document structures while rejecting unsupported stored nodes during export, and uses
63
66
  the `pages:read` and `pages:write` scopes for least-privilege API access.
package/README.md CHANGED
@@ -11,7 +11,7 @@ Requires Node.js 22 or newer. The product CLI is public on npm and does not
11
11
  require GitHub CLI or GitHub Packages access.
12
12
 
13
13
  ```bash
14
- npm install --global @zalosai/zalos-cli@0.2.13
14
+ npm install --global @zalosai/zalos-cli@0.2.14
15
15
  ```
16
16
 
17
17
  Installing the CLI does not grant access.
package/dist/main.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zalosai/zalos-cli",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "API-only product command-line interface for Zalos",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,6 +20,15 @@
20
20
  "engines": {
21
21
  "node": ">=22"
22
22
  },
23
+ "scripts": {
24
+ "build": "tsc --build",
25
+ "clean": "tsc --build --clean && rm -rf dist",
26
+ "dev": "tsx src/main.ts",
27
+ "prepack": "pnpm clean && pnpm build",
28
+ "smoke:package": "node scripts/smoke-package.mjs",
29
+ "test": "vitest run",
30
+ "typecheck": "tsgo --noEmit --types node --incremental --tsBuildInfoFile dist/tsconfig.typecheck.tsbuildinfo"
31
+ },
23
32
  "dependencies": {
24
33
  "@tiptap/core": "3.27.1",
25
34
  "@tiptap/extension-heading": "3.27.1",
@@ -41,13 +50,5 @@
41
50
  "publishConfig": {
42
51
  "access": "public",
43
52
  "registry": "https://registry.npmjs.org"
44
- },
45
- "scripts": {
46
- "build": "tsc --build",
47
- "clean": "tsc --build --clean && rm -rf dist",
48
- "dev": "tsx src/main.ts",
49
- "smoke:package": "node scripts/smoke-package.mjs",
50
- "test": "vitest run",
51
- "typecheck": "tsgo --noEmit --types node --incremental --tsBuildInfoFile dist/tsconfig.typecheck.tsbuildinfo"
52
53
  }
53
- }
54
+ }