Skip to the content.

Homepage

npm Continuous integration PRs Welcome Sponsor GitHub stars

Welcome to @ts-dev-tools/core đź’Ž

Common Typescript dev tools


What’s included

📦 Package scripts

Setup exposes plugin dependencies and their executables in the project’s node_modules and node_modules/.bin, including nested dependencies. Existing project dependencies and commands are preserved. Running setup again restores missing executable links. Setup errors return a nonzero exit status.

⚡ Git hooks

pre-commit

commit-msg

pre-push

đź‘• Code quality

đź§Ş Tests

đź“– Types


Usage

Vitest 5 requires Node.js >= 22.12.0.

1. Install

npm install --save-dev @ts-dev-tools/core

Or

pnpm add -D @ts-dev-tools/core

Or

yarn add --dev @ts-dev-tools/core

Vitest 5 stores generated artifacts under .vitest/. Add that directory to your .gitignore if it is not already ignored.

2. Enable ts-dev-tools

npm exec ts-dev-tools install

Or

pnpm ts-dev-tools install

Or

yarn ts-dev-tools install

⚠️ If your package is using yarn, is not private and you’re publishing it on a registry like npmjs.com, you need to disable postinstall script using pinst. Otherwise, postinstall will run when someone installs your package and result in an error.