Technical previewShare feedback

Contributing

Updated Oct 29, 2026

Uptask is an open-source project developed by the Datist team. Everyone is welcome to help shape it with bug reports, ideas and questions; code changes come from team members.

Contributors

Report a bug

Open an issue on GitHub Issues. A good report includes:

  • the Uptask version and how you use it
  • the smallest input that reproduces the problem
  • the output you got and the output you expected

Share an idea or ask a question

Use GitHub Discussions for anything that isn't a bug:

  • Ideas: features and improvements you'd like to see
  • Q&A: questions about using Uptask
  • Show and tell: projects built with Uptask

Ideas the team picks up turn into issues.

Members

The rest of this guide is for Datist team members working on Uptask.

Quick start

You'll need Node.js 24+ and pnpm 11+. Then:

git clone https://github.com/datisthq/uptask.git
cd uptask
pnpm install
pnpm start

pnpm start boots the dev server against this repo's own docs/ so you can iterate on the site in your browser. To exercise the CLI itself against the bundled example tasks:

pnpm build
node build/entrypoints/main.js --help

Repository layout

uptask/
├── source/             # all package code (compiles into build/)
│   ├── actions/        # noun/verb operations: config, module, function, parameter, command, program
│   ├── models/         # zod schemas (Config, Module, Function, Parameter, Group)
│   ├── helpers/        # internal utilities (private)
│   ├── entrypoints/    # the `uptask` bin
│   ├── fixtures/       # task files the unit tests parse
│   ├── index.ts        # package public API (defineConfig, createProgram)
│   ├── main.ts         # load the config and run the program
│   └── settings.ts     # tunables (MAX_MODULES, etc.)
├── build/              # compiled JS, the only thing that ships
├── docs/               # this site's content
├── examples/           # example @*.ts task files used by uptask.config.ts
├── scripts/            # repo tooling and repo-wide guards
├── uptask.config.ts    # config used when running `uptask` in this repo
└── livemark.config.ts  # this site's livemark config

The package ships only build/, compiled from source/ by tsgo. Everything else is for development.

Local commands

CommandWhat it does
pnpm startRun the dev server against this repo's docs
pnpm build:docsProduction build of the docs site
pnpm buildCompile source/ → build/ (tsgo)
pnpm check:typesType-check (no emit)
pnpm check:lintFormat check + lint via vite-plus
pnpm checkLint + type
pnpm formatAuto-fix formatting
pnpm test:unitRun unit tests (Vitest)
pnpm testLint + type + unit

A change is ready to push when pnpm test is green and pnpm build:docs succeeds.

Code conventions

  • TypeScript: strict mode is on. Don't use any, the as cast, or non-null ! without a clear reason — flag it in the PR.
  • Imports: use full ESM paths with the .ts(x) extension (from "./foo.ts"). tsgo rewrites them to .js on emit via rewriteRelativeImportExtensions.
  • Comments: docstrings on exports. A // comment must name the mistake it prevents, stays under about three lines, and comments never outnumber code — rationale and history belong in git.
  • File layout: high-level public items at the top, private helpers at the bottom.
  • Tests: place unit tests in <module>.unit.ts next to the code. No "Arrange/Act/Assert" comments — the structure should be obvious.
  • Formatting: vite-plus via pnpm format. 2-space indent, no semicolons, double quotes, 90 columns.

Proposing a change

  1. Open an issue first for anything bigger than a typo or a small bug. It's much easier to align on direction before code.
  2. Branch from main with a short descriptive name (e.g. fix-glob-walk-up, feat-validation-coercion).
  3. Write a focused commit history. Uptask uses Conventional Commits — the prefix drives release-please:
    • fix: — bug fix in the published package → patch release
    • feat: — new feature in the published package → minor release
    • chore:, docs:, refactor:, test: — no release; use these for CI, tooling, dependencies, the docs site and anything else an installer never sees
    • never mark a commit breaking (! or a BREAKING CHANGE: footer) without a maintainer agreeing to a major release
  4. Run pnpm test and pnpm build:docs before pushing.
  5. Open a PR against main. Describe the why (link the issue), include CLI output for any UX-visible change, and call out anything reviewers should pay extra attention to.

Releases

Releases are driven by release-please. A feat or fix landing on main opens a Release PR with the computed version and changelog; merging that PR tags, publishes and creates the GitHub release. Maintainers never bump versions by hand — .release/manifest.json is maintained by release-please.

Created with ❤ and Livemark