chore(deps): upgrade or remove netlify-cli to clear install deprecations

Open
#447 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript

Research direction

Start by checking the package manifest, repository scripts, and netlify.toml for current netlify-cli usage, then review the hosting migration context in #416. Choose removal or upgrade, regenerate the lockfile as needed with Node 18 and npm install --legacy-peer-deps, and verify a clean install no longer emits the Cluster A warnings.

Written by the indexing model from the issue text.

Description

dependencies todo :spiral_notepad:

Summary

netlify-cli@2.71.0 (devDependency) is the root of a large cluster of npm warn deprecated messages on install, including:

  • statsd-client, sourcemap-codec, rollup-plugin-inject, rollup-plugin-terser
  • netlify-plugin-deploy-preview-commenting, node-pre-gyp, tar@4/tar@6, osenv
  • npmlog / are-we-there-yet / gauge
  • moize@5 / moize@6
  • cli-ux and legacy @oclif/* packages

Parent inventory: #445 (Cluster A).

Options (pick one path)

  1. Preferred with hosting migration (#416): remove netlify-cli from the repo once deploys run on Vercel (and drop Netlify-only scripts/config usage).
  2. Interim: upgrade netlify-cli to a current major that no longer pulls these packages, and regenerate the lockfile with Node 18 + npm install --legacy-peer-deps.
  3. If unused in CI/local workflow: remove it immediately even before #416 completes (verify no scripts/netlify.toml hooks require the CLI locally).

Acceptance criteria

  • Decide remove vs upgrade (document choice in a PR)
  • After change, Cluster A warnings from #445 no longer appear on a clean install
  • Document any remaining Netlify CLI usage (or confirm none)

Related

  • #416 Migrate hosting from Netlify to Vercel
  • #445 Inventory of npm deprecation warnings
Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from multei/web

All issues in multei/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.