@deviceinsight/scale-ui-custom-scripts 6.3.0 → 6.4.0
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/README.md +16 -2
- package/package.json +14 -10
package/README.md
CHANGED
|
@@ -105,6 +105,20 @@ Run the release script from the repository root:
|
|
|
105
105
|
|
|
106
106
|
Before running it, make sure the workarea is clean and all commits on `develop` are pushed; otherwise the script aborts.
|
|
107
107
|
It runs the vulnerability scan and the tests, releases the current version from `package.json` (without `-SNAPSHOT`) and afterwards starts the next minor snapshot version.
|
|
108
|
-
The `publish` CI job then
|
|
108
|
+
The `publish` CI job then stages the release tag on the public npm registry.
|
|
109
|
+
It only becomes public once a maintainer approves it, see [Approving a release on npm](#approving-a-release-on-npm).
|
|
109
110
|
`-SNAPSHOT` versions on `develop` are not published.
|
|
110
|
-
For a prerelease, run the manual `publish_alpha` job on a `feature/*` branch: it
|
|
111
|
+
For a prerelease, run the manual `publish_alpha` job on a `feature/*` branch: it stages `<version>-alpha.<branch>.<pipeline>` on the public npm registry under the `alpha` tag, or the version in the `VERSION` variable if set.
|
|
112
|
+
Like a release, an alpha must be approved before it can be installed.
|
|
113
|
+
|
|
114
|
+
### Approving a release on npm
|
|
115
|
+
|
|
116
|
+
The `publish` and `publish_alpha` jobs only stage a version on the public npm registry, because the CI token bypasses 2FA and npm is removing direct publishing for such tokens.
|
|
117
|
+
A staged version cannot be installed until a maintainer approves it with 2FA.
|
|
118
|
+
This requires an npm account with write access to the `@deviceinsight` packages and 2FA enabled.
|
|
119
|
+
|
|
120
|
+
1. Find the staged version on the Staged Packages page of npmjs.com, or list it with `npm stage list @deviceinsight/scale-ui-custom-scripts`.
|
|
121
|
+
The CI job log also prints its stage id.
|
|
122
|
+
2. Wait until npm's automated validation has finished; until then the version cannot be approved.
|
|
123
|
+
3. Approve it on npmjs.com, or with `npm stage approve <stage-id>`.
|
|
124
|
+
4. Check that it is published under the expected dist-tag with `npm view @deviceinsight/scale-ui-custom-scripts dist-tags`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deviceinsight/scale-ui-custom-scripts",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -37,35 +37,35 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@svgr/webpack": "8.1.0",
|
|
40
|
-
"axios": "1.21.
|
|
40
|
+
"axios": "1.21.1",
|
|
41
41
|
"chalk": "6.0.1",
|
|
42
42
|
"cross-spawn": "7.0.6",
|
|
43
43
|
"css-loader": "7.1.5",
|
|
44
|
-
"dotenv": "18.0.
|
|
44
|
+
"dotenv": "18.0.10",
|
|
45
45
|
"express": "5.3.0",
|
|
46
46
|
"file-loader": "6.2.0",
|
|
47
47
|
"flat": "6.0.1",
|
|
48
48
|
"http-proxy": "1.18.1",
|
|
49
|
-
"inquirer": "14.
|
|
49
|
+
"inquirer": "14.3.0",
|
|
50
50
|
"jsonic": "2.28.0",
|
|
51
51
|
"less": "4.9.1",
|
|
52
52
|
"less-loader": "13.1.0",
|
|
53
|
-
"lint-staged": "17.6.
|
|
53
|
+
"lint-staged": "17.6.1",
|
|
54
54
|
"mini-css-extract-plugin": "2.10.2",
|
|
55
55
|
"ncp": "2.0.0",
|
|
56
56
|
"open": "11.0.4",
|
|
57
|
-
"prettier": "3.
|
|
57
|
+
"prettier": "3.10.1",
|
|
58
58
|
"process": "0.11.10",
|
|
59
59
|
"qs": "6.17.1",
|
|
60
60
|
"reload": "3.4.3",
|
|
61
|
-
"sass": "1.
|
|
61
|
+
"sass": "1.108.2",
|
|
62
62
|
"sass-loader": "17.1.0",
|
|
63
63
|
"style-loader": "4.0.0",
|
|
64
64
|
"tamper": "1.1.0",
|
|
65
65
|
"ts-loader": "9.6.2",
|
|
66
66
|
"tsconfig-paths-webpack-plugin": "4.2.0",
|
|
67
67
|
"webpack": "5.112.2",
|
|
68
|
-
"webpack-dev-middleware": "8.6.
|
|
68
|
+
"webpack-dev-middleware": "8.6.1",
|
|
69
69
|
"webpack-manifest-plugin": "6.0.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@types/node": "26.6.6",
|
|
77
77
|
"@types/qs": "6.15.1",
|
|
78
78
|
"husky": "9.1.7",
|
|
79
|
-
"oxlint": "1.
|
|
79
|
+
"oxlint": "1.93.0",
|
|
80
80
|
"typescript": "7.0.2",
|
|
81
81
|
"vitest": "5.1.0"
|
|
82
82
|
},
|
|
@@ -88,11 +88,15 @@
|
|
|
88
88
|
"minimatch": {
|
|
89
89
|
"brace-expansion": ">=2.0.3"
|
|
90
90
|
},
|
|
91
|
+
"nodemon": {
|
|
92
|
+
".": "~3.1.14",
|
|
93
|
+
"minimatch": "^11.0.1"
|
|
94
|
+
},
|
|
91
95
|
"path-to-regexp": ">=0.1.13",
|
|
92
96
|
"picomatch": ">=2.3.2",
|
|
93
97
|
"svgo": ">=3.3.3",
|
|
94
98
|
"url-parse": "^1.5.0",
|
|
95
|
-
"ws": "^
|
|
99
|
+
"ws": "^8.21.0",
|
|
96
100
|
"yaml": ">=2.8.3"
|
|
97
101
|
},
|
|
98
102
|
"engines": {
|