chore(config): Enable HMR for plugins

This commit is contained in:
Ferdinand Thiessen 2021-07-02 15:18:18 +02:00
parent a38954cf70
commit 1c36399ac0
3 changed files with 86 additions and 81 deletions

View File

@ -20,11 +20,11 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"cordova": "^10.0.0", "cordova": "^10.0.0",
"pinia": "^2.0.0-beta.3", "pinia": "^2.0.0-beta.3",
"quasar": "^2.0.0" "quasar": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@flaschengeist/types": "^1.0.0-alpha.1", "@flaschengeist/types": "^1.0.0-alpha.1",
"@quasar/app": "^3.0.0", "@quasar/app": "^3.0.1",
"@quasar/extras": "^1.10.7", "@quasar/extras": "^1.10.7",
"@types/node": "^12.20.15", "@types/node": "^12.20.15",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",

View File

@ -92,16 +92,20 @@ module.exports = configure(function (/* ctx */) {
} }
] ]
}]) }])
//chain.resolve.alias.set('flaschengeist', '.') chain.merge({
snapshot: {
managedPaths: []
}
})
} }
}, },
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer // Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
devServer: { devServer: {
https: false, https: false,
port: 8080, port: 8080,
open: false // opens browser window automatically open: false, // opens browser window automatically
watchFiles: {paths: ['/node_modules/@flaschengeist/**/*']}
}, },
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework // https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework

153
yarn.lock
View File

@ -1078,10 +1078,10 @@
resolved "https://registry.yarnpkg.com/@positron/stack-trace/-/stack-trace-1.0.0.tgz#14fcc712a530038ef9be1ce6952315a839f466a8" resolved "https://registry.yarnpkg.com/@positron/stack-trace/-/stack-trace-1.0.0.tgz#14fcc712a530038ef9be1ce6952315a839f466a8"
integrity sha1-FPzHEqUwA475vhzmlSMVqDn0Zqg= integrity sha1-FPzHEqUwA475vhzmlSMVqDn0Zqg=
"@quasar/app@^3.0.0": "@quasar/app@^3.0.1":
version "3.0.0" version "3.0.1"
resolved "https://registry.yarnpkg.com/@quasar/app/-/app-3.0.0.tgz#46ec2e31d8512de6845edd0b203df9f8374d158d" resolved "https://registry.yarnpkg.com/@quasar/app/-/app-3.0.1.tgz#59629edfd4c94732a5b0e17a7a111440a1a6f0dd"
integrity sha512-EVr9NbCumDntvKOmn7c+3gTlte4yc0Rho9b+Vly0Rla35BO2aNtlUcjKzpppDtNKtO9bGciBmCQf2Br32uINvg== integrity sha512-a1hm4miFkvc9setIqtVAKyILHhJ0ZD+Xw52gtGgwwSNGQfKL6UY04837bkjzVOXQ1ybcd5Kpjv3kWPhdTL3TZA==
dependencies: dependencies:
"@quasar/babel-preset-app" "2.0.1" "@quasar/babel-preset-app" "2.0.1"
"@quasar/fastclick" "1.1.4" "@quasar/fastclick" "1.1.4"
@ -1092,8 +1092,8 @@
"@types/terser-webpack-plugin" "5.0.3" "@types/terser-webpack-plugin" "5.0.3"
"@types/webpack-bundle-analyzer" "4.4.0" "@types/webpack-bundle-analyzer" "4.4.0"
"@types/webpack-dev-server" "3.11.3" "@types/webpack-dev-server" "3.11.3"
"@vue/compiler-sfc" "3.1.1" "@vue/compiler-sfc" "3.1.2"
"@vue/server-renderer" "3.1.1" "@vue/server-renderer" "3.1.2"
archiver "5.3.0" archiver "5.3.0"
autoprefixer "10.2.6" autoprefixer "10.2.6"
browserslist "^4.12.0" browserslist "^4.12.0"
@ -1144,9 +1144,9 @@
ts-loader "8.0.17" ts-loader "8.0.17"
typescript "4.2.2" typescript "4.2.2"
url-loader "4.1.1" url-loader "4.1.1"
vue "3.1.1" vue "3.1.2"
vue-loader "16.2.0" vue-loader "16.2.0"
vue-router "4.0.9" vue-router "4.0.10"
vue-style-loader "4.1.3" vue-style-loader "4.1.3"
webpack "^5.35.0" webpack "^5.35.0"
webpack-bundle-analyzer "4.4.2" webpack-bundle-analyzer "4.4.2"
@ -1275,7 +1275,7 @@
"@types/estree" "*" "@types/estree" "*"
"@types/json-schema" "*" "@types/json-schema" "*"
"@types/estree@*": "@types/estree@*", "@types/estree@^0.0.48":
version "0.0.48" version "0.0.48"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.48.tgz#18dc8091b285df90db2f25aa7d906cfc394b7f74" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.48.tgz#18dc8091b285df90db2f25aa7d906cfc394b7f74"
integrity sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew== integrity sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew==
@ -1523,36 +1523,37 @@
"@typescript-eslint/types" "4.28.0" "@typescript-eslint/types" "4.28.0"
eslint-visitor-keys "^2.0.0" eslint-visitor-keys "^2.0.0"
"@vue/compiler-core@3.1.1": "@vue/compiler-core@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.1.tgz#4f2c5d70eabd454675714cc8bd2b97f6a8efb196" resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.2.tgz#31ab1d88e1706a5c7a545faeeb64c31bd0101db0"
integrity sha512-Z1RO3T6AEtAUFf2EqqovFm3ohAeTvFzRtB0qUENW2nEerJfdlk13/LS1a0EgsqlzxmYfR/S/S/gW9PLbFZZxkA== integrity sha512-nHmq7vLjq/XM2IMbZUcKWoH5sPXa2uR/nIKZtjbK5F3TcbnYE/zKsrSUR9WZJ03unlwotNBX1OyxVt9HbWD7/Q==
dependencies: dependencies:
"@babel/parser" "^7.12.0" "@babel/parser" "^7.12.0"
"@babel/types" "^7.12.0" "@babel/types" "^7.12.0"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
estree-walker "^2.0.1" estree-walker "^2.0.1"
source-map "^0.6.1" source-map "^0.6.1"
"@vue/compiler-dom@3.1.1": "@vue/compiler-dom@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.1.tgz#ef60d856ac2ede5b2ad5c72a7a68122895e3d652" resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.2.tgz#75a7731bcc5d9718183a3c56c18e992f7c13e7b1"
integrity sha512-nobRIo0t5ibzg+q8nC31m+aJhbq8FbWUoKvk6h3Vs1EqTDJaj6lBTcVTq5or8AYht7FbSpdAJ81isbJ1rWNX7A== integrity sha512-k2+SWcWH0jL6WQAX7Or2ONqu5MbtTgTO0dJrvebQYzgqaKMXNI90RNeWeCxS4BnNFMDONpHBeFgbwbnDWIkmRg==
dependencies: dependencies:
"@vue/compiler-core" "3.1.1" "@vue/compiler-core" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
"@vue/compiler-sfc@3.1.1": "@vue/compiler-sfc@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.1.tgz#d4e4507c013d0b219f0b106b317ec5bb1cde3398" resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.2.tgz#23ff1e366d887b964899568bffcb11e3d0511fc4"
integrity sha512-lSgMsZaYHF+bAgryq5aUqpvyfhu52GJI2/4LoiJCE5uaxc6FCZfxfgqgw/d9ltiZghv+HiISFtmQVAVvlsk+/w== integrity sha512-SeG/2+DvwejQ7oAiSx8BrDh5qOdqCYHGClPiTvVIHTfSIHiS2JjMbCANdDCjHkTOh/O7WZzo2JhdKm98bRBxTw==
dependencies: dependencies:
"@babel/parser" "^7.13.9" "@babel/parser" "^7.13.9"
"@babel/types" "^7.13.0" "@babel/types" "^7.13.0"
"@vue/compiler-core" "3.1.1" "@types/estree" "^0.0.48"
"@vue/compiler-dom" "3.1.1" "@vue/compiler-core" "3.1.2"
"@vue/compiler-ssr" "3.1.1" "@vue/compiler-dom" "3.1.2"
"@vue/shared" "3.1.1" "@vue/compiler-ssr" "3.1.2"
"@vue/shared" "3.1.2"
consolidate "^0.16.0" consolidate "^0.16.0"
estree-walker "^2.0.1" estree-walker "^2.0.1"
hash-sum "^2.0.0" hash-sum "^2.0.0"
@ -1564,55 +1565,55 @@
postcss-selector-parser "^6.0.4" postcss-selector-parser "^6.0.4"
source-map "^0.6.1" source-map "^0.6.1"
"@vue/compiler-ssr@3.1.1": "@vue/compiler-ssr@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.1.tgz#1d08b98601397258ed059b75966e0e94a385d770" resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.2.tgz#e33ad0876d9b96f0950e22b0e174b94c1b049d2d"
integrity sha512-7H6krZtVt3h/YzfNp7eYK41hMDz8ZskiBy+Wby+EDRINX6BD9JQ5C8zyy2xAa7T6Iz2VrQzsaJ/Bb52lTPSS5A== integrity sha512-BwXo9LFk5OSWdMyZQ4bX1ELHX0Z/9F+ld/OaVnpUPzAZCHslBYLvyKUVDwv2C/lpLjRffpC2DOUEdl1+RP1aGg==
dependencies: dependencies:
"@vue/compiler-dom" "3.1.1" "@vue/compiler-dom" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
"@vue/devtools-api@^6.0.0-beta.14": "@vue/devtools-api@^6.0.0-beta.14":
version "6.0.0-beta.14" version "6.0.0-beta.14"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.0-beta.14.tgz#6ed2d6f8d66a9256c9ad04bfff08309ba87b9723" resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.0-beta.14.tgz#6ed2d6f8d66a9256c9ad04bfff08309ba87b9723"
integrity sha512-44fPrrN1cqcs6bFkT0C+yxTM6PZXLbR+ESh1U1j8UD22yO04gXvxH62HApMjLbS3WqJO/iCNC+CYT+evPQh2EQ== integrity sha512-44fPrrN1cqcs6bFkT0C+yxTM6PZXLbR+ESh1U1j8UD22yO04gXvxH62HApMjLbS3WqJO/iCNC+CYT+evPQh2EQ==
"@vue/reactivity@3.1.1": "@vue/reactivity@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.1.tgz#9c02fd146a6c3b03e7d658b7cf76f4b69b0f98c8" resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.2.tgz#66fa530dd726d2fef285ae55d02106a727db463b"
integrity sha512-DsH5woNVCcPK1M0RRYVgJEU1GJDU2ASOKpAqW3ppHk+XjoFLCbqc/26RTCgTpJYd9z8VN+79Q1u7/QqgQPbuLQ== integrity sha512-glJzJoN2xE7I2lRvwKM5u1BHRPTd1yc8iaf//Lai/78/uYAvE5DXp5HzWRFOwMlbRvMGJHIQjOqoxj87cDAaag==
dependencies: dependencies:
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
"@vue/runtime-core@3.1.1": "@vue/runtime-core@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.1.tgz#542110c09a643d7d80646a2f071aff6b324c4158" resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.2.tgz#f4dbc503cfc9a02ab5f1ebe002c3322512064a54"
integrity sha512-GboqR02txOtkd9F3Ysd8ltPL68vTCqIx2p/J52/gFtpgb5FG9hvOAPEwFUqxeEJRu7ResvQnmdOHiEycGPCLhQ== integrity sha512-gsPZG4dRIkixuuKmoj4P9IHgfT0yaFLcqWOM5F/bCk0nxQn1XtxH8oUehWuET726KhbukvDoJfe9G2CKviy80w==
dependencies: dependencies:
"@vue/reactivity" "3.1.1" "@vue/reactivity" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
"@vue/runtime-dom@3.1.1": "@vue/runtime-dom@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.1.tgz#5539bbce132d29f6445b4964cb7b4164a89a5ce6" resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.2.tgz#0fd8724f14bc7ba64b6c954d874a8d8a4fcb5fe9"
integrity sha512-o57n/199e/BBAmLRMSXmD2r12Old/h/gf6BgL0RON1NT2pwm6MWaMY4Ul55eyq+FsDILz4jR/UgoPQ9vYB8xcw== integrity sha512-QvINxjLucEZFzp5f0NVu7JqWYCv5TKQfkH2FDs/N6QNE4iKcYtKrWdT0HKfABnVXG28Znqv6rIH0dH4ZAOwxpA==
dependencies: dependencies:
"@vue/runtime-core" "3.1.1" "@vue/runtime-core" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
csstype "^2.6.8" csstype "^2.6.8"
"@vue/server-renderer@3.1.1": "@vue/server-renderer@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.1.1.tgz#aaf687ae3699f485e33d8b732e6ce17e43071685" resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.1.2.tgz#fd5c4ac433cbcea4f44b9ef971ff612786e1d04f"
integrity sha512-b0UFiOfF27CGeWw25eoaRTiYqezBxY/ODl2VeuDMgdcbakdPP4T/ieSyjuN5g/ZxDCnGO6q/sMRZQgmQhYltww== integrity sha512-XDw8KTrz/siiU5p6Zlicvf2KIjSZrqaxATBPM/9FYNnyv4LTS14JC5daTL13rk50d3UPBurRR/3wJupVvtQJ4w==
dependencies: dependencies:
"@vue/compiler-ssr" "3.1.1" "@vue/compiler-ssr" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
"@vue/shared@3.1.1": "@vue/shared@3.1.2":
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.1.tgz#2287cfc3dc20e5b20aeb65c2c3a56533bdca801c" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.2.tgz#1069c0bc7d6f4bd15ccf3a5f3be29450aca368f9"
integrity sha512-g+4pzAw7PYSjARtLBoDq6DmcblX8i9KJHSCnyM5VDDFFifUaUT9iHbFpOF/KOizQ9f7QAqU2JH3Y6aXjzUMhVA== integrity sha512-EmH/poaDWBPJaPILXNI/1fvUbArJQmmTyVCwvvyDYDFnkPoTclAbHRAtyIvqfez7jybTDn077HTNILpxlsoWhg==
"@webassemblyjs/ast@1.11.0": "@webassemblyjs/ast@1.11.0":
version "1.11.0" version "1.11.0"
@ -6818,10 +6819,10 @@ qs@~6.5.2:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
quasar@^2.0.0: quasar@^2.0.1:
version "2.0.0" version "2.0.1"
resolved "https://registry.yarnpkg.com/quasar/-/quasar-2.0.0.tgz#818a22e498e6399ba4af4c930d3076fdf41a3bdc" resolved "https://registry.yarnpkg.com/quasar/-/quasar-2.0.1.tgz#31119684cc7a1b918c28c34aa910cc05c2a05299"
integrity sha512-vnjonPbp2D8MHBjyA+oF9CRHWn1gYoKIJaonqEOAqMC/ccUoUFN8qLizngmLMY9JRcC9xAdZ/wXUC6cn/l3U5A== integrity sha512-DDxcuEardFvebCTNeGeneS/3NazY9ZqNPII9o2VC/ujZn7/hIWDsB0ajYJG8l/pV8kkiaiaIBaE93EzoXfEXrA==
querystring@0.2.0: querystring@0.2.0:
version "0.2.0" version "0.2.0"
@ -8253,10 +8254,10 @@ vue-loader@16.2.0:
hash-sum "^2.0.0" hash-sum "^2.0.0"
loader-utils "^2.0.0" loader-utils "^2.0.0"
vue-router@4.0.9: vue-router@4.0.10:
version "4.0.9" version "4.0.10"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.0.9.tgz#248496941b79c4c1010f6ebfcf235cd4267d85da" resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.0.10.tgz#ec8fda032949b2a31d3273170f8f376e86eb52ac"
integrity sha512-i3IaZJ57YeMbRHQlqKyXdUMr5NzTCcJkn3f8u38TsZjYWtGcd3IX2zRd3389SCOwuRf11mgfHAyngR6FVDE9og== integrity sha512-YbPf6QnZpyyWfnk7CUt2Bme+vo7TLfg1nGZNkvYqKYh4vLaFw6Gn8bPGdmt5m4qrGnKoXLqc4htAsd3dIukICA==
dependencies: dependencies:
"@vue/devtools-api" "^6.0.0-beta.14" "@vue/devtools-api" "^6.0.0-beta.14"
@ -8268,14 +8269,14 @@ vue-style-loader@4.1.3:
hash-sum "^1.0.2" hash-sum "^1.0.2"
loader-utils "^1.0.2" loader-utils "^1.0.2"
vue@3.1.1: vue@3.1.2:
version "3.1.1" version "3.1.2"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.1.tgz#9ad655758a0fa6c0dee5b3d2431d3912a9b381aa" resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.2.tgz#647f8e3949a3d600771dca25d50225dc3e594c64"
integrity sha512-j9fj3PNPMxo2eqOKYjMuss9XBS8ZtmczLY3kPvjcp9d3DbhyNqLYbaMQH18+1pDIzzVvQCQBvIf774LsjjqSKA== integrity sha512-q/rbKpb7aofax4ugqu2k/uj7BYuNPcd6Z5/qJtfkJQsE0NkwVoCyeSh7IZGH61hChwYn3CEkh4bHolvUPxlQ+w==
dependencies: dependencies:
"@vue/compiler-dom" "3.1.1" "@vue/compiler-dom" "3.1.2"
"@vue/runtime-dom" "3.1.1" "@vue/runtime-dom" "3.1.2"
"@vue/shared" "3.1.1" "@vue/shared" "3.1.2"
vuedraggable@^4.0.1: vuedraggable@^4.0.1:
version "4.0.3" version "4.0.3"