@askewly/design 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/data/assets.json +1 -1
- package/data/recipes.json +1 -1
- package/dist/index.js +56 -10
- package/dist/inject.js +25 -0
- package/dist/kickstart.js +33 -9
- package/package.json +50 -50
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npx @askewly/design verify src
|
|
|
15
15
|
| `terms show <id>` | Definition, aliases, visual anatomy, anti-use cases, prompt phrases. |
|
|
16
16
|
| `tokens` | Print the design token set. |
|
|
17
17
|
| `init [dir]` | Drop token CSS into a project. |
|
|
18
|
-
| `add <
|
|
18
|
+
| `add <id>` | Add the finished component — the same registry item `npx shadcn add https://ui.askewly.com/r/<id>.json` installs: its files, lib files, and registry dependencies (resolved recursively). Keeps files you changed unless `--force`, prints the `npm i` list and any missing CSS variables. If the registry has no item for the id (or is unreachable), it says so and writes the recipe's Code excerpt instead; `--excerpt` forces that offline path (0.6.4). |
|
|
19
19
|
| `recipes list` / `recipes show <id>` | Agent-ready implementation contracts (45 recipes). |
|
|
20
20
|
| `assets search <query>` / `assets show <id>` | One md per asset (registry + recipes): definition, usage rules, install command. Bundled, works offline. `show` on an unknown id exits `1` with 3 closest ids (0.6.0). |
|
|
21
21
|
| `site list` / `site get <slug> [dir]` | Download a reproduced-site bundle: structure only (code, layout, motion, text). Images are same-size blank placeholders; video, audio and fonts are left out (originals stay with their owners). Verifies sha256, refuses a non-empty dir, unknown slug exits `1` with closest slugs. Base URL override: `ASKEWLY_SITE_BUNDLE_URL`. |
|