diff --git a/.changeset/tasty-lizards-fix.md b/.changeset/tasty-lizards-fix.md new file mode 100644 index 0000000000..5883be6c13 --- /dev/null +++ b/.changeset/tasty-lizards-fix.md @@ -0,0 +1,38 @@ +--- +'@envelop/core': patch +'@envelop/apollo-datasources': patch +'@envelop/apollo-federation': patch +'@envelop/apollo-server-errors': patch +'@envelop/apollo-tracing': patch +'@envelop/auth0': patch +'@envelop/dataloader': patch +'@envelop/depth-limit': patch +'@envelop/disable-introspection': patch +'@envelop/execute-subscription-event': patch +'@envelop/extended-validation': patch +'@envelop/filter-operation-type': patch +'@envelop/fragment-arguments': patch +'@envelop/generic-auth': patch +'@envelop/graphql-jit': patch +'@envelop/graphql-middleware': patch +'@envelop/graphql-modules': patch +'@envelop/live-query': patch +'@envelop/newrelic': patch +'@envelop/opentelemetry': patch +'@envelop/operation-field-permissions': patch +'@envelop/parser-cache': patch +'@envelop/persisted-operations': patch +'@envelop/preload-assets': patch +'@envelop/prometheus': patch +'@envelop/rate-limiter': patch +'@envelop/resource-limitations': patch +'@envelop/response-cache': patch +'@envelop/response-cache-redis': patch +'@envelop/sentry': patch +'@envelop/statsd': patch +'@envelop/validation-cache': patch +'@envelop/testing': patch +'@envelop/types': patch +--- + +Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` diff --git a/bob.config.js b/bob.config.js deleted file mode 100644 index f053ebf797..0000000000 --- a/bob.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {}; diff --git a/package.json b/package.json index 2319e05621..42ab5ba027 100644 --- a/package.json +++ b/package.json @@ -3,24 +3,24 @@ "author": "Dotan Simha ", "license": "MIT", "workspaces": [ - "./website", - "./packages/*", - "./packages/plugins/*", - "./examples/apollo-server", - "./examples/graphql-ws", - "./examples/graphql-sse", - "./examples/graphql-socket.io", - "./examples/simple-http", - "./examples/graphql-helix", - "./examples/graphql-helix-auth0", - "./examples/lambda-aws", - "./examples/azure-functions", - "./examples/google-cloud-functions", - "./examples/cloudflare-workers", - "./examples/with-esm", - "./examples/typegraphql", - "./examples/nexus", - "./examples/express-graphql" + "website", + "packages/*", + "packages/plugins/*", + "examples/apollo-server", + "examples/graphql-ws", + "examples/graphql-sse", + "examples/graphql-socket.io", + "examples/simple-http", + "examples/graphql-helix", + "examples/graphql-helix-auth0", + "examples/lambda-aws", + "examples/azure-functions", + "examples/google-cloud-functions", + "examples/cloudflare-workers", + "examples/with-esm", + "examples/typegraphql", + "examples/nexus", + "examples/express-graphql" ], "scripts": { "prepare": "husky install", @@ -56,7 +56,7 @@ "@typescript-eslint/parser": "5.27.0", "apollo-server": "3.5.0", "benchmark": "2.1.4", - "bob-the-bundler": "2.0.0", + "bob-the-bundler": "4.0.0", "chalk": "5.0.1", "eslint": "8.17.0", "eslint-config-prettier": "8.5.0", diff --git a/packages/core/package.json b/packages/core/package.json index 9ed0105e7f..6c38c44e0f 100644 --- a/packages/core/package.json +++ b/packages/core/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": { @@ -37,7 +37,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/apollo-datasources/package.json b/packages/plugins/apollo-datasources/package.json index e89d3fb4b0..6c1fe68bb5 100644 --- a/packages/plugins/apollo-datasources/package.json +++ b/packages/plugins/apollo-datasources/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/apollo-federation/package.json b/packages/plugins/apollo-federation/package.json index dc9e3c393a..f4b75ddadc 100644 --- a/packages/plugins/apollo-federation/package.json +++ b/packages/plugins/apollo-federation/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/apollo-server-errors/package.json b/packages/plugins/apollo-server-errors/package.json index 2026101d51..9076e82dd0 100644 --- a/packages/plugins/apollo-server-errors/package.json +++ b/packages/plugins/apollo-server-errors/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/apollo-tracing/package.json b/packages/plugins/apollo-tracing/package.json index 6d21311f8a..6967464cc5 100644 --- a/packages/plugins/apollo-tracing/package.json +++ b/packages/plugins/apollo-tracing/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/auth0/package.json b/packages/plugins/auth0/package.json index 5c80958c93..bb5940788f 100644 --- a/packages/plugins/auth0/package.json +++ b/packages/plugins/auth0/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/dataloader/package.json b/packages/plugins/dataloader/package.json index 0b907d83d6..2dbc66e1aa 100644 --- a/packages/plugins/dataloader/package.json +++ b/packages/plugins/dataloader/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/depth-limit/package.json b/packages/plugins/depth-limit/package.json index e99b2d4d2c..23294ee55f 100644 --- a/packages/plugins/depth-limit/package.json +++ b/packages/plugins/depth-limit/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/disable-introspection/package.json b/packages/plugins/disable-introspection/package.json index c85574db56..c69e8fc124 100644 --- a/packages/plugins/disable-introspection/package.json +++ b/packages/plugins/disable-introspection/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/execute-subscription-event/package.json b/packages/plugins/execute-subscription-event/package.json index 0e3f5c7f78..ed1ca3e913 100644 --- a/packages/plugins/execute-subscription-event/package.json +++ b/packages/plugins/execute-subscription-event/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/extended-validation/package.json b/packages/plugins/extended-validation/package.json index f1959293d4..5dd2184027 100644 --- a/packages/plugins/extended-validation/package.json +++ b/packages/plugins/extended-validation/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/filter-operation-type/package.json b/packages/plugins/filter-operation-type/package.json index 51946ca664..63587e7984 100644 --- a/packages/plugins/filter-operation-type/package.json +++ b/packages/plugins/filter-operation-type/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/fragment-arguments/package.json b/packages/plugins/fragment-arguments/package.json index 8360728e77..d564faf689 100644 --- a/packages/plugins/fragment-arguments/package.json +++ b/packages/plugins/fragment-arguments/package.json @@ -13,7 +13,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -27,7 +27,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/generic-auth/package.json b/packages/plugins/generic-auth/package.json index b9064df336..9d7c8adb7f 100644 --- a/packages/plugins/generic-auth/package.json +++ b/packages/plugins/generic-auth/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/graphql-jit/package.json b/packages/plugins/graphql-jit/package.json index 6b37f9be1d..6b683a807e 100644 --- a/packages/plugins/graphql-jit/package.json +++ b/packages/plugins/graphql-jit/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/graphql-middleware/package.json b/packages/plugins/graphql-middleware/package.json index 42dae88af3..fc306aef95 100644 --- a/packages/plugins/graphql-middleware/package.json +++ b/packages/plugins/graphql-middleware/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/graphql-modules/package.json b/packages/plugins/graphql-modules/package.json index 4710d4d4fa..afcd6e36b3 100644 --- a/packages/plugins/graphql-modules/package.json +++ b/packages/plugins/graphql-modules/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/live-query/package.json b/packages/plugins/live-query/package.json index 86d5ddcea7..b53ded9703 100644 --- a/packages/plugins/live-query/package.json +++ b/packages/plugins/live-query/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/newrelic/package.json b/packages/plugins/newrelic/package.json index 7903aaaa0a..610252e9c3 100644 --- a/packages/plugins/newrelic/package.json +++ b/packages/plugins/newrelic/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/opentelemetry/package.json b/packages/plugins/opentelemetry/package.json index 2e9f3c1146..c95fb428c6 100644 --- a/packages/plugins/opentelemetry/package.json +++ b/packages/plugins/opentelemetry/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/operation-field-permissions/package.json b/packages/plugins/operation-field-permissions/package.json index 692ca5d3bf..1248449ee4 100644 --- a/packages/plugins/operation-field-permissions/package.json +++ b/packages/plugins/operation-field-permissions/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/parser-cache/package.json b/packages/plugins/parser-cache/package.json index feb7d0eeae..897368378f 100644 --- a/packages/plugins/parser-cache/package.json +++ b/packages/plugins/parser-cache/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/persisted-operations/package.json b/packages/plugins/persisted-operations/package.json index 9014dd8fc5..617a297b02 100644 --- a/packages/plugins/persisted-operations/package.json +++ b/packages/plugins/persisted-operations/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/preload-assets/package.json b/packages/plugins/preload-assets/package.json index 620d8e1d8a..ea76bf6e45 100644 --- a/packages/plugins/preload-assets/package.json +++ b/packages/plugins/preload-assets/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/prometheus/package.json b/packages/plugins/prometheus/package.json index 20a6d183c2..57d87b53f9 100644 --- a/packages/plugins/prometheus/package.json +++ b/packages/plugins/prometheus/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/rate-limiter/package.json b/packages/plugins/rate-limiter/package.json index 2084f6bbbc..0e8bcae65e 100644 --- a/packages/plugins/rate-limiter/package.json +++ b/packages/plugins/rate-limiter/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/resource-limitations/package.json b/packages/plugins/resource-limitations/package.json index 9f901cf417..60dbd104b1 100644 --- a/packages/plugins/resource-limitations/package.json +++ b/packages/plugins/resource-limitations/package.json @@ -15,7 +15,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -29,7 +29,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/response-cache-redis/package.json b/packages/plugins/response-cache-redis/package.json index bd5fdcf45d..9d50ab443c 100644 --- a/packages/plugins/response-cache-redis/package.json +++ b/packages/plugins/response-cache-redis/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/response-cache/package.json b/packages/plugins/response-cache/package.json index e691e64a3e..b878c62c6f 100644 --- a/packages/plugins/response-cache/package.json +++ b/packages/plugins/response-cache/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/sentry/package.json b/packages/plugins/sentry/package.json index 8fff1e2cfe..8ebb0b4f2f 100644 --- a/packages/plugins/sentry/package.json +++ b/packages/plugins/sentry/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/statsd/package.json b/packages/plugins/statsd/package.json index fde116bfcb..32f344a34d 100644 --- a/packages/plugins/statsd/package.json +++ b/packages/plugins/statsd/package.json @@ -21,7 +21,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -35,7 +35,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/plugins/validation-cache/package.json b/packages/plugins/validation-cache/package.json index eca4d94b80..8b1e9af33c 100644 --- a/packages/plugins/validation-cache/package.json +++ b/packages/plugins/validation-cache/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/testing/package.json b/packages/testing/package.json index fe668296ca..d04d939278 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/packages/types/package.json b/packages/types/package.json index c5348bad4c..fc7a50ed96 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -14,7 +14,7 @@ "exports": { ".": { "require": { - "types": "./dist/typings/index.d.ts", + "types": "./dist/typings/index.d.cts", "default": "./dist/cjs/index.js" }, "import": { @@ -28,7 +28,7 @@ }, "./*": { "require": { - "types": "./dist/typings/*.d.ts", + "types": "./dist/typings/*.d.cts", "default": "./dist/cjs/*.js" }, "import": { diff --git a/yarn.lock b/yarn.lock index fa496454a4..445bc84c88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5030,17 +5030,16 @@ bl@^4.1.0: inherits "^2.0.4" readable-stream "^3.4.0" -bob-the-bundler@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-2.0.0.tgz#a0b5971e557d15f53c942e559a979542786677fc" - integrity sha512-3/qnKDSlUc/65hDgJLK/t7P2eWYKJF8Siz3Cu5mJRgMvtvYnbhKc5lbJyda/Y1sox1fnePHfBn+mFd/L/Z9KtA== +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" "@vercel/ncc" "^0.34.0" builtins "^5.0.1" consola "^2.15.3" - cosmiconfig "^7.0.1" cross-spawn "^7.0.3" dependency-graph "^0.11.0" fs-extra "^10.1.0"