pothos-drizzle-generator 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # pothos-drizzle-generator
2
2
 
3
+ [![](https://img.shields.io/npm/l/pothos-drizzle-generator)](https://www.npmjs.com/package/pothos-drizzle-generator)
4
+ [![](https://img.shields.io/npm/v/pothos-drizzle-generator)](https://www.npmjs.com/package/pothos-drizzle-generator)
5
+ [![](https://img.shields.io/npm/dw/pothos-drizzle-generator)](https://www.npmjs.com/package/pothos-drizzle-generator)
6
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/node-libraries/pothos-drizzle-generator)
7
+
3
8
  A Pothos plugin that automatically generates GraphQL schemas based on Drizzle schema information.
4
9
 
5
10
  ![](./documents/image.png)
@@ -143,10 +148,6 @@ const builder = new SchemaBuilder<PothosTypes>({
143
148
  },
144
149
  },
145
150
  models: {
146
- users: {
147
- // Prohibit data modification
148
- // operations: { exclude: ["mutation"] },
149
- },
150
151
  posts: {
151
152
  // Fields that cannot be overwritten
152
153
  // inputFields: () => ({ exclude: ["createdAt", "updatedAt"] }), // Defined in "all", so commented out
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pothos-drizzle-generator",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "./dist/cjs/index.js",
5
5
  "types": "./dist/cjs/index.d.ts",
6
6
  "exports": {
@@ -16,23 +16,23 @@
16
16
  "lint:fix": "eslint --fix ./src"
17
17
  },
18
18
  "dependencies": {
19
- "@graphql-tools/utils": "10.11.0",
20
- "@pothos/core": "4.10.0",
21
- "@pothos/plugin-drizzle": "0.16.0",
22
- "drizzle-orm": "1.0.0-beta.2-f9236e3",
23
- "graphql": "16.12.0",
24
- "graphql-scalars": "1.25.0"
19
+ "@graphql-tools/utils": "^10.11.0",
20
+ "@pothos/core": "^4.10.0",
21
+ "@pothos/plugin-drizzle": "^0.16.0",
22
+ "drizzle-orm": "1.0.0-beta.3-bd1ec83",
23
+ "graphql": "^16.12.0",
24
+ "graphql-scalars": "^1.25.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/graphql": "14.5.0",
28
- "@eslint/js": "9.39.2",
29
- "eslint": "9.39.2",
27
+ "@eslint/js": "^9.39.2",
28
+ "@types/graphql": "^14.5.0",
29
+ "cpy-cli": "^6.0.0",
30
+ "eslint": "^9.39.2",
30
31
  "eslint-config-prettier": "^10.1.8",
31
32
  "eslint-import-resolver-typescript": "^4.4.4",
32
33
  "eslint-plugin-import": "^2.32.0",
33
- "typescript": "5.9.3",
34
- "typescript-eslint": "^8.49.0",
35
- "cpy-cli": "^6.0.0"
34
+ "typescript": "^5.9.3",
35
+ "typescript-eslint": "^8.50.0"
36
36
  },
37
37
  "repository": "https://github.com/node-libraries/pothos-drizzle-generator",
38
38
  "author": "SoraKumo <info@croud.jp>",