@kitschpatrol/tldraw-cli 4.6.23 → 4.6.24
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 +4 -4
- package/dist/lib/index.js +3 -3
- package/dist/tldraw/assets/{index-C2BaKzIv.css → index-CpW4rwyq.css} +1 -1
- package/dist/tldraw/assets/index-lVDXOU2B.js +425 -0
- package/dist/tldraw/index.html +2 -2
- package/dist/tldraw/translations/main.json +1 -0
- package/package.json +7 -7
- package/readme.md +3 -3
- package/dist/tldraw/assets/index-DdEbG3Vv.js +0 -425
package/dist/tldraw/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>tldraw via tldraw-cli</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-lVDXOU2B.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CpW4rwyq.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
|
@@ -296,6 +296,7 @@
|
|
|
296
296
|
"people-menu.leading": "Following You",
|
|
297
297
|
"people-menu.user": "(You)",
|
|
298
298
|
"people-menu.invite": "Invite others",
|
|
299
|
+
"help-menu.import-tldr-file": "Import file...",
|
|
299
300
|
"help-menu.title": "Help and resources",
|
|
300
301
|
"help-menu.about": "About tldraw",
|
|
301
302
|
"help-menu.docs": "Documentation & API",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/tldraw-cli",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.24",
|
|
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",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@fontsource/inter": "^5.1.0",
|
|
42
42
|
"express": "^4.21.1",
|
|
43
|
-
"puppeteer": "^23.
|
|
43
|
+
"puppeteer": "^23.10.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.6.0",
|
|
51
51
|
"@types/express": "^4.17.21",
|
|
52
52
|
"@types/node": "18.0.0",
|
|
53
|
-
"@types/react": "^18.3.
|
|
53
|
+
"@types/react": "^18.3.13",
|
|
54
54
|
"@types/react-dom": "^18.3.1",
|
|
55
55
|
"@types/yargs": "^17.0.33",
|
|
56
56
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"cheerio": "^1.0.0",
|
|
60
60
|
"esbuild": "^0.24.0",
|
|
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.6.0",
|
|
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
|