@plasius/gpu-model-step 0.1.1 → 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 +15 -0
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -42,3 +42,18 @@ the prepared SHA is the exact `main` head after successful push-triggered CI.
42
42
  The completed `0.1.0` bootstrap path has been removed; subsequent releases must
43
43
  use npm trusted publishing.
44
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.1",
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",