Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up duplicates in yarn.lock #6453

Open
staffordsmith83 opened this issue Jul 21, 2022 · 0 comments · May be fixed by #7468
Open

Clean up duplicates in yarn.lock #6453

staffordsmith83 opened this issue Jul 21, 2022 · 0 comments · May be fixed by #7468

Comments

@staffordsmith83
Copy link
Contributor

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.
pjonsson added a commit to pjonsson/terriajs that referenced this issue Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
@pjonsson pjonsson linked a pull request Feb 16, 2025 that will close this issue
4 tasks
pjonsson added a commit to pjonsson/terriajs that referenced this issue Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
pjonsson added a commit to pjonsson/terriajs that referenced this issue Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant