@stonecrop/nuxt 0.11.6 → 0.11.8
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 +1 -1
- package/dist/runtime/server/api/docbuilder/doctypes.get.js +1 -1
- package/package.json +29 -29
- package/src/cli/index.ts +0 -1
- package/src/cli/installers/grafserv.ts +1 -1
- package/src/cli/installers/rockfoil.ts +1 -1
- package/templates/plugins.ts +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -226,7 +226,7 @@ const module$1 = defineNuxtModule({
|
|
|
226
226
|
addPlugin(pluginPath);
|
|
227
227
|
} catch (pluginError) {
|
|
228
228
|
logger.error("Error adding plugin:", pluginError);
|
|
229
|
-
throw new Error(`[@stonecrop/nuxt] Failed to add plugin at ${pluginPath}
|
|
229
|
+
throw new Error(`[@stonecrop/nuxt] Failed to add plugin at ${pluginPath}`, { cause: pluginError });
|
|
230
230
|
}
|
|
231
231
|
addImportsDir(resolve("runtime/app/composables"));
|
|
232
232
|
}
|
|
@@ -2,7 +2,7 @@ import { existsSync } from "node:fs";
|
|
|
2
2
|
import { readFile, readdir } from "node:fs/promises";
|
|
3
3
|
import { extname, resolve } from "node:path";
|
|
4
4
|
import { defineEventHandler, useRuntimeConfig } from "#imports";
|
|
5
|
-
export default defineEventHandler(async (
|
|
5
|
+
export default defineEventHandler(async (_event) => {
|
|
6
6
|
const config = useRuntimeConfig();
|
|
7
7
|
const doctypesDir = config.stonecrop?.doctypesDir || resolve(process.cwd(), "doctypes");
|
|
8
8
|
if (!existsSync(doctypesDir)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/nuxt",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
4
4
|
"description": "Nuxt module for Stonecrop",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,47 +37,47 @@
|
|
|
37
37
|
"src/cli"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^4.
|
|
40
|
+
"@nuxt/kit": "^4.4.4",
|
|
41
41
|
"pinia": "^3.0.4",
|
|
42
42
|
"citty": "^0.2.1",
|
|
43
43
|
"consola": "^3.4.0",
|
|
44
44
|
"jiti": "^2.4.2",
|
|
45
45
|
"pathe": "^2.0.3",
|
|
46
46
|
"prompts": "^2.4.2",
|
|
47
|
-
"@stonecrop/
|
|
48
|
-
"@stonecrop/
|
|
49
|
-
"@stonecrop/
|
|
50
|
-
"@stonecrop/
|
|
51
|
-
"@stonecrop/
|
|
52
|
-
"@stonecrop/
|
|
53
|
-
"@stonecrop/schema": "0.11.
|
|
54
|
-
"@stonecrop/stonecrop": "0.11.
|
|
47
|
+
"@stonecrop/atable": "0.11.8",
|
|
48
|
+
"@stonecrop/casl-middleware": "0.11.8",
|
|
49
|
+
"@stonecrop/aform": "0.11.8",
|
|
50
|
+
"@stonecrop/graphql-middleware": "0.11.8",
|
|
51
|
+
"@stonecrop/node-editor": "0.11.8",
|
|
52
|
+
"@stonecrop/nuxt-grafserv": "0.11.8",
|
|
53
|
+
"@stonecrop/schema": "0.11.8",
|
|
54
|
+
"@stonecrop/stonecrop": "0.11.8"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@eslint/js": "^
|
|
58
|
-
"@nuxt/devtools": "^3.
|
|
59
|
-
"@nuxt/eslint-config": "^1.
|
|
60
|
-
"@nuxt/eslint": "1.
|
|
57
|
+
"@eslint/js": "^10.0.1",
|
|
58
|
+
"@nuxt/devtools": "^3.2.4",
|
|
59
|
+
"@nuxt/eslint-config": "^1.15.2",
|
|
60
|
+
"@nuxt/eslint": "1.15.2",
|
|
61
61
|
"@nuxt/module-builder": "^1.0.2",
|
|
62
|
-
"@nuxt/schema": "^4.
|
|
63
|
-
"@nuxt/test-utils": "^4.0.
|
|
62
|
+
"@nuxt/schema": "^4.4.4",
|
|
63
|
+
"@nuxt/test-utils": "^4.0.3",
|
|
64
64
|
"@types/prompts": "^2.4.9",
|
|
65
|
-
"@vitest/coverage-istanbul": "^4.
|
|
65
|
+
"@vitest/coverage-istanbul": "^4.1.5",
|
|
66
66
|
"baseline-browser-mapping": "latest",
|
|
67
67
|
"browserslist": "latest",
|
|
68
68
|
"eslint-config-prettier": "^10.1.8",
|
|
69
|
-
"eslint-plugin-vue": "^10.
|
|
70
|
-
"eslint": "^
|
|
71
|
-
"globals": "^17.
|
|
72
|
-
"nuxt": "^4.
|
|
73
|
-
"postgraphile": "^5.0.
|
|
74
|
-
"typescript-eslint": "^8.
|
|
75
|
-
"typescript": "^
|
|
76
|
-
"vite": "^7.3.
|
|
77
|
-
"vitest": "^4.
|
|
78
|
-
"vue-router": "^5.0.
|
|
79
|
-
"vue-tsc": "^3.2.
|
|
80
|
-
"vue": "^3.5.
|
|
69
|
+
"eslint-plugin-vue": "^10.9.0",
|
|
70
|
+
"eslint": "^10.3.0",
|
|
71
|
+
"globals": "^17.6.0",
|
|
72
|
+
"nuxt": "^4.4.4",
|
|
73
|
+
"postgraphile": "^5.0.1",
|
|
74
|
+
"typescript-eslint": "^8.59.1",
|
|
75
|
+
"typescript": "^6.0.3",
|
|
76
|
+
"vite": "^7.3.2",
|
|
77
|
+
"vitest": "^4.1.5",
|
|
78
|
+
"vue-router": "^5.0.6",
|
|
79
|
+
"vue-tsc": "^3.2.7",
|
|
80
|
+
"vue": "^3.5.33"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=22.5.0"
|
package/src/cli/index.ts
CHANGED
|
@@ -164,7 +164,6 @@ export async function runInstaller(options: InstallerOptions): Promise<void> {
|
|
|
164
164
|
consola.info(` - doctypes/Example.json`)
|
|
165
165
|
consola.info(` - doctypes/example-table.json`)
|
|
166
166
|
console.log()
|
|
167
|
-
stepNum++
|
|
168
167
|
}
|
|
169
168
|
|
|
170
169
|
consola.info(`Start development server:`)
|
|
@@ -42,7 +42,7 @@ export async function installGrafserv(options: GrafservInstallerOptions): Promis
|
|
|
42
42
|
'@stonecrop/nuxt-grafserv': 'latest',
|
|
43
43
|
'@stonecrop/graphql-middleware': 'latest',
|
|
44
44
|
graphql: '^16.11.0',
|
|
45
|
-
grafast: '^1.0.
|
|
45
|
+
grafast: '^1.0.1',
|
|
46
46
|
})
|
|
47
47
|
|
|
48
48
|
// Update nuxt.config.ts
|
|
@@ -25,7 +25,7 @@ export async function installRockfoil(options: RockfoilInstallerOptions): Promis
|
|
|
25
25
|
// Add dependencies - use latest published version
|
|
26
26
|
await addDependencies(cwd, {
|
|
27
27
|
'@stonecrop/rockfoil': 'latest',
|
|
28
|
-
postgraphile: '^5.0.
|
|
28
|
+
postgraphile: '^5.0.1',
|
|
29
29
|
})
|
|
30
30
|
|
|
31
31
|
// Add import to nuxt.config.ts
|
package/templates/plugins.ts
CHANGED