mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
32 lines
950 B
TypeScript
32 lines
950 B
TypeScript
import { execFileSync } from 'node:child_process'
|
|
import { resolve } from 'node:path'
|
|
|
|
// publint every publishable package (vendor/ is private upstream code and
|
|
// examples/ are not packages; both are out of scope).
|
|
// TODO(package-inventory): derive this from explicit package classification metadata.
|
|
const packages = [
|
|
'packages/llm',
|
|
'packages/session',
|
|
'packages/session-persistence',
|
|
'packages/session-persistence-jsonl',
|
|
'packages/session-persistence-sqlite',
|
|
'packages/system-prompt',
|
|
'packages/tools',
|
|
'packages/agent',
|
|
'packages/agent-loop',
|
|
'packages/bash',
|
|
'packages/llm-deepseek',
|
|
'packages/llm-pi-ai',
|
|
'packages/bash-local',
|
|
'packages/tool-bash',
|
|
'packages/invariants',
|
|
'packages/acp',
|
|
'packages/ui-stdio',
|
|
'packages/llm-replay',
|
|
]
|
|
|
|
const root = resolve(import.meta.dirname, '..')
|
|
for (const path of packages) {
|
|
execFileSync('node_modules/.bin/publint', [path], { cwd: root, stdio: 'inherit' })
|
|
}
|