@worca/ui 0.37.0 → 0.40.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/app/main.bundle.js +4047 -3428
- package/app/main.bundle.js.map +4 -4
- package/app/styles.css +1078 -2
- package/package.json +1 -1
- package/server/app.js +17 -0
- package/server/project-routes.js +7 -39
- package/server/templates-routes.js +742 -0
- package/server/version-check.js +11 -2
package/server/version-check.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
// server/version-check.js — worca-cc version compatibility check
|
|
2
2
|
import { execFile } from 'node:child_process';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Minimum worca-cc version required by this @worca/ui release.
|
|
6
|
+
*
|
|
7
|
+
* Bumped to 0.47.0 for the Pipelines section (W-062): the editor's
|
|
8
|
+
* CRUD routes delegate to `worca templates create / validate / duplicate`
|
|
9
|
+
* and pass a `--project-root` flag, none of which exist in worca-cc
|
|
10
|
+
* ≤ 0.46.0. When the installed version is behind this, the Pipelines
|
|
11
|
+
* view degrades to read-only and surfaces a banner instructing the
|
|
12
|
+
* user to upgrade.
|
|
13
|
+
*/
|
|
14
|
+
export const MIN_WORCA_CC = '0.47.0';
|
|
6
15
|
|
|
7
16
|
/**
|
|
8
17
|
* Parse the version string from `worca --version` output.
|