miaoda-expo-devkit 0.1.1-beta.99 → 0.1.1-dev.development-build.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +163 -111
  2. package/dist/babel/plugin-lucide-react-native.js +185 -185
  3. package/dist/cli/lint.js +317 -309
  4. package/dist/index.d.mts +1 -110
  5. package/dist/index.d.ts +1 -110
  6. package/dist/index.js +0 -159
  7. package/dist/index.mjs +0 -132
  8. package/dist/metro.d.mts +25 -5
  9. package/dist/metro.d.ts +25 -5
  10. package/dist/metro.js +49 -18
  11. package/dist/metro.mjs +50 -20
  12. package/dist/rules/no-bare-web-crypto.js +235 -0
  13. package/dist/rules/no-expo-audio-compat.js +90 -90
  14. package/dist/rules/no-expo-file-system-compat.js +2130 -0
  15. package/dist/rules/no-expo-video-compat.js +90 -90
  16. package/dist/rules/no-lucide-star-import.js +78 -0
  17. package/dist/rules/no-sentry-default-import.js +83 -0
  18. package/dist/rules/no-typeof-window-check.js +85 -0
  19. package/dist/stubs/entry-inject.js +0 -2
  20. package/dist/stubs/expo-native-wechat-stub.js +116 -0
  21. package/dist/stubs/expo-router-entry-native-stub.js +4 -0
  22. package/dist/stubs/i18n/en.js +16 -1
  23. package/dist/stubs/i18n/zh.js +16 -1
  24. package/dist/stubs/logbox-control.js +9 -0
  25. package/dist/stubs/screenshot-control.js +1 -1
  26. package/dist/stubs/sentry-react-native-stub.js +15 -180
  27. package/oxlint-config.json +20 -5
  28. package/package.json +65 -5
  29. package/pnpm-patches/@expo__cli@55.0.16-55.0.22.patch +712 -0
  30. package/pnpm-patches/@expo__cli@55.0.16.patch +218 -0
  31. package/pnpm-patches/@expo__cli@55.0.17.patch +218 -0
  32. package/pnpm-patches/@expo__cli@55.0.18.patch +218 -0
  33. package/pnpm-patches/@expo__cli@55.0.19.patch +218 -0
  34. package/pnpm-patches/@expo__cli@55.0.20.patch +218 -0
  35. package/pnpm-patches/@expo__cli@55.0.21.patch +218 -0
  36. package/pnpm-patches/@expo__cli@55.0.22.patch +218 -0
  37. package/pnpm-patches/@shopify__react-native-skia@2.4.18.patch +14 -0
  38. package/pnpm-patches/expo-modules-core@55.0.15.patch +21 -0
  39. package/pnpm-patches/expo@55.0.6.patch +283 -0
  40. package/pnpm-patches/metro-file-map@0.83.3.patch +28 -0
  41. package/pnpm-patches/metro-runtime@0.83.3.patch +17 -0
  42. package/pnpm-patches/react-native-css-interop@0.2.6.patch +12 -0
  43. package/pnpm-patches/react-native-reanimated@4.2.1.patch +53 -0
  44. package/pnpm-patches/react-native-worklets@0.7.2.patch +91 -0
  45. package/pnpm-patches/react-native-worklets@0.7.4.patch +91 -0
  46. package/pnpm-patches/react-native@0.83.2.patch +384 -0
  47. package/pnpmfile.cjs +251 -0
  48. package/dist/stubs/preview-control.js +0 -60
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "miaoda-expo-devkit",
3
- "version": "0.1.1-beta.99",
3
+ "version": "0.1.1-dev.development-build.2",
4
4
  "description": "Expo 应用开发工具集:Sentry DSN 替换 stub、错误/网络捕获、Metro 符号化",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
8
8
  "types": "./dist/index.d.ts",
9
9
  "bin": {
10
- "devkit-lint": "./dist/cli/lint.js"
10
+ "devkit-lint": "dist/cli/lint.js"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -49,6 +49,7 @@
49
49
  "./expo-calendar-stub": "./dist/stubs/expo-calendar-stub.js",
50
50
  "./expo-image-picker-stub": "./dist/stubs/expo-image-picker-stub.js",
51
51
  "./expo-haptics-stub": "./dist/stubs/expo-haptics-stub.js",
52
+ "./expo-native-wechat-stub": "./dist/stubs/expo-native-wechat-stub.js",
52
53
  "./rules/no-undeclared-expo-plugin": "./dist/rules/no-undeclared-expo-plugin.js",
53
54
  "./rules/no-unused-expo-plugin": "./dist/rules/no-unused-expo-plugin.js",
54
55
  "./rules/no-unstable-expo-router": "./dist/rules/no-unstable-expo-router.js",
@@ -67,6 +68,11 @@
67
68
  "./rules/no-invalid-notification-config": "./dist/rules/no-invalid-notification-config.js",
68
69
  "./rules/no-invalid-expo-config-value": "./dist/rules/no-invalid-expo-config-value.js",
69
70
  "./rules/no-gifted-charts-missing-linear-gradient": "./dist/rules/no-gifted-charts-missing-linear-gradient.js",
71
+ "./rules/no-typeof-window-check": "./dist/rules/no-typeof-window-check.js",
72
+ "./rules/no-lucide-star-import": "./dist/rules/no-lucide-star-import.js",
73
+ "./rules/no-bare-web-crypto": "./dist/rules/no-bare-web-crypto.js",
74
+ "./rules/no-sentry-default-import": "./dist/rules/no-sentry-default-import.js",
75
+ "./rules/no-expo-file-system-compat": "./dist/rules/no-expo-file-system-compat.js",
70
76
  "./biome": "./biome-config.json",
71
77
  "./oxlint": "./oxlint-config.json",
72
78
  "./pnpm-config.json": "./pnpm-config.json",
@@ -74,12 +80,20 @@
74
80
  },
75
81
  "files": [
76
82
  "dist",
83
+ "pnpmfile.cjs",
84
+ "pnpm-patches",
77
85
  "biome-config.json",
78
86
  "oxlint-config.json",
79
87
  "pnpm-config.json",
80
88
  "tsconfig-base.json",
81
89
  "!dist/**/*.map"
82
90
  ],
91
+ "nx": {
92
+ "tags": [
93
+ "type:package",
94
+ "scope:devkit"
95
+ ]
96
+ },
83
97
  "dependencies": {
84
98
  "@zumer/snapdom": "^2.12.9",
85
99
  "connect": "^3.7.0",
@@ -87,8 +101,7 @@
87
101
  "lodash.throttle": "^4.1.1",
88
102
  "metro-minify-esbuild": "^0.2.0",
89
103
  "oxc-resolver": "^11.19.1",
90
- "package-up": "^5.0.0",
91
- "stacktrace-parser": "^0.1.11"
104
+ "package-up": "^5.0.0"
92
105
  },
93
106
  "peerDependencies": {
94
107
  "@expo/config-plugins": ">=55.0.0",
@@ -158,5 +171,52 @@
158
171
  "publishConfig": {
159
172
  "registry": "https://registry.npmjs.org/",
160
173
  "access": "public"
174
+ },
175
+ "clean-publish": {
176
+ "fields": [
177
+ "devDependencies",
178
+ "scripts"
179
+ ]
180
+ },
181
+ "devDependencies": {
182
+ "@babel/core": "^7.26.0",
183
+ "@babel/helper-module-imports": "^7.28.6",
184
+ "@biomejs/biome": "^2.4.12",
185
+ "@sentry/core": "10.49.0",
186
+ "@sentry/react-native": "8.9.2",
187
+ "@types/babel__core": "^7.20.5",
188
+ "@types/babel__helper-module-imports": "^7.18.3",
189
+ "@types/connect": "^3.4.38",
190
+ "@types/lodash.throttle": "^4.1.9",
191
+ "@types/node": "^25.0.0",
192
+ "@types/semver": "^7.7.1",
193
+ "@expo/schemer": "^2.1.4",
194
+ "clean-publish": "^6.0.5",
195
+ "expo-router": "55.0.5",
196
+ "lucide-react-native": "^1.11.0",
197
+ "lucide-react-native-v1-8": "npm:lucide-react-native@~1.8.0",
198
+ "metro": "^0.83.0",
199
+ "metro-cache": "^0.83.0",
200
+ "metro-config": "^0.83.0",
201
+ "metro-core": "^0.83.0",
202
+ "metro-resolver": "^0.83.0",
203
+ "oxlint": "^1.60.0",
204
+ "react-native": "0.83.2",
205
+ "semver": "^7.7.4",
206
+ "tsup": "^8.5.1",
207
+ "typescript": "~5.9.2",
208
+ "vitest": "^4.1.5"
209
+ },
210
+ "scripts": {
211
+ "build": "tsup",
212
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.check.json --noEmit",
213
+ "test": "vitest run",
214
+ "test:patches": "node scripts/test-patches.mjs",
215
+ "patch:workspace": "node scripts/patch-workspace.mjs",
216
+ "release": "pnpm run test && pnpm run build && clean-publish",
217
+ "release:beta": "pnpm run test && pnpm run build && npm version prerelease --preid=beta && clean-publish --tag beta",
218
+ "release:patch": "pnpm run test && pnpm run build && npm version patch && clean-publish",
219
+ "release:minor": "pnpm run test && pnpm run build && npm version minor && clean-publish",
220
+ "release:major": "pnpm run test && pnpm run build && npm version major && clean-publish"
161
221
  }
162
- }
222
+ }