Skip to content

Commit

Permalink
fix: 更新依赖,解决 ts 类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
robinv8 committed May 6, 2023
1 parent b0786cc commit af562a7
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 147 deletions.
167 changes: 84 additions & 83 deletions packages/taro-ui-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,85 +1,86 @@
{
"private": true,
"name": "taro-ui-demo",
"version": "3.0.0-alpha.11",
"description": "Taro UI demo",
"author": "O2Team <aotu.io>",
"homepage": "https://taro-ui.aotu.io",
"repository": {
"type": "git",
"url": "[email protected]:nervjs/taro-ui.git"
},
"license": "MIT",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"scripts": {
"build": "yarn run build:h5",
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "yarn run build:weapp --watch",
"dev:swan": "yarn run build:swan --watch",
"dev:alipay": "yarn run build:alipay --watch",
"dev:tt": "yarn run build:tt --watch",
"dev:h5": "yarn run build:h5 --watch",
"dev:rn": "yarn run build:rn --watch",
"dev:qq": "yarn run build:qq --watch",
"dev:quickapp": "yarn run build:quickapp --watch",
"clean": "rimraf .temp dist"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.6.1",
"@tarojs/helper": "3.6.1",
"@tarojs/plugin-platform-weapp": "3.6.1",
"@tarojs/plugin-platform-alipay": "3.6.1",
"@tarojs/plugin-platform-tt": "3.6.1",
"@tarojs/plugin-platform-swan": "3.6.1",
"@tarojs/plugin-platform-jd": "3.6.1",
"@tarojs/plugin-platform-qq": "3.6.1",
"@tarojs/plugin-platform-h5": "3.6.1",
"@tarojs/runtime": "3.6.1",
"@tarojs/shared": "3.6.1",
"@tarojs/taro": "3.6.1",
"@tarojs/plugin-framework-react": "3.6.1",
"@tarojs/react": "3.6.1",
"react-dom": "^18.0.0",
"react": "^18.0.0",
"taro-ui": "file:../taro-ui"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@tarojs/cli": "3.6.1",
"@types/webpack-env": "^1.13.6",
"@types/react": "^18.0.0",
"@tarojs/mini-runner": "3.6.1",
"@tarojs/webpack-runner": "3.6.1",
"webpack": "4.46.0",
"babel-preset-taro": "3.6.1",
"eslint-config-taro": "3.6.1",
"eslint": "^8.12.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"react-refresh": "^0.11.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react-hooks": "^4.2.0",
"stylelint": "^14.4.0",
"@typescript-eslint/parser": "^5.20.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"typescript": "^4.1.0",
"postcss": "^8.4.18"
}
"private": true,
"name": "taro-ui-demo",
"version": "3.0.0-alpha.11",
"description": "Taro UI demo",
"author": "O2Team <aotu.io>",
"homepage": "https://taro-ui.aotu.io",
"repository": {
"type": "git",
"url": "[email protected]:nervjs/taro-ui.git"
},
"license": "MIT",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"scripts": {
"build": "yarn run build:h5",
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "yarn run build:weapp --watch",
"dev:swan": "yarn run build:swan --watch",
"dev:alipay": "yarn run build:alipay --watch",
"dev:tt": "yarn run build:tt --watch",
"dev:h5": "yarn run build:h5 --watch",
"dev:rn": "yarn run build:rn --watch",
"dev:qq": "yarn run build:qq --watch",
"dev:quickapp": "yarn run build:quickapp --watch",
"clean": "rimraf .temp dist"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.6.1",
"@tarojs/helper": "3.6.1",
"@tarojs/plugin-framework-react": "3.6.1",
"@tarojs/plugin-platform-alipay": "3.6.1",
"@tarojs/plugin-platform-h5": "3.6.1",
"@tarojs/plugin-platform-jd": "3.6.1",
"@tarojs/plugin-platform-qq": "3.6.1",
"@tarojs/plugin-platform-swan": "3.6.1",
"@tarojs/plugin-platform-tt": "3.6.1",
"@tarojs/plugin-platform-weapp": "3.6.1",
"@tarojs/react": "3.6.1",
"@tarojs/runtime": "3.6.1",
"@tarojs/shared": "3.6.1",
"@tarojs/taro": "3.6.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"taro-ui": "file:../taro-ui"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@tarojs/cli": "3.6.1",
"@tarojs/mini-runner": "3.6.1",
"@tarojs/webpack-runner": "3.6.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-preset-taro": "3.6.1",
"eslint": "^8.12.0",
"eslint-config-taro": "3.6.1",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"postcss": "^8.4.18",
"react-refresh": "^0.11.0",
"stylelint": "^14.4.0",
"typescript": "^4.1.0",
"webpack": "4.46.0"
}
}
4 changes: 2 additions & 2 deletions packages/taro-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"@types/node": "^13.11.1",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^2.3.1",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-typescript2": "^0.27.0",
Expand Down
Loading

0 comments on commit af562a7

Please sign in to comment.