Skip to content

Commit b0e2dad

Browse files
committed
fix build
1 parent 9a0ab0b commit b0e2dad

File tree

13 files changed

+61
-913
lines changed

13 files changed

+61
-913
lines changed

auto.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/auto';

babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './dist/core/index.js';
1+
export * from './dist/core/native/plugins/babel.js';

package.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scan",
3-
"version": "0.0.33",
3+
"version": "0.0.34",
44
"description": "Scan your React app for renders",
55
"keywords": [
66
"react",
@@ -94,18 +94,14 @@
9494
"types": "./dist/babel.d.ts",
9595
"default": "./dist/babel.js"
9696
},
97-
"./native": {
98-
"types": "./native.js",
99-
"default": "./dist/native.d.ts"
100-
},
10197
"./dist/*": "./dist/*.js",
10298
"./dist/*.js": "./dist/*.js",
10399
"./dist/*.mjs": "./dist/*.mjs"
104100
},
105101
"main": "dist/index.js",
106102
"module": "dist/index.mjs",
107103
"browser": "dist/auto.global.js",
108-
"react-native": "native.js",
104+
"react-native": "dist/native.js",
109105
"types": "dist/index.d.ts",
110106
"typesVersions": {
111107
"*": {
@@ -128,7 +124,8 @@
128124
"README.md",
129125
"LICENSE",
130126
"native.js",
131-
"babel.js"
127+
"babel.js",
128+
"auto.d.ts"
132129
],
133130
"scripts": {
134131
"build": "NODE_ENV=production tsup",
@@ -140,34 +137,17 @@
140137
"dependencies": {
141138
"@clack/core": "^0.3.5",
142139
"@clack/prompts": "^0.8.2",
143-
"@expo/metro-config": "^0.19.4",
144-
"@expo/metro-runtime": "^4.0.0",
145-
"@react-native/metro-babel-transformer": "^0.76.3",
146-
"@react-native/metro-config": "^0.76.3",
147140
"kleur": "^4.1.5",
148-
"metro-react-native-babel-transformer": "^0.77.0",
149141
"mri": "^1.2.0",
150-
"nanoid": "^5.0.9",
151142
"playwright": "^1.49.0"
152143
},
153144
"devDependencies": {
154-
"@babel/plugin-proposal-decorators": "^7.25.9",
155-
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
156-
"@babel/plugin-transform-react-jsx": "^7.25.9",
157-
"@babel/plugin-transform-typescript": "^7.25.9",
158-
"@babel/preset-flow": "^7.25.9",
159-
"@babel/preset-react": "^7.25.9",
160-
"@babel/preset-typescript": "^7.26.0",
161-
"@rnx-kit/metro-config": "^2.0.1",
162-
"@rnx-kit/metro-serializer-esbuild": "^0.2.1",
163145
"@shopify/react-native-skia": "*",
164146
"@types/node": "^22.10.0",
165147
"@types/react": "^18.3.12",
166148
"@types/react-reconciler": "^0.28.8",
167149
"@vercel/style-guide": "^6.0.0",
168150
"eslint": "^8.57.1",
169-
"metro-babel-transformer": "^0.81.0",
170-
"metro-react-native-babel-preset": "^0.77.0",
171151
"prettier": "^3.3.3",
172152
"publint": "^0.2.12",
173153
"react": "*",

0 commit comments

Comments
 (0)