feat(setup/project-init): initialize TypeScript ESM project skeleton

- package.json with @alkdev/taskgraph, ESM primary, CJS compat exports
- tsconfig.json targeting Node 18+, strict mode, declaration output
- All production deps: graphology suite, @alkdev/typebox, yaml
- Dev deps: typescript, vitest, @types/node
- src/ skeleton: schema, graph, analysis, frontmatter, error modules
- test/ directory with 5 placeholder test files
- .gitignore and vitest.config.ts
This commit is contained in:
2026-04-27 09:54:01 +00:00
parent 131e3e929b
commit bd8a7b06d0
32 changed files with 2125 additions and 12 deletions

View File

@@ -0,0 +1 @@
// bottlenecks (graphology betweenness)

View File

@@ -0,0 +1 @@
// calculateTaskEv, workflowCost, computeEffectiveP

View File

@@ -0,0 +1 @@
// criticalPath, weightedCriticalPath

View File

@@ -0,0 +1 @@
// shouldDecomposeTask

1
src/analysis/defaults.ts Normal file
View File

@@ -0,0 +1 @@
// resolveDefaults, enum numeric methods

8
src/analysis/index.ts Normal file
View File

@@ -0,0 +1,8 @@
// Analysis submodule — re-exports
export * from './critical-path.js';
export * from './bottleneck.js';
export * from './risk.js';
export * from './cost-benefit.js';
export * from './decompose.js';
export * from './defaults.js';

1
src/analysis/risk.ts Normal file
View File

@@ -0,0 +1 @@
// riskPath, riskDistribution