craft-native/craft
fix(packaging): prioritize framework declaration exports
#295
Merged
glennmichael123
wants to merge
codex/framework-types-condition
into
main
3 files
+6
-6
packages/react/package.jsonmodified+2-2Changes to packages/react/package.json | @@ -19,9 +19,9 @@ |
| 19 | 19 | "types": "dist/index.d.ts", |
| 20 | 20 | "exports": { |
| 21 | 21 | ".": { |
| 22 | + "types": "./dist/index.d.ts", |
| 22 | 23 | "import": "./dist/index.mjs", |
| 23 | | - "require": "./dist/index.js", |
| 24 | | - "types": "./dist/index.d.ts" |
| 24 | + "require": "./dist/index.js" |
| 25 | 25 | } |
| 26 | 26 | }, |
| 27 | 27 | "scripts": { |
packages/svelte/package.jsonmodified+2-2Changes to packages/svelte/package.json | @@ -21,10 +21,10 @@ |
| 21 | 21 | "types": "dist/index.d.ts", |
| 22 | 22 | "exports": { |
| 23 | 23 | ".": { |
| 24 | + "types": "./dist/index.d.ts", |
| 24 | 25 | "svelte": "./src/index.ts", |
| 25 | 26 | "import": "./dist/index.mjs", |
| 26 | | - "require": "./dist/index.js", |
| 27 | | - "types": "./dist/index.d.ts" |
| 27 | + "require": "./dist/index.js" |
| 28 | 28 | } |
| 29 | 29 | }, |
| 30 | 30 | "scripts": { |
packages/vue/package.jsonmodified+2-2Changes to packages/vue/package.json | @@ -19,9 +19,9 @@ |
| 19 | 19 | "types": "dist/index.d.ts", |
| 20 | 20 | "exports": { |
| 21 | 21 | ".": { |
| 22 | + "types": "./dist/index.d.ts", |
| 22 | 23 | "import": "./dist/index.mjs", |
| 23 | | - "require": "./dist/index.js", |
| 24 | | - "types": "./dist/index.d.ts" |
| 24 | + "require": "./dist/index.js" |
| 25 | 25 | } |
| 26 | 26 | }, |
| 27 | 27 | "scripts": { |