-
-
Notifications
You must be signed in to change notification settings - Fork 4
[Release] Upgrade deps and structure #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nd enhance ESLint configuration
…s and Direction types
…nhance configuration
…lding and update Vite configuration
…nd enhance release process with dry run for develop branch
Feat/upgrade core deps and structure
There was a problem hiding this 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 release upgrades dependencies and modernizes the project structure by migrating from Rollup to Vite, replacing Yarn with pnpm, and converting CommonJS configuration files to ESM format.
Changes:
- Migrated build tooling from Rollup to Vite with improved TypeScript declaration generation
- Replaced Yarn with pnpm as the package manager throughout scripts, configs, and CI workflows
- Converted all configuration files from CommonJS (
.cjs) to ESM (.js) format with consistent formatting
Reviewed changes
Copilot reviewed 35 out of 39 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vite.config.ts | New Vite configuration replacing Rollup setup |
| src/useDetectScroll.ts | Formatting updates (semicolons removed, indentation adjusted) |
| src/types.ts | Converted enums to const objects with type inference |
| src/index.ts | Formatting updates consistent with new code style |
| rollup.config.js | Removed old Rollup configuration |
| prettier.config.js | New Prettier config in ESM format with updated rules |
| prettier.config.cjs | Removed old CommonJS Prettier config |
| pnpm-workspace.yaml | Added workspace configuration for monorepo support |
| playground/* | New playground app for testing the package locally |
| package.json | Updated scripts, dependencies, and build configuration for pnpm/Vite |
| lint-staged.config.js | Converted to ESM format with pnpm commands |
| lint-staged.config.cjs | Removed old CommonJS config |
| eslint.config.js | Enhanced ESLint config with better TypeScript support |
| commitlint.config.js | New comprehensive commit message rules in ESM format |
| commitlint.config.cjs | Removed old CommonJS config |
| Readme.md | Updated documentation formatting and installation instructions |
| CONTRIBUTING.md | Updated with pnpm commands and release process details |
| CODE_OF_CONDUCT.md | Reformatted for improved readability |
| AGENTS.md | New automation instructions file |
| .releaserc.js | New semantic-release configuration |
| .nvmrc | Added Node version specification |
| .husky/* | Simplified Git hooks to use pnpm directly |
| .github/workflows/* | Updated CI/CD workflows for pnpm and automated releases |
| .github/copilot-instructions.md | New file with repository guidelines for assistants |
|
🎉 This PR is included in version 4.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.