@stonecrop/nuxt 0.26.0 → 0.28.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/dist/module.json +1 -1
- package/dist/module.mjs +5 -1
- package/package.json +13 -13
- package/templates/schema.graphql +1 -0
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -23,6 +23,7 @@ function declaredRoutePages(doctypes, componentPath) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
const { resolve } = createResolver(import.meta.url);
|
|
26
|
+
const nuxtWithHomeLayout = /* @__PURE__ */ new WeakSet();
|
|
26
27
|
const STONECROP_PACKAGES = [
|
|
27
28
|
"@stonecrop/aform",
|
|
28
29
|
"@stonecrop/atable",
|
|
@@ -101,7 +102,10 @@ const module$1 = defineNuxtModule({
|
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
const homepage = resolve("runtime/app/layouts/StonecropHome.vue");
|
|
104
|
-
|
|
105
|
+
if (!nuxtWithHomeLayout.has(nuxt)) {
|
|
106
|
+
addLayout(homepage, "home");
|
|
107
|
+
nuxtWithHomeLayout.add(nuxt);
|
|
108
|
+
}
|
|
105
109
|
const appDir = nuxt.options.srcDir;
|
|
106
110
|
const doctypesDir = resolve(nuxt.options.rootDir, options.doctypesDir ?? "doctypes");
|
|
107
111
|
nuxt.options.runtimeConfig.stonecrop = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Nuxt module for Stonecrop",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"pathe": "^2.0.3",
|
|
46
46
|
"pinia": "^3.0.4",
|
|
47
47
|
"prompts": "^2.4.2",
|
|
48
|
-
"@stonecrop/
|
|
49
|
-
"@stonecrop/
|
|
50
|
-
"@stonecrop/
|
|
51
|
-
"@stonecrop/
|
|
52
|
-
"@stonecrop/
|
|
53
|
-
"@stonecrop/graphql-client": "0.
|
|
54
|
-
"@stonecrop/graphql-middleware": "0.
|
|
55
|
-
"@stonecrop/node-editor": "0.
|
|
56
|
-
"@stonecrop/nuxt-grafserv": "0.
|
|
57
|
-
"@stonecrop/
|
|
58
|
-
"@stonecrop/
|
|
59
|
-
"@stonecrop/themes": "0.
|
|
48
|
+
"@stonecrop/aform": "0.28.0",
|
|
49
|
+
"@stonecrop/atable": "0.28.0",
|
|
50
|
+
"@stonecrop/casl-middleware": "0.28.0",
|
|
51
|
+
"@stonecrop/code-editor": "0.28.0",
|
|
52
|
+
"@stonecrop/desktop": "0.28.0",
|
|
53
|
+
"@stonecrop/graphql-client": "0.28.0",
|
|
54
|
+
"@stonecrop/graphql-middleware": "0.28.0",
|
|
55
|
+
"@stonecrop/node-editor": "0.28.0",
|
|
56
|
+
"@stonecrop/nuxt-grafserv": "0.28.0",
|
|
57
|
+
"@stonecrop/stonecrop": "0.28.0",
|
|
58
|
+
"@stonecrop/schema": "0.28.0",
|
|
59
|
+
"@stonecrop/themes": "0.28.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@eslint/js": "^10.0.1",
|