tldraw/scripts
alex 64e1fac897
[5/5] Move bemo from dotcom to examples (#4135)
Move our bemo playground from dotcom to the examples app. In preparation
for more multiplayer examples, I built our a little bit of chrome around
example room IDs: if you create an example with `multiplayer: true`, the
examples app will render a little room ID picker above your example. The
room IDs are scoped to each example, and each deploy of the examples
app. By default people on the same example will be in the same room, but
the default ID changes every hour.

As I was doing this, I noticed you could get an ugly situation where the
docs site was in dark mode, tldraw was in dark mode, but the little bit
of examples chrome was in light mode. To fix this I through together an
extremely rough dark mode for the examples which switches on whenever
the tldraw instance inside is in dark mode.

### Change type

- [x] `other`

---------

Co-authored-by: David Sheldrick <d.j.sheldrick@gmail.com>
2024-07-12 10:36:31 +00:00
..
lib put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
vercel Don't check api.json files into git (#3565) 2024-04-24 15:58:26 +00:00
workers [5/5] Move bemo from dotcom to examples (#4135) 2024-07-12 10:36:31 +00:00
api-check.ts security: enforce use of our fetch function and its default referrerpolicy (#3884) 2024-06-11 13:59:25 +00:00
build-api.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
build-package.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
check-scripts.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
check-tsconfigs.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
check-worker-bundle.ts check worker bundle sizes (#4032) 2024-06-27 13:48:17 +00:00
clean.sh Fix yarn clean (#2620) 2024-01-24 16:36:24 +00:00
deploy-bemo.ts Initial bemo worker setup (#4017) 2024-07-01 11:35:23 +00:00
deploy-dotcom.ts sdk: wires up tldraw to have licensing mechanisms (#4021) 2024-07-11 11:49:18 +00:00
license-report.ts [internal] Add license report scripts (#2751) 2024-04-01 13:36:40 +00:00
lint.ts [dx] Allow vscode to search inside md files by default (#3105) 2024-03-11 14:08:04 +00:00
package.json worker fixes (#4059) 2024-07-02 10:53:27 +00:00
postpack.sh transfer-out: transfer out 2023-04-25 12:01:25 +01:00
prepack.ts use native structuredClone on node, cloudflare workers, and in tests (#3166) 2024-03-18 17:16:09 +00:00
prune-preview-deploys.ts Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
publish-canary.ts Uploading the static assets to R2 bucket (#3921) 2024-06-14 12:25:42 +00:00
publish-manual.ts put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
publish-new.ts put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
publish-patch.ts put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
publish-vscode-extension.ts Do a pre-release of the VS code extension for merges to main. (#3957) 2024-06-26 07:23:25 +00:00
purge-css.ts [tweak] dark mode colors (#2469) 2024-01-14 16:27:16 +00:00
refresh-assets.ts sdk: wires up tldraw to have licensing mechanisms (#4021) 2024-07-11 11:49:18 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
typecheck.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
update-pr-template.ts Update pull_request_template.md (#4038) 2024-06-28 15:57:38 +00:00
upload-static-assets.ts Move from unpkg to our own cdn. (#3923) 2024-06-17 13:13:46 +00:00