@soda-gql/babel-plugin 0.3.0 → 0.4.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.
- package/README.md +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ bun run soda-gql codegen
|
|
|
55
55
|
```typescript
|
|
56
56
|
import { gql } from "@/graphql-system";
|
|
57
57
|
|
|
58
|
-
export const userQuery = gql.default(({ query
|
|
58
|
+
export const userQuery = gql.default(({ query, $var }) =>
|
|
59
59
|
query.operation({
|
|
60
60
|
name: "GetUser",
|
|
61
61
|
variables: { ...$var("id").ID("!") },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soda-gql/babel-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Babel plugin for soda-gql transformations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"./package.json": "./package.json"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@soda-gql/babel-transformer": "0.
|
|
51
|
-
"@soda-gql/builder": "0.
|
|
52
|
-
"@soda-gql/config": "0.
|
|
53
|
-
"@soda-gql/plugin-common": "0.
|
|
50
|
+
"@soda-gql/babel-transformer": "0.4.1",
|
|
51
|
+
"@soda-gql/builder": "0.4.1",
|
|
52
|
+
"@soda-gql/config": "0.4.1",
|
|
53
|
+
"@soda-gql/plugin-common": "0.4.1",
|
|
54
54
|
"@babel/core": "^7.24.0",
|
|
55
55
|
"@babel/traverse": "^7.24.0",
|
|
56
56
|
"@babel/types": "^7.24.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@soda-gql/tsc-transformer": "0.
|
|
59
|
+
"@soda-gql/tsc-transformer": "0.4.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {}
|
|
62
62
|
}
|