Skip to content

Conversation

@ncalteen
Copy link
Collaborator

@ncalteen ncalteen commented Dec 5, 2025

This pull request focuses on improving the build process by ensuring the dist/ directory is always cleaned before packaging, both locally and in CI, and updates several development dependencies to their latest versions.

dependabot bot and others added 7 commits November 3, 2025 15:05
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 28.0.8 to 29.0.0.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v29.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-version: 29.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the npm-development group with 4 updates in the / directory: [eslint](https://github.com/eslint/eslint), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest), [prettier](https://github.com/prettier/prettier) and [rollup](https://github.com/rollup/rollup).


Updates `eslint` from 9.38.0 to 9.39.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.38.0...v9.39.1)

Updates `eslint-plugin-jest` from 29.0.1 to 29.2.1
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v29.0.1...v29.2.1)

Updates `prettier` from 3.6.2 to 3.7.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.6.2...3.7.3)

Updates `rollup` from 4.52.5 to 4.53.3
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.52.5...v4.53.3)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: eslint-plugin-jest
  dependency-version: 29.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: prettier
  dependency-version: 3.7.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: rollup
  dependency-version: 4.53.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
...

Signed-off-by: dependabot[bot] <support@github.com>
@ncalteen ncalteen self-assigned this Dec 5, 2025
@ncalteen ncalteen requested a review from a team as a code owner December 5, 2025 16:41
Copilot AI review requested due to automatic review settings December 5, 2025 16:41
Copilot finished reviewing on behalf of ncalteen December 5, 2025 16:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request enhances the build process by ensuring the dist/ directory is cleaned before packaging, and updates several development dependencies to their latest versions.

Key Changes:

  • Adds rimraf ./dist cleanup to the package script for consistent builds
  • Introduces a CI workflow step to remove dist/ before dependency installation
  • Updates 5 development dependencies: @rollup/plugin-commonjs, eslint, eslint-plugin-jest, prettier, and rollup

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
package.json Modified package script to clean dist/ before building; updated 5 devDependencies to latest versions
package-lock.json Lockfile updates reflecting the dependency version changes, including transitive dependency updates
dist/index.js Regenerated bundle with updated dependencies (variable renaming to avoid conflicts, updated imports)
.github/workflows/check-dist.yml Added step to remove dist/ directory before installing dependencies in CI

Note: The main issues identified are that rimraf is used via npx in both package.json and the CI workflow, but it's not explicitly listed in devDependencies. While it exists as a transitive dependency (v3.0.2), this version is deprecated and its availability is not guaranteed. Adding rimraf as an explicit devDependency with a current version (e.g., ^6.0.0) would make the build process more reliable and maintainable.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ncalteen ncalteen merged commit 7b5f22c into main Dec 5, 2025
25 checks passed
@ncalteen ncalteen deleted the ncalteen/dist branch December 5, 2025 16:44
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.

2 participants