pattapatta 0.4.1 → 0.4.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 1bb9bdd: Add `llms.txt` / `llms-full.txt` (and generated module pages) for AI consumers, keep them in sync with the docs site, and align sidebar chrome with the main content background.
8
+
3
9
  ## 0.4.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -40,13 +40,16 @@ pnpm dlx pattapatta svg:roundtrip in.svg -o out.svg
40
40
 
41
41
  Live: [pattapatta.madorkestra.com](https://pattapatta.madorkestra.com) (GitHub Pages; deploys on push to `main`).
42
42
 
43
+ For AI agents: [llms.txt](https://pattapatta.madorkestra.com/llms.txt) (index) and [llms-full.txt](https://pattapatta.madorkestra.com/llms-full.txt) (full API dump). Explainer: [/llms-txt](https://pattapatta.madorkestra.com/llms-txt).
44
+
43
45
  Local documentation PWA (SvelteKit + shadcn):
44
46
 
45
47
  ```bash
46
48
  pnpm install
47
49
  pnpm docs:dev
48
50
  pnpm docs:build
49
- pnpm docs:examples # regenerate SVG figures
51
+ pnpm docs:examples # regenerate SVG figures (+ llms.txt)
52
+ pnpm docs:llms # regenerate llms.txt / llms-full.txt only
50
53
  ```
51
54
 
52
55
  ## Modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pattapatta",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Pen-plotter geometry library (PGS-inspired): hatching, packing, boolean paths for SVG",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -132,9 +132,11 @@
132
132
  "test": "vitest run",
133
133
  "test:watch": "vitest",
134
134
  "typecheck": "tsc --noEmit",
135
- "docs:examples": "pnpm run build && node scripts/generate-docs-examples.mjs",
135
+ "docs:examples": "pnpm run build && node scripts/generate-docs-examples.mjs && node scripts/generate-llms-txt.mjs",
136
+ "docs:llms": "node scripts/generate-llms-txt.mjs",
137
+ "docs:llms:check": "node scripts/generate-llms-txt.mjs --check",
136
138
  "docs:dev": "pnpm --filter website dev",
137
- "docs:build": "pnpm --filter website build",
139
+ "docs:build": "node scripts/generate-llms-txt.mjs && pnpm --filter website build",
138
140
  "changeset": "changeset",
139
141
  "version-packages": "changeset version",
140
142
  "release": "pnpm build && changeset publish",