Skip to content

Commit 23862e7

Browse files
authoredMar 15, 2021
fix(naming-convention): revert and pin change-case-all dependency for workaround #3256 (#5710)
1 parent 55003f1 commit 23862e7

File tree

20 files changed

+43
-21
lines changed

20 files changed

+43
-21
lines changed
 

‎.changeset/heavy-peaches-arrive.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@graphql-codegen/cli': patch
3+
'@graphql-codegen/c-sharp': patch
4+
'@graphql-codegen/c-sharp-operations': patch
5+
'@graphql-codegen/java-apollo-android': patch
6+
'@graphql-codegen/visitor-plugin-common': patch
7+
'@graphql-codegen/typescript-apollo-angular': patch
8+
'@graphql-codegen/typescript-apollo-client-helpers': patch
9+
'@graphql-codegen/typescript-compatibility': patch
10+
'@graphql-codegen/named-operations-object': patch
11+
'@graphql-codegen/typescript-react-apollo': patch
12+
'@graphql-codegen/typescript-react-offix': patch
13+
'@graphql-codegen/typescript-react-query': patch
14+
'@graphql-codegen/typescript-stencil-apollo': patch
15+
'@graphql-codegen/typed-document-node': patch
16+
'@graphql-codegen/typescript-urql': patch
17+
'@graphql-codegen/typescript-vue-apollo': patch
18+
'@graphql-codegen/graphql-modules-preset': patch
19+
'@graphql-codegen/plugin-helpers': patch
20+
---
21+
22+
fix(naming-convention): revert and pin change-case-all dependency for workaround #3256

‎packages/graphql-codegen-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@graphql-tools/utils": "^7.0.0",
5555
"ansi-escapes": "^4.3.1",
5656
"chalk": "^4.1.0",
57-
"change-case-all": "^1.0.12",
57+
"change-case-all": "1.0.12",
5858
"chokidar": "^3.4.3",
5959
"common-tags": "^1.8.0",
6060
"cosmiconfig": "^7.0.0",

‎packages/plugins/c-sharp/c-sharp-operations/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"sideEffects": false,

‎packages/plugins/c-sharp/c-sharp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"strip-indent": "^3.0.0",
1616
"tslib": "~2.1.0",
1717
"unixify": "^1.0.0",
18-
"change-case-all": "^1.0.12"
18+
"change-case-all": "1.0.12"
1919
},
2020
"peerDependencies": {
2121
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"

‎packages/plugins/java/apollo-android/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@graphql-codegen/plugin-helpers": "^1.18.3",
1919
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
2020
"auto-bind": "~4.0.0",
21-
"change-case-all": "^1.0.12",
21+
"change-case-all": "1.0.12",
2222
"pluralize": "^8.0.0",
2323
"tslib": "~2.1.0"
2424
},

‎packages/plugins/other/visitor-plugin-common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dependency-graph": "^0.11.0",
2222
"graphql-tag": "^2.11.0",
2323
"parse-filepath": "^1.0.2",
24-
"change-case-all": "^1.0.12",
24+
"change-case-all": "1.0.12",
2525
"tslib": "~2.1.0"
2626
},
2727
"peerDependencies": {

‎packages/plugins/typescript/apollo-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@graphql-codegen/plugin-helpers": "^1.18.3",
2222
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
2323
"auto-bind": "~4.0.0",
24-
"change-case-all": "^1.0.12",
24+
"change-case-all": "1.0.12",
2525
"tslib": "~2.1.0"
2626
},
2727
"main": "dist/index.cjs.js",

‎packages/plugins/typescript/apollo-client-helpers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@apollo/client": "3.3.11"
2121
},
2222
"dependencies": {
23-
"change-case-all": "^1.0.12",
23+
"change-case-all": "1.0.12",
2424
"@graphql-codegen/plugin-helpers": "^1.18.3",
2525
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
2626
"auto-bind": "~4.0.0",

‎packages/plugins/typescript/compatibility/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
19-
"change-case-all": "^1.0.12",
19+
"change-case-all": "1.0.12",
2020
"tslib": "~2.1.0"
2121
},
2222
"peerDependencies": {

‎packages/plugins/typescript/named-operations-object/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"@graphql-codegen/plugin-helpers": "^1.18.3",
22-
"change-case-all": "^1.0.12",
22+
"change-case-all": "1.0.12",
2323
"tslib": "~2.1.0"
2424
},
2525
"main": "dist/index.cjs.js",

‎packages/plugins/typescript/react-apollo-offix/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@graphql-codegen/plugin-helpers": "^1.18.3",
1616
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1717
"auto-bind": "~4.0.0",
18-
"change-case-all": "^1.0.12"
18+
"change-case-all": "1.0.12"
1919
},
2020
"peerDependencies": {
2121
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0",

‎packages/plugins/typescript/react-apollo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"peerDependencies": {

‎packages/plugins/typescript/react-query/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"peerDependencies": {

‎packages/plugins/typescript/stencil-apollo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"peerDependencies": {

‎packages/plugins/typescript/typed-document-node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
1818
},
1919
"dependencies": {
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"@graphql-codegen/plugin-helpers": "^1.18.3",
2222
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
2323
"auto-bind": "~4.0.0",

‎packages/plugins/typescript/urql/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"peerDependencies": {

‎packages/plugins/typescript/vue-apollo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/plugin-helpers": "^1.18.3",
1818
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
1919
"auto-bind": "~4.0.0",
20-
"change-case-all": "^1.0.12",
20+
"change-case-all": "1.0.12",
2121
"tslib": "~2.1.0"
2222
},
2323
"peerDependencies": {

‎packages/presets/graphql-modules/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@graphql-codegen/plugin-helpers": "^1.18.3",
1919
"@graphql-codegen/visitor-plugin-common": "^1.19.0",
2020
"parse-filepath": "^1.0.2",
21-
"change-case-all": "^1.0.12",
21+
"change-case-all": "1.0.12",
2222
"tslib": "~2.1.0"
2323
},
2424
"peerDependencies": {

‎packages/utils/plugins-helpers/src/resolve-external-module-and-fn.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export function resolveExternalModuleAndFn(pointer: any): any {
2-
// eslint-disable-next-line no-eval
3-
const importExternally = (moduleName: string) => eval(`require('${moduleName}')`);
4-
52
if (typeof pointer === 'function') {
63
return pointer;
74
}
85

6+
// eslint-disable-next-line no-eval
7+
const importExternally = (moduleName: string) => eval(`require('${moduleName}')`);
8+
99
// eslint-disable-next-line prefer-const
1010
let [moduleName, functionName] = pointer.split('#');
1111
// Temp workaround until v2

‎yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -6903,7 +6903,7 @@ chalk@^4.0.0, chalk@^4.1.0:
69036903
ansi-styles "^4.1.0"
69046904
supports-color "^7.1.0"
69056905

6906-
change-case-all@^1.0.12:
6906+
change-case-all@1.0.12:
69076907
version "1.0.12"
69086908
resolved "https://registry.yarnpkg.com/change-case-all/-/change-case-all-1.0.12.tgz#ae3e0faf5e610e8e25c5d5eaa4a6d5c2f1d68797"
69096909
integrity sha512-zdQus7R0lkprF99lrWUC5bFj6Nog4Xt4YCEjQ/vM4vbc6b5JHFBQMxRPAjfx+HJH8WxMzH0E+lQ8yQJLgmPCBg==

0 commit comments

Comments
 (0)
Please sign in to comment.