Skip to content

Commit 744437d

Browse files
author
Marcel Jahn
committed
chore(vuepress): moving from yarn to npm and using latest vuepress
1 parent 7932331 commit 744437d

File tree

3 files changed

+34
-8514
lines changed

3 files changed

+34
-8514
lines changed

docs/.vuepress/config.js

Lines changed: 25 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,34 @@
11
module.exports = {
2+
dest: 'docs/.vuepress/dist',
23
base: '/',
3-
serviceWorker: true,
4+
title: 'Vue CLI SSR plugin',
5+
description: 'Dead Simple Server-Side-Rendering',
46
head: [
5-
['link', { rel: 'icon', href: '/logo.png' }],
7+
['link', { rel: 'icon', href: '/favicon.png' }]
68
],
7-
locales: {
8-
'/': {
9-
lang: 'en-US',
10-
title: 'Vue CLI SSR plugin',
11-
description: 'Dead Simple Server-Side-Rendering',
12-
},
13-
},
9+
evergreen: true,
10+
displayAllHeaders: true,
11+
sidebarDepth: 3,
1412
themeConfig: {
15-
repo: 'Akryum/vue-cli-plugin-ssr',
16-
docsDir: 'docs',
17-
editLinks: true,
18-
serviceWorker: {
19-
updatePopup: true,
13+
sidebar: {
14+
'/guide/': [
15+
'',
16+
'configuration',
17+
'directives',
18+
'webpack',
19+
],
2020
},
21-
locales: {
22-
'/': {
23-
selectText: 'Languages',
24-
label: 'English',
25-
lastUpdated: 'Last Updated',
26-
nav: [
27-
{
28-
text: 'Guide',
29-
link: '/guide/',
30-
},
31-
{
32-
text: 'Patreon',
33-
link: 'https://www.patreon.com/akryum',
34-
},
35-
],
36-
sidebarDepth: 3,
37-
sidebar: {
38-
'/guide/': [
39-
'',
40-
'configuration',
41-
'directives',
42-
'webpack',
43-
],
44-
},
21+
nav: [
22+
{
23+
text: 'Guide',
24+
link: '/guide/',
4525
},
46-
},
26+
{
27+
text: 'Patreon',
28+
link: 'https://www.patreon.com/akryum',
29+
},
30+
],
4731
},
32+
host: '127.0.0.1',
4833
}
34+

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
],
99
"license": "MIT",
1010
"scripts": {
11-
"prepublishOnly": "yarn run test",
12-
"test": "yarn run lint",
11+
"prepublishOnly": "npm run test",
12+
"test": "npm run lint",
1313
"lint": "eslint .",
1414
"docs:dev": "vuepress dev docs",
1515
"docs:build": "vuepress build docs"
@@ -34,32 +34,32 @@
3434
"dependencies": {
3535
"chalk": "^2.4.2",
3636
"clipboardy": "^1.2.3",
37-
"compression": "^1.7.3",
37+
"compression": "^1.7.4",
3838
"cross-env": "^5.2.0",
39-
"express": "^4.16.4",
39+
"express": "^4.17.1",
4040
"fs-extra": "^7.0.0",
4141
"hash-sum": "^1.0.2",
42-
"loader-utils": "^1.1.0",
42+
"loader-utils": "^1.2.3",
4343
"lru-cache": "^4.1.3",
4444
"memory-fs": "^0.4.1",
45-
"portfinder": "^1.0.17",
45+
"portfinder": "^1.0.23",
4646
"querystring": "^0.2.0",
4747
"rimraf": "^2.6.2",
4848
"serve-favicon": "^2.5.0",
4949
"webpack-dev-middleware": "^3.4.0",
5050
"webpack-hot-middleware": "^2.24.3",
51-
"webpack-merge": "^4.1.4",
51+
"webpack-merge": "^4.2.1",
5252
"webpack-node-externals": "^1.7.2",
5353
"webpackbar": "^2.6.3"
5454
},
5555
"devDependencies": {
5656
"eslint": "^6.2.1",
5757
"eslint-config-standard": "^14.0.1",
58-
"eslint-plugin-import": "^2.13.0",
58+
"eslint-plugin-import": "^2.18.2",
5959
"eslint-plugin-node": "^9.1.0",
6060
"eslint-plugin-promise": "^4.2.1",
6161
"eslint-plugin-standard": "^4.0.1",
62-
"vuepress": "^0.14.8"
62+
"vuepress": "^1.0.3"
6363
},
6464
"peerDependencies": {
6565
"@vue/cli-service": "^3.0.0",

0 commit comments

Comments
 (0)