Closed j9t closed 3 weeks ago
The changes introduce TypeScript support to the project by updating the package.json
to include build scripts and dependencies, transitioning files to ES module syntax, and enhancing type safety in the codebase. A new tsconfig.json
file is added to configure TypeScript compilation settings. Additionally, the .gitignore
file is updated to exclude the dist/
directory from version control, reflecting a shift in project structure and output.
File(s) | Change Summary |
---|---|
.gitignore |
Added dist/ to ignore distribution files. |
package.json |
Updated version to 1.7.0 , modified scripts for build and development, added TypeScript dependencies. |
src/obsohtml.test.ts |
Transitioned from CommonJS to ES module syntax and updated paths for test cases. |
src/obsohtml.ts |
Added TypeScript type annotations for variables and function parameters. |
tsconfig.json |
Introduced TypeScript compiler configuration with specified options and file inclusion/exclusion settings. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
(Continued work on this, got everything to run except for some issue with the tests, but ultimately decided all the many hoops are not worth it. Not now.)
Summary by CodeRabbit
New Features
tsconfig.json
file for enhanced type safety and compilation settings.Bug Fixes
Documentation
.gitignore
to streamline repository management by ignoring thedist
directory.Refactor