@plasius/images 1.0.16 → 1.0.17

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 CHANGED
@@ -20,6 +20,30 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
20
20
  - **Security**
21
21
  - (placeholder)
22
22
 
23
+ ## [1.0.17] - 2026-09-13
24
+
25
+ ### Changed
26
+ - Refresh compatible npm dependencies from the registry for the weekly dependency maintenance wave.
27
+
28
+
29
+ - **Added**
30
+ - (placeholder)
31
+
32
+ - **Changed**
33
+ - Bound npm publication to the exact prepared `main` commit after successful push-triggered CI.
34
+ - (placeholder)
35
+
36
+ - **Fixed**
37
+ - Added exact-commit CI dispatch and disabled package-manager cache finalization in both hosted validation jobs.
38
+ - (placeholder)
39
+
40
+ - **Security**
41
+ - Removed the npm write-token path, added a fail-closed npm 11.5.1-or-newer OIDC guard, and denied fork PR code access to reviewed CI.
42
+ - Moved reviewed CI to explicit GitHub-hosted runners while retaining the same-repository pull-request guard.
43
+ - Added fail-closed source and npm-package admission for the administrative contributor registry and pinned the CI/CD runtime to Node.js 24.18.0 LTS.
44
+ - Updated the release dependency lock to resolve the current npm audit findings.
45
+ - (placeholder)
46
+
23
47
  ## [1.0.16] - 2026-06-28
24
48
 
25
49
  - **Added**
@@ -220,7 +244,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
220
244
 
221
245
  ---
222
246
 
223
- [Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.16...HEAD
247
+ [Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.17...HEAD
224
248
 
225
249
  ## [1.0.0] - 2026-02-11
226
250
 
@@ -248,3 +272,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
248
272
  [1.0.14]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.14
249
273
  [1.0.15]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.15
250
274
  [1.0.16]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.16
275
+ [1.0.17]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.17
package/README.md CHANGED
@@ -50,3 +50,16 @@ package publishes validation helpers and does not evaluate rollout state.
50
50
  ## License
51
51
 
52
52
  MIT
53
+
54
+ <!-- BEGIN PLASIUS RELEASE INTEGRITY -->
55
+ ## Release integrity
56
+
57
+ CI keeps the administrative contributor registry outside Git and npm package
58
+ artifacts using exact, case-normalised path checks. CI runs on approved
59
+ GitHub-hosted runners for same-repository pull requests and `main`, with
60
+ package-manager cache finalization disabled; fork PR code is denied.
61
+ Publication uses the GitHub-hosted `production` job with Node 24 and a pinned
62
+ npm 11.6.2 client. It is token-free and proceeds only while the prepared SHA
63
+ is the exact `main` head after successful push-triggered CI. Do not dispatch CD
64
+ until the npm trusted-publisher binding is verified.
65
+ <!-- END PLASIUS RELEASE INTEGRITY -->
@@ -0,0 +1,28 @@
1
+ # ADR-0003: Hosted OIDC Package Publication
2
+
3
+ - Status: Accepted
4
+ - Date: 2026-08-11
5
+
6
+ ## Context
7
+
8
+ `@plasius/images` must publish without a long-lived npm write token and without
9
+ accepting CI evidence for another source snapshot.
10
+
11
+ ## Decision
12
+
13
+ Publication is phase-isolated: dependency installation, package validation, SBOM generation, and immutable tarball packing run in `validate_and_pack` without the `production` environment or OIDC permission. The final hosted `publish` job downloads only that sealed artifact, explicitly installs npm 11.6.2, runs no repository dependency code, and publishes the tarball with lifecycle scripts disabled. It re-fetches current `main` immediately before the first release mutation and again immediately before npm publication. `.npmrc` contains no registry-auth placeholder, and release preparation returns the reviewed current `main` HEAD rather than package-file history.
14
+
15
+ Publish only from the GitHub-hosted `production` job using npm trusted
16
+ publishing. Prove the prepared SHA is still the exact remote `main` head and
17
+ that push-triggered `ci.yml` succeeded for it. Require Node 24 and npm 11.5.1 or
18
+ newer, request provenance, and prohibit npm write-token fallbacks. Reviewed CI
19
+ uses explicit GitHub-hosted runners; fork PR code is denied.
20
+
21
+ ## Consequences
22
+
23
+ Missing trust configuration, moved `main`, absent CI, unsupported runtime, or
24
+ missing OIDC identity fails closed before publication.
25
+
26
+ ## Test implications
27
+
28
+ Workflow tests enforce source, CI, runtime, identity, runner, and token rules.
@@ -2,3 +2,4 @@
2
2
 
3
3
  - [ADR-0001: Standalone @plasius/images Package Scope](./adr-0001-images-package-scope.md)
4
4
  - [ADR-0002: Public Repository Governance Baseline](./adr-0002-public-repo-governance.md)
5
+ - [ADR-0003: Hosted OIDC Package Publication](./adr-0003-hosted-oidc-package-publication.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/images",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "main": "./dist/index.cjs",
5
5
  "types": "./dist/index.d.ts",
6
6
  "private": false,
@@ -29,28 +29,28 @@
29
29
  "author": "Plasius LTD <development@plasius.co.uk>",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@xmldom/xmldom": "^0.9.10",
33
- "sharp": "^0.35.2"
32
+ "@xmldom/xmldom": "^0.9.12",
33
+ "sharp": "^0.35.4"
34
34
  },
35
35
  "devDependencies": {
36
- "@azure/cosmos": "^4.9.3",
36
+ "@azure/cosmos": "^4.10.0",
37
37
  "@eslint/js": "^10.0.1",
38
- "@testing-library/react": "^16.3.2",
39
- "@types/node": "^25.7.0",
40
- "@types/react": "^19.2.14",
41
- "@typescript-eslint/eslint-plugin": "^8.59.3",
42
- "@typescript-eslint/parser": "^8.59.3",
43
- "@vitest/coverage-v8": "^4.1.6",
38
+ "@testing-library/react": "^16.3.3",
39
+ "@types/node": "^25.9.5",
40
+ "@types/react": "^19.2.18",
41
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
42
+ "@typescript-eslint/parser": "^8.69.0",
43
+ "@vitest/coverage-v8": "^4.1.11",
44
44
  "ajv": "^8.20.0",
45
- "eslint": "^10.3.0",
46
- "globals": "^17.6.0",
45
+ "eslint": "^10.9.1",
46
+ "globals": "^17.11.0",
47
47
  "npm-run-all": "^4.1.5",
48
- "react": "^19.2.6",
48
+ "react": "^19.2.8",
49
49
  "tsup": "^8.5.1",
50
- "tsx": "^4.21.0",
50
+ "tsx": "^4.23.13",
51
51
  "typescript": "^6.0.3",
52
- "vitest": "^4.1.6",
53
- "zod": "^4.4.3"
52
+ "vitest": "^4.1.11",
53
+ "zod": "^4.5.4"
54
54
  },
55
55
  "exports": {
56
56
  ".": {
@@ -98,6 +98,7 @@
98
98
  "node": ">=24"
99
99
  },
100
100
  "overrides": {
101
+ "esbuild": "^0.28.1",
101
102
  "minimatch": "^10.2.1"
102
103
  }
103
104
  }
@@ -1 +0,0 @@
1
- type,github_handle,full_name,company,email,date,approver