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

(chore) Remove unused deps #1668

Merged
merged 6 commits into from
Nov 8, 2024
Merged

(chore) Remove unused deps #1668

merged 6 commits into from
Nov 8, 2024

Conversation

aeharding
Copy link
Owner

No description provided.

@aeharding
Copy link
Owner Author

➜  voyager git:(remove-une) ✗ npx can-i-ignore-scripts
Need to install the following packages:
can-i-ignore-scripts@0.1.9
Ok to proceed? (y) y

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  ▄▄·  ▄▄▄·  ▐ ▄    ▄     ▪    ▄▄     ▐ ▄       ▄▄▄   ▄▄▄      ▄▄▄▄·
 ▐█ ▌ ▐█ ▀█ ·█▌▐█   ██    ██  ▐█ ▀    █▌▐█      ▐▄ █· █  ▀·  .▀  .█▌
 ██ ▄▄▄█▀▀█ ▐█▐▐▌   ▐█·   ▐█· ▄█ ▀█▄ ▐█▐▐▌ ▄█▀▄ ▐▀▀▄ ▐█▀      ▄█▀▀▀·
 ▐███▌▐█ ▪▐▌██▐█▌   ▐█▌   ▐█▌ ▐█▄ ▐█ ██▐█▌▐█▌.▐▌▐▄ █▌▐█▄▄▄▌   ▀
 ·▀▀▀  ▀  ▀ ▀▀ █▪   ▀▀▀   ▀▀▀ ·▀▀▀▀  ▀▀ █▪ ▀█▄▀▪.▀  ▀ ▀▀▀     ▀

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Found following packages with scripts:
[ ignore ] 'core-js' has scripts but they can be ignored
             reason: funding
[ check? ] 'yarn' needs reviewing
[
  {
    name: 'yarn',
    version: '1.22.22',
    scripts: {
      preinstall: ':; (node ./preinstall.js > /dev/null 2>&1 || true)'
    },
    path: 'node_modules/yarn/'
  }
]
[ check? ] 'ljharb-monorepo-symlink-test' needs reviewing
[
  {
    name: 'ljharb-monorepo-symlink-test',
    version: '0.0.0',
    scripts: { postinstall: 'lerna bootstrap' },
    path: 'node_modules/eslint-plugin-react/node_modules/resolve/test/resolver/multirepo/'
  },
  {
    name: 'ljharb-monorepo-symlink-test',
    version: '0.0.0',
    scripts: { postinstall: 'lerna bootstrap' },
    path: 'node_modules/resolve/test/resolver/multirepo/'
  }
]
[ check? ] 'esbuild' needs reviewing
[
  {
    name: 'esbuild',
    version: '0.21.5',
    scripts: { postinstall: 'node install.js' },
    path: 'node_modules/esbuild/'
  }
]
[  keep  ] 'sharp' needs its scripts to run
             reason: native addon built with gyp

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
What now? Run rebuild after 'npm ci --ignore-scripts' to trigger
scripts you need to keep.

A suggestion to get you started:
npm rebuild sharp
Or run all except the ones you can ignore now:
npm rebuild sharp esbuild ljharb-monorepo-symlink-test yarn
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█

If you check some packages, consider contributing your findings on github.

@aeharding aeharding merged commit da46dc0 into main Nov 8, 2024
2 checks passed
@aeharding aeharding deleted the remove-une branch November 8, 2024 01:13
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 this pull request may close these issues.

1 participant