chore: project skeleton — module contracts, docs plan, GPLv3

This commit is contained in:
loki5512344 2026-09-09 21:43:42 +02:00
commit a33ed2eb30
Signed by: boba
GPG key ID: 253067914055423B
20 changed files with 2220 additions and 0 deletions

17
src/lib.rs Normal file
View file

@ -0,0 +1,17 @@
//! `jmove` — a project-aware file mover for TypeScript/JavaScript.
//!
//! Moving a file inside a project invalidates every relative import that
//! points at it. `jmove` indexes the project's import graph, computes the
//! minimal set of specifier rewrites, and applies everything atomically
//! (with rollback), optionally in dry-run mode.
//!
//! Module map:
//! - [`cli`] — argument parsing, command dispatch, user-facing output.
//! - [`core`] — indexing, dependency graph, move planning, atomic apply.
//! - [`parser`] — language frontends (import extraction, path resolution).
//! - [`cache`] — on-disk index cache (Phase 2, intentionally empty for now).
pub mod cache;
pub mod cli;
pub mod core;
pub mod parser;