Commit acaf859
feat: 添加 useXsForTemplate 试用性字段以及半编译预处理功能 (#16598)
* feat: init
* feat: 完成模块拆分与基本工作流
* feat: 完成组件收集
* feat: 完成收集环节和转化环节的串联
* feat: 完成react组件中render组件的搜集
* feat: 拓扑算法输出依赖顺序
* chore(release): publish 4.0.6-alpha.0 --tag=alpha
* feat: 暂时保存
* feat: 补齐绝大部份测试用例
* lint: 使用rustfmt 统一代码风格
* style: 优化目录结构
* feat: 完善测试用例
* ci: 添加新的swc插件编译命令
* feat: 接入半编译预处理 swc 插件
* chore(debug): 增加快捷调试脚本&解决husky不工作问题
* perf(setData): 优先使用微任务执行setData
* perf(wxs): 增加模版渲染时是否使用wxs配置(不使用wxs性能可提升10%以上)
* perf(event): 增加clickview模版,减少冗余事件绑定
* perf(template): 移除模版中用于循环体的block标签,降低节点嵌套和模版大小
* chore(release): publish 4.0.7-alpha.1 --tag=alpha
* test: 更新snapshots
* perf(setData): 修复不使用wxs时custom-wrapper组件l属性为null导致的warning问题
* feat: 半编译支持没有xs的情况
* lint: fix
* feat: 更新半编译swc
* chore(release): publish 4.0.7-alpha.2 --tag=alpha
* chore: 解决合并冲突
* chore: 解决合并冲突
* feat: 设置半编译预处理config
---------
Co-authored-by: yushijie1 <[email protected]>1 parent 76ba530 commit acaf859
File tree
181 files changed
+16262
-17014
lines changed- .cargo
- .husky
- .vscode
- crates
- native_binding
- swc_plugin_compile_mode_pre_process
- src
- tests
- utils
- visitors
- transform
- tests/__swc_snapshots__/src/tests
- entry.rs
- props.rs
- render.rs
- swc_plugin_compile_mode
- src
- tests
- harmony
- utils
- harmony
- tests/__swc_snapshots__/src/tests/condition.rs
- swc_plugin_define_config/src
- taro_init/src
- rn
- npm
- darwin-arm64
- darwin-x64
- linux-x64-gnu
- linux-x64-musl
- win32-x64-msvc
- packages
- babel-plugin-transform-react-jsx-to-rn-stylesheet
- babel-plugin-transform-solid-jsx
- babel-plugin-transform-taroapi
- babel-preset-taro
- create-app
- css-to-react-native
- eslint-config-taro
- jest-helper
- postcss-html-transform
- postcss-plugin-constparse
- postcss-pxtransform
- postcss-unit-transform
- rollup-plugin-copy
- stylelint-config-taro-rn
- stylelint-taro-rn
- stylelint-taro
- taro-api
- taro-cli-convertor
- __tests__/__snapshots__
- taro-cli
- taro-components-advanced
- taro-components-library-react
- taro-components-library-solid
- taro-components-library-vue3
- taro-components-react
- taro-components-rn
- taro-components
- types
- taro-extend
- taro-framework-react
- taro-framework-solid
- taro-framework-vue3
- taro-h5
- taro-helper
- scripts
- swc-backup
- taro-loader
- taro-platform-alipay
- taro-platform-h5
- taro-platform-harmony-hybrid
- taro-platform-harmony
- taro-platform-jd
- taro-platform-qq
- taro-platform-swan
- src
- taro-platform-tt
- taro-platform-weapp
- taro-plugin-html
- taro-plugin-http
- taro-plugin-inject
- taro-plugin-mini-ci
- taro-plugin-react-devtools
- taro-plugin-vue-devtools
- taro-react
- taro-rn-runner
- taro-rn-style-transformer
- taro-rn-supporter
- taro-rn-transformer
- taro-rn
- taro-router-rn
- taro-router
- taro-runner-utils
- taro-runtime-rn
- taro-runtime
- src
- constants
- dom
- taro-service
- taro-transformer-wx
- taro-vite-runner
- src
- mini
- utils
- taro-webpack5-prebundle
- taro-webpack5-runner
- src
- loaders
- plugins
- utils
- taro-with-weapp
- taroize
- taro
- types/compile/config
- scripts
- tests/__tests__
- __snapshots__
- bundled/globby
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
181 files changed
+16262
-17014
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
File mode changed.
File mode changed.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 11 | | |
18 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
30 | | - | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments