Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,30 +1 @@
# css

## CI is pinned

Every input to CI is pinned in the source (bats-lang/repository-prototype#269),
so a commit that passes keeps passing:

* `bats.lock` is committed: CI never runs `bats lock` for the package, so
`bats check` and `bats build` fetch exactly the locked versions, and fail
when the lock is missing or does not match `bats.toml`. A library's lock
pins only its own CI and tests; its dependents still resolve their own.
* The compiler is the commit in `.github/bats-version`, read by every
workflow that builds bats (and by the publish workflow).
* The package repository is fetched at the commit in
`.github/repository-version`, so what the test packages under `tests/`
lock (`bats lock --dev`) is pinned too.
* `publish.yml` and `relock-pins.yml` in bats-lang/repository-prototype are
called by commit, never `@main`.

Pins move only through a reviewed pull request that runs the same CI. The
daily `relock.yml` (the shared `relock-pins.yml`) relocks against the
newest, moves the compiler and repository pins, pushes `relock/<date>`,
opens a pull request listing the old and new versions and dispatches
`check.yml` on it, so a breaking publish shows as a red relock pull
request and main stays green. GITHUB_TOKEN cannot change workflow files,
so without a `RELOCK_TOKEN` secret that pull request lists a workflow pin
that would move instead of moving it: move it in a pull request of its
own. A pull request that needs newer packages runs `bats lock
--repository <dir>` and commits `bats.lock` (and
`.github/repository-version`) with the change.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

CSS value types and rendering for the [Bats](https://github.com/bats-lang) programming language.

## Features

- CSS units (`PX`, `EM`, `REM`, `PERCENT`, `VW`, `DEG`, `MS`, ...)
- Colors (`RGB`, `RGBA`, `Named`), values, declarations
- Selectors (`Class`, `Id`, `Tag`, `Pseudo`, `Child`, `Descendant`) and
rules, size-indexed so emitting into a builder needs no runtime check
- `class_text`: generated class names (`caa` .. `czz`), allocation-free

## Usage

There is no GC: colors, values, selectors, declarations and rules are
Expand Down
Loading