@plasius/sharedassets 1.0.15 → 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 +59 -1
- package/README.md +12 -0
- package/docs/adrs/adr-0004-hosted-oidc-package-publication.md +29 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +6 -3
- package/legal/CLA-REGISTRY.csv +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,60 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
- **Added**
|
|
12
|
+
- (placeholder)
|
|
13
|
+
|
|
14
|
+
- **Changed**
|
|
15
|
+
- (placeholder)
|
|
16
|
+
|
|
17
|
+
- **Fixed**
|
|
18
|
+
- (placeholder)
|
|
19
|
+
|
|
20
|
+
- **Security**
|
|
21
|
+
- (placeholder)
|
|
22
|
+
|
|
23
|
+
## [1.0.17] - 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.16] - 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
|
+
- Moved reviewed CI to explicit GitHub-hosted runners with package-manager caching disabled and added exact-branch manual validation.
|
|
54
|
+
- (placeholder)
|
|
55
|
+
|
|
56
|
+
- **Security**
|
|
57
|
+
- Updated Vitest and its coverage adapter to 4.1.11, clearing the patched redirect-mock path traversal advisory.
|
|
58
|
+
- 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 self-hosted CI.
|
|
59
|
+
- Pinned patched transitive npm dependencies to clear the current audit baseline.
|
|
60
|
+
- 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.
|
|
61
|
+
- (placeholder)
|
|
62
|
+
|
|
63
|
+
## [1.0.15] - 2026-06-30
|
|
64
|
+
|
|
11
65
|
- **Added**
|
|
12
66
|
- Added exported Plasius logo variants for chrome-shell branding while preserving the canonical logo asset.
|
|
13
67
|
|
|
@@ -18,6 +72,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
18
72
|
- (placeholder)
|
|
19
73
|
|
|
20
74
|
- **Security**
|
|
75
|
+
- Raised the `fast-uri` override to the patched 3.1.x line to clear the four high-severity host-confusion and SSRF advisories.
|
|
21
76
|
- (placeholder)
|
|
22
77
|
|
|
23
78
|
## [1.0.14] - 2026-06-22
|
|
@@ -191,7 +246,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
191
246
|
|
|
192
247
|
---
|
|
193
248
|
|
|
194
|
-
[Unreleased]: https://github.com/Plasius-LTD/sharedassets/compare/v1.0.
|
|
249
|
+
[Unreleased]: https://github.com/Plasius-LTD/sharedassets/compare/v1.0.17...HEAD
|
|
195
250
|
|
|
196
251
|
## [1.0.0] - 2026-02-11
|
|
197
252
|
|
|
@@ -217,3 +272,6 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
217
272
|
[1.0.11]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.11
|
|
218
273
|
[1.0.13]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.13
|
|
219
274
|
[1.0.14]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.14
|
|
275
|
+
[1.0.15]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.15
|
|
276
|
+
[1.0.16]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.16
|
|
277
|
+
[1.0.17]: https://github.com/Plasius-LTD/sharedassets/releases/tag/v1.0.17
|
package/README.md
CHANGED
|
@@ -47,3 +47,15 @@ npm test
|
|
|
47
47
|
## License
|
|
48
48
|
|
|
49
49
|
MIT
|
|
50
|
+
|
|
51
|
+
<!-- BEGIN PLASIUS RELEASE INTEGRITY -->
|
|
52
|
+
## Release integrity
|
|
53
|
+
|
|
54
|
+
CI keeps the administrative contributor registry outside Git and npm package
|
|
55
|
+
artifacts using exact, case-normalised path checks. Reviewed CI runs on explicit
|
|
56
|
+
GitHub-hosted runners with package-manager caching disabled; fork PR code is
|
|
57
|
+
denied. Publication uses the GitHub-hosted `production` job with Node 24 and
|
|
58
|
+
pinned npm 11.6.2. It is token-free and proceeds only while the prepared SHA
|
|
59
|
+
is the exact `main` head after successful push-triggered CI. Do not dispatch CD
|
|
60
|
+
until the npm trusted-publisher binding is verified.
|
|
61
|
+
<!-- END PLASIUS RELEASE INTEGRITY -->
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ADR-0004: Hosted OIDC Package Publication
|
|
2
|
+
|
|
3
|
+
- Status: Accepted
|
|
4
|
+
- Date: 2026-08-11
|
|
5
|
+
|
|
6
|
+
## Context
|
|
7
|
+
|
|
8
|
+
`@plasius/sharedassets` 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 with package-manager caching disabled; fork
|
|
20
|
+
PR code is denied.
|
|
21
|
+
|
|
22
|
+
## Consequences
|
|
23
|
+
|
|
24
|
+
Missing trust configuration, moved `main`, absent CI, unsupported runtime, or
|
|
25
|
+
missing OIDC identity fails closed before publication.
|
|
26
|
+
|
|
27
|
+
## Test implications
|
|
28
|
+
|
|
29
|
+
Workflow tests enforce source, CI, runtime, identity, runner, and token rules.
|
package/docs/adrs/index.md
CHANGED
|
@@ -3,3 +3,4 @@
|
|
|
3
3
|
- [ADR-0001: Standalone @plasius/sharedassets Package Scope](./adr-0001-sharedassets-package-scope.md)
|
|
4
4
|
- [ADR-0002: Public Repository Governance Baseline](./adr-0002-public-repo-governance.md)
|
|
5
5
|
- [ADR-0003: Dual ESM and CJS Runtime Compatibility](./adr-0003-dual-esm-cjs-runtime-compatibility.md)
|
|
6
|
+
- [ADR-0004: Hosted OIDC Package Publication](./adr-0004-hosted-oidc-package-publication.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/sharedassets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Plasius shared asset library, allowing devs to utilise common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Components",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@types/react": "^19.2.14",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
41
41
|
"@typescript-eslint/parser": "^8.59.3",
|
|
42
|
-
"@vitest/coverage-v8": "^4.1.
|
|
42
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
43
43
|
"ajv": "^8.20.0",
|
|
44
44
|
"eslint": "^10.3.0",
|
|
45
45
|
"globals": "^17.6.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"react": "^19.2.6",
|
|
48
48
|
"tsx": "^4.21.0",
|
|
49
49
|
"typescript": "^6.0.3",
|
|
50
|
-
"vitest": "^4.1.
|
|
50
|
+
"vitest": "^4.1.11",
|
|
51
51
|
"zod": "^4.4.3"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": [
|
|
@@ -100,6 +100,9 @@
|
|
|
100
100
|
"node": ">=24"
|
|
101
101
|
},
|
|
102
102
|
"overrides": {
|
|
103
|
+
"brace-expansion": "5.0.9",
|
|
104
|
+
"nanoid": "3.3.18",
|
|
105
|
+
"fast-uri": "^3.1.6",
|
|
103
106
|
"minimatch": "^10.2.1"
|
|
104
107
|
}
|
|
105
108
|
}
|
package/legal/CLA-REGISTRY.csv
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
type,github_handle,full_name,company,email,date,approver
|