@stonecrop/nuxt 0.26.0 → 0.27.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
3
  "configKey": "stonecrop",
4
- "version": "0.26.0",
4
+ "version": "0.27.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
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
- addLayout(homepage, "home");
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.26.0",
3
+ "version": "0.27.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/atable": "0.26.0",
49
- "@stonecrop/code-editor": "0.26.0",
50
- "@stonecrop/desktop": "0.26.0",
51
- "@stonecrop/casl-middleware": "0.26.0",
52
- "@stonecrop/aform": "0.26.0",
53
- "@stonecrop/graphql-client": "0.26.0",
54
- "@stonecrop/graphql-middleware": "0.26.0",
55
- "@stonecrop/node-editor": "0.26.0",
56
- "@stonecrop/nuxt-grafserv": "0.26.0",
57
- "@stonecrop/schema": "0.26.0",
58
- "@stonecrop/stonecrop": "0.26.0",
59
- "@stonecrop/themes": "0.26.0"
48
+ "@stonecrop/aform": "0.27.0",
49
+ "@stonecrop/atable": "0.27.0",
50
+ "@stonecrop/code-editor": "0.27.0",
51
+ "@stonecrop/desktop": "0.27.0",
52
+ "@stonecrop/casl-middleware": "0.27.0",
53
+ "@stonecrop/graphql-client": "0.27.0",
54
+ "@stonecrop/node-editor": "0.27.0",
55
+ "@stonecrop/nuxt-grafserv": "0.27.0",
56
+ "@stonecrop/schema": "0.27.0",
57
+ "@stonecrop/stonecrop": "0.27.0",
58
+ "@stonecrop/graphql-middleware": "0.27.0",
59
+ "@stonecrop/themes": "0.27.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@eslint/js": "^10.0.1",
@@ -20,6 +20,7 @@ type StonecropField {
20
20
  doctype: String
21
21
  label: String
22
22
  width: String
23
+ height: String
23
24
  align: String
24
25
  edit: Boolean
25
26
  mask: String