@yigemo/choosefire 0.1.0 → 0.1.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 (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +16 -2
package/README.md CHANGED
@@ -81,3 +81,24 @@ pnpm build
81
81
  pnpm test
82
82
  pnpm contract:choosefire-workspace:check
83
83
  ```
84
+
85
+ The portable CI suite excludes only the dedicated Batch 5A4 execution-closure
86
+ evidence test, which is pinned to its approved macOS/arm64/Xcode toolchain:
87
+
88
+ ```bash
89
+ pnpm ci
90
+ pnpm test:batch5a4:closure
91
+ ```
92
+
93
+ ## Release
94
+
95
+ Releases are published from GitHub Actions through npm Trusted Publishing. From
96
+ an up-to-date, clean `main` branch, bump the version and push its release commit
97
+ and annotated tag with:
98
+
99
+ ```bash
100
+ pnpm release patch
101
+ ```
102
+
103
+ The `vX.Y.Z` tag must match `package.json`. GitHub Actions reruns the portable CI
104
+ suite before publishing `@yigemo/choosefire` to npm.
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@yigemo/choosefire",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Command-line tools for ChooseFIRE data operations.",
5
5
  "type": "module",
6
+ "packageManager": "pnpm@10.33.2",
6
7
  "bin": {
7
8
  "choosefire": "dist/index.js"
8
9
  },
@@ -11,20 +12,33 @@
11
12
  "dist",
12
13
  "README.md"
13
14
  ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/YGM-Studio/choosefire-cli.git"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/YGM-Studio/choosefire-cli/issues"
21
+ },
22
+ "homepage": "https://github.com/YGM-Studio/choosefire-cli#readme",
14
23
  "publishConfig": {
15
- "access": "public"
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
16
26
  },
17
27
  "scripts": {
18
28
  "batch5a4:closure:build": "node scripts/build-batch5a4-execution-closure.mjs",
19
29
  "build": "tsc -p tsconfig.json && node --input-type=module --eval \"import { chmodSync } from 'node:fs'; chmodSync('dist/index.js', 0o755)\"",
30
+ "check": "pnpm run typecheck && pnpm run build && pnpm run test:portable && pnpm run contract:choosefire-workspace:check && pnpm run contract:choosefire-family-wealth:check && node dist/index.js --help",
31
+ "ci": "pnpm run check && pnpm audit --prod --audit-level high",
20
32
  "contract:choosefire-workspace:check": "tsx scripts/check-choosefire-workspace-contract.ts",
21
33
  "contract:choosefire-workspace:sync": "tsx scripts/sync-choosefire-workspace-contract.ts",
22
34
  "contract:choosefire-family-wealth:check": "tsx scripts/check-choosefire-family-wealth-contract.ts",
23
35
  "contract:choosefire-family-wealth:sync": "tsx scripts/check-choosefire-family-wealth-contract.ts --sync-from",
24
36
  "dev": "tsx src/index.ts",
25
37
  "prepack": "npm run build",
38
+ "release": "node scripts/release.mjs",
26
39
  "test": "tsx --test test/*.test.ts",
27
40
  "test:batch5a4:closure": "tsx --test test/batch5a4-execution-closure-builder.test.ts",
41
+ "test:portable": "node scripts/run-portable-tests.mjs",
28
42
  "typecheck": "tsc -p tsconfig.json --noEmit",
29
43
  "start": "node dist/index.js"
30
44
  },