A flat-YAML task tracker that is just files. No daemon, no database, no git hooks.
diarie.dev
issue-tracker
cli
nodejs
agent-friendly
1{
2 "$schema": "https://json.schemastore.org/tsconfig",
3
4 // Declaration emit ONLY. `tsconfig.json` type-CHECKS (and checks the tests too); this one
5 // type-EMITS, and it is run by `prepack`, so the .d.ts exist in the tarball and nowhere else.
6 //
7 // diarie is a library-with-a-bin: consumers `import { computeReady } from 'diarie'`, and without
8 // these files every one of those imports silently resolves to `any`. A package can ship, install,
9 // and typecheck green in a consumer while handing it no types at all — the tarball is where that
10 // shows up, and the git tree is where it hides (a dry-run `git subtree split` installs from the
11 // TREE, where nothing enforces the `files` allowlist).
12 //
13 // `test/**` is excluded: the tests are not part of the published surface, and emitting them would
14 // put `test/*.d.ts` in the tarball's shadow.
15 //
16 // ⚠️ `npm run build` runs `clean` FIRST, and that is not tidiness — it is required. TypeScript's
17 // module resolution PREFERS a `.d.ts` over its sibling `.js`, so a previous build's output becomes
18 // this build's INPUT, and tsc refuses with `TS5055: would overwrite input file`. The build is only
19 // idempotent because the clean makes it so.
20 "extends": "./tsconfig.json",
21
22 "files": [],
23 "include": ["lib/**/*.js"],
24 "exclude": ["test/**/*"],
25
26 "compilerOptions": {
27 "noEmit": false,
28 "declaration": true,
29 "declarationMap": true,
30 "emitDeclarationOnly": true
31 }
32}