Files
filip131311 397dce87f6 feat(installer): allowlist.enabled config — opt out of allowlist refresh on update (#986)
A minimal opt-out for the allowlist refresh in `argent update`: a new
config key **`allowlist.enabled`** (project + global scopes, restrictive
merge — `false` in either scope wins, so a committed project opt-out
holds for the team).

**Nothing changes by default.** The key has no default value; while it
is unset, `argent init` and `argent update` behave exactly as today.
Only an explicit

```
argent config set allowlist.enabled false
```

changes anything: `argent update` then skips re-applying editor
auto-approve allowlist rules entirely (rules already written stay) and
prints a dim one-liner saying why. `argent init` is untouched — it still
asks its auto-approve question and applies the answer as before.

### Docs

`reference/configuration.mdx` gains the key's row and a short behavior
note. `docusaurus build` and `npm run format` are clean.

### Tests

- `allowlist.enabled` merge semantics (restrictive, no default) in
configuration-core.
- Suites: installer 555, configuration-core 125; tsc, eslint
--max-warnings 0, prettier, both knip gates clean.
- Live-tested from a packed tgz in an isolated HOME: `init -y` and
`update` with the key unset are byte-identical to main's behavior; with
`allowlist.enabled false`, `update` re-imposes nothing and prints the
skip note.

Supersedes #787.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_014b5AyEqWd16k1s8xvve3dS

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added an `allowlist.enabled` setting to control editor auto-approve
allowlist updates.
- Allowlist updates now run when enabled or unset, while an explicit
disabled setting prevents changes.

- **Documentation**
- Added configuration reference details, including scope precedence and
unset behavior.

- **Bug Fixes**
- Preserved non-blocking handling when individual editor allowlist
updates fail.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-31 19:29:37 +02:00
..

Argent documentation

The Argent documentation site, published at docs.swmansion.com/argent.

Built with Docusaurus and the shared Software Mansion docs theme, @swmansion/t-rex-ui.

The site has no landing page of its own. That is argent.swmansion.com; the root route here redirects to the getting started page.

Development

This site lives at packages/docs but is a standalone npm project with its own lockfile, excluded from the root packages/* workspace glob so its dependencies stay out of the toolkit's lockfile. ESLint still runs from the repo root (npm run lint) with the shared eslint.config.mjs; install this package's dependencies first so the type-aware rules can load tsconfig.json.

cd packages/docs
npm install
npm start        # dev server on http://localhost:3000/argent/
npm run build    # production build into packages/docs/build
npm run serve    # serve the production build

Layout

Path Contents
docs/ Documentation pages (MDX), grouped into sidebar categories
src/pages/ The root route, which redirects into the docs
src/css/ Argent color palette, typography and theme overrides
src/components/ Components used from MDX, registered in src/theme/MDXComponents.tsx
static/img/ Logos, favicon and other static assets
static/video/ Encoded screen recordings, see Videos

Colors in src/css/colors.css are derived from the Argent brand palette used on argent.swmansion.com.

Videos

Screen recordings go through scripts/encode-video.sh, which produces a web-sized MP4 and a poster frame in static/video/:

npm run encode:video -- ~/Desktop/tap-flow.mov

Record in the simulator or with QuickTime, then encode. Never commit a GIF: the same ten second capture is around thirty times larger as a GIF than as H.264.

Embed the result with the <Video> component, which is global in MDX and needs no import:

<Video src="/video/tap-flow.mp4" portrait caption="Tapping through the sign-in flow" />
Prop Meaning
src Site-relative path to the MP4
portrait Caps the height at 480px, for simulator and emulator captures
poster Poster frame; defaults to the sibling .jpg the encode script writes
caption Optional caption rendered below the clip
width / height Intrinsic pixel size, reserves space so the page does not reflow

Clips are muted and loop on their own. Nothing downloads until the player nears the viewport, playback pauses while it is off screen, and readers who ask for reduced motion get a paused player with controls instead of a loop.

Once static/video/ grows past a few tens of megabytes, move the files behind a CDN and pass absolute URLs to src rather than growing the git history.