diff --git a/packages/compiler/package.json b/packages/compiler/package.json index eda7533faa..26c6d0cc12 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -22,20 +22,20 @@ "tspMain": "lib/main.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" }, "./module-resolver": { - "default": "./dist/src/core/module-resolver.js", - "types": "./dist/src/core/module-resolver.d.ts" + "types": "./dist/src/core/module-resolver.d.ts", + "default": "./dist/src/core/module-resolver.js" }, "./emitter-framework": { - "default": "./dist/src/emitter-framework/index.js", - "types": "./dist/src/emitter-framework/index.d.ts" + "types": "./dist/src/emitter-framework/index.d.ts", + "default": "./dist/src/emitter-framework/index.js" } }, "browser": { diff --git a/packages/html-program-viewer/package.json b/packages/html-program-viewer/package.json index 736bc974da..20bd7cc5bb 100644 --- a/packages/html-program-viewer/package.json +++ b/packages/html-program-viewer/package.json @@ -20,12 +20,12 @@ "main": "dist/src/index.js", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "tspMain": "dist/src/index.js", diff --git a/packages/http/package.json b/packages/http/package.json index 04b05cfff9..dc3e40a07a 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -21,12 +21,12 @@ "tspMain": "lib/http.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": { diff --git a/packages/library-linter/package.json b/packages/library-linter/package.json index 5d42e979ac..4e20f1911a 100644 --- a/packages/library-linter/package.json +++ b/packages/library-linter/package.json @@ -20,12 +20,12 @@ "main": "dist/src/index.js", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "tspMain": "dist/src/index.js", diff --git a/packages/lint/package.json b/packages/lint/package.json index 2dc87d2982..556380f6aa 100644 --- a/packages/lint/package.json +++ b/packages/lint/package.json @@ -21,12 +21,12 @@ "tspMain": "dist/src/index.js", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": { diff --git a/packages/openapi/package.json b/packages/openapi/package.json index 2e07df93c8..077aa56bb3 100644 --- a/packages/openapi/package.json +++ b/packages/openapi/package.json @@ -21,12 +21,12 @@ "tspMain": "lib/main.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": { diff --git a/packages/openapi3/package.json b/packages/openapi3/package.json index 0ccc41d484..541960e82e 100644 --- a/packages/openapi3/package.json +++ b/packages/openapi3/package.json @@ -21,12 +21,12 @@ "tspMain": "lib/main.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": { diff --git a/packages/playground/package.json b/packages/playground/package.json index ac699c1057..e7b3116b80 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -20,24 +20,24 @@ "main": "dist/src/index.js", "exports": { ".": { - "default": "./dist/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/index.js" }, "./vite": { - "default": "./dist/vite/index.js", - "types": "./dist/src/vite/index.d.ts" + "types": "./dist/src/vite/index.d.ts", + "default": "./dist/vite/index.js" }, "./manifest": { - "default": "./dist/manifest.js", - "types": "./dist/src/manifest.d.ts" + "types": "./dist/src/manifest.d.ts", + "default": "./dist/manifest.js" }, "./react": { - "default": "./dist/react/index.js", - "types": "./dist/src/react/index.d.ts" + "types": "./dist/src/react/index.d.ts", + "default": "./dist/react/index.js" }, "./react/viewers": { - "default": "./dist/react/viewers.js", - "types": "./dist/src/react/viewers.d.ts" + "types": "./dist/src/react/viewers.d.ts", + "default": "./dist/react/viewers.js" }, "./style.css": "./dist/index.css" }, diff --git a/packages/rest/package.json b/packages/rest/package.json index fda3864f5f..769379bd57 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -21,12 +21,12 @@ "tspMain": "lib/rest.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": { diff --git a/packages/samples/package.json b/packages/samples/package.json index cbeb7b3ab3..ed03b9626f 100644 --- a/packages/samples/package.json +++ b/packages/samples/package.json @@ -21,8 +21,8 @@ "type": "module", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" } }, "engines": { diff --git a/packages/tspd/package.json b/packages/tspd/package.json index d5cc2b4c98..8c5bde0615 100644 --- a/packages/tspd/package.json +++ b/packages/tspd/package.json @@ -23,16 +23,16 @@ "main": "./dist/src/index.js", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./ref-doc": { - "default": "./dist/src/ref-doc/index.js", - "types": "./dist/src/ref-doc/index.d.ts" + "types": "./dist/src/ref-doc/index.d.ts", + "default": "./dist/src/ref-doc/index.js" }, "./ref-doc/emitters/docusaurus": { - "default": "./dist/src/ref-doc/emitters/docusaurus.js", - "types": "./dist/src/ref-doc/emitters/docusaurus.d.ts" + "types": "./dist/src/ref-doc/emitters/docusaurus.d.ts", + "default": "./dist/src/ref-doc/emitters/docusaurus.js" } }, "engines": { diff --git a/packages/versioning/package.json b/packages/versioning/package.json index b5361061aa..3099bbb8b2 100644 --- a/packages/versioning/package.json +++ b/packages/versioning/package.json @@ -21,12 +21,12 @@ "tspMain": "lib/versioning.tsp", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./testing": { - "default": "./dist/src/testing/index.js", - "types": "./dist/src/testing/index.d.ts" + "types": "./dist/src/testing/index.d.ts", + "default": "./dist/src/testing/index.js" } }, "engines": {