Skip to content

Commit

Permalink
feat(core): 升级taro依赖版本2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lsqy committed Mar 15, 2020
1 parent e307994 commit e8b44c8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#### 注意事项

**目前已将`taro`的版本升级到最新版本`2.0.2`,确保你本地的`taro-cli`的版本也是这个版本,可以通过`taro info`查看版本号,如果不是最新的话,可以通过执行`taro update self`(`mac`或者`linux`前面需要加上`sudo`)以及`taro update project`进行`cli`与项目依赖的更新保持一致,否则将会导致项目无法正常运行,了解更多详情可查看[Taro环境及依赖检测](http://taro-docs.jd.com/taro/docs/GETTING-STARTED.html#%E7%8E%AF%E5%A2%83%E5%8F%8A%E4%BE%9D%E8%B5%96%E6%A3%80%E6%B5%8B)**
**目前已将`taro`的版本升级到最新版本`2.0.6`,确保你本地的`taro-cli`的版本也是这个版本,可以通过`taro info`查看版本号,如果不是最新的话,可以通过执行`taro update self`(`mac`或者`linux`前面需要加上`sudo`)以及`taro update project`进行`cli`与项目依赖的更新保持一致,否则将会导致项目无法正常运行,了解更多详情可查看[Taro环境及依赖检测](http://taro-docs.jd.com/taro/docs/GETTING-STARTED.html#%E7%8E%AF%E5%A2%83%E5%8F%8A%E4%BE%9D%E8%B5%96%E6%A3%80%E6%B5%8B)**

首先需要在src目录下创建一个config.ts,可以根据自己的需要将其替换成线上地址,接口服务是使用的[NeteaseCloudMusicApi](https://binaryify.github.io/NeteaseCloudMusicApi/#/)

Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"author": "lsqy93@aliyun.com",
"license": "MIT",
"dependencies": {
"@tarojs/async-await": "2.0.2",
"@tarojs/components": "2.0.2",
"@tarojs/mini-runner": "2.0.2",
"@tarojs/redux": "2.0.2",
"@tarojs/redux-h5": "2.0.2",
"@tarojs/router": "2.0.2",
"@tarojs/taro": "2.0.2",
"@tarojs/taro-alipay": "2.0.2",
"@tarojs/taro-h5": "2.0.2",
"@tarojs/taro-swan": "2.0.2",
"@tarojs/taro-tt": "2.0.2",
"@tarojs/taro-weapp": "2.0.2",
"@tarojs/async-await": "2.0.6",
"@tarojs/components": "2.0.6",
"@tarojs/mini-runner": "2.0.6",
"@tarojs/redux": "2.0.6",
"@tarojs/redux-h5": "2.0.6",
"@tarojs/router": "2.0.6",
"@tarojs/taro": "2.0.6",
"@tarojs/taro-alipay": "2.0.6",
"@tarojs/taro-h5": "2.0.6",
"@tarojs/taro-swan": "2.0.6",
"@tarojs/taro-tt": "2.0.6",
"@tarojs/taro-weapp": "2.0.6",
"classnames": "^2.2.6",
"nerv-devtools": "^1.5.6",
"nervjs": "^1.5.6",
Expand All @@ -42,12 +42,12 @@
"taro-ui": "^2.2.2"
},
"devDependencies": {
"@tarojs/plugin-babel": "2.0.2",
"@tarojs/plugin-csso": "2.0.2",
"@tarojs/plugin-less": "2.0.2",
"@tarojs/plugin-sass": "2.0.2",
"@tarojs/plugin-uglifyjs": "2.0.2",
"@tarojs/webpack-runner": "2.0.2",
"@tarojs/plugin-babel": "2.0.6",
"@tarojs/plugin-csso": "2.0.6",
"@tarojs/plugin-less": "2.0.6",
"@tarojs/plugin-sass": "2.0.6",
"@tarojs/plugin-uglifyjs": "2.0.6",
"@tarojs/webpack-runner": "2.0.6",
"@types/react": "^16.4.8",
"@types/webpack-env": "^1.13.6",
"babel-eslint": "^8.2.3",
Expand All @@ -59,10 +59,10 @@
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^4.19.1",
"eslint-config-taro": "2.0.2",
"eslint-config-taro": "2.0.6",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-taro": "2.0.2",
"eslint-plugin-taro": "2.0.6",
"eslint-plugin-typescript": "^0.12.0",
"husky": "^3.1.0",
"typescript": "^3.0.1"
Expand Down

0 comments on commit e8b44c8

Please sign in to comment.