Skip to content

Conversation

@notanengineercom
Copy link
Owner

This pull request introduces several updates to modernize the codebase, improve developer workflows, and enforce stricter typing and linting rules. The most important changes include updates to the CI workflow, the addition of linting and pre-commit hooks, stricter TypeScript typing, and the introduction of new linting rules.

CI Workflow and Developer Tooling Updates:

  • .github/workflows/ci.yml: Updated Node.js versions to 18.x, 20.x, 22.x, and 24.x, replaced actions/checkout and actions/setup-node with their latest versions (v4), switched to built-in npm caching, and added a new lint job that runs before tests.
  • .husky/pre-commit: Added a pre-commit hook to run npm run lint and npm test automatically.
  • package.json: Introduced husky, oxlint, and tsx as new dependencies, added lint and prepare scripts, and updated testing and build scripts to use modern tools.
  • tsl.config.ts: Added a configuration file for tsl with default rules enabled.

Linting and Code Quality Enhancements:

  • .oxlintrc.json: Added a new linting configuration with rules to enforce best practices.
    These changes collectively modernize the project, improve developer productivity, and enforce stricter code quality standards.

Usage enhancements:

  • src/index.ts: Introduced a PreventOneArgumentArray type to disallow ambiguous single-array arguments in the pool function.

@notanengineercom notanengineercom merged commit 4ad790e into main Aug 3, 2025
9 checks passed
@notanengineercom notanengineercom deleted the improve-dx-contribution-and-usage branch August 3, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants