Skip to content

3.4.5#161

Merged
matteobruni merged 6 commits intomainfrom
dev
Apr 5, 2026
Merged

3.4.5#161
matteobruni merged 6 commits intomainfrom
dev

Conversation

@matteobruni
Copy link
Copy Markdown
Contributor

@matteobruni matteobruni commented Apr 5, 2026

Summary by CodeRabbit

  • Chores
    • Bumped package version to 3.4.5
    • Updated dependency versions including @swc/core, @tsparticles packages, eslint, and @types/node
    • Adjusted dependency management structure for improved build configuration handling

Copilot AI review requested due to automatic review settings April 5, 2026 21:59
@matteobruni matteobruni enabled auto-merge April 5, 2026 21:59
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 5, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 348ee6d4-a810-43af-a620-f4dfa5ba2c30

📥 Commits

Reviewing files that changed from the base of the PR and between d6b0d22 and f50f9b8.

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

📝 Walkthrough

Walkthrough

Updated package versions (3.4.2 → 3.4.5) and bumped multiple dependencies (@swc/core, @tsparticles/* packages, eslint, @types/node). Migrated @tsparticles/engine from dependencies to peerDependencies across manifests. Enhanced build script with workspace version resolution functions for dynamic dependency transformation.

Changes

Cohort / File(s) Summary
Package Version & Dependency Updates
files/empty-project/package.json, package.json
Incremented main package version to 3.4.5; updated @swc/core, @tsparticles/* (config/webpack-plugin), eslint, and @types/node to latest patch/minor versions. Shifted @tsparticles/engine from dependencies to peerDependencies in empty-project manifest while adding it as a devDependency.
Distribution Package Manifest
files/empty-project/package.dist.json
Moved @tsparticles/engine from dependencies to peerDependencies (version ^3.9.1 unchanged).
Build Script Enhancement
src/build/build-distfiles.ts
Added resolveWorkspaceVersion and resolveDeps helper functions to dynamically resolve workspace: version specifiers in dependency declarations, replacing static string replacement with contextual version mapping.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • 3.4.2 #156: Modifies src/build/build-distfiles.ts to independently populate peerDependencies, complementing workspace version resolution logic in this PR.
  • 3.3.5 #117: Updates src/build/build-distfiles.ts with conditional write and content-generation logic that works alongside the new workspace version resolution.

Poem

🐰 Hops through the workspace with glee,
Versions bump'd from point-four-two to five!
Dependencies sorted, peers now free,
Build scripts dance as helpers thrive.

✨ 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 c35e8f4 into main Apr 5, 2026
8 of 9 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 to version 3.4.5, refreshes several dependency versions, and improves how package.dist.json is generated by properly resolving workspace: dependency specifiers during the dist packaging step.

Changes:

  • Add workspace:-aware dependency resolution when generating package.dist.json.
  • Bump CLI version to 3.4.5 and update toolchain dependencies (SWC, ESLint, @tsparticles configs).
  • Adjust the empty project template to use peerDependencies for @tsparticles/engine (and keep it as a dev dependency for local builds).

Reviewed changes

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

Show a summary per file
File Description
src/build/build-distfiles.ts Replaces string-based workspace: stripping with semantic resolution for dependencies/peerDependencies when producing package.dist.json.
package.json Bumps package version to 3.4.5 and updates dependency versions.
pnpm-lock.yaml Lockfile updates reflecting dependency bumps.
files/empty-project/package.json Updates template devDependency versions and moves @tsparticles/engine to peerDependencies (also present in devDependencies).
files/empty-project/package.dist.json Mirrors template change by using peerDependencies for @tsparticles/engine.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

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