@toptal/davinci-graphql-codegen 2.1.0 → 3.0.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @toptal/davinci-graphql-codegen
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#2060](https://github.com/toptal/davinci/pull/2060) [`739fdd3b`](https://github.com/toptal/davinci/commit/739fdd3b38c0d541738872d6e1878e2ba1efbb13) Thanks [@TomasSlama](https://github.com/TomasSlama)!
|
|
8
|
+
- change the default value of `--extension` for generated operations from `.ts` to `.generated.ts`
|
|
9
|
+
- use codemod to remove old files and replace imports `npx @toptal/davinci-codemod@ run-codemod davinci-graphql-codegen/3.0.0`
|
|
10
|
+
|
|
3
11
|
## 2.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ exports[`generateOperations generates graphql operation types based off generate
|
|
|
29
29
|
"short": "-e",
|
|
30
30
|
"long": "--extension",
|
|
31
31
|
"negate": false,
|
|
32
|
-
"defaultValue": ".ts",
|
|
32
|
+
"defaultValue": ".generated.ts",
|
|
33
33
|
"hidden": false,
|
|
34
34
|
"conflictsWith": []
|
|
35
35
|
},
|
|
@@ -87,7 +87,7 @@ exports[`generateOperations generates graphql operation types based off generate
|
|
|
87
87
|
"_scriptPath": null,
|
|
88
88
|
"_name": "generate-operations",
|
|
89
89
|
"_optionValues": {
|
|
90
|
-
"extension": ".ts",
|
|
90
|
+
"extension": ".generated.ts",
|
|
91
91
|
"schemaName": "schema",
|
|
92
92
|
"verbose": false
|
|
93
93
|
},
|