@weapp-tailwindcss/react-native 0.2.8 → 0.2.9

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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ module.exports = withWeappTailwindcss(config, {
27
27
 
28
28
  Metro scans sources, builds the exact candidate set and manifest, and connects the Babel JSX transform to the existing Expo transformer. You do not need to maintain a second `classNameSet`.
29
29
 
30
- `withWeappTailwindcss` accepts `projectRoot`, `input`, `css`, `manifest`, `classSet`, `sourceGlobs`, and `watchFiles`. See the [React Native / Expo configuration reference](https://tw.icebreaker.top/docs/config/react-native) for the full field list, manifest shape, and non-Expo Metro usage.
30
+ `withWeappTailwindcss` accepts `projectRoot`, `input`, `css`, `manifest`, `classSet`, `sourceGlobs`, and `watchFiles`. See the [React Native / Expo configuration reference](https://tw.weapp.dev/docs/config/react-native) for the full field list, manifest shape, and non-Expo Metro usage.
31
31
 
32
32
  On Android and iOS, the Metro integration resolves `react` and `react-native` from the app `projectRoot`. This keeps linked workspace packages from bundling a second React Native runtime that does not match the native binary. Expo's normal platform resolver remains unchanged on Web.
33
33
 
@@ -51,6 +51,6 @@ This package generates React Native style manifests. It does not emit Web CSS or
51
51
 
52
52
  ## Documentation
53
53
 
54
- See the [React Native and Expo guide](https://tw.icebreaker.top/docs/quick-start/react-native-expo) for the complete setup.
54
+ See the [React Native and Expo guide](https://tw.weapp.dev/docs/quick-start/react-native-expo) for the complete setup.
55
55
 
56
56
  The repository compatibility lab reuses the 118-case Tailwind catalog across Expo Web, Android, and iOS. Run `pnpm e2e:react-native:all` for the complete gate, or use `pnpm e2e:react-native-compatibility`, `pnpm e2e:react-native:web`, `pnpm e2e:react-native:android`, and `pnpm e2e:react-native:ios` separately to reproduce its static, runtime, screenshot, and separate TSX/CSS HMR gates. Use `pnpm e2e:react-native:update` only when intentionally refreshing static evidence.
package/README.zh-CN.md CHANGED
@@ -27,7 +27,7 @@ module.exports = withWeappTailwindcss(config, {
27
27
 
28
28
  Metro 会扫描源码、生成精确候选集合和 manifest,并把 Babel JSX transform 接入现有 Expo transformer。无需维护第二份 `classNameSet`。
29
29
 
30
- `withWeappTailwindcss` 支持 `projectRoot`、`input`、`css`、`manifest`、`classSet`、`sourceGlobs` 和 `watchFiles`。完整字段、manifest 结构和非 Expo Metro 用法见 [React Native / Expo 配置参考](https://tw.icebreaker.top/zh-cn/docs/config/react-native)。
30
+ `withWeappTailwindcss` 支持 `projectRoot`、`input`、`css`、`manifest`、`classSet`、`sourceGlobs` 和 `watchFiles`。完整字段、manifest 结构和非 Expo Metro 用法见 [React Native / Expo 配置参考](https://tw.weapp.dev/zh-cn/docs/config/react-native)。
31
31
 
32
32
  在 Android 与 iOS 上,Metro 集成会从应用 `projectRoot` 解析 `react` 和 `react-native`,避免 linked workspace 包把与原生二进制不一致的第二份 React Native runtime 打入 bundle。Web 端继续保留 Expo 原有的平台 resolver 行为。
33
33
 
@@ -51,6 +51,6 @@ Metro 会扫描源码、生成精确候选集合和 manifest,并把 Babel JSX
51
51
 
52
52
  ## 文档
53
53
 
54
- 完整接入说明见 [React Native / Expo 指南](https://tw.icebreaker.top/zh-cn/docs/quick-start/react-native-expo)。
54
+ 完整接入说明见 [React Native / Expo 指南](https://tw.weapp.dev/zh-cn/docs/quick-start/react-native-expo)。
55
55
 
56
56
  仓库兼容性实验室在 Expo Web、Android、iOS 三端复用同一份 118 项 Tailwind catalog。运行 `pnpm e2e:react-native:all` 可执行完整三端门禁;也可分别运行 `pnpm e2e:react-native-compatibility`、`pnpm e2e:react-native:web`、`pnpm e2e:react-native:android` 和 `pnpm e2e:react-native:ios` 复现静态、运行时、截图以及独立的 TSX/CSS HMR 门禁。只有明确要刷新静态证据时才运行 `pnpm e2e:react-native:update`。
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/react-native",
3
3
  "type": "module",
4
- "version": "0.2.8",
4
+ "version": "0.2.9",
5
5
  "description": "Tailwind CSS compiler and Expo Metro integration for cross-platform React Native apps. 面向跨端 React Native 应用的 Tailwind CSS 编译器与 Expo Metro 集成。",
6
6
  "license": "MIT",
7
+ "homepage": "https://tw.weapp.dev/docs/quick-start/react-native-expo",
7
8
  "repository": {
8
9
  "type": "git",
9
10
  "url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git",
@@ -92,7 +93,7 @@
92
93
  "dependencies": {
93
94
  "@babel/types": "^8.0.4",
94
95
  "postcss": "^8.5.26",
95
- "weapp-tailwindcss": "5.3.6"
96
+ "weapp-tailwindcss": "5.4.0"
96
97
  },
97
98
  "devDependencies": {
98
99
  "@babel/core": "^8.0.1",