pattapatta 0.4.1 → 0.5.0
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 +12 -0
- package/README.md +6 -2
- package/dist/halftone/index.d.ts +109 -0
- package/dist/halftone/index.js +246 -0
- package/dist/halftone/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3610 -3411
- package/dist/index.js.map +1 -1
- package/package.json +12 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pattapatta",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Pen-plotter geometry library (PGS-inspired): hatching, packing, boolean paths for SVG",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Pen-plotter geometry library (PGS-inspired): hatching, image halftone, packing, boolean paths for SVG",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"svg",
|
|
20
20
|
"geometry",
|
|
21
21
|
"hatching",
|
|
22
|
+
"halftone",
|
|
22
23
|
"circle-packing",
|
|
23
24
|
"boolean",
|
|
24
25
|
"clipper",
|
|
@@ -55,6 +56,10 @@
|
|
|
55
56
|
"types": "./dist/hatch/index.d.ts",
|
|
56
57
|
"import": "./dist/hatch/index.js"
|
|
57
58
|
},
|
|
59
|
+
"./halftone": {
|
|
60
|
+
"types": "./dist/halftone/index.d.ts",
|
|
61
|
+
"import": "./dist/halftone/index.js"
|
|
62
|
+
},
|
|
58
63
|
"./circlePacking": {
|
|
59
64
|
"types": "./dist/circlePacking/index.d.ts",
|
|
60
65
|
"import": "./dist/circlePacking/index.js"
|
|
@@ -132,9 +137,11 @@
|
|
|
132
137
|
"test": "vitest run",
|
|
133
138
|
"test:watch": "vitest",
|
|
134
139
|
"typecheck": "tsc --noEmit",
|
|
135
|
-
"docs:examples": "pnpm run build && node scripts/generate-docs-examples.mjs",
|
|
140
|
+
"docs:examples": "pnpm run build && node scripts/generate-docs-examples.mjs && node scripts/generate-llms-txt.mjs",
|
|
141
|
+
"docs:llms": "node scripts/generate-llms-txt.mjs",
|
|
142
|
+
"docs:llms:check": "node scripts/generate-llms-txt.mjs --check",
|
|
136
143
|
"docs:dev": "pnpm --filter website dev",
|
|
137
|
-
"docs:build": "pnpm --filter website build",
|
|
144
|
+
"docs:build": "node scripts/generate-llms-txt.mjs && pnpm --filter website build",
|
|
138
145
|
"changeset": "changeset",
|
|
139
146
|
"version-packages": "changeset version",
|
|
140
147
|
"release": "pnpm build && changeset publish",
|
|
@@ -154,6 +161,7 @@
|
|
|
154
161
|
"@changesets/cli": "^3.0.3",
|
|
155
162
|
"@types/d3-delaunay": "^6.0.4",
|
|
156
163
|
"@types/node": "^22.13.10",
|
|
164
|
+
"sharp": "^0.35.4",
|
|
157
165
|
"tsup": "^8.4.0",
|
|
158
166
|
"typescript": "^5.8.2",
|
|
159
167
|
"vitest": "^3.0.9"
|