@plasius/images 1.0.16 → 1.0.18
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 +43 -1
- package/README.md +13 -0
- package/docs/adrs/adr-0003-hosted-oidc-package-publication.md +28 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +17 -16
- package/legal/CLA-REGISTRY.csv +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,46 @@ 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.18] - 2026-09-20
|
|
24
|
+
|
|
25
|
+
- Refresh npm dependency lockfile to current supported stable versions (weekly maintenance, 2026-09-20).
|
|
26
|
+
|
|
27
|
+
- **Added**
|
|
28
|
+
- (placeholder)
|
|
29
|
+
|
|
30
|
+
- **Changed**
|
|
31
|
+
- (placeholder)
|
|
32
|
+
|
|
33
|
+
- **Fixed**
|
|
34
|
+
- (placeholder)
|
|
35
|
+
|
|
36
|
+
- **Security**
|
|
37
|
+
- (placeholder)
|
|
38
|
+
|
|
39
|
+
## [1.0.17] - 2026-09-13
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- Refresh compatible npm dependencies from the registry for the weekly dependency maintenance wave.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
- **Added**
|
|
46
|
+
- (placeholder)
|
|
47
|
+
|
|
48
|
+
- **Changed**
|
|
49
|
+
- Bound npm publication to the exact prepared `main` commit after successful push-triggered CI.
|
|
50
|
+
- (placeholder)
|
|
51
|
+
|
|
52
|
+
- **Fixed**
|
|
53
|
+
- Added exact-commit CI dispatch and disabled package-manager cache finalization in both hosted validation jobs.
|
|
54
|
+
- (placeholder)
|
|
55
|
+
|
|
56
|
+
- **Security**
|
|
57
|
+
- 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.
|
|
58
|
+
- Moved reviewed CI to explicit GitHub-hosted runners while retaining the same-repository pull-request guard.
|
|
59
|
+
- 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.
|
|
60
|
+
- Updated the release dependency lock to resolve the current npm audit findings.
|
|
61
|
+
- (placeholder)
|
|
62
|
+
|
|
23
63
|
## [1.0.16] - 2026-06-28
|
|
24
64
|
|
|
25
65
|
- **Added**
|
|
@@ -220,7 +260,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
220
260
|
|
|
221
261
|
---
|
|
222
262
|
|
|
223
|
-
[Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.
|
|
263
|
+
[Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.18...HEAD
|
|
224
264
|
|
|
225
265
|
## [1.0.0] - 2026-02-11
|
|
226
266
|
|
|
@@ -248,3 +288,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
248
288
|
[1.0.14]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.14
|
|
249
289
|
[1.0.15]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.15
|
|
250
290
|
[1.0.16]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.16
|
|
291
|
+
[1.0.17]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.17
|
|
292
|
+
[1.0.18]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.18
|
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.
|
package/docs/adrs/index.md
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.0.18",
|
|
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.
|
|
33
|
-
"sharp": "^0.35.
|
|
32
|
+
"@xmldom/xmldom": "^0.9.12",
|
|
33
|
+
"sharp": "^0.35.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@azure/cosmos": "^4.
|
|
36
|
+
"@azure/cosmos": "^4.10.0",
|
|
37
37
|
"@eslint/js": "^10.0.1",
|
|
38
|
-
"@testing-library/react": "^16.3.
|
|
39
|
-
"@types/node": "^25.
|
|
40
|
-
"@types/react": "^19.2.
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
42
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
-
"@vitest/coverage-v8": "^4.1.
|
|
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.
|
|
46
|
-
"globals": "^17.
|
|
45
|
+
"eslint": "^10.9.1",
|
|
46
|
+
"globals": "^17.11.0",
|
|
47
47
|
"npm-run-all": "^4.1.5",
|
|
48
|
-
"react": "^19.2.
|
|
48
|
+
"react": "^19.2.8",
|
|
49
49
|
"tsup": "^8.5.1",
|
|
50
|
-
"tsx": "^4.
|
|
50
|
+
"tsx": "^4.23.13",
|
|
51
51
|
"typescript": "^6.0.3",
|
|
52
|
-
"vitest": "^4.1.
|
|
53
|
-
"zod": "^4.4
|
|
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
|
}
|
package/legal/CLA-REGISTRY.csv
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
type,github_handle,full_name,company,email,date,approver
|