@plasius/gpu-model-step 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +21 -4
  2. package/package.json +7 -4
package/README.md CHANGED
@@ -35,8 +35,25 @@ Apache-2.0. See LICENSE, SECURITY.md, and the files under legal/.
35
35
  ## Release integrity
36
36
 
37
37
  CI keeps the administrative contributor registry outside Git and npm package
38
- artifacts using exact, case-normalised path checks. CI runs on approved
39
- self-hosted runners. Release preparation and npm publication use GitHub-hosted
40
- runners with Node.js 24.18.0 LTS. CD remains disabled until the npm trusted
41
- publisher binding is verified and the legacy token fallback is removed.
38
+ artifacts using exact, case-normalised path checks. CI runs on explicit
39
+ GitHub-hosted runners. Publication uses the GitHub-hosted `production` job with
40
+ Node 24 and a pinned npm 11.6.2 client. It is token-free and proceeds only while
41
+ the prepared SHA is the exact `main` head after successful push-triggered CI.
42
+ The completed `0.1.0` bootstrap path has been removed; subsequent releases must
43
+ use npm trusted publishing.
42
44
  <!-- END PLASIUS RELEASE INTEGRITY -->
45
+
46
+ ## Automatic npm releases
47
+
48
+ Run `.github/workflows/cd.yml` on `main` with `phase=prepare` and the intended
49
+ version bump. The schema-template pipeline prepares release metadata through a
50
+ pull request, waits for CI on that exact main commit, then publishes the sealed
51
+ package through npm trusted publishing in the `production` environment.
52
+ Normal privacy, audit, tests, coverage and artifact checks run automatically.
53
+ No separate release-owner or dependency-coordination admission is required.
54
+
55
+ `npm run privacy:check` checks repository path metadata. `npm run test:privacy`
56
+ tests the policy and release contract. `npm run pack:check` checks the package
57
+ against the reviewed inventory in `scripts/package-artifacts.json`; update that
58
+ inventory deliberately when public package files change. Add real notes under
59
+ `Unreleased`; only the release pipeline promotes them to a versioned section.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-model-step",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "STEP analytic geometry import/export and controlled tessellation contracts.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -31,8 +31,10 @@
31
31
  "prepare": "npm run build",
32
32
  "clean": "rimraf dist",
33
33
  "test:coverage": "vitest run --coverage",
34
- "pack:check": "node scripts/verify-public-package.cjs",
35
- "prepublishOnly": "npm run build && npm run pack:check"
34
+ "pack:check": "node scripts/release-changelog.mjs check CHANGELOG.md && npm run privacy:check && node scripts/verify-public-package.cjs",
35
+ "prepublishOnly": "npm run build && npm run pack:check",
36
+ "privacy:check": "node scripts/verify-private-artifacts.cjs",
37
+ "test:privacy": "node --experimental-test-coverage --test-coverage-include=scripts/private-artifact-policy.cjs --test-coverage-lines=80 --test-coverage-functions=80 --test-coverage-branches=60 --test tests/private-artifact-policy.test.cjs tests/schema-release.test.cjs"
36
38
  },
37
39
  "keywords": [
38
40
  "schema",
@@ -94,7 +96,8 @@
94
96
  }
95
97
  ],
96
98
  "overrides": {
97
- "brace-expansion": "5.0.8",
99
+ "nanoid": "3.3.18",
100
+ "brace-expansion": "5.0.9",
98
101
  "esbuild": "0.28.1",
99
102
  "minimatch": "^10.2.1",
100
103
  "postcss": "8.5.23"