This repo is a rebuild of tasker. The project board tracks the work.
- Use the Node version of
.nvmrc. The.nvmrcfile sets the Node version for local work and for CI. - Clone the repo:
git clone https://github.com/codeguru42/tasker.git - Install the dependencies. Run
npm ciin the new folder. - Install git. The tests run git.
Run npm run check to make sure that the code is correct. The command runs four steps in this order:
npm run typecheckruns the TypeScript type check.npm run lintruns ESLint, with the type-aware rules of typescript-eslint.npm run format:checkruns the Prettier format check.npm testruns the Vitest tests.
Run npm run format to write the format of Prettier. Run npm run lint:fix to fix the lint problems that ESLint can fix.
The command stops at the first step that fails. It then exits with a non-zero code. GitHub Actions runs the same command on each push and pull request.
AGENTS.md is the index of the docs of the repo. docs/dev/rules.md gives the rules for each change.