Skip to content

chore(deps-dev): remove yargs and del devDependencies - #3269

Merged
lahirumaramba merged 3 commits into
mainfrom
lm-cleanup-dev-deps
Oct 7, 2026
Merged

lahirumaramba merged 3 commits into
mainfrom
lm-cleanup-dev-deps

Conversation

@lahirumaramba

Copy link
Copy Markdown
Member

Replaces yargs and del in build scripts with built-in Node.js APIs and removes both from devDependencies:

  • generate-reports.js: Use process.argv.includes('--local') instead of yargs.
  • gulpfile.js: Use fs.promises.rm(paths.build, { recursive: true, force: true }) instead of del.
  • package.json / package-lock.json: Uninstall yargs and del (closes build(deps-dev): bump yargs from 17.7.2 to 18.1.0 #3261).

@lahirumaramba
lahirumaramba requested a review from a team October 6, 2026 23:15
@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Oct 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the external dependencies 'yargs' and 'del' to simplify the codebase. In 'generate-reports.js', the '--local' flag check is replaced with a direct check on 'process.argv'. In 'gulpfile.js', the 'cleanup' task is refactored to use the native 'fs.promises.rm' method instead of 'del'. These dependencies have also been removed from 'package.json' and 'package-lock.json'. There are no review comments, and I have no feedback to provide.

@yvonnep165 yvonnep165 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lahirumaramba
lahirumaramba merged commit 202b3de into main Oct 7, 2026
20 checks passed
@lahirumaramba
lahirumaramba deleted the lm-cleanup-dev-deps branch October 7, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stage Stage a release candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants