@uniweb/build 0.14.31 → 0.14.32
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/package.json +5 -5
- package/src/hosts/ci-workflow.js +12 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.32",
|
|
4
4
|
"description": "Build tooling for the Uniweb Component Web Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"js-yaml": "^4.1.0",
|
|
60
60
|
"sharp": "^0.33.2",
|
|
61
61
|
"yaml": "^2.5.0",
|
|
62
|
-
"@uniweb/
|
|
63
|
-
"@uniweb/
|
|
62
|
+
"@uniweb/theming": "0.1.8",
|
|
63
|
+
"@uniweb/content-writer": "0.2.6"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
66
66
|
"@uniweb/runtime": "0.8.26",
|
|
67
|
-
"@uniweb/
|
|
68
|
-
"@uniweb/
|
|
67
|
+
"@uniweb/content-reader": "1.1.12",
|
|
68
|
+
"@uniweb/schemas": "0.2.4"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
package/src/hosts/ci-workflow.js
CHANGED
|
@@ -23,22 +23,21 @@
|
|
|
23
23
|
* @returns {string} YAML fragment, no trailing newline.
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
|
-
* Fallback pnpm major,
|
|
26
|
+
* Fallback pnpm major, for callers that don't supply one.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
28
|
+
* **Must equal the CLI's `versions.js::PNPM_VERSION`.** This is a copy
|
|
29
|
+
* across a package boundary — `@uniweb/build` cannot import from the CLI,
|
|
30
|
+
* since the dependency runs the other way — and copies drift. This one
|
|
31
|
+
* drifted twice in a week: stale at '11' when the CLI moved to '10', then
|
|
32
|
+
* stale at '10' when it moved back to '11'.
|
|
32
33
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* would have silently generated an uninstallable workflow for any caller
|
|
39
|
-
* that omitted the argument.
|
|
34
|
+
* The CLI always passes an explicit value, so this never applies on the
|
|
35
|
+
* normal path; it exists for direct API and test callers. Drift is caught
|
|
36
|
+
* by a CLI-side test that generates a workflow *without* passing a version
|
|
37
|
+
* and asserts the emitted major matches `PNPM_VERSION` — i.e. the guard
|
|
38
|
+
* lives at the boundary where the two values have to agree.
|
|
40
39
|
*/
|
|
41
|
-
const FALLBACK_PNPM_VERSION = '
|
|
40
|
+
const FALLBACK_PNPM_VERSION = '11'
|
|
42
41
|
|
|
43
42
|
export function setupSteps({
|
|
44
43
|
packageManager = 'pnpm',
|