Tldraw/packages/editor/src/lib/config
David Sheldrick 67f5c25c73
[chore] move schema construction to tlschema package (#1334)
Our private tlsync package currently depends on the editor package,
which balloons the size of the cloudflare worker. It also makes it so
that any change to any package triggers a worker refresh, which makes
working on multiplayer stuff kinda miserable.

This is the first PR to fix that problem.

The second PR will need to resolve TLSyncClient's dependency on the
debugFlags somehow. Easiest would be to just remove the offending flag,
but we might want cross-bublic debug flags at some point in the future
so I'll try to find a low-cost way to make that happen while making
`tlsync` not depend on `editor`.

cc @TodePond since you added the flag in question
(`tldrawResetConnectionEveryPing`)

### Release Note

- internal moving stuff around
2023-05-09 14:40:58 +00:00
..
SyncedStore.tsx transfer-out: transfer out 2023-04-25 12:01:25 +01:00
TLShapeDefinition.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
TldrawEditorConfig.tsx [chore] move schema construction to tlschema package (#1334) 2023-05-09 14:40:58 +00:00