vuejs / vue-jest

Jest Vue transformer
MIT License
746 stars 157 forks source link

Transition to @babel/core ( 7.x ) #401

Open gkatsanos opened 2 years ago

gkatsanos commented 2 years ago

`babel-core seems to be still a dependency instead of the 7.x version @babel/core - years after this transition happened.. From my understanding this is creating issues of having duplicate libraries and also being stuck with corejs 2.x (?)

What's the amount of work needed to transition to @babel/core ?

annot find module 'babel-core'
    Require stack:
    - /Users/george/repos/work/company-profile-frontend/node_modules/vue-jest/lib/compilers/babel-compiler.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/vue-jest/lib/process.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/vue-jest/vue-jest.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/@jest/transform/build/ScriptTransformer.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/@jest/transform/build/index.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/jest-runtime/build/index.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/jest-runner/build/testWorker.js
    - /Users/george/repos/work/company-profile-frontend/node_modules/jest-worker/build/workers/processChild.js

    Require stack:
      node_modules/vue-jest/lib/compilers/babel-compiler.js
      node_modules/vue-jest/lib/process.js
      node_modules/vue-jest/vue-jest.js
      node_modules/@jest/transform/build/ScriptTransformer.js
      node_modules/@jest/transform/build/index.js
      node_modules/jest-runtime/build/index.js
      node_modules/jest-runner/build/testWorker.js
      node_modules/jest-worker/build/workers/processChild.js
  "devDependencies": {
    "@babel/core": "^7.15.8",
    "vue-jest": "^3.0.7",
    "@babel/preset-env": "^7.15.6",
    "@babel/runtime-corejs3": "^7.15.4",
  }