Skip to content

Commit

Permalink
Merge branch 'main' into feat/4.x-webpack-exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
tutuxxx authored Nov 27, 2024
2 parents db3de38 + 7029f3e commit 2b34f0d
Show file tree
Hide file tree
Showing 89 changed files with 1,213 additions and 1,386 deletions.
2 changes: 1 addition & 1 deletion crates/native_binding/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/binding",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Node binding for taro",
"main": "binding.js",
"typings": "binding.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tarojs/binding-darwin-arm64",
"description": "Native binding for taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tarojs/binding-darwin-x64",
"description": "Native binding for taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tarojs/binding-linux-x64-gnu",
"description": "Native binding for taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/binding-linux-x64-musl",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tarojs/binding-win32-x64-msvc",
"description": "Native binding for taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "开放式跨端跨框架开发解决方案",
"homepage": "https://github.com/NervJS/taro#readme",
"author": "O2Team",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "babel-plugin-transform-react-jsx-to-rn-stylesheet",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Transform stylesheet selector to style in JSX Elements.",
"author": "O2Team",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"test": "jest",
"test:ci": "jest --ci -i --coverage --silent",
"dev": "tsc -w",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-solid-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "babel-plugin-transform-solid-jsx",
"description": "A JSX to DOM plugin that wraps expressions for fine grained change detection",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-transform-taroapi/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "babel-plugin-transform-taroapi",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"author": "O2Team",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "tsc",
"test": "cross-env NODE_ENV=jest jest",
"test:ci": "cross-env NODE_ENV=jest jest --ci -i --coverage --silent",
Expand Down
3 changes: 1 addition & 2 deletions packages/babel-preset-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro babel preset",
"author": "O2Team",
"license": "MIT",
Expand Down Expand Up @@ -36,7 +36,6 @@
"@rnx-kit/babel-preset-metro-react-native": "^1.1.8",
"@tarojs/helper": "workspace:*",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-transform-imports-api": "1.0.0",
"babel-plugin-transform-solid-jsx": "workspace:*",
"core-js": "^3.36.1"
Expand Down
4 changes: 0 additions & 4 deletions packages/babel-preset-taro/rn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ module.exports = (_, options = {}) => {

plugins.push(require('../remove-define-config'))

plugins.push(
[require('babel-plugin-minify-dead-code-elimination'), {}]
)

return {
presets,
plugins
Expand Down
4 changes: 2 additions & 2 deletions packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@tarojs/create-app",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "create taro app with one command",
"author": "O2Team",
"license": "MIT",
"main": "./dist/index.js",
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"dev": "tsc -w",
"build": "tsc"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/css-to-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taro-css-to-react-native",
"description": "Convert CSS text to a React Native stylesheet object",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"author": "O2Team",
"license": "MIT",
"main": "dist/index.js",
Expand All @@ -14,7 +14,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "babel src --ignore *.spec.js --out-dir ./dist",
"test": "jest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro specific linting rules for ESLint",
"author": "O2Team",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-taro-helper",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "jest helper for taro",
"private": true,
"author": "O2Team",
Expand All @@ -12,7 +12,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./lib",
"clean": "rimraf ./lib",
"build": "tsc",
"dev": "tsc -w"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/postcss-html-transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-html-transform",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "transform html tag name selector",
"author": "O2Team",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "tsc",
"dev": "tsc -w"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-plugin-constparse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-plugin-constparse",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "parse constants defined in config",
"author": "O2Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-pxtransform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-pxtransform",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "PostCSS plugin px 转小程序 rpx及h5 rem 单位",
"author": "O2Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-unit-transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-taro-unit-transform",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "小程序单位转换",
"author": "O2Team",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/rollup-plugin-copy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rollup-plugin-copy",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "rollup-plugin-copy for taro",
"private": true,
"author": "O2Team",
Expand All @@ -12,7 +12,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./lib",
"clean": "rimraf ./lib",
"build": "tsc",
"dev": "tsc -w"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/shared",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro utils internal use.",
"author": "O2Team",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "pnpm run rollup --environment NODE_ENV:production",
"dev": "pnpm run rollup --environment NODE_ENV:development -w",
"rollup": "rollup --config rollup.config.ts --configPlugin typescript",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-taro-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-taro-rn",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Shareable stylelint config for React Native CSS modules",
"author": "O2Team",
"license": "MIT",
Expand Down
7 changes: 4 additions & 3 deletions packages/stylelint-taro-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-taro-rn",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "A collection of React Native specific rules for stylelint",
"author": "O2Team",
"license": "MIT",
Expand All @@ -27,7 +27,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "pnpm run rollup --environment NODE_ENV:production",
"dev": "pnpm run rollup --environment NODE_ENV:development -w",
"rollup": "rollup --config rollup.config.ts --configPlugin typescript",
Expand All @@ -45,7 +45,8 @@
"react-native-known-styling-properties": "^1.3.0"
},
"devDependencies": {
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"stylelint": "^16.4.0"
},
"peerDependencies": {
"stylelint": "^16"
Expand Down
4 changes: 2 additions & 2 deletions packages/stylelint-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-taro",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro stylelint 规则集合",
"author": "O2Team",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"scripts": {
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"build": "pnpm run rollup --environment NODE_ENV:production",
"dev": "pnpm run rollup --environment NODE_ENV:development -w",
"rollup": "rollup --config rollup.config.ts --configPlugin typescript",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/api",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro common API",
"author": "O2Team",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-cli-convertor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/cli-convertor",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "cli tool for taro-convert",
"author": "O2Team",
"license": "MIT",
Expand All @@ -10,7 +10,7 @@
"prebuild": "pnpm run clean",
"build": "tsc",
"dev": "tsc -w",
"clean": "rimraf --impl=move-remove dist",
"clean": "rimraf dist",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write \"{src, __tests__}/**/*.{ts,tsx,js,jsx}\" && eslint src __tests__ --ext .js --ext .jsx --ext .ts --ext .tsx --fix",
"test": "jest",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/cli",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "cli tool for taro",
"author": "O2Team",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"prebuild": "pnpm run clean",
"build": "tsc",
"dev": "tsc -w",
"clean": "rimraf --impl=move-remove dist"
"clean": "rimraf dist"
},
"files": [
"bin",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-components-advanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/components-advanced",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "",
"author": "O2Team",
"license": "MIT",
Expand All @@ -18,7 +18,7 @@
"prod": "pnpm run build",
"prebuild": "pnpm run clean",
"build": "rollup -c",
"clean": "rimraf --impl=move-remove ./dist",
"clean": "rimraf ./dist",
"dev": "pnpm run build -w"
},
"keywords": [],
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-components-library-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/components-library-react",
"version": "4.0.7",
"version": "4.0.8-beta.0",
"description": "Taro 组件库 React 版本库",
"private": true,
"author": "O2Team",
Expand All @@ -9,7 +9,7 @@
"scripts": {
"prebuild": "pnpm run clean && node ./scripts/fix.js",
"build": "rollup -c",
"clean": "rimraf --impl=move-remove ../taro-components/lib/react",
"clean": "rimraf ../taro-components/lib/react",
"dev": "pnpm run build -w",
"prod": "pnpm run build"
},
Expand Down
Loading

0 comments on commit 2b34f0d

Please sign in to comment.