Config
Package
What the config package ships and how its exports map resolves.
The config package has no code, only files. Its exports map is the whole public surface:
| Specifier | File | Use |
|---|---|---|
@dapplelight/signet-config/biome | biome.json | extends in your biome.json. See Biome. |
@dapplelight/signet-config/biome.json | biome.json | Same file, with the extension. |
@dapplelight/signet-config/tsconfig/*.json | tsconfig/*.json | extends in your tsconfig.json. See TSConfig. |
@dapplelight/signet-config/package.json | package.json | Lets tools that resolve a package root (bundlers, require.resolve, version checks) read it. |
Only biome.json and tsconfig/ are published, so nothing else resolves.
Usage
Read the installed version, for example in a doctor script that checks apps are on the current preset:
import pkg from "@dapplelight/signet-config/package.json" with { type: "json" }
console.log(pkg.name, pkg.version)