Files
star-map/tools/etl/lib/paths.ts
T
Senrokai d7e8ea1d4d @
Add star-map Angular app, ETL pipeline, and caveman plugin

Angular 3D star map (galaxy/system/body views, Three.js rendering,
navigation store) plus the NASA ETL tooling that builds the star,
exoplanet and solar-system datasets, Playwright e2e suite, and the
cs:caveman Claude Code plugin (command, agent, skill).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@
2026-08-03 16:50:10 +02:00

13 lines
320 B
TypeScript

import { mkdirSync } from 'node:fs';
import { join } from 'node:path';
export const DATA_DIR = join(process.cwd(), 'src', 'assets', 'data');
export function ensureDataDir(): void {
mkdirSync(DATA_DIR, { recursive: true });
}
export function dataPath(fileName: string): string {
return join(DATA_DIR, fileName);
}