Merged
Conversation
- rename to ci.yml - update steps and versions
- remove src/exports - fix bugs - add typecheck tests
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 several improvements and refactors to the codebase, focusing on the type-checking library's architecture, CI pipeline, and package configuration. The most significant changes include the migration from the legacy
exportsentry point to a newstandaloneexport for tree-shakeable type checkers, updates to the CI workflow, and the addition of new type-checking functions. Documentation has also been updated to reflect these changes and provide clearer guidance for contributors.Export and Package Architecture Refactor:
exportsentry point to a newstandaloneexport, updating all references inpackage.jsonand replacingsrc/exports.tswithsrc/standalone.tsfor individual checker functions. This improves tree-shaking and usage clarity. [1] [2] [3] [4] [5]package.jsonfor improved compatibility and security, including newer versions of ESLint, Husky, TypeScript, and related tooling.package.jsonto enforce strict limits and reflect new entry points.Continuous Integration and Tooling:
.github/workflows/main.ymlto.github/workflows/ci.yml, modernizing syntax, updating action versions, and streamlining dependency installation and caching. [1] [2] [3]eslint.config.mjsfile using the latest ESLint config imports for consistency with updated tooling.Type-Checking Library Enhancements:
is.class,is.integer,is.nonEmptyString, andis.url, expanding the library’s capabilities for runtime validation. [1] [2]URL). [1] [2]Documentation and Contributor Guidance:
CLAUDE.mdwith comprehensive guidance for contributors and AI code assistants, detailing project architecture, development commands, testing guidelines, and bundle size constraints.README.mdto document new type-checkers, clarify usage of the newstandaloneexport, fix typos, and improve API documentation. [1] [2] [3] [4] [5] [6] [7]Codebase Cleanup:
src/exports.tsfile as part of the migration to the new export strategy.Let me know if you'd like to discuss any specific change or need help navigating the new export structure!