fix(deps): update typescript-vue-apollo to v6 for codegen v8
typescript-vue-apollo 5.x fails plugin validation under @graphql-codegen/cli 8
("The path argument must be of type string"). 6.0.0 targets plugin-helpers 8.
typescript-operations v7 emits every schema type used in a document, so
running it in the same output as the typescript plugin produced a duplicate
Range declaration. Split codegen into schema.ts (typescript) and
operations.ts (operations, vue-apollo, fragment-matcher) with
importSchemaTypesFrom, matching the Shiny frontend layout, and import
Event, DanceHallDistance and Range from the schema file.
Lockfile regenerated in cypress/base:26.13.0 to keep Linux optional deps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ECBwyGcBKZhkRgyVyrLXPo
This commit is contained in:
1 parent
1a8661c5c0
commit
ce43a97e03
9 files changed
+215
-318
No files matched your search
Generated
+8
-119
@@ -29,7 +29,7 @@
|
||||
"@graphql-codegen/fragment-matcher": "8.0.0",
|
||||
"@graphql-codegen/typescript": "7.0.0",
|
||||
"@graphql-codegen/typescript-operations": "7.0.0",
|
||||
"@graphql-codegen/typescript-vue-apollo": "5.0.1",
|
||||
"@graphql-codegen/typescript-vue-apollo": "6.0.0",
|
||||
"@nuxt/devtools": "4.1.0",
|
||||
"@nuxt/eslint": "1.17.0",
|
||||
"@nuxtjs/i18n": "10.6.0",
|
||||
@@ -2427,71 +2427,26 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-codegen/typescript-vue-apollo": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-vue-apollo/-/typescript-vue-apollo-5.0.1.tgz",
|
||||
"integrity": "sha512-+0NxqP4cD9OXapsb7AxUP7gLz+iaeD0PGx8sHxouXNcgcUba0JaCUu8NFIAe5pArayKsCMYTTe+s7N1e1Gnu7g==",
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-vue-apollo/-/typescript-vue-apollo-6.0.0.tgz",
|
||||
"integrity": "sha512-flHp7nhN0ElLNWpwAmw61puOKBjMLO+0h/hsjc7WF0nZP2F0llhNHxO67O+XfFCkxthtN+peTqIOOSWoNyEjZA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@graphql-codegen/plugin-helpers": "^6.3.0",
|
||||
"@graphql-codegen/visitor-plugin-common": "^6.3.0",
|
||||
"@graphql-codegen/plugin-helpers": "^8.0.0",
|
||||
"@graphql-codegen/visitor-plugin-common": "^8.0.0",
|
||||
"auto-bind": "~4.0.0",
|
||||
"change-case-all": "1.0.15",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 16.0.0"
|
||||
"node": ">=22.18.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"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 || ^16.0.0",
|
||||
"graphql": "^16.0.0 || ^17.0.0",
|
||||
"graphql-tag": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/@graphql-codegen/plugin-helpers": {
|
||||
"version": "6.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/plugin-helpers/-/plugin-helpers-6.3.0.tgz",
|
||||
"integrity": "sha512-Auc+/B7okDx9+pVgLVliZtZLYh6iltWXlnzzM+bRE+zh1T4r3hKbnr8xAmtT937ArfSgk5GHcQHr8LfPYnrRBg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@graphql-tools/utils": "^11.0.0",
|
||||
"change-case-all": "1.0.15",
|
||||
"common-tags": "1.8.2",
|
||||
"import-from": "4.0.0",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"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 || ^16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/@graphql-codegen/visitor-plugin-common": {
|
||||
"version": "6.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-6.3.0.tgz",
|
||||
"integrity": "sha512-vGBoE+4huzZyNhyGSAhXAkdROHlwKxxuziZm4XtP1mxe7nuI+VgyOmXebafLijbmuDsptPXQN0C/htL54O8hrg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@graphql-codegen/plugin-helpers": "^6.3.0",
|
||||
"@graphql-tools/optimize": "^2.0.0",
|
||||
"@graphql-tools/relay-operation-optimizer": "^7.1.1",
|
||||
"@graphql-tools/utils": "^11.0.0",
|
||||
"auto-bind": "~4.0.0",
|
||||
"change-case-all": "1.0.15",
|
||||
"dependency-graph": "^1.0.0",
|
||||
"graphql-tag": "^2.11.0",
|
||||
"parse-filepath": "^1.0.2",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"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 || ^16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/auto-bind": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz",
|
||||
@@ -3873,72 +3828,6 @@
|
||||
"node": ">=22.15.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-tools/optimize": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-2.0.0.tgz",
|
||||
"integrity": "sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tslib": "^2.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-tools/relay-operation-optimizer": {
|
||||
"version": "7.1.12",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.1.12.tgz",
|
||||
"integrity": "sha512-Mhdc6lHutQXP2Wikcrdl5HW83aH/UO8pUqAA0P/bGYrOUT8X7prfJWRRtU+ZiHVskcni7ZZEhDD0sj7vk1UeMQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@ardatan/relay-compiler": "^13.0.2",
|
||||
"@graphql-tools/utils": "^12.0.3",
|
||||
"tslib": "^2.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@graphql-tools/utils": {
|
||||
"version": "12.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz",
|
||||
"integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@graphql-typed-document-node/core": "^3.1.1",
|
||||
"@whatwg-node/promise-helpers": "^2.0.0",
|
||||
"cross-inspect": "1.0.1",
|
||||
"tslib": "^2.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@whatwg-node/promise-helpers": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@whatwg-node/promise-helpers/-/promise-helpers-2.0.0.tgz",
|
||||
"integrity": "sha512-/i9CS0Z96o+cPwaYoAyVxAThDiUX1wV3tDmNWPJbn+vtdR+JftuCDg1NGCXBrzIYVDGkJ8uT6ctwmrBOUzOpKQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tslib": "^2.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22.15.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@graphql-tools/schema": {
|
||||
"version": "10.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.1.3.tgz",
|
||||
|
||||
Reference in new issue
Block a user