@jskit-ai/shell-web 0.1.33 → 0.1.35
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.descriptor.mjs +3 -24
- package/package.json +2 -2
- package/test/bootstrapClaimContract.test.js +1 -23
- package/templates/expected-existing/src/pages/console/index.vue +0 -12
- package/templates/expected-existing/src/pages/console.vue +0 -13
- package/templates/src/pages/console/index.vue +0 -24
- package/templates/src/pages/console.vue +0 -20
package/package.descriptor.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default Object.freeze({
|
|
2
2
|
packageVersion: 1,
|
|
3
3
|
packageId: "@jskit-ai/shell-web",
|
|
4
|
-
version: "0.1.
|
|
4
|
+
version: "0.1.35",
|
|
5
5
|
kind: "runtime",
|
|
6
6
|
description: "Web shell layout runtime with outlet-based placement contributions.",
|
|
7
7
|
dependsOn: [],
|
|
@@ -92,7 +92,7 @@ export default Object.freeze({
|
|
|
92
92
|
runtime: {
|
|
93
93
|
"@mdi/js": "^7.4.47",
|
|
94
94
|
"@tanstack/vue-query": "^5.90.5",
|
|
95
|
-
"@jskit-ai/kernel": "0.1.
|
|
95
|
+
"@jskit-ai/kernel": "0.1.36",
|
|
96
96
|
"vuetify": "^4.0.0"
|
|
97
97
|
},
|
|
98
98
|
dev: {}
|
|
@@ -100,8 +100,7 @@ export default Object.freeze({
|
|
|
100
100
|
packageJson: {
|
|
101
101
|
scripts: {
|
|
102
102
|
"dev:all": "vite",
|
|
103
|
-
"dev:home": "VITE_SURFACE=home vite"
|
|
104
|
-
"dev:console": "VITE_SURFACE=console vite"
|
|
103
|
+
"dev:home": "VITE_SURFACE=home vite"
|
|
105
104
|
}
|
|
106
105
|
},
|
|
107
106
|
procfile: {},
|
|
@@ -262,26 +261,6 @@ export default Object.freeze({
|
|
|
262
261
|
reason: "Install shell-driven home settings index stub scaffold for app-owned landing or redirect behavior.",
|
|
263
262
|
category: "shell-web",
|
|
264
263
|
id: "shell-web-page-home-settings"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
from: "templates/src/pages/console.vue",
|
|
268
|
-
toSurface: "console",
|
|
269
|
-
toSurfaceRoot: true,
|
|
270
|
-
ownership: "app",
|
|
271
|
-
expectedExistingFrom: "templates/expected-existing/src/pages/console.vue",
|
|
272
|
-
reason: "Install shell-driven console wrapper page.",
|
|
273
|
-
category: "shell-web",
|
|
274
|
-
id: "shell-web-page-console-wrapper"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
from: "templates/src/pages/console/index.vue",
|
|
278
|
-
toSurface: "console",
|
|
279
|
-
toSurfacePath: "index.vue",
|
|
280
|
-
ownership: "app",
|
|
281
|
-
expectedExistingFrom: "templates/expected-existing/src/pages/console/index.vue",
|
|
282
|
-
reason: "Install shell-driven console page starter.",
|
|
283
|
-
category: "shell-web",
|
|
284
|
-
id: "shell-web-page-console"
|
|
285
264
|
}
|
|
286
265
|
]
|
|
287
266
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/shell-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@mdi/js": "^7.4.47",
|
|
26
26
|
"@tanstack/vue-query": "^5.90.5",
|
|
27
|
-
"@jskit-ai/kernel": "0.1.
|
|
27
|
+
"@jskit-ai/kernel": "0.1.36",
|
|
28
28
|
"vuetify": "^4.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -46,35 +46,13 @@ test("shell-web claims starter shell files as app-owned scaffolds", () => {
|
|
|
46
46
|
category: "shell-web",
|
|
47
47
|
id: "shell-web-page-home"
|
|
48
48
|
});
|
|
49
|
-
assert.deepEqual(findFileMutation("shell-web-page-console-wrapper"), {
|
|
50
|
-
from: "templates/src/pages/console.vue",
|
|
51
|
-
toSurface: "console",
|
|
52
|
-
toSurfaceRoot: true,
|
|
53
|
-
ownership: "app",
|
|
54
|
-
expectedExistingFrom: "templates/expected-existing/src/pages/console.vue",
|
|
55
|
-
reason: "Install shell-driven console wrapper page.",
|
|
56
|
-
category: "shell-web",
|
|
57
|
-
id: "shell-web-page-console-wrapper"
|
|
58
|
-
});
|
|
59
|
-
assert.deepEqual(findFileMutation("shell-web-page-console"), {
|
|
60
|
-
from: "templates/src/pages/console/index.vue",
|
|
61
|
-
toSurface: "console",
|
|
62
|
-
toSurfacePath: "index.vue",
|
|
63
|
-
ownership: "app",
|
|
64
|
-
expectedExistingFrom: "templates/expected-existing/src/pages/console/index.vue",
|
|
65
|
-
reason: "Install shell-driven console page starter.",
|
|
66
|
-
category: "shell-web",
|
|
67
|
-
id: "shell-web-page-console"
|
|
68
|
-
});
|
|
69
49
|
});
|
|
70
50
|
|
|
71
51
|
test("shell-web expected-existing starter files stay aligned with create-app base-shell", async () => {
|
|
72
52
|
const comparedFiles = [
|
|
73
53
|
"src/App.vue",
|
|
74
54
|
"src/pages/home.vue",
|
|
75
|
-
"src/pages/home/index.vue"
|
|
76
|
-
"src/pages/console.vue",
|
|
77
|
-
"src/pages/console/index.vue"
|
|
55
|
+
"src/pages/home/index.vue"
|
|
78
56
|
];
|
|
79
57
|
|
|
80
58
|
for (const relativeFile of comparedFiles) {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-card class="mx-auto" max-width="960" rounded="xl" border elevation="1">
|
|
3
|
-
<v-card-item class="px-6 py-5 px-md-8 py-md-7">
|
|
4
|
-
<v-card-title class="text-h4">console</v-card-title>
|
|
5
|
-
<v-card-subtitle class="text-subtitle-1 mt-2">operations surface</v-card-subtitle>
|
|
6
|
-
</v-card-item>
|
|
7
|
-
<v-divider />
|
|
8
|
-
<v-card-text class="px-6 py-5 px-md-8 py-md-7 text-body-1 text-medium-emphasis">
|
|
9
|
-
This surface is intended for operational tooling.
|
|
10
|
-
</v-card-text>
|
|
11
|
-
</v-card>
|
|
12
|
-
</template>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-card rounded="lg" elevation="1" border>
|
|
3
|
-
<v-card-item>
|
|
4
|
-
<template #prepend>
|
|
5
|
-
<v-chip color="primary" size="small" label>Console</v-chip>
|
|
6
|
-
</template>
|
|
7
|
-
<v-card-title class="text-h5">Operations Console</v-card-title>
|
|
8
|
-
<v-card-subtitle>Operator tools, scripts, and diagnostics.</v-card-subtitle>
|
|
9
|
-
</v-card-item>
|
|
10
|
-
<v-divider />
|
|
11
|
-
<v-card-text class="d-flex flex-column ga-4">
|
|
12
|
-
<div class="d-flex flex-wrap ga-3">
|
|
13
|
-
<v-chip color="secondary" variant="tonal" label>Route: /console</v-chip>
|
|
14
|
-
<v-chip color="info" variant="tonal" label>Surface status: enabled</v-chip>
|
|
15
|
-
</div>
|
|
16
|
-
<p class="text-medium-emphasis mb-0">
|
|
17
|
-
Ideal for operator actions, scripts, and technical insights not meant for end users.
|
|
18
|
-
</p>
|
|
19
|
-
<div>
|
|
20
|
-
<v-btn color="primary" variant="flat" to="/home">Back to home</v-btn>
|
|
21
|
-
</div>
|
|
22
|
-
</v-card-text>
|
|
23
|
-
</v-card>
|
|
24
|
-
</template>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<route lang="json">
|
|
2
|
-
{
|
|
3
|
-
"meta": {
|
|
4
|
-
"jskit": {
|
|
5
|
-
"surface": "console"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
</route>
|
|
10
|
-
|
|
11
|
-
<script setup>
|
|
12
|
-
import ShellLayout from "@/components/ShellLayout.vue";
|
|
13
|
-
import { RouterView } from "vue-router";
|
|
14
|
-
</script>
|
|
15
|
-
|
|
16
|
-
<template>
|
|
17
|
-
<ShellLayout title="" subtitle="">
|
|
18
|
-
<RouterView />
|
|
19
|
-
</ShellLayout>
|
|
20
|
-
</template>
|