Skip to content

Commit 4b68528

Browse files
committed
Build(npm): update npm dependencies.
1 parent eb16c9c commit 4b68528

File tree

5 files changed

+1991
-1701
lines changed

5 files changed

+1991
-1701
lines changed

package.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
},
1616
"dependencies": {
1717
"@tinymce/tinymce-vue": "^3.2.2",
18-
"axios": "^0.19.2",
18+
"axios": "^0.20.0",
1919
"clipboard": "^2.0.6",
20-
"codemirror": "^5.54.0",
20+
"codemirror": "^5.57.0",
2121
"core-js": "^3.6.5",
2222
"cors": "^2.8.5",
2323
"driver.js": "^0.9.8",
2424
"echarts": "^4.8.0",
2525
"element-ui": "^2.13.2",
26-
"faker": "^4.1.0",
26+
"faker": "^5.0.0",
2727
"file-saver": "^2.0.2",
28-
"fuse.js": "^6.0.4",
28+
"fuse.js": "^6.4.1",
2929
"js-cookie": "^2.2.1",
3030
"jsonlint": "^1.6.3",
31-
"jszip": "^3.4.0",
32-
"lodash": "^4.17.15",
31+
"jszip": "^3.5.0",
32+
"lodash": "^4.17.20",
3333
"morgan": "^1.10.0",
3434
"normalize.css": "^8.0.1",
3535
"nprogress": "^0.2.0",
@@ -38,81 +38,81 @@
3838
"screenfull": "^5.0.2",
3939
"script-loader": "^0.7.2",
4040
"sortablejs": "^1.10.2",
41-
"tinymce": "^5.3.2",
41+
"tinymce": "^5.4.2",
4242
"tui-editor": "^1.4.10",
43-
"vue": "^2.6.11",
44-
"vue-class-component": "^7.2.3",
43+
"vue": "^2.6.12",
44+
"vue-class-component": "^7.2.5",
4545
"vue-count-to": "^1.0.13",
46-
"vue-i18n": "^8.18.2",
46+
"vue-i18n": "^8.21.0",
4747
"vue-image-crop-upload": "^2.5.0",
48-
"vue-property-decorator": "^8.5.0",
49-
"vue-router": "^3.3.4",
48+
"vue-property-decorator": "^9.0.0",
49+
"vue-router": "^3.4.3",
5050
"vue-splitpane": "^1.0.6",
5151
"vue-svgicon": "^3.2.6",
5252
"vue2-dropzone": "^3.6.0",
53-
"vuedraggable": "^2.23.2",
54-
"vuex": "^3.4.0",
53+
"vuedraggable": "^2.24.1",
54+
"vuex": "^3.5.1",
5555
"vuex-module-decorators": "^0.17.0",
56-
"xlsx": "^0.16.2",
56+
"xlsx": "^0.16.6",
5757
"yamljs": "^0.3.0"
5858
},
5959
"devDependencies": {
6060
"@types/clipboard": "^2.0.1",
61-
"@types/codemirror": "^0.0.96",
61+
"@types/codemirror": "^0.0.97",
6262
"@types/compression": "^1.7.0",
63-
"@types/cors": "^2.8.6",
64-
"@types/echarts": "^4.6.1",
65-
"@types/express": "^4.17.6",
63+
"@types/cors": "^2.8.7",
64+
"@types/echarts": "^4.6.4",
65+
"@types/express": "^4.17.7",
6666
"@types/faker": "^4.1.12",
6767
"@types/file-saver": "^2.0.1",
68-
"@types/jest": "^26.0.0",
68+
"@types/jest": "^26.0.10",
6969
"@types/js-cookie": "^2.2.6",
70-
"@types/lodash": "^4.14.155",
70+
"@types/lodash": "^4.14.160",
7171
"@types/morgan": "^1.9.1",
72-
"@types/node": "^14.0.13",
72+
"@types/node": "^14.6.0",
7373
"@types/nprogress": "^0.2.0",
74-
"@types/sortablejs": "^1.10.4",
74+
"@types/sortablejs": "^1.10.6",
7575
"@types/tinymce": "^4.5.24",
7676
"@types/vue-splitpane": "^1.0.0",
7777
"@types/webpack-env": "^1.15.2",
7878
"@types/yamljs": "^0.2.31",
79-
"@typescript-eslint/eslint-plugin": "^3.2.0",
80-
"@typescript-eslint/parser": "^3.2.0",
81-
"@vue/cli-plugin-babel": "^4.4.4",
82-
"@vue/cli-plugin-e2e-cypress": "^4.4.4",
83-
"@vue/cli-plugin-eslint": "^4.4.4",
84-
"@vue/cli-plugin-pwa": "^4.4.4",
85-
"@vue/cli-plugin-router": "^4.4.4",
86-
"@vue/cli-plugin-typescript": "^4.4.4",
87-
"@vue/cli-plugin-unit-jest": "^4.4.4",
88-
"@vue/cli-plugin-vuex": "^4.4.4",
89-
"@vue/cli-service": "^4.4.4",
79+
"@typescript-eslint/eslint-plugin": "^3.10.0",
80+
"@typescript-eslint/parser": "^3.10.0",
81+
"@vue/cli-plugin-babel": "^4.5.4",
82+
"@vue/cli-plugin-e2e-cypress": "^4.5.4",
83+
"@vue/cli-plugin-eslint": "^4.5.4",
84+
"@vue/cli-plugin-pwa": "^4.5.4",
85+
"@vue/cli-plugin-router": "^4.5.4",
86+
"@vue/cli-plugin-typescript": "^4.5.4",
87+
"@vue/cli-plugin-unit-jest": "^4.5.4",
88+
"@vue/cli-plugin-vuex": "^4.5.4",
89+
"@vue/cli-service": "^4.5.4",
9090
"@vue/eslint-config-standard": "^5.1.2",
9191
"@vue/eslint-config-typescript": "^5.0.2",
92-
"@vue/test-utils": "^1.0.3",
92+
"@vue/test-utils": "^1.0.4",
9393
"babel-core": "^7.0.0-bridge.0",
9494
"babel-eslint": "^10.1.0",
95-
"concurrently": "^5.2.0",
96-
"eslint": "^7.2.0",
97-
"eslint-plugin-import": "^2.21.2",
95+
"concurrently": "^5.3.0",
96+
"eslint": "^7.7.0",
97+
"eslint-plugin-import": "^2.22.0",
9898
"eslint-plugin-node": "^11.1.0",
9999
"eslint-plugin-promise": "^4.2.1",
100100
"eslint-plugin-standard": "^4.0.1",
101101
"eslint-plugin-vue": "^6.2.2",
102102
"fibers": "^5.0.0",
103-
"jest": "^26.0.1",
104-
"lint-staged": "^10.2.10",
105-
"sass": "^1.26.8",
106-
"sass-loader": "^8.0.2",
103+
"jest": "^26.4.2",
104+
"lint-staged": "^10.2.11",
105+
"sass": "^1.26.10",
106+
"sass-loader": "^10.0.0",
107107
"style-resources-loader": "^1.3.3",
108-
"swagger-routes-express": "^3.1.3",
109-
"ts-jest": "^26.1.0",
110-
"ts-node-dev": "^1.0.0-pre.47",
108+
"swagger-routes-express": "^3.2.1",
109+
"ts-jest": "^26.2.0",
110+
"ts-node-dev": "^1.0.0-pre.60",
111111
"typescript": "3.8.3",
112112
"vue-cli-plugin-element": "^1.0.1",
113113
"vue-cli-plugin-style-resources-loader": "^0.1.4",
114-
"vue-template-compiler": "^2.6.11",
115-
"webpack": "^4.43.0"
114+
"vue-template-compiler": "^2.6.12",
115+
"webpack": "^4.44.1"
116116
},
117117
"bugs": {
118118
"url": "https://github.com/armour/vue-typescript-admin-template/issues"

src/components/HeaderSearch/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class extends Vue {
4747
private show = false
4848
private options: RouteConfig[] = []
4949
private searchPool: RouteConfig[] = []
50-
private fuse?: Fuse<RouteConfig, Fuse.IFuseOptions<RouteConfig>>
50+
private fuse?: Fuse<RouteConfig>
5151
5252
get routes() {
5353
return PermissionModule.routes
@@ -113,7 +113,6 @@ export default class extends Vue {
113113
threshold: 0.4,
114114
location: 0,
115115
distance: 100,
116-
maxPatternLength: 32,
117116
minMatchCharLength: 1,
118117
keys: [{
119118
name: 'title',

src/views/dashboard/admin/components/BoxCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<el-progress :percentage="45" />
3131
</div>
3232
<div class="progress-item">
33-
<span>Css</span>
33+
<span>CSS</span>
3434
<el-progress :percentage="4" />
3535
</div>
3636
<div class="progress-item">

vue.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ module.exports = {
5454
// it can be accessed in index.html to inject the correct title.
5555
config.set('name', name)
5656

57+
// it can improve the speed of the first screen, it is recommended to turn on preload
58+
config.plugin('preload').tap(() => [
59+
{
60+
rel: 'preload',
61+
// to ignore runtime.js
62+
// https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-service/lib/config/app.js#L171
63+
fileBlacklist: [/\.map$/, /hot-update\.js$/, /runtime\..*\.js$/],
64+
include: 'initial'
65+
}
66+
])
67+
5768
// https://webpack.js.org/configuration/devtool/#development
5869
// Change development env source map if you want.
5970
// The default in vue-cli is 'eval-cheap-module-source-map'.
@@ -89,6 +100,7 @@ module.exports = {
89100
}
90101
}
91102
})
103+
// https://webpack.js.org/configuration/optimization/#optimizationruntimechunk
92104
config.optimization.runtimeChunk('single')
93105
}
94106
)

0 commit comments

Comments
 (0)