diff --git a/.changeset/cyan-pens-wink.md b/.changeset/cyan-pens-wink.md new file mode 100644 index 00000000000..12de4d1c6bc --- /dev/null +++ b/.changeset/cyan-pens-wink.md @@ -0,0 +1,62 @@ +--- +'@graphql-cli/codegen': patch +'@graphql-codegen/cli': patch +'@graphql-codegen/core': patch +'@graphql-codegen/c-sharp': patch +'@graphql-codegen/c-sharp-common': 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/hasura-allow-list': patch +'@graphql-codegen/introspection': patch +'@graphql-codegen/jsdoc': patch +'@graphql-codegen/schema-ast': patch +'@graphql-codegen/time': patch +'@graphql-codegen/urql-introspection': patch +'@graphql-codegen/visitor-plugin-common': patch +'@graphql-codegen/typescript-apollo-angular': patch +'@graphql-codegen/typescript-apollo-client-helpers': patch +'@graphql-codegen/typescript-document-nodes': patch +'@graphql-codegen/typescript-enum-array': patch +'@graphql-codegen/typescript-generic-sdk': patch +'@graphql-codegen/gql-tag-operations': patch +'@graphql-codegen/typescript-graphql-apollo': patch +'@graphql-codegen/typescript-graphql-files-modules': patch +'@graphql-codegen/typescript-graphql-request': patch +'@graphql-codegen/typescript-jit-sdk': patch +'@graphql-codegen/typescript-mongodb': patch +'@graphql-codegen/typescript-msw': 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-rtk-query': 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-urql-graphcache': patch +'@graphql-codegen/urql-svelte-operations-store': patch +'@graphql-codegen/typescript-vue-apollo': patch +'@graphql-codegen/typescript-vue-apollo-smart-ops': patch +'@graphql-codegen/typescript-vue-urql': patch +'@graphql-codegen/gql-tag-operations-preset': patch +'@graphql-codegen/graphql-modules-preset': patch +'@graphql-codegen/import-types-preset': patch +'@graphql-codegen/near-operation-file-preset': patch +'@graphql-codegen/plugin-helpers': patch +--- + +Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` diff --git a/package.json b/package.json index 191f68dfdbd..a00be09eb3a 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "apollo-server": "3.10.0", "auto-bind": "4.0.0", "babel-jest": "27.5.1", - "bob-the-bundler": "3.0.1", + "bob-the-bundler": "4.0.0", "chalk": "4.1.2", "dotenv": "16.0.1", "eslint": "8.19.0", diff --git a/packages/graphql-cli-codegen-plugin/package.json b/packages/graphql-cli-codegen-plugin/package.json index ba0aa13831c..6e583ee7f02 100644 --- a/packages/graphql-cli-codegen-plugin/package.json +++ b/packages/graphql-cli-codegen-plugin/package.json @@ -33,7 +33,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/graphql-codegen-cli/package.json b/packages/graphql-codegen-cli/package.json index b2e658fb1e1..5d06367962f 100644 --- a/packages/graphql-codegen-cli/package.json +++ b/packages/graphql-codegen-cli/package.json @@ -93,7 +93,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/graphql-codegen-core/package.json b/packages/graphql-codegen-core/package.json index 3dc80575332..8c32e31854c 100644 --- a/packages/graphql-codegen-core/package.json +++ b/packages/graphql-codegen-core/package.json @@ -47,7 +47,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/c-sharp/c-sharp-common/package.json b/packages/plugins/c-sharp/c-sharp-common/package.json index 67995e24f40..a5f2720d27a 100644 --- a/packages/plugins/c-sharp/c-sharp-common/package.json +++ b/packages/plugins/c-sharp/c-sharp-common/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/c-sharp/c-sharp-operations/package.json b/packages/plugins/c-sharp/c-sharp-operations/package.json index 2049466bb18..2b40c133e0c 100644 --- a/packages/plugins/c-sharp/c-sharp-operations/package.json +++ b/packages/plugins/c-sharp/c-sharp-operations/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/c-sharp/c-sharp/package.json b/packages/plugins/c-sharp/c-sharp/package.json index c8c368adcc6..58f4b8bc8de 100644 --- a/packages/plugins/c-sharp/c-sharp/package.json +++ b/packages/plugins/c-sharp/c-sharp/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/flow/flow/package.json b/packages/plugins/flow/flow/package.json index 07b0a4507af..e977cc492ba 100644 --- a/packages/plugins/flow/flow/package.json +++ b/packages/plugins/flow/flow/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/flow/operations/package.json b/packages/plugins/flow/operations/package.json index 05f9d1a3e00..a0d49c6a298 100644 --- a/packages/plugins/flow/operations/package.json +++ b/packages/plugins/flow/operations/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/flow/resolvers/package.json b/packages/plugins/flow/resolvers/package.json index 7a408438714..53052514185 100644 --- a/packages/plugins/flow/resolvers/package.json +++ b/packages/plugins/flow/resolvers/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/java/apollo-android/package.json b/packages/plugins/java/apollo-android/package.json index 8ee8e9349d4..3ee208e7fc0 100644 --- a/packages/plugins/java/apollo-android/package.json +++ b/packages/plugins/java/apollo-android/package.json @@ -32,7 +32,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/java/common/package.json b/packages/plugins/java/common/package.json index a39a6d5750b..204b8163f68 100644 --- a/packages/plugins/java/common/package.json +++ b/packages/plugins/java/common/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/java/java/package.json b/packages/plugins/java/java/package.json index a238197db7a..1bdc16b29da 100644 --- a/packages/plugins/java/java/package.json +++ b/packages/plugins/java/java/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/java/kotlin/package.json b/packages/plugins/java/kotlin/package.json index f09f9639143..a0b4e5b68c0 100644 --- a/packages/plugins/java/kotlin/package.json +++ b/packages/plugins/java/kotlin/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/java/resolvers/package.json b/packages/plugins/java/resolvers/package.json index c4faa85e89f..dd7a708ff63 100644 --- a/packages/plugins/java/resolvers/package.json +++ b/packages/plugins/java/resolvers/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/add/package.json b/packages/plugins/other/add/package.json index e034d9c1d9c..3e96de84212 100644 --- a/packages/plugins/other/add/package.json +++ b/packages/plugins/other/add/package.json @@ -23,7 +23,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/fragment-matcher/package.json b/packages/plugins/other/fragment-matcher/package.json index 885d60ee430..cf26b5643d0 100644 --- a/packages/plugins/other/fragment-matcher/package.json +++ b/packages/plugins/other/fragment-matcher/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/hasura-allow-list/package.json b/packages/plugins/other/hasura-allow-list/package.json index a424eca6bcb..5e735889eee 100644 --- a/packages/plugins/other/hasura-allow-list/package.json +++ b/packages/plugins/other/hasura-allow-list/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/introspection/package.json b/packages/plugins/other/introspection/package.json index 05f7caecc63..4d4aa7b9473 100644 --- a/packages/plugins/other/introspection/package.json +++ b/packages/plugins/other/introspection/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/jsdoc/package.json b/packages/plugins/other/jsdoc/package.json index f8fe203887d..49ded6e7817 100644 --- a/packages/plugins/other/jsdoc/package.json +++ b/packages/plugins/other/jsdoc/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/schema-ast/package.json b/packages/plugins/other/schema-ast/package.json index 3610ecc6a7e..8f6be521ef0 100644 --- a/packages/plugins/other/schema-ast/package.json +++ b/packages/plugins/other/schema-ast/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/time/package.json b/packages/plugins/other/time/package.json index 6b7fc5f92e4..351e5dbb0ce 100644 --- a/packages/plugins/other/time/package.json +++ b/packages/plugins/other/time/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/urql-introspection/package.json b/packages/plugins/other/urql-introspection/package.json index b8741997dd7..5364c385a32 100644 --- a/packages/plugins/other/urql-introspection/package.json +++ b/packages/plugins/other/urql-introspection/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/other/visitor-plugin-common/package.json b/packages/plugins/other/visitor-plugin-common/package.json index b23d5affb77..c780e1857b2 100644 --- a/packages/plugins/other/visitor-plugin-common/package.json +++ b/packages/plugins/other/visitor-plugin-common/package.json @@ -34,7 +34,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/apollo-angular/package.json b/packages/plugins/typescript/apollo-angular/package.json index 71d97ce3c9c..de501c35065 100644 --- a/packages/plugins/typescript/apollo-angular/package.json +++ b/packages/plugins/typescript/apollo-angular/package.json @@ -30,7 +30,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/apollo-client-helpers/package.json b/packages/plugins/typescript/apollo-client-helpers/package.json index 8c59c7f0f7a..ffcfb4c04a2 100644 --- a/packages/plugins/typescript/apollo-client-helpers/package.json +++ b/packages/plugins/typescript/apollo-client-helpers/package.json @@ -30,7 +30,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/document-nodes/package.json b/packages/plugins/typescript/document-nodes/package.json index 9032ee03cc2..6819298f4a3 100644 --- a/packages/plugins/typescript/document-nodes/package.json +++ b/packages/plugins/typescript/document-nodes/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/enum-array/package.json b/packages/plugins/typescript/enum-array/package.json index bb20137404d..959ba9921ae 100644 --- a/packages/plugins/typescript/enum-array/package.json +++ b/packages/plugins/typescript/enum-array/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/generic-sdk/package.json b/packages/plugins/typescript/generic-sdk/package.json index 2ed085448d7..038b92e5bd0 100644 --- a/packages/plugins/typescript/generic-sdk/package.json +++ b/packages/plugins/typescript/generic-sdk/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/gql-tag-operations/package.json b/packages/plugins/typescript/gql-tag-operations/package.json index 2c3b1b4157d..dbc24f75123 100644 --- a/packages/plugins/typescript/gql-tag-operations/package.json +++ b/packages/plugins/typescript/gql-tag-operations/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/graphql-apollo/package.json b/packages/plugins/typescript/graphql-apollo/package.json index 7e33d0c45cf..c785b4e8fa5 100644 --- a/packages/plugins/typescript/graphql-apollo/package.json +++ b/packages/plugins/typescript/graphql-apollo/package.json @@ -33,7 +33,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/graphql-files-modules/package.json b/packages/plugins/typescript/graphql-files-modules/package.json index 32a0d611e09..b6e4c84d0ae 100644 --- a/packages/plugins/typescript/graphql-files-modules/package.json +++ b/packages/plugins/typescript/graphql-files-modules/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/graphql-request/package.json b/packages/plugins/typescript/graphql-request/package.json index 42f31bf84b5..57c2eed9a12 100644 --- a/packages/plugins/typescript/graphql-request/package.json +++ b/packages/plugins/typescript/graphql-request/package.json @@ -32,7 +32,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/jit-sdk/package.json b/packages/plugins/typescript/jit-sdk/package.json index 7c3d976cacc..4d28eec7f83 100644 --- a/packages/plugins/typescript/jit-sdk/package.json +++ b/packages/plugins/typescript/jit-sdk/package.json @@ -33,7 +33,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/mongodb/package.json b/packages/plugins/typescript/mongodb/package.json index 03c13550bd4..6edd8791860 100644 --- a/packages/plugins/typescript/mongodb/package.json +++ b/packages/plugins/typescript/mongodb/package.json @@ -33,7 +33,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/msw/package.json b/packages/plugins/typescript/msw/package.json index a6c98eb40c8..4b80c8207fa 100644 --- a/packages/plugins/typescript/msw/package.json +++ b/packages/plugins/typescript/msw/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/named-operations-object/package.json b/packages/plugins/typescript/named-operations-object/package.json index 849bca72f21..dbd72949f25 100644 --- a/packages/plugins/typescript/named-operations-object/package.json +++ b/packages/plugins/typescript/named-operations-object/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/oclif/package.json b/packages/plugins/typescript/oclif/package.json index ebb095e4e6f..c51325a66e7 100644 --- a/packages/plugins/typescript/oclif/package.json +++ b/packages/plugins/typescript/oclif/package.json @@ -31,7 +31,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/operations/package.json b/packages/plugins/typescript/operations/package.json index 9400d6a1c93..22544902a3b 100644 --- a/packages/plugins/typescript/operations/package.json +++ b/packages/plugins/typescript/operations/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/react-apollo-offix/package.json b/packages/plugins/typescript/react-apollo-offix/package.json index ad57f98683a..49d53f9d64f 100644 --- a/packages/plugins/typescript/react-apollo-offix/package.json +++ b/packages/plugins/typescript/react-apollo-offix/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/react-apollo/package.json b/packages/plugins/typescript/react-apollo/package.json index d36ec2e3891..12e838e0de9 100644 --- a/packages/plugins/typescript/react-apollo/package.json +++ b/packages/plugins/typescript/react-apollo/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/react-query/package.json b/packages/plugins/typescript/react-query/package.json index ae1669db672..f54c62a03d6 100644 --- a/packages/plugins/typescript/react-query/package.json +++ b/packages/plugins/typescript/react-query/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/resolvers/package.json b/packages/plugins/typescript/resolvers/package.json index f6eec880292..99993e88682 100644 --- a/packages/plugins/typescript/resolvers/package.json +++ b/packages/plugins/typescript/resolvers/package.json @@ -31,7 +31,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/rtk-query/package.json b/packages/plugins/typescript/rtk-query/package.json index f731adaf68a..34aac9fd4dd 100644 --- a/packages/plugins/typescript/rtk-query/package.json +++ b/packages/plugins/typescript/rtk-query/package.json @@ -35,7 +35,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/stencil-apollo/package.json b/packages/plugins/typescript/stencil-apollo/package.json index fe999e9f153..62899dae64f 100644 --- a/packages/plugins/typescript/stencil-apollo/package.json +++ b/packages/plugins/typescript/stencil-apollo/package.json @@ -29,7 +29,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/type-graphql/package.json b/packages/plugins/typescript/type-graphql/package.json index 1ccf0bc04c9..57913251d40 100644 --- a/packages/plugins/typescript/type-graphql/package.json +++ b/packages/plugins/typescript/type-graphql/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/typed-document-node/package.json b/packages/plugins/typescript/typed-document-node/package.json index 859942f8c38..1a0a89a6510 100644 --- a/packages/plugins/typescript/typed-document-node/package.json +++ b/packages/plugins/typescript/typed-document-node/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/typescript/package.json b/packages/plugins/typescript/typescript/package.json index cb4d8e8e25a..e1005faefee 100644 --- a/packages/plugins/typescript/typescript/package.json +++ b/packages/plugins/typescript/typescript/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/urql-graphcache/package.json b/packages/plugins/typescript/urql-graphcache/package.json index 32199e33d4a..eb47f9fdebc 100644 --- a/packages/plugins/typescript/urql-graphcache/package.json +++ b/packages/plugins/typescript/urql-graphcache/package.json @@ -29,7 +29,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/urql-svelte-operations-store/package.json b/packages/plugins/typescript/urql-svelte-operations-store/package.json index 2f8a00868dc..7bdcac55026 100644 --- a/packages/plugins/typescript/urql-svelte-operations-store/package.json +++ b/packages/plugins/typescript/urql-svelte-operations-store/package.json @@ -29,7 +29,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/urql/package.json b/packages/plugins/typescript/urql/package.json index 8eee28908e3..7cd2ae2f314 100644 --- a/packages/plugins/typescript/urql/package.json +++ b/packages/plugins/typescript/urql/package.json @@ -27,7 +27,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/vue-apollo-smart-ops/package.json b/packages/plugins/typescript/vue-apollo-smart-ops/package.json index 303f070280d..e9715e423a7 100644 --- a/packages/plugins/typescript/vue-apollo-smart-ops/package.json +++ b/packages/plugins/typescript/vue-apollo-smart-ops/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/vue-apollo/package.json b/packages/plugins/typescript/vue-apollo/package.json index fe433a6ad4b..775b63e31d2 100644 --- a/packages/plugins/typescript/vue-apollo/package.json +++ b/packages/plugins/typescript/vue-apollo/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/plugins/typescript/vue-urql/package.json b/packages/plugins/typescript/vue-urql/package.json index 0452599cf6d..1503585816b 100644 --- a/packages/plugins/typescript/vue-urql/package.json +++ b/packages/plugins/typescript/vue-urql/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/presets/gql-tag-operations/package.json b/packages/presets/gql-tag-operations/package.json index edca439d31d..a299bcdb036 100644 --- a/packages/presets/gql-tag-operations/package.json +++ b/packages/presets/gql-tag-operations/package.json @@ -37,7 +37,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/presets/graphql-modules/package.json b/packages/presets/graphql-modules/package.json index ba271a1d8b6..1ebae713a1f 100644 --- a/packages/presets/graphql-modules/package.json +++ b/packages/presets/graphql-modules/package.json @@ -30,7 +30,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/presets/import-types/package.json b/packages/presets/import-types/package.json index b441c854af9..ea28d2d291d 100644 --- a/packages/presets/import-types/package.json +++ b/packages/presets/import-types/package.json @@ -26,7 +26,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/presets/near-operation-file/package.json b/packages/presets/near-operation-file/package.json index 253a03bfbef..ca940587fb4 100644 --- a/packages/presets/near-operation-file/package.json +++ b/packages/presets/near-operation-file/package.json @@ -31,7 +31,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/utils/graphql-codegen-testing/package.json b/packages/utils/graphql-codegen-testing/package.json index 89e5695f099..d3566586207 100644 --- a/packages/utils/graphql-codegen-testing/package.json +++ b/packages/utils/graphql-codegen-testing/package.json @@ -7,7 +7,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/packages/utils/plugins-helpers/package.json b/packages/utils/plugins-helpers/package.json index 003c602e382..7c02788d386 100644 --- a/packages/utils/plugins-helpers/package.json +++ b/packages/utils/plugins-helpers/package.json @@ -28,7 +28,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { diff --git a/yarn.lock b/yarn.lock index 2a16cc94d2c..7352bf3bf1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5261,10 +5261,10 @@ bn.js@^5.0.0, bn.js@^5.1.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -bob-the-bundler@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-3.0.1.tgz#7eb56402051e9e10341e1d28d089df85b7b35bd6" - integrity sha512-4GFRhR+WE2afM44aMukr4U2YbzHNbG3f8x/mesKVEFJjMK5yFfllIMDNzxV3Sl21qHCW5RzP0s/Hi0bh7Bbp6w== +bob-the-bundler@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-4.0.0.tgz#b4998b7693cd824ddc63dea251c02e218aebbfeb" + integrity sha512-/DorxQaL3tESxBFfe5cPZbuWRS33EA3oada/7DJ0Be9Ot2GhYfK6BaXBgatEuGI/t0t9rJv6RoR+L/+zUHPllg== dependencies: "@rollup/plugin-json" "^4.1.0" "@rollup/plugin-node-resolve" "^13.3.0"