yarn icon indicating copy to clipboard operation
yarn copied to clipboard

Questions about `resolutions`

Open eezz4 opened this issue 1 year ago • 0 comments

  • yarn v1.22.21

Question

Can I add a dependency for a specific submodule?

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"],

eezz4 avatar Jan 20 '24 04:01 eezz4