@stonecrop/nuxt-grafserv 0.31.0 → 0.33.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/README.md CHANGED
@@ -545,31 +545,31 @@ See [Grafast Standard Steps](https://grafast.org/grafast/standard-steps) for the
545
545
 
546
546
  ## Development
547
547
 
548
- This package lives inside the Stonecrop Rush monorepo. Use `rushx` instead of `pnpm run` to invoke scripts.
548
+ This package lives inside the Stonecrop pnpm workspace, so its scripts run with `pnpm run` from this directory.
549
549
 
550
550
  ```bash
551
551
  # Install all monorepo dependencies (run from the repo root)
552
- rush install
552
+ pnpm install
553
553
 
554
554
  # Generate type stubs
555
- rushx dev:prepare
555
+ pnpm run dev:prepare
556
556
 
557
557
  # Develop with the playground (from nuxt_grafserv/).
558
558
  # Starts + migrates the Postgres container (Docker required), then runs Nuxt.
559
- rushx dev
559
+ pnpm run dev
560
560
 
561
561
  # Build the module
562
- rushx build
562
+ pnpm run build:module
563
563
 
564
564
  # Run ESLint
565
- rushx lint
565
+ pnpm run lint
566
566
 
567
567
  # Run tests
568
- rushx test
569
- rushx test:watch
568
+ pnpm run test
569
+ pnpm run test:watch
570
570
  ```
571
571
 
572
- The playground runs against a PostgreSQL container managed by Docker Compose. `rushx dev` starts the container and applies migrations automatically (via `playground/scripts/bootstrap.mjs`) before launching Nuxt, so Docker must be running; both steps are idempotent, so this is a fast no-op once the container exists (it persists via a named volume). To manage the database on its own, run `pnpm db:up` / `pnpm db:down` (or `node scripts/bootstrap.mjs` to recreate and migrate) from `playground/`.
572
+ The playground runs against a PostgreSQL container managed by Docker Compose. `pnpm run dev` starts the container and applies migrations automatically (via `playground/scripts/bootstrap.mjs`) before launching Nuxt, so Docker must be running; both steps are idempotent, so this is a fast no-op once the container exists (it persists via a named volume). To manage the database on its own, run `pnpm db:up` / `pnpm db:down` (or `node scripts/bootstrap.mjs` to recreate and migrate) from `playground/`.
573
573
 
574
574
  <!-- Badges -->
575
575
  [npm-version-src]: https://img.shields.io/npm/v/@stonecrop/nuxt-grafserv/latest.svg?style=flat&colorA=020420&colorB=00DC82
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt-grafserv",
3
3
  "configKey": "grafserv",
4
- "version": "0.31.0",
4
+ "version": "0.33.0",
5
5
  "builder": {
6
- "@nuxt/module-builder": "1.0.2",
6
+ "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "unknown"
8
8
  }
9
9
  }
package/package.json CHANGED
@@ -1,28 +1,34 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt-grafserv",
3
- "version": "0.31.0",
3
+ "version": "0.33.0",
4
4
  "description": "Pluggable Grafserv GraphQL server as Nuxt Module",
5
+ "keywords": [
6
+ "grafserv",
7
+ "graphql",
8
+ "nuxt",
9
+ "nuxt-module",
10
+ "postgraphile",
11
+ "stonecrop"
12
+ ],
13
+ "homepage": "https://github.com/agritheory/stonecrop#readme",
5
14
  "bugs": {
6
15
  "url": "https://github.com/agritheory/stonecrop/issues"
7
16
  },
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/agritheory/stonecrop",
11
- "directory": "nuxt_grafserv"
12
- },
13
17
  "license": "MIT",
14
18
  "author": {
15
19
  "name": "Tyler Matteson",
16
20
  "email": "tyler@agritheory.com"
17
21
  },
18
- "type": "module",
19
- "exports": {
20
- ".": {
21
- "import": "./dist/module.mjs",
22
- "types": "./dist/module.d.mts"
23
- },
24
- "./runtime/*": "./dist/runtime/*"
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/agritheory/stonecrop",
25
+ "directory": "nuxt_grafserv"
25
26
  },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "type": "module",
31
+ "sideEffects": false,
26
32
  "main": "./dist/module.mjs",
27
33
  "types": "./dist/module.d.mts",
28
34
  "typesVersions": {
@@ -32,9 +38,14 @@
32
38
  ]
33
39
  }
34
40
  },
35
- "files": [
36
- "dist"
37
- ],
41
+ "exports": {
42
+ ".": {
43
+ "types": "./dist/module.d.mts",
44
+ "import": "./dist/module.mjs"
45
+ },
46
+ "./runtime/*": "./dist/runtime/*",
47
+ "./package.json": "./package.json"
48
+ },
38
49
  "dependencies": {
39
50
  "@graphql-tools/graphql-file-loader": "^8.1.14",
40
51
  "@graphql-tools/load": "^8.1.10",
@@ -44,7 +55,7 @@
44
55
  "grafserv": "^1.0.0",
45
56
  "graphql": "^16.14.0",
46
57
  "postgraphile": "^5.0.3",
47
- "@stonecrop/graphql-middleware": "0.31.0"
58
+ "@stonecrop/graphql-middleware": "0.33.0"
48
59
  },
49
60
  "devDependencies": {
50
61
  "@eslint/js": "^10.0.1",
@@ -64,7 +75,7 @@
64
75
  "nuxt": "^4.4.8",
65
76
  "postgraphile": "^5.0.3",
66
77
  "typescript": "^6.0.3",
67
- "vite": "^7.3.2",
78
+ "vite": "^8.2.2",
68
79
  "vitest": "^4.1.5",
69
80
  "vue": "^3.5.33",
70
81
  "vue-router": "^5.0.6",
@@ -86,10 +97,11 @@
86
97
  "optional": true
87
98
  }
88
99
  },
100
+ "engines": {
101
+ "node": ">=24.0.0"
102
+ },
89
103
  "scripts": {
90
- "_phase:build": "rushx dev:prepare && rushx prepack",
91
- "build": "rushx dev:prepare && rushx prepack",
92
- "build:module": "rushx dev:prepare && rushx prepack",
104
+ "build:module": "node --run dev:prepare && node --run prepack",
93
105
  "dev": "node playground/scripts/bootstrap.mjs && nuxi dev playground --host",
94
106
  "dev:build": "nuxi build playground",
95
107
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",