@plasius/react-state 1.0.9 → 1.0.10
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/.github/workflows/cd.yml +25 -25
- package/CHANGELOG.md +4 -4
- package/package.json +1 -1
- package/sbom.cdx.json +6 -6
package/.github/workflows/cd.yml
CHANGED
|
@@ -22,31 +22,6 @@ jobs:
|
|
|
22
22
|
node-version-file: '.nvmrc'
|
|
23
23
|
cache: 'npm'
|
|
24
24
|
|
|
25
|
-
- name: Install deps (CI)
|
|
26
|
-
run: npm ci
|
|
27
|
-
|
|
28
|
-
- name: Test (coverage)
|
|
29
|
-
run: npm run test -- --coverage
|
|
30
|
-
|
|
31
|
-
- name: Upload coverage to Codecov
|
|
32
|
-
uses: codecov/codecov-action@v4
|
|
33
|
-
with:
|
|
34
|
-
token: ${{ secrets.CODECOV_TOKEN }}
|
|
35
|
-
files: ./coverage/lcov.info
|
|
36
|
-
flags: unittests
|
|
37
|
-
fail_ci_if_error: true
|
|
38
|
-
|
|
39
|
-
- name: Build
|
|
40
|
-
run: npm run build --if-present
|
|
41
|
-
|
|
42
|
-
- name: Generate SBOM (CycloneDX)
|
|
43
|
-
run: npm sbom --sbom-format=cyclonedx --sbom-type=library --omit dev > sbom.cdx.json
|
|
44
|
-
|
|
45
|
-
- name: Attest SBOM (GitHub Artifact Attestations)
|
|
46
|
-
uses: actions/attest-build-provenance@v3
|
|
47
|
-
with:
|
|
48
|
-
subject-path: sbom.cdx.json
|
|
49
|
-
|
|
50
25
|
- name: Bump version & decide publish flags
|
|
51
26
|
id: pkg
|
|
52
27
|
env:
|
|
@@ -71,6 +46,31 @@ jobs:
|
|
|
71
46
|
else
|
|
72
47
|
echo "flags=--access public" >> "$GITHUB_OUTPUT"
|
|
73
48
|
fi
|
|
49
|
+
|
|
50
|
+
- name: Install deps (CI)
|
|
51
|
+
run: npm ci
|
|
52
|
+
|
|
53
|
+
- name: Test (coverage)
|
|
54
|
+
run: npm run test -- --coverage
|
|
55
|
+
|
|
56
|
+
- name: Upload coverage to Codecov
|
|
57
|
+
uses: codecov/codecov-action@v4
|
|
58
|
+
with:
|
|
59
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
60
|
+
files: ./coverage/lcov.info
|
|
61
|
+
flags: unittests
|
|
62
|
+
fail_ci_if_error: true
|
|
63
|
+
|
|
64
|
+
- name: Build
|
|
65
|
+
run: npm run build --if-present
|
|
66
|
+
|
|
67
|
+
- name: Generate SBOM (CycloneDX)
|
|
68
|
+
run: npm sbom --sbom-format=cyclonedx --sbom-type=library --omit dev > sbom.cdx.json
|
|
69
|
+
|
|
70
|
+
- name: Attest SBOM (GitHub Artifact Attestations)
|
|
71
|
+
uses: actions/attest-build-provenance@v3
|
|
72
|
+
with:
|
|
73
|
+
subject-path: sbom.cdx.json
|
|
74
74
|
|
|
75
75
|
- name: Update CHANGELOG.md (move Unreleased to new version)
|
|
76
76
|
env:
|
package/CHANGELOG.md
CHANGED
|
@@ -21,10 +21,10 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
21
21
|
- **Security**
|
|
22
22
|
- (placeholder)
|
|
23
23
|
|
|
24
|
-
## [1.0.
|
|
24
|
+
## [1.0.10] - 2025-09-17
|
|
25
25
|
|
|
26
26
|
- **Fixed**
|
|
27
|
-
- CD Pipeline ordering fix for version in CHANGELOG.md
|
|
27
|
+
- CD Pipeline ordering fix for version in CHANGELOG.md
|
|
28
28
|
|
|
29
29
|
## [1.0.7] - 2025-09-17
|
|
30
30
|
|
|
@@ -66,7 +66,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
69
|
-
[Unreleased]: https://github.com/Plasius-LTD/react-state/compare/v1.0.
|
|
69
|
+
[Unreleased]: https://github.com/Plasius-LTD/react-state/compare/v1.0.10...HEAD
|
|
70
70
|
[1.0.0]: https://github.com/Plasius-LTD/react-state/releases/tag/v1.0.0
|
|
71
71
|
[1.0.7]: https://github.com/Plasius-LTD/react-state/releases/tag/v1.0.7
|
|
72
|
-
[1.0.
|
|
72
|
+
[1.0.10]: https://github.com/Plasius-LTD/react-state/releases/tag/v1.0.10
|
package/package.json
CHANGED
package/sbom.cdx.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
|
|
3
3
|
"bomFormat": "CycloneDX",
|
|
4
4
|
"specVersion": "1.5",
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:f0ed2ffb-226d-413f-a182-36e60e9b39c6",
|
|
6
6
|
"version": 1,
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2025-09-17T16:
|
|
8
|
+
"timestamp": "2025-09-17T16:16:53.742Z",
|
|
9
9
|
"lifecycles": [
|
|
10
10
|
{
|
|
11
11
|
"phase": "build"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"component": {
|
|
22
|
-
"bom-ref": "@plasius/react-state@1.0.
|
|
22
|
+
"bom-ref": "@plasius/react-state@1.0.10",
|
|
23
23
|
"type": "library",
|
|
24
24
|
"name": "react-state",
|
|
25
|
-
"version": "1.0.
|
|
25
|
+
"version": "1.0.10",
|
|
26
26
|
"scope": "required",
|
|
27
27
|
"author": "Plasius LTD",
|
|
28
28
|
"description": "Tiny, testable, typesafe React Scoped Store helper.",
|
|
29
|
-
"purl": "pkg:npm/%40plasius/react-state@1.0.
|
|
29
|
+
"purl": "pkg:npm/%40plasius/react-state@1.0.10",
|
|
30
30
|
"properties": [
|
|
31
31
|
{
|
|
32
32
|
"name": "cdx:npm:package:path",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"components": [],
|
|
60
60
|
"dependencies": [
|
|
61
61
|
{
|
|
62
|
-
"ref": "@plasius/react-state@1.0.
|
|
62
|
+
"ref": "@plasius/react-state@1.0.10",
|
|
63
63
|
"dependsOn": []
|
|
64
64
|
}
|
|
65
65
|
]
|