Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
fix(docs): upgrade vuepress to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiocro committed Jun 12, 2019
1 parent 55fd844 commit b6f2517
Show file tree
Hide file tree
Showing 5 changed files with 2,292 additions and 1,877 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lib/
gh-pages/
npm-debug.log
test/coverage
.temp/
6 changes: 3 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const pkg = require('../../package.json');

module.exports = {
module.exports = ctx => ({
base:'/vue-i18next/',
title: pkg.name,
description: pkg.description,

head: [
['meta', { name: 'theme-color', content: '#3eaf7c' }],
],
serviceWorker: false,
theme: '@vuepress/vue',
themeConfig: {
repo: 'panter/vue-i18next',
editLinks: true,
Expand Down Expand Up @@ -50,4 +50,4 @@ module.exports = {
}
}
}
}
})
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ features:
details: In addition to simple translation, support localization such as pluralization, number, datetime ... etc
- title: Component-oriented
details: You can manage locale messages on single file component
footer: MIT Licensed | Copyright © 2019 panter ag
footer: MIT Licensed | Copyright © 2019-present panter ag
---
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
"test:types": "tsc -p typings",
"docs:dev": "vuepress dev docs",
"docs:clean": "rm -rf docs/.vuepress/**",
"docs:build": "vuepress build docs"
"docs:dev": "vuepress dev docs --temp .temp",
"docs:build": "vuepress build docs --temp .temp"
},
"main": "./dist/vue-i18next.common.js",
"module": "./dist/vue-i18next.esm.js",
Expand All @@ -50,6 +49,8 @@
"@babel/preset-env": "^7.2.3",
"@babel/preset-stage-2": "^7.0.0",
"@types/i18next": "^8.4.3",
"@vuepress/plugin-pwa": "^1.0.1",
"@vuepress/theme-vue": "^1.0.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-add-module-exports": "^1.0.0",
Expand All @@ -58,13 +59,11 @@
"chai": "^3.5.0",
"coveralls": "^2.13.1",
"cross-env": "^3.0.0",
"css-loader": "^0.25.0",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.8.0",
"file-loader": "^0.9.0",
"gh-pages": "^1.0.0",
"i18next": "^6.0.1",
"jasmine": "^2.5.3",
Expand Down Expand Up @@ -100,10 +99,9 @@
"sinon-chai": "^2.8.0",
"typescript": "^2.8.3",
"vue": "^2.5.16",
"vue-class-component": "^6.2.0",
"vue-loader": "^10.0.0",
"vue-template-compiler": "^2.1.0",
"vuepress": "^0.13.0",
"vue-class-component": "^7.1.0",
"vue-template-compiler": "^2.5.16",
"vuepress": "^1.0.1",
"webpack": "^4.28.1",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14"
Expand Down
Loading

0 comments on commit b6f2517

Please sign in to comment.