programmatic subagents
1{
2 "name": "mill",
3 "private": true,
4 "workspaces": [
5 "packages/*"
6 ],
7 "scripts": {
8 "test": "bun test",
9 "typecheck": "tsgo --noEmit",
10 "lint": "oxlint .",
11 "lint:fix": "oxlint . --fix",
12 "lint:ast-grep:test": "ast-grep test --config .ast-grep/sgconfig.yml --test-dir .ast-grep/tests --skip-snapshot-tests",
13 "lint:ast-grep": "ast-grep scan --config .ast-grep/sgconfig.yml packages/*/src --error",
14 "lint:effect": "ast-grep scan --config .ast-grep/sgconfig.yml packages/*/src/internal packages/*/src/domain packages/*/src/runtime --error --filter 'no-(raw-promise|try-catch|throw|dot-then|any|bun-globals|node-imports|dynamic-import)'",
15 "lint:boundary": "ast-grep scan --config .ast-grep/sgconfig.yml packages/*/src --error --filter 'no-(interface-outside-public|promise-outside-public|interface-for-domain-models|effect-runpromise|runtime-runpromise-outside-boundary|public-import-internal|dynamic-import)'",
16 "lint:runtime-safety": "ast-grep scan --config .ast-grep/sgconfig.yml packages/*/src/internal packages/*/src/domain packages/*/src/runtime --error --filter 'no-(json-parse-outside-codec|shell-string-command|process-env-outside-config|date-now-outside-clock|math-random-outside-random)'",
17 "lint:exports": "bun run scripts/check-exports.ts",
18 "format": "oxfmt . --write",
19 "format:check": "oxfmt . --check",
20 "check": "bun run lint:ast-grep:test && bun run lint:effect && bun run lint:boundary && bun run lint:runtime-safety && bun run lint:exports && bun run lint:ast-grep && bun run lint && bun run format:check && bun run typecheck && bun test"
21 },
22 "dependencies": {
23 "@effect/cli": "^0.73.2",
24 "@effect/platform": "^0.94.5",
25 "@effect/platform-bun": "^0.87.1",
26 "@effect/printer": "^0.47.0",
27 "@effect/printer-ansi": "^0.47.0",
28 "@effect/schema": "^0.75.5",
29 "@effect/typeclass": "^0.38.0",
30 "effect": "^3.19.19"
31 },
32 "devDependencies": {
33 "@ast-grep/cli": "^0.39.6",
34 "@typescript/native-preview": "latest",
35 "oxfmt": "^0.26.0",
36 "oxlint": "^1.18.0"
37 },
38 "trustedDependencies": [
39 "@ast-grep/cli"
40 ]
41}