-
Notifications
You must be signed in to change notification settings - Fork 7
Improved library #100
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
base: main
Are you sure you want to change the base?
Improved library #100
Conversation
Co-authored-by: Copilot <[email protected]>
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 PR modernizes the library architecture by migrating from CommonJS to ESM modules, updating build configuration, and improving development practices. The changes include converting string quotes to single quotes, removing unnecessary semicolons, and establishing a proper TypeScript/ESM build pipeline.
- Migration from CommonJS to ES modules with updated imports/exports
- Updated build toolchain with Rollup, improved ESLint configuration, and TypeScript compilation
- Code style standardization to single quotes and removal of semicolons
Reviewed Changes
Copilot reviewed 40 out of 44 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
package.json | Updated to ESM module type, new build scripts, and modern dependencies |
rollup.config.js | New Rollup configuration for bundling ESM output |
eslint.config.js | Modern ESLint configuration with TypeScript support |
tsconfig.test.json | New TypeScript configuration for test files |
timestamp.sh | New script for generating version information |
src/**/*.ts | Updated imports to single quotes and removed semicolons |
test/**/*.ts | Updated imports, quote style, and added ESLint disable comments |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
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
Copilot reviewed 43 out of 47 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This is work done to improve different aspects of the library: