Skip to content

Commit

Permalink
fix issues with shared dependencies, upgrade optimize package to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 26, 2020
1 parent fafb66e commit 1183d17
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 13 deletions.
50 changes: 50 additions & 0 deletions .changeset/giant-students-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
'@graphql-codegen/visitor-plugin-common': patch
'@graphql-cli/codegen': patch
'@graphql-codegen/cli': patch
'@graphql-codegen/core': patch
'@graphql-codegen/c-sharp': patch
'@graphql-codegen/c-sharp-operations': patch
'@graphql-codegen/flow': patch
'@graphql-codegen/flow-operations': patch
'@graphql-codegen/flow-resolvers': patch
'@graphql-codegen/java-apollo-android': patch
'@graphql-codegen/java-common': patch
'@graphql-codegen/java': patch
'@graphql-codegen/kotlin': patch
'@graphql-codegen/java-resolvers': patch
'@graphql-codegen/add': patch
'@graphql-codegen/fragment-matcher': patch
'@graphql-codegen/introspection': patch
'@graphql-codegen/jsdoc': patch
'@graphql-codegen/schema-ast': patch
'@graphql-codegen/time': patch
'@graphql-codegen/typescript-apollo-angular': patch
'@graphql-codegen/typescript-apollo-client-helpers': patch
'@graphql-codegen/typescript-compatibility': patch
'@graphql-codegen/typescript-document-nodes': patch
'@graphql-codegen/typescript-generic-sdk': patch
'@graphql-codegen/typescript-graphql-files-modules': patch
'@graphql-codegen/typescript-graphql-request': patch
'@graphql-codegen/typescript-mongodb': patch
'@graphql-codegen/named-operations-object': patch
'@graphql-codegen/typescript-oclif': patch
'@graphql-codegen/typescript-operations': patch
'@graphql-codegen/typescript-react-apollo': patch
'@graphql-codegen/typescript-react-offix': patch
'@graphql-codegen/typescript-react-query': patch
'@graphql-codegen/typescript-resolvers': patch
'@graphql-codegen/typescript-stencil-apollo': patch
'@graphql-codegen/typescript-type-graphql': patch
'@graphql-codegen/typed-document-node': patch
'@graphql-codegen/typescript': patch
'@graphql-codegen/typescript-urql': patch
'@graphql-codegen/typescript-vue-apollo': patch
'@graphql-codegen/graphql-modules-preset': patch
'@graphql-codegen/import-types-preset': patch
'@graphql-codegen/near-operation-file-preset': patch
'@graphql-codegen/config-schema': patch
'@graphql-codegen/plugin-helpers': patch
---

Bump all packages to resolve issues with shared dependencies
2 changes: 1 addition & 1 deletion packages/plugins/other/visitor-plugin-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prepack": "bob prepack"
},
"dependencies": {
"@graphql-tools/optimize": "1.0.0",
"@graphql-tools/optimize": "^1.0.1",
"@graphql-codegen/plugin-helpers": "^1.18.1",
"@graphql-tools/relay-operation-optimizer": "^6",
"array.prototype.flatmap": "^1.2.4",
Expand Down
16 changes: 4 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2573,10 +2573,10 @@
"@graphql-tools/utils" "^7.0.0"
tslib "~2.0.1"

"@graphql-tools/optimize@1.0.0":
version "1.0.0"
resolved "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-1.0.0.tgz#975d22cd59749366baf5404923ca578d7ab2341c"
integrity sha512-Mi/opv6q0CmB+W/c2wKpI25jRY1w1e0GoSxg9JMm9ko9hrSW5JZANljs8Acq96L7CxFzAj0mkt9OQO1Rmt38cg==
"@graphql-tools/optimize@1.0.1":
version "1.0.1"
resolved "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-1.0.1.tgz#9933fffc5a3c63f95102b1cb6076fb16ac7bb22d"
integrity sha512-cRlUNsbErYoBtzzS6zXahXeTBZGPVlPHXCpnEZ0XiK/KY/sQL96cyzak0fM/Gk6qEI9/l32MYEICjasiBQrl5w==
dependencies:
tslib "~2.0.1"

Expand Down Expand Up @@ -13398,7 +13398,6 @@ npm@6.14.9:
cmd-shim "^3.0.3"
columnify "~1.5.4"
config-chain "^1.1.12"
debuglog "*"
detect-indent "~5.0.0"
detect-newline "^2.1.0"
dezalgo "~1.0.3"
Expand All @@ -13413,7 +13412,6 @@ npm@6.14.9:
has-unicode "~2.0.1"
hosted-git-info "^2.8.8"
iferr "^1.0.2"
imurmurhash "*"
infer-owner "^1.0.4"
inflight "~1.0.6"
inherits "^2.0.4"
Expand All @@ -13432,14 +13430,8 @@ npm@6.14.9:
libnpx "^10.2.4"
lock-verify "^2.1.0"
lockfile "^1.0.4"
lodash._baseindexof "*"
lodash._baseuniq "~4.6.0"
lodash._bindcallback "*"
lodash._cacheindexof "*"
lodash._createcache "*"
lodash._getnative "*"
lodash.clonedeep "~4.5.0"
lodash.restparam "*"
lodash.union "~4.6.0"
lodash.uniq "~4.5.0"
lodash.without "~4.4.0"
Expand Down

0 comments on commit 1183d17

Please sign in to comment.