Skip to content

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

Description

@jimmyandrade

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 (Migrate hosting from Netlify to Vercel #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 Migrate hosting from Netlify to Vercel #416 completes (verify no scripts/netlify.toml hooks require the CLI locally).

Acceptance criteria

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions