Skip to content

Commit 631dfcc

Browse files
committed
chore: update package.json
1 parent 596ea91 commit 631dfcc

File tree

7 files changed

+1206
-1268
lines changed

7 files changed

+1206
-1268
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"packages/**/*.js",
106106
"packages/**/*.jsx"
107107
],
108-
"parser": "babel-eslint",
108+
"parser": "@babel/eslint-parser",
109109
"parserOptions": {
110110
"ecmaVersion": 2017,
111111
"ecmaFeatures": {

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
},
1111
"license": "MIT",
1212
"scripts": {
13-
"bootstrap": "pnpm i",
14-
"build": "pnpm -r --filter=./packages/* run build",
15-
"build:component": "pnpm run --scope taro-ui build",
16-
"clean": "rm -rf node_modules packages/*/node_modules",
17-
"clean:component": "pnpm remove --scope taro-ui clean",
18-
"publish": "lerna publish from-git --yes",
13+
"preinstall": "npx only-allow pnpm",
14+
"build": "pnpm -r run build",
15+
"clean": " rimraf **/dist && rimraf **/node_modules",
1916
"prepare": "husky install"
2017
},
2118
"devDependencies": {
@@ -24,8 +21,8 @@
2421
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2522
"@babel/preset-env": "^7.22.10",
2623
"@babel/preset-react": "^7.22.5",
27-
"@commitlint/cli": "^8.3.6",
28-
"@commitlint/config-conventional": "^8.3.6",
24+
"@commitlint/cli": "^17.7.1",
25+
"@commitlint/config-conventional": "^17.7.0",
2926
"@types/react": "^18.2.21",
3027
"@types/react-dom": "^18.2.7",
3128
"@typescript-eslint/eslint-plugin": "^5.62.0",
@@ -60,5 +57,8 @@
6057
"lint-staged": {
6158
"*.{js,jsx,ts,tsx}": "eslint --quiet --cache --fix",
6259
"src/**/*.scss": "stylelint --syntax scss --fix"
60+
},
61+
"dependencies": {
62+
"@babel/eslint-parser": "^7.22.15"
6363
}
6464
}

packages/taro-ui-demo-rn/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
],
4343
"dependencies": {
4444
"@babel/runtime": "^7.7.7",
45-
"@tarojs/components": "3.6.5-canary.1",
46-
"@tarojs/plugin-framework-react": "3.6.5-canary.1",
47-
"@tarojs/react": "3.6.5-canary.1",
48-
"@tarojs/rn-runner": "3.6.5-canary.1",
49-
"@tarojs/runtime": "3.6.5-canary.1",
50-
"@tarojs/taro": "3.6.5-canary.1",
51-
"@tarojs/taro-rn": "3.6.5-canary.1",
45+
"@tarojs/components": "3.6.6",
46+
"@tarojs/plugin-framework-react": "3.6.6",
47+
"@tarojs/react": "3.6.6",
48+
"@tarojs/rn-runner": "3.6.6",
49+
"@tarojs/runtime": "3.6.6",
50+
"@tarojs/taro": "3.6.6",
51+
"@tarojs/taro-rn": "3.6.6",
5252
"react-native": "^0.71.6",
5353
"react-native-modal": "^13.0.0",
54-
"taro-ui": "workspace:taro-ui@*"
54+
"taro-ui": "workspace:^"
5555
},
5656
"devDependencies": {
5757
"@react-native-picker/picker": "^1.15.0",
58-
"@tarojs/cli": "3.6.5-canary.1",
59-
"@tarojs/mini-runner": "3.6.5-canary.1",
60-
"@tarojs/webpack-runner": "3.6.5-canary.1",
58+
"@tarojs/cli": "3.6.6",
59+
"@tarojs/mini-runner": "3.6.6",
60+
"@tarojs/webpack-runner": "3.6.6",
6161
"@types/react": "^18.2.0",
6262
"@types/webpack-env": "^1.13.6",
6363
"babel-plugin-transform-imports": "^2.0.0",
64-
"babel-preset-taro": "3.6.5-canary.1",
64+
"babel-preset-taro": "3.6.6",
6565
"escape-string-regexp": "^4.0.0",
66-
"eslint-config-taro": "3.6.5-canary.1",
66+
"eslint-config-taro": "3.6.6",
6767
"expo": "~48.0.0",
6868
"patch-package": "^6.4.7",
6969
"react-native-svg": "13.8.0",

packages/taro-ui-demo/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
"@tarojs/runtime": "3.6.6",
5858
"@tarojs/shared": "3.6.6",
5959
"@tarojs/taro": "3.6.6",
60-
61-
"taro-ui": "workspace:taro-ui@*"
60+
"taro-ui": "workspace:^"
6261
},
6362
"devDependencies": {
6463
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",

packages/taro-ui-docs/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,15 @@
2626
"at-ui-style": "^1.5.1",
2727
"classnames": "^2.2.6",
2828
"copy-to-clipboard": "^3.3.1",
29-
"core-js": "~3.6.0",
3029
"highlight.js": "^9.18.1",
3130
"qrcode.react": "^1.0.0",
3231
"react-router-dom": "^5.1.2",
3332
"regenerator-runtime": "^0.13.5",
34-
"taro-ui-demo": "workspace:taro-ui-demo@*"
33+
"taro-ui-demo": "workspace:^"
3534
},
3635
"devDependencies": {
3736
"@types/classnames": "^2.2.10",
3837
"@types/webpack-env": "^1.15.1",
39-
"babel-eslint": "^10.1.0",
4038
"babel-loader": "^8.1.0",
4139
"chalk": "^4.0.0",
4240
"clean-webpack-plugin": "^3.0.0",
@@ -46,7 +44,7 @@
4644
"file-loader": "^6.0.0",
4745
"front-matter": "^3.1.0",
4846
"fs-extra": "^9.0.0",
49-
"html-webpack-plugin": "^4.0.4",
47+
"html-webpack-plugin": "^4.1.0",
5048
"html-withimg-loader": "^0.1.16",
5149
"htmltojsx": "^0.3.0",
5250
"humps": "^2.0.1",

packages/taro-ui/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
"url": "[email protected]:nervjs/taro-ui.git"
3030
},
3131
"license": "MIT",
32-
"publishConfig": {
33-
"tag": "next"
34-
},
3532
"scripts": {
3633
"dev": "pnpm run dev:lib",
3734
"dev:lib": "tsc --project ./tsconfig.build.json --watch --incremental",

0 commit comments

Comments
 (0)