stomme-ts-imports
stomme-ts-imports reads the module table in stomme.toml and checks TypeScript imports against it.
It runs through Vite Plus on Node 24 and Bun 1.4.
The package is public. The release publishes it to npm.
Module table
stomme.toml declares each module with an entry, the files it makes public, and the modules it
imports:
schema = 1
version = "0.2.13"
language = "typescript"
[modules.errors]
entry = "src/errors.ts"
[modules.config]
entry = "src/config/config.ts"
public = ["src/config/models.ts"]
imports = ["errors"]
Paths are relative to the folder that holds stomme.toml.
Development
From the repository root:
pnpm install
pnpm --filter @sqve/stomme-ts-imports run check
check runs typechecking, the self-lint through stomme-ts-style, the format check, the build, and
all tests.
Decisions and their reasons are in docs/adr.
License
MIT.