@weapp-tailwindcss/lynx 0.5.1 → 0.5.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.
- package/README.md +6 -4
- package/README.zh-CN.md +6 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ pnpm add @weapp-tailwindcss/lynx tailwindcss
|
|
|
18
18
|
|
|
19
19
|
See the package metadata for published versions of [the adapter](https://www.npmjs.com/package/@weapp-tailwindcss/lynx) and [weapp-tailwindcss](https://www.npmjs.com/package/weapp-tailwindcss). The adapter requires Node.js `^22.18.0 || >=24.11.0`, with peer ranges of Rspeedy `>=0.16.0` and Tailwind CSS `>=4.0.0`. Its `weapp-tailwindcss` dependency chain requires Node.js `^22.18.0 || >=24.11.0`.
|
|
20
20
|
|
|
21
|
-
The repository fixture pins `@lynx-js/rspeedy` `0.18.
|
|
21
|
+
The repository fixture pins `@lynx-js/rspeedy` `0.18.5`, `@lynx-js/react-rsbuild-plugin` `0.22.2`, `@lynx-js/react` `0.129.2`, Tailwind CSS `4.3.5`, Lynx Engine `4.0.1`, bundle `engineVersion: '3.9'`, and `@lynx-js/css-defines` `0.0.18`. These versions describe the checked-in regression matrix and do not replace compatibility validation in a consuming project.
|
|
22
22
|
|
|
23
23
|
## Configure
|
|
24
24
|
|
|
@@ -100,7 +100,7 @@ pnpm --filter @weapp-tailwindcss/lynx test
|
|
|
100
100
|
pnpm e2e:lynx
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
`examples/react-lynx` is a multi-page compatibility lab pinned to Tailwind CSS `4.3.
|
|
103
|
+
`examples/react-lynx` is a multi-page compatibility lab pinned to Tailwind CSS `4.3.5`, Lynx Engine `4.0.1`, bundle `engineVersion: '3.9'`, and `@lynx-js/css-defines` `0.0.18`. Representative cases cover every official utility family, variant kind, directive, and arbitrary syntax branch.
|
|
104
104
|
|
|
105
105
|
The static gate parses the real `main.css` with PostCSS, then combines `tasm.json.css.cssMap` with encoder removal logs to record `generated` and `bundled` separately. Native support comes only from committed iOS and Android reports; css-defines is only a version hint.
|
|
106
106
|
|
|
@@ -113,8 +113,10 @@ pnpm e2e:lynx:update
|
|
|
113
113
|
|
|
114
114
|
CI uses Android API 30 with a Pixel 2 x86_64 runner and iOS 18.5 with an iPhone 16 Pro simulator. Each CI run and committed report carries its own run identity and original artifacts.
|
|
115
115
|
|
|
116
|
-
The example and committed dual-platform baseline use Tailwind CSS `4.3.
|
|
116
|
+
The example and committed dual-platform baseline use Tailwind CSS `4.3.5`;
|
|
117
117
|
|
|
118
|
-
The
|
|
118
|
+
The previous static baseline used Tailwind CSS `4.3.4`; it remains historical evidence only. the complete original artifacts passed strict validation, archiving, and replay.
|
|
119
|
+
|
|
120
|
+
The committed native baseline records `verifiedAt: 2026-11-06T20:53:50.858Z` and `catalogHash: 92be715377b608e8587f2871e923fde5cfd4bc2d3f8806c9bb189731d84f69f5`. Its Android report is from `sdk_phone_x86_64` (Android 11/API 30, x86_64), and its iOS report is from `LynxCompatibility` (iPhone 16 Pro, iOS 18.5, arm64). A baseline update requires complete reports from both platforms for the same catalog and Engine version.
|
|
119
121
|
|
|
120
122
|
`--capture-only` is an explicitly targeted bundle capture mode that writes screenshots/video for inspection. It does not create or update native support reports and cannot replace CI or committed-baseline evidence.
|
package/README.zh-CN.md
CHANGED
|
@@ -18,7 +18,7 @@ pnpm add @weapp-tailwindcss/lynx tailwindcss
|
|
|
18
18
|
|
|
19
19
|
已发布版本以[适配器包元数据](https://www.npmjs.com/package/@weapp-tailwindcss/lynx)和 [weapp-tailwindcss 包元数据](https://www.npmjs.com/package/weapp-tailwindcss)为准。适配器自身要求 Node.js `^22.18.0 || >=24.11.0`,peer 依赖为 Rspeedy `>=0.16.0` 与 Tailwind CSS `>=4.0.0`;核心依赖链要求 Node.js `^22.18.0 || >=24.11.0`。
|
|
20
20
|
|
|
21
|
-
仓库示例固定 `@lynx-js/rspeedy` `0.18.
|
|
21
|
+
仓库示例固定 `@lynx-js/rspeedy` `0.18.5`、`@lynx-js/react-rsbuild-plugin` `0.22.2`、`@lynx-js/react` `0.129.2`、Tailwind CSS `4.3.5`、Lynx Engine `4.0.1`、bundle `engineVersion: '3.9'` 和 `@lynx-js/css-defines` `0.0.18`。这些是本仓库回归矩阵的版本,不会替代消费项目自己的兼容性验证。
|
|
22
22
|
|
|
23
23
|
## 配置
|
|
24
24
|
|
|
@@ -140,13 +140,15 @@ pnpm --filter @weapp-tailwindcss/lynx test
|
|
|
140
140
|
pnpm e2e:lynx
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
仓库中的 `examples/react-lynx` 是多页面兼容性实验室,固定 Tailwind CSS `4.3.
|
|
143
|
+
仓库中的 `examples/react-lynx` 是多页面兼容性实验室,固定 Tailwind CSS `4.3.5`、Lynx Engine `4.0.1`、bundle `engineVersion: '3.9'` 和 `@lynx-js/css-defines` `0.0.18`。它以代表值覆盖官方 utility 功能族、variant、指令和任意语法分支。
|
|
144
144
|
|
|
145
145
|
静态 gate 使用 PostCSS 解析真实 `main.css`,并结合 `tasm.json.css.cssMap` 与 encoder removal 日志分别记录 `generated` 和 `bundled`。CI 默认使用 Android API 30、Pixel 2、x86_64,以及 iOS 18.5、iPhone 16 Pro。每轮 CI 与已提交报告分别绑定自己的运行身份和原始工件。
|
|
146
146
|
|
|
147
|
-
当前示例与已提交的双端基线均使用 Tailwind CSS `4.3.
|
|
147
|
+
当前示例与已提交的双端基线均使用 Tailwind CSS `4.3.5`,完整原始工件已通过严格校验、归档及重放。
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
历史静态基线使用 Tailwind CSS `4.3.4`,仅作为依赖升级前的证据保留。
|
|
150
|
+
|
|
151
|
+
当前已提交的原生报告基线记录 `verifiedAt: 2026-11-06T20:53:50.858Z`、`catalogHash: 92be715377b608e8587f2871e923fde5cfd4bc2d3f8806c9bb189731d84f69f5`,Android 为 `sdk_phone_x86_64`(Android 11/API 30,x86_64),iOS 为 `LynxCompatibility`(iPhone 16 Pro,iOS 18.5,arm64)。只有与相同 catalog 和版本匹配的完整双端报告才能更新基线。
|
|
150
152
|
|
|
151
153
|
`--capture-only` 是显式指定 bundle 和目标设备后的采集模式,只保存截图/视频用于观察,不生成或更新原生支持报告,也不能替代 CI runner 或已提交基线设备的验收。
|
|
152
154
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/lynx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"description": "Tailwind CSS integration for ReactLynx and Rspeedy cross-platform builds. 面向 ReactLynx 与 Rspeedy 跨端构建的 Tailwind CSS 集成。",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://tw.weapp.dev/docs/quick-start/frameworks/lynx",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
67
|
-
"weapp-tailwindcss": "5.7.
|
|
67
|
+
"weapp-tailwindcss": "5.7.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@lynx-js/rspeedy": "^0.18.
|
|
71
|
-
"tailwindcss": "^4.3.
|
|
70
|
+
"@lynx-js/rspeedy": "^0.18.5",
|
|
71
|
+
"tailwindcss": "^4.3.5",
|
|
72
72
|
"vitest": "~5.1.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|