Feat/migrate to bun #3
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant changes to the project, including migrating the build and runtime environment from Node.js to Bun, improving documentation, updating the monad library, and enhancing the development tooling. Below is a breakdown of the most important changes:
Migration to Bun
.github/workflows/publish-release.yml,.github/workflows/test.yml) and updated commands for dependency installation, testing, and building. [1] [2]CONTRIBUTING.mdanddocs/contributing.mdto reflect the use of Bun for installation, testing, and building. [1] [2] [3]bunfig.tomlfile with coverage thresholds and reporters.build.tsfile to handle Bun's build process with TypeScript support viabun-plugin-dts.Monad Library Enhancements
Maybe,Either, andResultmonads, along with curried functions for functional composition.Either,Maybe, andResultmonads. [1] [2] [3] [4]Documentation Updates
docs/changelog.mdto include details about the 1.0.0 release, emphasizing the migration to Bun and modular imports.docs/either/index.md,docs/maybe/index.md, anddocs/result/index.md. [1] [2] [3]Development Tooling
.editorconfigwith Bun's configuration and removed.nvmrcas Node.js is no longer used. [1] [2]eslint.config.jswith Prettier and Security plugins and updated rules for better code quality.package.jsonto reflect the migration to Bun, added new scripts, and adjusted dependencies and peer dependencies. [1] [2]Miscellaneous
mkdocs.ymlto reflect the current year.These changes collectively modernize the project, improve performance, and enhance the developer experience.