Skip to content

Commit d914316

Browse files
committed
📝 update VuePress
1 parent 98334ed commit d914316

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.eslintignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/.nyc_output
2-
/coverage
3-
/node_modules
4-
51
!.vuepress
2+
3+
/coverage
64
/docs/.vuepress/dist
5+
/node_modules

docs/.vuepress/config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ module.exports = {
1111
evergreen: true,
1212

1313
plugins: {
14-
"@vuepress/google-analytics": { ga: "UA-12936571-6" },
15-
"@vuepress/last-updated": {},
1614
"@vuepress/pwa": { updatePopup: true },
1715
},
1816

@@ -50,7 +48,10 @@ module.exports = {
5048
module: {
5149
rules: [
5250
{
53-
test: new RegExp(String.raw`internal[\\/]get-linters\.js$`),
51+
test: new RegExp(
52+
String.raw`internal[\\/]get-linters\.js$`,
53+
"u"
54+
),
5455
loader: "string-replace-loader",
5556
options: {
5657
search: "[\\s\\S]+", // whole file.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
"devDependencies": {
2020
"@mysticatea/eslint-plugin": "^9.0.1",
2121
"@types/node": "^10.0.4",
22-
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.39",
23-
"@vuepress/plugin-last-updated": "^1.0.0-alpha.39",
24-
"@vuepress/plugin-pwa": "^1.0.0-alpha.39",
22+
"@vuepress/plugin-pwa": "^1.0.1",
2523
"babel-eslint": "^10.0.1",
2624
"codecov": "^3.3.0",
2725
"cross-spawn": "^6.0.5",
@@ -34,7 +32,7 @@
3432
"rimraf": "^2.6.2",
3533
"string-replace-loader": "^2.1.1",
3634
"vue-eslint-editor": "^0.1.0",
37-
"vuepress": "^1.0.0-alpha.39"
35+
"vuepress": "^1.0.1"
3836
},
3937
"scripts": {
4038
"preversion": "npm test",

0 commit comments

Comments
 (0)