terriajs icon indicating copy to clipboard operation
terriajs copied to clipboard

Clean up duplicates in yarn.lock

Open staffordsmith83 opened this issue 1 year ago • 0 comments

We are starting to get a lot of duplicates in yarn.lock. Could we run yarn-deduplicate , or upgrade to yarn v2.x, I think it has builtin de-duplication? Here is output of yarn why for @babel/runtime, showing that we have 3 versions of that package listed:

=> Found "@babel/[email protected]"
info Has been hoisted to "@babel/runtime"
info Reasons this module exists
   - "workspace-aggregator-6660f4f1-831c-4eef-adee-5a4964da2e5a" depends on it
   - Hoisted from "_project_#terriajs#rc-slider#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-i18next#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-select#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-transition-group#@babel#runtime"
   - Hoisted from "_project_#terriajs#rc-slider#rc-tooltip#@babel#runtime"
   - Hoisted from "_project_#terriajs#rc-slider#rc-util#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-select#@emotion#core#@babel#runtime"
   - Hoisted from "_project_#@babel#preset-env#@babel#plugin-transform-regenerator#regenerator-transform#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-transition-group#dom-helpers#@babel#runtime"
   - Hoisted from "_project_#terriajs#rc-slider#rc-tooltip#rc-trigger#@babel#runtime"
   - Hoisted from "_project_#terriajs#rc-slider#rc-tooltip#rc-trigger#rc-align#@babel#runtime"
   - Hoisted from "_project_#terriajs#rc-slider#rc-tooltip#rc-trigger#rc-motion#@babel#runtime"
   - Hoisted from "_project_#terriajs#react-select#@emotion#css#babel-plugin-emotion#babel-plugin-macros#@babel#runtime"
info Disk size without dependencies: "844KB"
info Disk size with unique dependencies: "888KB"
info Disk size with transitive dependencies: "888KB"
info Number of shared dependencies: 1
=> Found "fetch-mock#@babel/[email protected]"
info This module exists because "_project_#terriajs#fetch-mock" depends on it.
info Disk size without dependencies: "844KB"
info Disk size with unique dependencies: "888KB"
info Disk size with transitive dependencies: "888KB"
info Number of shared dependencies: 1
=> Found "i18next-browser-languagedetector#@babel/[email protected]"
info This module exists because "_project_#terriajs#i18next-browser-languagedetector" depends on it.
info Disk size without dependencies: "880KB"
info Disk size with unique dependencies: "924KB"
info Disk size with transitive dependencies: "924KB"
info Number of shared dependencies: 1
=> Found "i18next#@babel/[email protected]"
info This module exists because "_project_#terriajs#i18next" depends on it.
info Disk size without dependencies: "880KB"
info Disk size with unique dependencies: "924KB"
info Disk size with transitive dependencies: "924KB"
info Number of shared dependencies: 1
✨  Done in 0.84s.

staffordsmith83 avatar Jul 21 '22 09:07 staffordsmith83