node 16 major upgrade.

This commit is contained in:
Miroslav Šedivý 2022-05-14 19:25:22 +02:00
parent bf9361a61f
commit 6fcbcedc6d
4 changed files with 2669 additions and 8351 deletions

View File

@ -1,4 +1,4 @@
FROM node:14-buster-slim FROM node:16-buster-slim
COPY . /app COPY . /app

10984
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
"build": "vue-cli-service build --target lib --name neko ./src/index.ts" "build": "vue-cli-service build --target lib --name neko ./src/index.ts"
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.4", "axios": "^0.27.2",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"resize-observer-polyfill": "^1.5.1", "resize-observer-polyfill": "^1.5.1",
"vue": "^2.6.14", "vue": "^2.6.14",
@ -26,24 +26,24 @@
}, },
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1", "@fortawesome/fontawesome-free": "^6.1.1",
"@types/node": "^14.18.18", "@types/node": "^16.11.35",
"@types/vue": "^2.0.0", "@types/vue": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^4.33.0", "@typescript-eslint/parser": "^5.23.0",
"@vue/cli-plugin-babel": "^4.5.17", "@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-eslint": "^4.5.17", "@vue/cli-plugin-eslint": "^5.0.4",
"@vue/cli-plugin-typescript": "^4.5.17", "@vue/cli-plugin-typescript": "^5.0.4",
"@vue/cli-service": "^4.5.17", "@vue/cli-service": "^5.0.4",
"@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^7.0.0", "@vue/eslint-config-typescript": "^10.0.0",
"eslint": "^7.32.0", "eslint": "^8.15.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.20.0", "eslint-plugin-vue": "^8.7.1",
"prettier": "^2.6.2", "prettier": "^2.6.2",
"sass": "^1.51.0", "sass": "^1.51.0",
"sass-loader": "^10.2.1", "sass-loader": "^12.6.0",
"ts-node": "^9.1.1", "ts-node": "^10.7.0",
"typescript": "^4.4.4", "typescript": "^4.6.4",
"vue-template-compiler": "^2.6.14" "vue-template-compiler": "^2.6.14"
}, },
"files": [ "files": [

View File

@ -11,7 +11,7 @@ module.exports = {
}, },
}, },
devServer: { devServer: {
disableHostCheck: true, allowedHosts: "all",
proxy: { proxy: {
'^/api': { '^/api': {
target: 'http://' + process.env.NEKO_HOST + ':' + process.env.NEKO_PORT + '/', target: 'http://' + process.env.NEKO_HOST + ':' + process.env.NEKO_PORT + '/',