Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 添加 useXsForTemplate 试用性字段以及半编译预处理功能 #16598

Merged
merged 33 commits into from
Oct 23, 2024

Conversation

ZEJIA-LIU
Copy link
Contributor

@ZEJIA-LIU ZEJIA-LIU commented Sep 24, 2024

这个 PR 做了什么? (简要描述所做更改)
添加 useXsForTemplate 试用性字段以及半编译预处理功能

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue: fix #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

# Conflicts:
#	crates/native_binding/package.json
#	npm/darwin-arm64/package.json
#	npm/darwin-x64/package.json
#	npm/linux-x64-gnu/package.json
#	npm/linux-x64-musl/package.json
#	npm/win32-x64-msvc/package.json
#	package.json
#	packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json
#	packages/babel-plugin-transform-solid-jsx/package.json
#	packages/babel-plugin-transform-taroapi/package.json
#	packages/babel-preset-taro/package.json
#	packages/create-app/package.json
#	packages/css-to-react-native/package.json
#	packages/eslint-config-taro/package.json
#	packages/jest-helper/package.json
#	packages/postcss-html-transform/package.json
#	packages/postcss-plugin-constparse/package.json
#	packages/postcss-pxtransform/package.json
#	packages/postcss-unit-transform/package.json
#	packages/rollup-plugin-copy/package.json
#	packages/shared/package.json
#	packages/stylelint-config-taro-rn/package.json
#	packages/stylelint-taro-rn/package.json
#	packages/stylelint-taro/package.json
#	packages/taro-api/package.json
#	packages/taro-cli-convertor/package.json
#	packages/taro-cli/package.json
#	packages/taro-components-advanced/package.json
#	packages/taro-components-library-react/package.json
#	packages/taro-components-library-solid/package.json
#	packages/taro-components-library-vue3/package.json
#	packages/taro-components-react/package.json
#	packages/taro-components-rn/package.json
#	packages/taro-components/package.json
#	packages/taro-extend/package.json
#	packages/taro-framework-react/package.json
#	packages/taro-framework-solid/package.json
#	packages/taro-framework-vue3/package.json
#	packages/taro-h5/package.json
#	packages/taro-helper/package.json
#	packages/taro-loader/package.json
#	packages/taro-platform-alipay/package.json
#	packages/taro-platform-h5/package.json
#	packages/taro-platform-harmony-hybrid/package.json
#	packages/taro-platform-harmony/package.json
#	packages/taro-platform-jd/package.json
#	packages/taro-platform-qq/package.json
#	packages/taro-platform-swan/package.json
#	packages/taro-platform-tt/package.json
#	packages/taro-platform-weapp/package.json
#	packages/taro-plugin-html/package.json
#	packages/taro-plugin-http/package.json
#	packages/taro-plugin-inject/package.json
#	packages/taro-plugin-mini-ci/package.json
#	packages/taro-plugin-react-devtools/package.json
#	packages/taro-plugin-vue-devtools/package.json
#	packages/taro-react/package.json
#	packages/taro-rn-runner/package.json
#	packages/taro-rn-style-transformer/package.json
#	packages/taro-rn-supporter/package.json
#	packages/taro-rn-transformer/package.json
#	packages/taro-rn/package.json
#	packages/taro-router-rn/package.json
#	packages/taro-router/package.json
#	packages/taro-runner-utils/package.json
#	packages/taro-runtime-rn/package.json
#	packages/taro-runtime/package.json
#	packages/taro-service/package.json
#	packages/taro-transformer-wx/package.json
#	packages/taro-vite-runner/package.json
#	packages/taro-webpack5-prebundle/package.json
#	packages/taro-webpack5-runner/package.json
#	packages/taro-with-weapp/package.json
#	packages/taro/package.json
#	packages/taroize/package.json
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 58.51%. Comparing base (76ba530) to head (6e7a0ca).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
tests/__tests__/bundled/globby/index.js 44.44% 4 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #16598      +/-   ##
==========================================
- Coverage   58.51%   58.51%   -0.01%     
==========================================
  Files         466      466              
  Lines       27115    27110       -5     
  Branches     5951     5707     -244     
==========================================
- Hits        15866    15863       -3     
- Misses       9739     9917     +178     
+ Partials     1510     1330     -180     
Flag Coverage Δ
taro-cli 73.67% <ø> (ø)
taro-runtime 59.87% <100.00%> (+0.03%) ⬆️
taro-web 52.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/taro-runtime/src/constants/index.ts 100.00% <100.00%> (ø)
...ckages/taro-webpack5-runner/src/utils/component.ts 100.00% <ø> (ø)
tests/__tests__/bundled/globby/index.js 42.40% <44.44%> (-0.04%) ⬇️

... and 37 files with indirect coverage changes

@ZEJIA-LIU ZEJIA-LIU merged commit acaf859 into main Oct 23, 2024
38 checks passed
@ZEJIA-LIU ZEJIA-LIU deleted the feat/4.0.7 branch October 23, 2024 09:38
@ZEJIA-LIU ZEJIA-LIU added this to the 4.0.7 milestone Oct 24, 2024
@ShaoGongBra
Copy link
Contributor

这是个啥功能

This was referenced Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants