Skip to content

Commit

Permalink
Chore: release 1.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Maorey committed Apr 30, 2020
1 parent 6ab3c98 commit 7273baa
Show file tree
Hide file tree
Showing 41 changed files with 1,775 additions and 1,541 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 更新日志

## v 1.2.13

- 路由缓存配置相关
- 升级依赖

## v 1.2.12

- WebSocket简单包装类
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vue + vuex + vue router + TypeScript(支持 JavaScript) 模板

## 环境要求

- `Node.js`: v12 ([fibers](https://github.com/laverdet/node-fibers#supported-platforms) v4.0.2 不支持 Node v13)
- `Node.js`: >= v12
- `yarn`: 最新

### 建议开发环境
Expand Down Expand Up @@ -171,6 +171,7 @@ yarn vue-cli-service help # [命令] : 比如 yarn vue-cli-service help test:e2e
│ │── api # http通信
│ │── assets # 静态资源文件目录, 使用到的会被解析处理(比如图片等)
│ │── components # 从views/pages提取的复用组件(建文件夹分类, 未分类的基本就是基础组件了)
│ │── functions # 从views/pages提取的复用逻辑(建文件夹分类, 未分类的基本就是公用逻辑了)
│ │── config # 配置目录
│ │── enum # 枚举目录
│ │── lang # 多语言目录
Expand All @@ -181,7 +182,7 @@ yarn vue-cli-service help # [命令] : 比如 yarn vue-cli-service help test:e2e
│ │── store # 状态管理
│ │ └── modules # 各模块状态管理
│ │── types # ts 接口/申明文件
│ │── utils # 工具集(一般为幂等函数/单例对象/Class)
│ │── utils # 工具集(业务无关, 一般为幂等函数/单例对象/Class...)
│ │── views # 视图
│ │── pages # 【可选】多页时页面的存储目录
│ │── html模板名 # 【可选】存放页面代码目录
Expand Down Expand Up @@ -827,6 +828,5 @@ http {
### 其他
- 期待 [vue3.0](https://github.com/vuejs/vue/projects/6) & [webpack 5.0](https://github.com/webpack/webpack/projects/5) [正式版](https://github.com/webpack/changelog-v5/blob/master/README.md)
- [fibers](https://github.com/laverdet/node-fibers#supported-platforms) v4.0.2 **不支持 Node v13**
- `crypto-js` v4 **不支持 IE10**
- `TypeScript`(3.8.2) `const enum` 编译为内联代码(`inline code`)的支持有限, 尽量使用常量成员, 然后等[更新](https://github.com/microsoft/TypeScript)吧
2 changes: 1 addition & 1 deletion build/production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ module.exports = function(config, ENV, pages) {
chunks: 'all',
priority: 66,
reuseExistingChunk: true,
test: /[\\/]node_modules[\\/]echarts[\\/]/,
test: /[\\/]node_modules[\\/]echarts(?:-.+)?[\\/]/,
},
// d3.js
d3: {
Expand Down
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-tpl",
"version": "1.2.12",
"version": "1.2.13",
"private": false,
"description": "vue + vuex + vue router + TypeScript(支持 JavaScript) 模板",
"author": "毛瑞 <[email protected]>",
Expand All @@ -17,23 +17,24 @@
"crypto-js": "3.3.0",
"d3": "^5.16.0",
"echarts": "^4.7.0",
"echarts-liquidfill": "^2.0.5",
"element-ui": "^2.13.1",
"jsencrypt": "^3.0.0-rc.1",
"luma.gl": "^7.3.2",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"pixi.js": "^5.2.2",
"pixi.js-legacy": "^5.2.2",
"pixi.js": "^5.2.3",
"pixi.js-legacy": "^5.2.3",
"register-service-worker": "^1.7.1",
"three": "^0.115.0",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
"vue-i18n": "^8.17.3",
"vue-property-decorator": "^8.4.1",
"vue-i18n": "^8.17.4",
"vue-property-decorator": "^8.4.2",
"vue-router": "^3.1.6",
"vuex": "^3.2.0",
"vuex": "^3.3.0",
"vuex-class": "^0.3.2",
"vuex-module-decorators": "^0.16.1",
"vuex-module-decorators": "^0.17.0",
"zdog": "^1.1.2",
"zrender": "^4.3.0"
},
Expand All @@ -42,12 +43,12 @@
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/plugin-proposal-function-sent": "^7.8.3",
"@babel/plugin-proposal-private-methods": "^7.8.3",
"@types/crypto-js": "3.1.44",
"@types/crypto-js": "3.1.45",
"@types/d3": "^5.7.2",
"@types/echarts": "^4.4.6",
"@types/echarts": "^4.6.0",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@vue/cli-plugin-babel": "~4.3.1",
"@vue/cli-plugin-e2e-cypress": "~4.3.1",
"@vue/cli-plugin-eslint": "~4.3.1",
Expand All @@ -68,14 +69,14 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.2.2",
"fibers": "^4.0.2",
"fibers": "^5.0.0",
"hard-source-webpack-plugin": "^0.13.1",
"lint-staged": "^10.1.7",
"lint-staged": "^10.2.0",
"postcss-preset-env": "^6.7.0",
"regenerate": "^1.4.0",
"regjsgen": "^0.5.1",
"regjsparser": "^0.6.4",
"sass": "^1.26.3",
"sass": "^1.26.5",
"sass-loader": "^8.0.2",
"stylelint": "^13.3.3",
"stylelint-config-scss-maorey": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { setHEAD, get, post } from '@/utils/ajax'
import { local } from '@/utils/storage'
import CONFIG from '@/config'
import API from '@/config/api/user'
import { user as API } from '@/enum/api'

// 加密算法(token + RSA 加密)
import Jsencrypt from 'jsencrypt'
Expand Down
Loading

0 comments on commit 7273baa

Please sign in to comment.