ReviewOS

also looking at this

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-2
Changes to packages/react/package.json
@@ -19,9 +19,9 @@
1919 "types": "dist/index.d.ts",
2020 "exports": {
2121 ".": {
22 "types": "./dist/index.d.ts",
2223 "import": "./dist/index.mjs",
23 "require": "./dist/index.js",
24 "types": "./dist/index.d.ts"
24 "require": "./dist/index.js"
2525 }
2626 },
2727 "scripts": {
packages/svelte/package.jsonmodified+2-2
Changes to packages/svelte/package.json
@@ -21,10 +21,10 @@
2121 "types": "dist/index.d.ts",
2222 "exports": {
2323 ".": {
24 "types": "./dist/index.d.ts",
2425 "svelte": "./src/index.ts",
2526 "import": "./dist/index.mjs",
26 "require": "./dist/index.js",
27 "types": "./dist/index.d.ts"
27 "require": "./dist/index.js"
2828 }
2929 },
3030 "scripts": {
packages/vue/package.jsonmodified+2-2
Changes to packages/vue/package.json
@@ -19,9 +19,9 @@
1919 "types": "dist/index.d.ts",
2020 "exports": {
2121 ".": {
22 "types": "./dist/index.d.ts",
2223 "import": "./dist/index.mjs",
23 "require": "./dist/index.js",
24 "types": "./dist/index.d.ts"
24 "require": "./dist/index.js"
2525 }
2626 },
2727 "scripts": {