@ultimat3/cli 22.2.0 → 22.2.1
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 +28 -28
- package/src/app-load.ts +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/cli",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.1",
|
|
4
4
|
"description": "The `x` binary: new, dev, build, verify, generate, db, mcp, doctor, deploy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,33 +38,33 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/core": "^8.0.1",
|
|
41
|
-
"@ultimat3/action": "22.2.
|
|
42
|
-
"@ultimat3/admin": "22.2.
|
|
43
|
-
"@ultimat3/ai": "22.2.
|
|
44
|
-
"@ultimat3/auth": "22.2.
|
|
45
|
-
"@ultimat3/cache": "22.2.
|
|
46
|
-
"@ultimat3/core": "22.2.
|
|
47
|
-
"@ultimat3/db": "22.2.
|
|
48
|
-
"@ultimat3/entity": "22.2.
|
|
49
|
-
"@ultimat3/flags": "22.2.
|
|
50
|
-
"@ultimat3/http": "22.2.
|
|
51
|
-
"@ultimat3/i18n": "22.2.
|
|
52
|
-
"@ultimat3/jobs": "22.2.
|
|
53
|
-
"@ultimat3/mail": "22.2.
|
|
54
|
-
"@ultimat3/manifest": "22.2.
|
|
55
|
-
"@ultimat3/mcp": "22.2.
|
|
56
|
-
"@ultimat3/money": "22.2.
|
|
57
|
-
"@ultimat3/notify": "22.2.
|
|
58
|
-
"@ultimat3/policy": "22.2.
|
|
59
|
-
"@ultimat3/pwa": "22.2.
|
|
60
|
-
"@ultimat3/query": "22.2.
|
|
61
|
-
"@ultimat3/realtime": "22.2.
|
|
62
|
-
"@ultimat3/render": "22.2.
|
|
63
|
-
"@ultimat3/schema": "22.2.
|
|
64
|
-
"@ultimat3/seo": "22.2.
|
|
65
|
-
"@ultimat3/storage": "22.2.
|
|
66
|
-
"@ultimat3/testing": "22.2.
|
|
67
|
-
"@ultimat3/time": "22.2.
|
|
41
|
+
"@ultimat3/action": "22.2.1",
|
|
42
|
+
"@ultimat3/admin": "22.2.1",
|
|
43
|
+
"@ultimat3/ai": "22.2.1",
|
|
44
|
+
"@ultimat3/auth": "22.2.1",
|
|
45
|
+
"@ultimat3/cache": "22.2.1",
|
|
46
|
+
"@ultimat3/core": "22.2.1",
|
|
47
|
+
"@ultimat3/db": "22.2.1",
|
|
48
|
+
"@ultimat3/entity": "22.2.1",
|
|
49
|
+
"@ultimat3/flags": "22.2.1",
|
|
50
|
+
"@ultimat3/http": "22.2.1",
|
|
51
|
+
"@ultimat3/i18n": "22.2.1",
|
|
52
|
+
"@ultimat3/jobs": "22.2.1",
|
|
53
|
+
"@ultimat3/mail": "22.2.1",
|
|
54
|
+
"@ultimat3/manifest": "22.2.1",
|
|
55
|
+
"@ultimat3/mcp": "22.2.1",
|
|
56
|
+
"@ultimat3/money": "22.2.1",
|
|
57
|
+
"@ultimat3/notify": "22.2.1",
|
|
58
|
+
"@ultimat3/policy": "22.2.1",
|
|
59
|
+
"@ultimat3/pwa": "22.2.1",
|
|
60
|
+
"@ultimat3/query": "22.2.1",
|
|
61
|
+
"@ultimat3/realtime": "22.2.1",
|
|
62
|
+
"@ultimat3/render": "22.2.1",
|
|
63
|
+
"@ultimat3/schema": "22.2.1",
|
|
64
|
+
"@ultimat3/seo": "22.2.1",
|
|
65
|
+
"@ultimat3/storage": "22.2.1",
|
|
66
|
+
"@ultimat3/testing": "22.2.1",
|
|
67
|
+
"@ultimat3/time": "22.2.1",
|
|
68
68
|
"babel-preset-solid": "^1.9.15"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/src/app-load.ts
CHANGED
|
@@ -19,8 +19,9 @@ import { isRouteConfig, pageComponentOf, registerRoute, routeEntries } from '@ul
|
|
|
19
19
|
// every app module below is loaded by the dynamic `import()` in this file. Before the render
|
|
20
20
|
// barrel split it came free with the line above; after it, the only other path to `/server` from
|
|
21
21
|
// here is six hops through `error-contract` → `fix-command` → the command registry, which is an
|
|
22
|
-
// accident one refactor away from compiling every app's `.tsx` to `React.createElement`.
|
|
23
|
-
import
|
|
22
|
+
// accident one refactor away from compiling every app's `.tsx` to `React.createElement`. The named
|
|
23
|
+
// import is a value import, so the side effect holds without the bare line it replaced.
|
|
24
|
+
import { setStylesheetRoot } from '@ultimat3/render/server';
|
|
24
25
|
import { APP_CONFIG_FILE } from './app-root';
|
|
25
26
|
import { collectDeclaredCodes } from './error-contract';
|
|
26
27
|
import type { Finding } from './output';
|
|
@@ -108,6 +109,10 @@ export function resetAppLoad(): void {
|
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
export async function loadApp(root: string): Promise<LoadedApp> {
|
|
112
|
+
// Before any import: a stylesheet's surface is read below the app root, never off its absolute
|
|
113
|
+
// path — under the container's `WORKDIR /app` that path's first segment is `app/`, and every
|
|
114
|
+
// sheet, the site's included, classified as app CSS.
|
|
115
|
+
setStylesheetRoot(root);
|
|
111
116
|
const files: string[] = [];
|
|
112
117
|
const findings: Finding[] = [];
|
|
113
118
|
|