Bugzilla – Attachment 175947 Details for
Bug 38770
Remove @vue/cli-service and babel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38770: Remove @vue/cli-service and babel
Bug-38770-Remove-vuecli-service-and-babel.patch (text/plain), 2.65 KB, created by
David Nind
on 2024-12-26 18:30:37 UTC
(
hide
)
Description:
Bug 38770: Remove @vue/cli-service and babel
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-12-26 18:30:37 UTC
Size:
2.65 KB
patch
obsolete
>From f1e6876f36f18767cb232cfc265de90a9fde548f Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Sun, 22 Dec 2024 09:33:45 +0100 >Subject: [PATCH] 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> >--- > cypress.config.ts | 7 ------- > package.json | 6 ------ > t/cypress/plugins/index.js | 2 -- > 3 files changed, 15 deletions(-) > >diff --git a/cypress.config.ts b/cypress.config.ts >index f2c3619efa..e90da4e019 100644 >--- a/cypress.config.ts >+++ b/cypress.config.ts >@@ -24,11 +24,4 @@ export default defineConfig({ > }, > }, > }, >- >- component: { >- devServer: { >- framework: "vue-cli", >- bundler: "webpack", >- }, >- }, > }); >diff --git a/package.json b/package.json >index 1040420d1c..e7b9bb393c 100644 >--- a/package.json >+++ b/package.json >@@ -14,8 +14,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", >@@ -69,13 +67,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-config-prettier": "^9.1.0", >diff --git a/t/cypress/plugins/index.js b/t/cypress/plugins/index.js >index e35c437a8b..042e8ef88a 100644 >--- a/t/cypress/plugins/index.js >+++ b/t/cypress/plugins/index.js >@@ -1,11 +1,9 @@ > const { startDevServer } = require('@cypress/webpack-dev-server') >-const webpackConfig = require('@vue/cli-service/webpack.config.js') > > module.exports = (on, config) => { > on('dev-server:start', options => > startDevServer({ > options, >- webpackConfig > }) > ) > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38770
:
175885
|
175886
|
175887
| 175947 |
175948