release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
2 changed files with 15 additions and 16 deletions
Showing only changes of commit 417689b725 - Show all commits

View File

@ -20,7 +20,7 @@
"@flaschengeist/pricelist-old": "^1.0.0-alpha.1", "@flaschengeist/pricelist-old": "^1.0.0-alpha.1",
"@flaschengeist/schedule": "^1.0.0-alpha.8", "@flaschengeist/schedule": "^1.0.0-alpha.8",
"@flaschengeist/users": "^1.0.0-alpha.4", "@flaschengeist/users": "^1.0.0-alpha.4",
"axios": "^0.24.0", "axios": "^1.4.0",
"pinia": "^2.0.8", "pinia": "^2.0.8",
"quasar": "^2.11.10", "quasar": "^2.11.10",
"vue": "^3.0.0", "vue": "^3.0.0",
@ -41,9 +41,9 @@
"eslint": "^8.5.0", "eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0", "eslint-plugin-vue": "^9.14.1",
"eslint-webpack-plugin": "^3.1.1", "eslint-webpack-plugin": "^4.0.1",
"modify-source-webpack-plugin": "^3.0.0", "modify-source-webpack-plugin": "^4.1.0",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"typescript": "^4.5.4", "typescript": "^4.5.4",
"vuedraggable": "^4.1.0" "vuedraggable": "^4.1.0"

View File

@ -9,9 +9,17 @@
/* eslint-env node */ /* eslint-env node */
/* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-var-requires */
const ESLintPlugin = require('eslint-webpack-plugin'); const ESLintPlugin = require('eslint-webpack-plugin');
const { ModifySourcePlugin } = require('modify-source-webpack-plugin'); const { ModifySourcePlugin, ReplaceOperation } = require('modify-source-webpack-plugin');
const { configure } = require('quasar/wrappers'); const { configure } = require('quasar/wrappers');
const operation = () => {
const custom_plgns = require('./plugin.config.js');
const required_plgns = require('./src/vendor-plugin.config.js');
const plugins = [...custom_plgns, ...required_plgns].map((v) => `import("${v}").catch(() => "${v}")`);
const replace = new ReplaceOperation('all', `\\/\\* *INSERT_PLUGIN_LIST *\\*\\/`, `${plugins.join(', ')}`);
return replace;
};
module.exports = configure(function(/* ctx */) { module.exports = configure(function(/* ctx */) {
return { return {
// https://quasar.dev/quasar-cli/supporting-ts // https://quasar.dev/quasar-cli/supporting-ts
@ -81,16 +89,7 @@ module.exports = configure(function (/* ctx */) {
rules: [ rules: [
{ {
test: /plugins\.ts$/, test: /plugins\.ts$/,
modify: (src, filename) => { operations: [operation()],
const custom_plgns = require('./plugin.config.js');
const required_plgns = require('./src/vendor-plugin.config.js');
return src.replace(
/\/\* *INSERT_PLUGIN_LIST *\*\//,
[...custom_plgns, ...required_plgns]
.map((v) => `import("${v}").catch(() => "${v}")`)
.join(',')
);
},
}, },
], ],
}, },