Skip to content

feat: Add npm run package instead of build#130

Merged
toshimaru merged 5 commits into
mainfrom
add-package-command
Dec 21, 2025
Merged

feat: Add npm run package instead of build#130
toshimaru merged 5 commits into
mainfrom
add-package-command

Conversation

@toshimaru

@toshimaru toshimaru commented Dec 21, 2025

Copy link
Copy Markdown
Owner

This pull request updates the build process to use Rollup instead of NCC and transitions the project to use ECMAScript modules. The most significant changes include updating build scripts, adding a Rollup configuration, and modifying dependencies to support the new build system.

Build system migration:

  • Replaces the NCC-based build process with Rollup by updating the build script in package.json and the GitHub Actions workflow to use npm run package instead of npm run build (package.json, .github/workflows/build.yml). [1] [2]
  • Adds a new rollup.config.js file to configure Rollup for bundling the project as an ES module (rollup.config.js).

Module system update:

  • Adds "type": "module" to package.json to enable ECMAScript module syntax throughout the project (package.json).

Dependency updates:

  • Removes the @vercel/ncc dependency and adds Rollup-related dependencies (@rollup/plugin-commonjs, @rollup/plugin-node-resolve, rollup, and an optional platform-specific Rollup package) in package.json (package.json).

Reference

@toshimaru toshimaru changed the title feat: Add package command instead of build feat: Add npm run package instead of build Dec 21, 2025
@toshimaru toshimaru marked this pull request as ready for review December 21, 2025 05:06
Copilot AI review requested due to automatic review settings December 21, 2025 05:06
- Change build tool from @vercel/ncc to Rollup
- Update build command from `npm run build` to `npm run package`
- Add rollup.config.js to project structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@toshimaru toshimaru merged commit 972720f into main Dec 21, 2025
2 checks passed
@toshimaru toshimaru deleted the add-package-command branch December 21, 2025 05:11
@toshimaru toshimaru removed the request for review from Copilot March 23, 2026 21:03
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.

1 participant