#!/usr/bin/env node // iapl-tokens — the brand's design tokens: src/design/tokens.ts → src/design/tokens.css, // plus a WCAG contrast check (docs/design-tokens.md). // pnpm exec iapl-tokens → write src/design/tokens.css, print the contrast report // pnpm exec iapl-tokens --check → fail when the CSS is out of date (CI, iapl-doctor) // pnpm exec iapl-tokens --in x.ts --out y.css --warn-only import { dirname, join } from 'node:path' import { fileURLToPath, pathToFileURL } from 'node:url' const pkgRoot = join(dirname(fileURLToPath(import.meta.url)), '..') const { runTokensCli } = await import(pathToFileURL(join(pkgRoot, 'dist', 'modules', 'tokens', 'cli.js')).href) process.exit(await runTokensCli(process.argv.slice(2)))