Skip to content

3.4.2#156

Merged
matteobruni merged 4 commits intomainfrom
dev
Apr 2, 2026
Merged

3.4.2#156
matteobruni merged 4 commits intomainfrom
dev

Conversation

@matteobruni
Copy link
Copy Markdown
Contributor

@matteobruni matteobruni commented Apr 2, 2026

Summary by CodeRabbit

  • Chores
    • Bumped package version to 3.4.2.
    • Updated development dependencies and internal tooling versions.
    • Removed UMD build output support from the build process.

Copilot AI review requested due to automatic review settings April 2, 2026 09:01
@matteobruni matteobruni enabled auto-merge April 2, 2026 09:02
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 174f0e12-9e59-4915-b335-a530d0adcbe4

📥 Commits

Reviewing files that changed from the base of the PR and between d6a62e2 and 351844f.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • files/empty-project/package.json
  • files/empty-project/tsconfig.umd.json
  • package.json
  • src/build/build-distfiles.ts
  • src/build/build-tsc.ts

📝 Walkthrough

Walkthrough

Version bumps applied to @tsparticles/* dependencies across package files. UMD build configuration and support removed from the project. Build script logic updated to eliminate UMD compilation steps and decouple dependency/peerDependency handling in package distribution generation.

Changes

Cohort / File(s) Summary
Dependency Version Updates
package.json, files/empty-project/package.json
Updated @tsparticles/* packages (depcruise-config, eslint-config, prettier-config, tsconfig, webpack-plugin) from ^3.4.2 to ^3.4.4; bumped main package version 3.4.03.4.2; updated eslint-plugin-jsdoc from ^62.8.1 to ^62.9.0.
UMD Configuration Removal
files/empty-project/tsconfig.umd.json
Deleted TypeScript UMD configuration file that extended base and shared tsconfig files with UMD-specific output settings.
Build Logic Refactoring
src/build/build-tsc.ts, src/build/build-distfiles.ts
Removed "umd" type from compile function signature and eliminated UMD case branch from build process. Changed buildTS to iterate only over ["browser", "cjs", "esm", "types"]. Decoupled peerDependencies from conditional dependencies logic in distribution package generation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • 3.1.7 #98 — Concurrent changes to UMD-related TypeScript configuration and build-tsc.ts file, indicating coordinated removal of UMD build support across related repositories.

Poem

🐰 A rabbit hops through configs neat,
Waving "UMD" goodbye—oh what a treat!
Dependencies hop to versions new,
Build scripts trimmed—peer deps shine through!
Simpler paths for devs to pursue! 🎉

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@matteobruni matteobruni merged commit d6b0d22 into main Apr 2, 2026
7 of 8 checks passed
Copy link
Copy Markdown

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 PR updates the CLI release metadata and dependency set, adjusts the build pipeline to drop the UMD target, and refines dist package generation to include both dependency types.

Changes:

  • Bump @tsparticles/cli version to 3.4.2 and update related config/tooling dependencies (plus lockfile refresh).
  • Remove the UMD TypeScript build configuration/target from the build flow and template.
  • Ensure package.dist.json generation can include both dependencies and peerDependencies.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/build/build-tsc.ts Removes the umd compile target from the TS build switch/types list.
src/build/build-distfiles.ts Allows emitting both dependencies and peerDependencies into package.dist.json.
package.json Bumps CLI version and updates dependency versions.
pnpm-lock.yaml Lockfile refresh to reflect updated dependencies.
files/empty-project/tsconfig.umd.json Removes the UMD tsconfig from the empty project template.
files/empty-project/package.json Updates template devDependency versions to match new config/tooling versions.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

type: "browser" | "cjs" | "esm" | "types" | "umd",
silent: boolean,
): Promise<number> {
async function compile(basePath: string, type: "browser" | "cjs" | "esm" | "types", silent: boolean): Promise<number> {
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The PR title suggests a patch/version-only update, but this change removes UMD build support (the umd build type and its generated dist/umd output). If users rely on the UMD artifact, this is a behavior/breaking change—please document it in the PR description/release notes and consider whether the version bump should reflect the change (e.g., at least a minor version depending on your semver policy).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants