fuz_code
frontend ยท ready ยท TypeScript ยท code.fuz.dev
fuz_code as this site sees it: what its repo's own files declare, and every record on the coherence and values pages that names it or links it. This page is computed and adds nothing of its own. For what the project is, see the Fuz stack page.
What uses it
The stack repos that declare a dependency on it. A breaking change has to be carried through each of them, and through any consumer that no manifest declares. Only the stack's own projects are listed, so a consumer outside the stack is not here.
| Used by | Kind | Declared in | Through |
|---|---|---|---|
| fuz_ui | optional peer | package.json | @fuzdev/fuz_code |
| fuz-stack (docs.fuz.dev) | dev | package.json | @fuzdev/fuz_code |
| fuz_app | dev | package.json | @fuzdev/fuz_code |
| fuz_blog | dev | package.json | @fuzdev/fuz_code |
| fuz_css | dev | package.json | @fuzdev/fuz_code |
| fuz_forge | dev | package.json | @fuzdev/fuz_code |
| fuz_repos | dev | package.json | @fuzdev/fuz_code |
| fuz_schema | dev | package.json | @fuzdev/fuz_code |
| fuz_template | dev | package.json | @fuzdev/fuz_code |
| fuz_util | dev | package.json | @fuzdev/fuz_code |
| gro | dev | package.json | @fuzdev/fuz_code |
| mdz | dev | package.json | @fuzdev/fuz_code |
| svelte-docinfo | dev | package.json | @fuzdev/fuz_code |
| tsv (tsv.fuz.dev) | dev | package.json | @fuzdev/fuz_code |
| zap | dev | package.json | @fuzdev/fuz_code |
| zzz | dev | package.json | @fuzdev/fuz_code |
What it uses
| Uses | Kind | Declared in | Through |
|---|---|---|---|
| fuz_util | peer | package.json | @fuzdev/fuz_util |
| fuz_css | optional peer | package.json | @fuzdev/fuz_css |
| blake3 | dev | package.json | @fuzdev/blake3-wasm |
| fuz_schema | dev | package.json | @fuzdev/fuz_schema |
| fuz_ui | dev | package.json | @fuzdev/fuz_ui |
| gro | dev | package.json | @fuzdev/gro |
| mdz | dev | package.json | @fuzdev/mdz |
| svelte-docinfo | dev | package.json | svelte-docinfo |
Read from the repos' manifests on . Only each repo's root manifests are read. A manifest shows what a repo declares, which is not always what its code imports, and a dependency that no manifest states, such as a sibling checkout a test reads, is not here. The kind is the manifest table a dependency is declared in, not how much it matters: an app that bundles what it builds declares everything as dev. See every dependency in the stack.
What it declares from outside the stack
- runtime
- package.json: magic-string, zimmerframe
- peer
- package.json: esm-env
- optional peer
- package.json: svelte
Read from the repo on . What a repo's manifests declare from outside the stack, by name and without versions. The dev tables are left out, so what an app bundles from its dev table is not here. For a Cargo workspace the list is every crate's together, and it is what is declared, not what a release build links. A crate is left out as tooling only when it is named xtask or testing_*, or the release audit marks it dev-only, so what a bench, debug or test-support crate under another name uses is listed with the rest. See everything the stack declares.
Its check script and CI
The check script of its package.json:
gro check
How its CLAUDE.md comments its check command:
gro check # typecheck, test, gen check, format check, lint (run before committing)
line 16, marked as the command to run before committing
It is among the repos whose check script runs gro check; with a CI step, on a push or a pull request, that runs gro check with --workspace; with an exports map in package.json, and a CI step, on a push or a pull request, that runs gro check with --workspace; with a CI step, on a push or a pull request, that runs gro check with --build.
.github/workflows/check.yml runs on push (branches main), pull_request (branches **), workflow_dispatch
build on ubuntu-latest
- uses
actions/checkout, pinned to a commit - Use Node.js ${{ matrix.node-version }} uses
actions/setup-node, pinned to a commit -
npm ci
-
npx @fuzdev/gro check --workspace --build
Read from the repo on . A workflow's jobs and steps are as the file writes them: a step's command, or the action it uses without its version. An action's inputs, a matrix's values, permissions, environment and working directories are left out, and nothing here says which command is the gate. A line is quoted when it sits in a code block of the repo's CLAUDE.md, has a # comment after the command, and either is the command gro check or npm run check, or has a comment that says to run it before committing. A repo that describes its check command in a sentence or a list, or in another file, has no line here. Every file is read at the repo's main branch as the checkout last fetched it, so nothing uncommitted or unpushed is here. See every repo's checks.
Gates
- Types, tests, lints and format (every change): Type errors, regressions, lint errors and style drift. fuz_code is among the repos whose check script runs gro check.
- Drift in generated files (every change): A generated file that no longer matches its source. fuz_code is among the repos whose check script runs gro check.
- Drift in the package exports map (ci): An exports map that no longer matches the source, which the local gate rewrites instead of failing on. fuz_code is among the repos with an exports map in package.json, and a CI step, on a push or a pull request, that runs gro check with --workspace.
- Build (ci): A broken build. fuz_code is among the repos with a CI step, on a push or a pull request, that runs gro check with --build.
- A clean tree after the run, and no TODO docs at the root (ci): Uncommitted output and a TODO Markdown file at the repo root. fuz_code is among the repos with a CI step, on a push or a pull request, that runs gro check with --workspace.
From Gates. A gate is listed here when its row names the project or links its repo, or speaks of a class of repos that the snapshot puts this one in.
Values
The order fuz_code states its priorities in, highest first (fuz_code's guidelines):
- correct
- fast
- A decision: correctness over speed. A correctness gain is taken when it costs a few percent of lexing time. Cost: A few percent of lexing time, weighed against the gain only when an input would turn pathological. guidelines
From the values page.