bump vuepress

This commit is contained in:
Matteias Collet 2021-12-28 15:34:00 +00:00 committed by GitHub
parent 855bf76902
commit 9a9a64ede6
4 changed files with 1452 additions and 257 deletions

View file

@ -13,7 +13,7 @@
"ms-vsliveshare.vsliveshare", "ms-vsliveshare.vsliveshare",
"wayou.vscode-todo-highlight", "wayou.vscode-todo-highlight",
], ],
"forwardPorts": [8080], "forwardPorts": [8080, 3000],
"postCreateCommand": "npm install", "postCreateCommand": "npm install",
"remoteUser": "node" "remoteUser": "node"
} }

1692
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -15,22 +15,22 @@
"translations:compare": "node ./scripts/compare_translations.js", "translations:compare": "node ./scripts/compare_translations.js",
"codes:inject": "node ./scripts/inject_codes.js && npm run format", "codes:inject": "node ./scripts/inject_codes.js && npm run format",
"codes:clean": "node ./scripts/clean_codes.js && npm run format", "codes:clean": "node ./scripts/clean_codes.js && npm run format",
"precommit": "npm run codes:clean && git add ." "precommit": "npm run codes:clean && git add .",
"serve": "serve ./site/.vuepress/dist"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"@vuepress/plugin-back-to-top": "1.8.3", "@vuepress/plugin-back-to-top": "1.9.5",
"@vuepress/plugin-medium-zoom": "1.8.3", "@vuepress/plugin-medium-zoom": "1.9.5",
"jsdom": "19.0.0", "jsdom": "19.0.0",
"markdown-it-attrs": "4.1.1", "markdown-it-attrs": "4.1.1",
"pre-commit": "1.2.2", "pre-commit": "1.2.2",
"prettier": "2.5.1", "prettier": "2.5.1",
"vuepress": "1.8.3" "serve": "^13.0.2",
"vuepress": "1.9.5"
}, },
"dependencies": { "dependencies": {
"vuedraggable": "^2.24.3" "vuedraggable": "^2.24.3"
}, },
"pre-commit": [ "pre-commit": ["precommit"]
"precommit"
]
} }

View file

@ -63,7 +63,6 @@ export default {
]); ]);
} catch {} } catch {}
console.log(`Preparing jdownload for ${this.format}`);
const fileName = gameVersions.find((v) => v.identifier === this.versionIdentifier).version; const fileName = gameVersions.find((v) => v.identifier === this.versionIdentifier).version;
switch (this.format) { switch (this.format) {