@gqlbase/plugins 0.0.5 → 0.0.6

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 +25 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @gqlbase/plugins
2
+
3
+ Built-in plugins and presets for gqlbase.
4
+
5
+ This is an internal package. Install the main [`gqlbase`](https://www.npmjs.com/package/gqlbase) package instead.
6
+
7
+ ## What this package provides
8
+
9
+ **Base preset** (`gqlbase/plugins/base`):
10
+
11
+ - `ScalarsPlugin` — registers built-in scalar types
12
+ - `UtilitiesPlugin` — processes visibility and scope directives
13
+ - `ModelPlugin` — generates CRUD operations from `@model` types
14
+ - `RelationsPlugin` — resolves `@hasOne` and `@hasMany` relations
15
+ - `SchemaGeneratorPlugin` — outputs the transformed schema
16
+ - `ModelTypesGeneratorPlugin` — outputs TypeScript type definitions
17
+
18
+ **Relay preset** (`gqlbase/plugins/relay`):
19
+
20
+ - `NodeInterfacePlugin` — adds the Relay `Node` interface
21
+ - `ConnectionPlugin` — generates connection and edge types
22
+
23
+ ## License
24
+
25
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gqlbase/plugins",
3
- "version": "0.0.5",
4
3
  "description": "Collection of plugins and presets for gqlbase, providing common transformations and utilities that can be used in GraphQL schema transformation processes.",
4
+ "version": "0.0.6",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -42,8 +42,8 @@
42
42
  "test": "vitest run"
43
43
  },
44
44
  "dependencies": {
45
- "@gqlbase/core": "^0.0.5",
46
- "@gqlbase/shared": "^0.0.5"
45
+ "@gqlbase/core": "^0.0.6",
46
+ "@gqlbase/shared": "^0.0.6"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "graphql": ">=16"