Skip to content

build: migrate rollup-plugin-typescript2 and pre-commit - #1277

Merged
cure53 merged 1 commit into
mainfrom
cure53-build-tooling
Apr 17, 2026
Merged

build: migrate rollup-plugin-typescript2 and pre-commit#1277
cure53 merged 1 commit into
mainfrom
cure53-build-tooling

Conversation

@cure53

@cure53 cure53 commented Apr 17, 2026

Copy link
Copy Markdown
Owner

Switch rollup-plugin-typescript2 → @rollup/plugin-typescript (official, actively maintained by the Rollup team). Type declaration pipeline is unaffected — types are generated by tsc directly, not the rollup plugin.

Switch pre-commit → husky (modern standard, zero runtime deps, actively maintained). Hook behavior is identical: lint + build + stage dist files. The prepare script ensures hooks install automatically on npm install.

Switch rollup-plugin-typescript2 → @rollup/plugin-typescript (official,
actively maintained by the Rollup team). Type declaration pipeline is
unaffected — types are generated by tsc directly, not the rollup plugin.

Switch pre-commit → husky (modern standard, zero runtime deps, actively
maintained). Hook behavior is identical: lint + build + stage dist files.
The prepare script ensures hooks install automatically on npm install.
@cure53
cure53 merged commit 3109315 into main Apr 17, 2026
10 checks passed
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