@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
3
  "configKey": "stonecrop",
4
- "version": "0.11.6",
4
+ "version": "0.11.8",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
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 (event) => {
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.6",
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.3.1",
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/aform": "0.11.6",
48
- "@stonecrop/atable": "0.11.6",
49
- "@stonecrop/casl-middleware": "0.11.6",
50
- "@stonecrop/node-editor": "0.11.6",
51
- "@stonecrop/nuxt-grafserv": "0.11.6",
52
- "@stonecrop/graphql-middleware": "0.11.6",
53
- "@stonecrop/schema": "0.11.6",
54
- "@stonecrop/stonecrop": "0.11.6"
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": "^9.39.2",
58
- "@nuxt/devtools": "^3.1.1",
59
- "@nuxt/eslint-config": "^1.12.1",
60
- "@nuxt/eslint": "1.12.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.3.1",
63
- "@nuxt/test-utils": "^4.0.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.0.18",
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.6.2",
70
- "eslint": "^9.39.2",
71
- "globals": "^17.0.0",
72
- "nuxt": "^4.3.1",
73
- "postgraphile": "^5.0.0-rc.7",
74
- "typescript-eslint": "^8.53.0",
75
- "typescript": "^5.9.3",
76
- "vite": "^7.3.1",
77
- "vitest": "^4.0.18",
78
- "vue-router": "^5.0.2",
79
- "vue-tsc": "^3.2.2",
80
- "vue": "^3.5.28"
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.0-rc.7',
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.0-rc.7',
28
+ postgraphile: '^5.0.1',
29
29
  })
30
30
 
31
31
  // Add import to nuxt.config.ts
@@ -36,7 +36,7 @@ const loggingPlugin: GraphileConfig.Plugin = {
36
36
  /**
37
37
  * Example: Authentication plugin
38
38
  */
39
- const authPlugin: GraphileConfig.Plugin = {
39
+ const _authPlugin: GraphileConfig.Plugin = {
40
40
  name: 'authentication',
41
41
  version: '1.0.0',
42
42
  grafserv: {