assimilai

Copy, don’t import — track assimilated code in package.json.

Install

npm install -g assimilai

Or as a dev dependency:

npm install --save-dev assimilai

Usage

Record an assimilation — scans files in the target directory and records each with its sha256 hash in package.json:

assimilai init my-pkg \
  --source ../packages/ref \
  --version 1.0.0 \
  --target ./src/clients/my-pkg

Check integrity of assimilated files — compares sha256 hashes of verbatim files, reports drift or missing files:

assimilai check

Check a specific package:

assimilai check my-pkg

File status

Files are tracked with one of three statuses:

Documentation