yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.4k stars 2.73k forks source link

Questions about `resolutions` #9027

Open eezz4 opened 8 months ago

eezz4 commented 8 months ago

Purpose

It conflicts with my version of TS.

fork-ts-checker-webpack-plugin package.json

  "devDependencies": {
    "typescript": "^3.8.3"
  },
my 'package.json'

  "resolutions": {
    "react-scripts/react-dev-utils/fork-ts-checker-webpack-plugin/typescript": "^3.8.3"
  },
my `yarn.lock` has no TS ^3.8.3 dependencies recorded.

fork-ts-checker-webpack-plugin@^6.5.0:
  version "6.5.x"
     .....
my 'tsconfig.json' The tsconfig.json file does not seem to be applied when installing...

  "exclude": ["node_modules"],