Bug 38770: Remove @vue/cli-service and babel
And the webpack related dead config. Test plan: 1. Do not apply 2. Switch to node 22 sudo sed 's/18.x/22.x/g' -i /etc/apt/sources.list.d/nodesource.list sudo apt update ; sudo apt install nodejs 3. Try to install node deps sudo yarn install --modules-folder /kohadevbox/node_modules 4. It fails error @achrinza/node-ipc@9.2.5: The engine "node" is incompatible with this module. Expected version "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18". Got "22.12.0" 5. Apply patches 6. Try to install node deps sudo yarn install --modules-folder /kohadevbox/node_modules 7. It works! :) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
04aa82aa23
commit
4dbe67f6f2
3 changed files with 6 additions and 21 deletions
|
@ -24,11 +24,4 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
component: {
|
||||
devServer: {
|
||||
framework: "vue-cli",
|
||||
bundler: "webpack",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
"@fortawesome/vue-fontawesome": "^3.0.0-5",
|
||||
"@popperjs/core": "^2.11.6",
|
||||
"@redocly/cli": "^1.25.11",
|
||||
"@vue/cli-service": "^5.0.1",
|
||||
"babel-core": "^7.0.0-beta.3",
|
||||
"bootstrap": "^5.3.3",
|
||||
"css-loader": "^6.6.0",
|
||||
"cypress": "^12.17.2",
|
||||
|
@ -71,13 +69,9 @@
|
|||
"author": "",
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.17.5",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@rspack/cli": "^1.0.1",
|
||||
"@rspack/core": "^1.0.1",
|
||||
"@vue/compiler-sfc": "^3.2.31",
|
||||
"babel-loader": "^8.2.3",
|
||||
"babelify": "^10.0.0",
|
||||
"browserify": "^17.0.0",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
"eslint": "^9.12.0",
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
const { startDevServer } = require("@cypress/webpack-dev-server");
|
||||
const webpackConfig = require("@vue/cli-service/webpack.config.js");
|
||||
const { startDevServer } = require('@cypress/webpack-dev-server')
|
||||
|
||||
module.exports = (on, config) => {
|
||||
on("dev-server:start", options =>
|
||||
startDevServer({
|
||||
options,
|
||||
webpackConfig,
|
||||
})
|
||||
);
|
||||
on('dev-server:start', options =>
|
||||
startDevServer({
|
||||
options,
|
||||
})
|
||||
)
|
||||
|
||||
return config;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue