02d324b896
- pytest-cov + [tool.coverage] config (95% branch, term-missing every run); c8 wired around tsx --test in web (95.9%) + cli (76.9%) — no runner swap (D-052) - markers fast/real_server/userns under --strict-markers (D-053); real_server ×5 uvicorn suites + userns ×2 files + 1 test (test_manager real-unshare catch); test_sandbox_agent unmarked per G-105 (plain stdlib process), outlier timeout(120) - pytest-timeout signal method: 60s global, 180s via conftest collection hook for marked tiers; BOTH tiers probe-proven (60.07s / 180.07s) - FAST=1 fast subset: 621 passed, 49 deselected, 55.4s bare (MH-M2 <60s holds); FAST implies NO_COV per verifier GAP-1 fix - CLI fresh-clone E2E env-gated (CLI_E2E=1, D-055): visible skip, opt-in green (902s aggregate step budget); path-invocation silent return → visible skip - web#test turbo task + root test/web:test/web:test:cov/cli:test:cov/cli:test:e2e/ ai:test:fast scripts; pnpm test runs 3/3 workspaces (3m) - leak fixes: AI_PROVIDER via monkeypatch (probe-proven restore), seed_verified_identity check-first + IntegrityError-only, test_engine.py:428 Path.read_text (P3 item done early) - PLAN.md count discipline: baseline 670/53/64 (671→670 collection fact; 61→64 v0.5.7 hotfix tests); Task 1-1-04 no-split decision recorded (6.8s combined) ---ci--- phase: 1 milestone: v0.7 status: execute ---/ci---
26 lines
691 B
JSON
26 lines
691 B
JSON
{
|
|
"name": "@nextcraft/cli",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"nextcraft": "dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx src/index.ts",
|
|
"test": "tsx --test tests/*.test.ts",
|
|
"test:cov": "c8 --include=src/** --reporter=text --reporter=text-summary tsx --test tests/*.test.ts",
|
|
"test:e2e": "CLI_E2E=1 tsx --test tests/fresh-clone-e2e.test.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"build:binary": "node scripts/build-binary.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"tsx": "^4.23.0",
|
|
"typescript": "^5.7.2",
|
|
"esbuild": "0.28.2",
|
|
"c8": "^10.1.3"
|
|
}
|
|
}
|