@kitschpatrol/tldraw-cli 4.6.23 → 4.6.25
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/bin/cli.js +10 -10
- package/dist/lib/index.js +9 -9
- package/dist/tldraw/assets/{index-C2BaKzIv.css → index-BHFVZ_iK.css} +1 -1
- package/dist/tldraw/assets/index-DyzbA0xv.js +425 -0
- package/dist/tldraw/index.html +2 -2
- package/dist/tldraw/translations/da.json +396 -396
- package/dist/tldraw/translations/main.json +1 -0
- package/dist/tldraw/translations/pl.json +329 -45
- package/dist/tldraw/translations/so.json +396 -396
- package/package.json +12 -12
- package/readme.md +3 -3
- package/dist/tldraw/assets/index-DdEbG3Vv.js +0 -425
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/tldraw-cli",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A CLI tool for exporting tldraw sketch URLs and local .tldr files to a variety of image formats.",
|
|
6
6
|
"repository": "github:kitschpatrol/tldraw-cli",
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@fontsource/inter": "^5.1.0",
|
|
42
|
-
"express": "^4.21.
|
|
43
|
-
"puppeteer": "^23.
|
|
42
|
+
"express": "^4.21.2",
|
|
43
|
+
"puppeteer": "^23.11.1",
|
|
44
44
|
"uint8array-extras": "^1.4.0",
|
|
45
45
|
"yargs": "^17.7.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@kitschpatrol/shared-config": "^4.7.12",
|
|
49
49
|
"@sindresorhus/slugify": "^2.2.1",
|
|
50
|
-
"@tldraw/assets": "3.
|
|
50
|
+
"@tldraw/assets": "3.7.0-canary.383dfd14bf86",
|
|
51
51
|
"@types/express": "^4.17.21",
|
|
52
52
|
"@types/node": "18.0.0",
|
|
53
|
-
"@types/react": "^18.3.
|
|
54
|
-
"@types/react-dom": "^18.3.
|
|
53
|
+
"@types/react": "^18.3.18",
|
|
54
|
+
"@types/react-dom": "^18.3.5",
|
|
55
55
|
"@types/yargs": "^17.0.33",
|
|
56
56
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
57
|
-
"bumpp": "^9.
|
|
58
|
-
"chalk": "^5.
|
|
57
|
+
"bumpp": "^9.9.1",
|
|
58
|
+
"chalk": "^5.4.1",
|
|
59
59
|
"cheerio": "^1.0.0",
|
|
60
|
-
"esbuild": "^0.24.
|
|
60
|
+
"esbuild": "^0.24.2",
|
|
61
61
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
62
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
62
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
63
63
|
"get-port": "^7.1.0",
|
|
64
64
|
"nanoid": "^5.0.9",
|
|
65
65
|
"open": "^10.1.0",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"sharp": "^0.33.5",
|
|
73
73
|
"sharp-phash": "^2.2.0",
|
|
74
74
|
"strip-ansi": "^7.1.0",
|
|
75
|
-
"tldraw": "3.
|
|
75
|
+
"tldraw": "3.7.0-canary.383dfd14bf86",
|
|
76
76
|
"tsx": "^4.19.2",
|
|
77
77
|
"typescript": "^5.7.2",
|
|
78
78
|
"untildify": "^5.0.0",
|
|
79
79
|
"vite": "^5.4.11",
|
|
80
|
-
"vitest": "^2.1.
|
|
80
|
+
"vitest": "^2.1.8"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -70,7 +70,7 @@ npm install --global @kitschpatrol/tldraw-cli
|
|
|
70
70
|
|
|
71
71
|
### CLI
|
|
72
72
|
|
|
73
|
-
>
|
|
73
|
+
> [!NOTE]
|
|
74
74
|
> As of version 4.5.0, command line functionality is aliased to both `tldraw` and `tldraw-cli`.
|
|
75
75
|
>
|
|
76
76
|
> **The less verbose `tldraw` command is preferred.** The `tldraw-cli` alias is deprecated and will be removed in the next major version.
|
|
@@ -378,7 +378,7 @@ await tldrawToImage('https://www.tldraw.com/s/v2_c_JsxJk8dag6QsrqExukis4')
|
|
|
378
378
|
|
|
379
379
|
Mirrors the `tldraw open` CLI command.
|
|
380
380
|
|
|
381
|
-
>
|
|
381
|
+
> [!CAUTION]
|
|
382
382
|
> Passing a local .tldr file with the `location: 'remote'` option will upload and share your sketch on tldraw\.com.
|
|
383
383
|
|
|
384
384
|
```tsx
|
|
@@ -429,7 +429,7 @@ async function tldrawToShareUrl(tldrPathOrUrl: string): Promise<string>
|
|
|
429
429
|
|
|
430
430
|
Returns a live "share" url for a given local or remote tldraw sketch URL.
|
|
431
431
|
|
|
432
|
-
>
|
|
432
|
+
> [!CAUTION]
|
|
433
433
|
> Passing a local .tldr file to this function will upload and share your local file to tldraw\.com.
|
|
434
434
|
|
|
435
435
|
### Common workflows
|