From 7c5d5142c60bc547b28862abe845fddc4784e830 Mon Sep 17 00:00:00 2001 From: ota Date: Tue, 7 Apr 2020 11:53:30 +0900 Subject: [PATCH] Upgrade vuepress and vue-eslint-editor. --- docs/.vuepress/components/eslint-code-block.vue | 3 +-- docs/.vuepress/config.js | 11 +++++++---- docs/.vuepress/{style.styl => styles/index.styl} | 2 +- docs/.vuepress/theme/index.js | 3 +++ docs/.vuepress/theme/{ => layouts}/Layout.vue | 13 ++++++++----- docs/rules/README.md | 4 ++-- package.json | 7 ++++--- tools/update-docs-rules-index.js | 4 ++-- 8 files changed, 28 insertions(+), 19 deletions(-) rename docs/.vuepress/{style.styl => styles/index.styl} (81%) create mode 100644 docs/.vuepress/theme/index.js rename docs/.vuepress/theme/{ => layouts}/Layout.vue (83%) diff --git a/docs/.vuepress/components/eslint-code-block.vue b/docs/.vuepress/components/eslint-code-block.vue index ab33abdf1..fed685d91 100644 --- a/docs/.vuepress/components/eslint-code-block.vue +++ b/docs/.vuepress/components/eslint-code-block.vue @@ -18,8 +18,7 @@ + diff --git a/docs/rules/README.md b/docs/rules/README.md index e184873e5..cc2a97313 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -2,10 +2,10 @@ sidebarDepth: 0 --- - - # Available rules + + ::: tip Legend :wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems. ::: diff --git a/package.json b/package.json index c6bde732b..2d568134e 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "devDependencies": { "@types/node": "^4.2.16", "@typescript-eslint/parser": "^2.6.1", + "@vuepress/plugin-pwa": "^1.4.0", "acorn": "^7.1.0", "babel-eslint": "^10.0.2", "chai": "^4.1.0", @@ -66,12 +67,12 @@ "eslint-plugin-import": "^2.18.2", "eslint-plugin-vue": "file:.", "eslint-plugin-vue-libs": "^4.0.0", - "eslint4b": "^6.6.0", + "eslint4b": "^6.8.0", "lodash": "^4.17.4", "mocha": "^5.2.0", "nyc": "^12.0.2", "typescript": "^3.5.2", - "vue-eslint-editor": "^0.1.4", - "vuepress": "^0.14.5" + "vue-eslint-editor": "^1.1.0", + "vuepress": "^1.4.0" } } diff --git a/tools/update-docs-rules-index.js b/tools/update-docs-rules-index.js index e2283b3bf..23b1172b5 100644 --- a/tools/update-docs-rules-index.js +++ b/tools/update-docs-rules-index.js @@ -94,10 +94,10 @@ fs.writeFileSync( sidebarDepth: 0 --- - - # Available rules + + ::: tip Legend :wrench: Indicates that the rule is fixable, and using \`--fix\` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems. :::