vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

vue-cli is using outdated/unmaintained version of ts-jest #6762

Open ffxsam opened 3 years ago

ffxsam commented 3 years ago

Version

4.5.14

Reproduction link

github.com

Environment info


Environment Info:

  System:
    OS: macOS 11.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
  Binaries:
    Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.17.0/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.17.0/bin/npm
  Browsers:
    Chrome: 94.0.4606.81
    Edge: Not Found
    Firefox: 93.0
    Safari: 15.0
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1 
    @vue/babel-helper-vue-transform-on:  1.0.2 
    @vue/babel-plugin-jsx:  1.1.1 
    @vue/babel-plugin-transform-vue-jsx:  1.2.1 
    @vue/babel-preset-app:  4.5.14 
    @vue/babel-preset-jsx:  1.2.4 
    @vue/babel-sugar-composition-api-inject-h:  1.2.1 
    @vue/babel-sugar-composition-api-render-instance:  1.2.4 
    @vue/babel-sugar-functional-vue:  1.2.2 
    @vue/babel-sugar-inject-h:  1.2.2 
    @vue/babel-sugar-v-model:  1.2.3 
    @vue/babel-sugar-v-on:  1.2.3 
    @vue/cli-overlay:  4.5.14 
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.14 
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.14 
    @vue/cli-plugin-router:  4.5.14 
    @vue/cli-plugin-typescript: ~4.5.0 => 4.5.14 
    @vue/cli-plugin-unit-jest: ~4.5.0 => 4.5.14 
    @vue/cli-plugin-vuex:  4.5.14 
    @vue/cli-service: ~4.5.0 => 4.5.14 
    @vue/cli-shared-utils:  4.5.14 
    @vue/component-compiler-utils:  3.2.2 
    @vue/eslint-config-standard: ^5.1.2 => 5.1.2 
    @vue/eslint-config-typescript: ^7.0.0 => 7.0.0 
    @vue/preload-webpack-plugin:  1.1.2 
    @vue/test-utils: ^1.0.3 => 1.2.2 
    @vue/web-component-wrapper:  1.3.0 
    eslint-plugin-vue: ^6.2.2 => 6.2.2 
    jest-serializer-vue:  2.0.2 
    typescript: ~4.1.5 => 4.1.6 
    vue: ^2.6.11 => 2.6.14 
    vue-eslint-parser:  7.11.0 
    vue-hot-reload-api:  2.3.4 
    vue-jest:  3.0.7 
    vue-loader:  15.9.8 (16.8.1)
    vue-style-loader:  4.1.3 
    vue-template-compiler: ^2.6.11 => 2.6.14 
    vue-template-es2015-compiler:  1.9.1 
  npmGlobalPackages:
    @vue/cli: 4.5.14

Steps to reproduce

  1. yarn test:unit

What is expected?

I would expect no warning messages

What is actually happening?

I'm getting warning messages:

ts-jest[versions] (WARN) Version 4.1.6 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.


ts-jest 24 is unmaintained: https://github.com/kulshekhar/ts-jest/issues/2632#issuecomment-850394178

I know vue-cli 5.x is close to launch, but 4.x should still be updated/supported. It would be ideal if vue-cli didn't create a project that shows warning messages and relies on a package version that's not maintained anymore.

pawelmiklas commented 3 years ago

Please update it guys