tldraw_final_v6_final(old version).docx.pdf (#2998)

Rename `@tldraw/tldraw` to just `tldraw`! `@tldraw/tldraw` still exists
as an alias to `tldraw` for folks who are still using that.

### Test Plan

- [x] Unit Tests
- [ ] End to end tests

### Release Notes

- The `@tldraw/tldraw` package has been renamed to `tldraw`. You can
keep using the old version if you want though!
This commit is contained in:
alex 2024-02-29 16:06:19 +00:00 committed by GitHub
parent ae531da193
commit a0628f9cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
206 changed files with 1602 additions and 1263 deletions

View file

@ -37,7 +37,7 @@
"lint": "yarn run -T tsx ../../scripts/lint.ts"
},
"devDependencies": {
"@tldraw/tldraw": "workspace:*",
"tldraw": "workspace:*",
"typescript": "^5.3.3",
"uuid-by-string": "^4.0.0",
"uuid-readable": "^0.0.2"

View file

@ -10,7 +10,7 @@ import {
createShapeId,
defaultShapeUtils,
defaultTools,
} from '@tldraw/tldraw'
} from 'tldraw'
import { RandomSource } from './RandomSource'
export type Op =

View file

@ -1,4 +1,4 @@
import { TLRecord, createTLStore, defaultShapeUtils } from '@tldraw/tldraw'
import { TLRecord, createTLStore, defaultShapeUtils } from 'tldraw'
import { type WebSocket } from 'ws'
import { RoomSessionState } from '../lib/RoomSession'
import { DBLoadResult, TLServer } from '../lib/TLServer'

View file

@ -1,4 +1,4 @@
import { coreShapes, defaultShapeUtils } from '@tldraw/tldraw'
import { coreShapes, defaultShapeUtils } from 'tldraw'
import { schema } from '../lib/schema'
describe('schema', () => {

View file

@ -1,3 +1,5 @@
import isEqual from 'lodash.isequal'
import { nanoid } from 'nanoid'
import {
Editor,
TLArrowShape,
@ -6,9 +8,7 @@ import {
computed,
createPresenceStateDerivation,
createTLStore,
} from '@tldraw/tldraw'
import isEqual from 'lodash.isequal'
import { nanoid } from 'nanoid'
} from 'tldraw'
import { TLSyncClient } from '../lib/TLSyncClient'
import { schema } from '../lib/schema'
import { FuzzEditor, Op } from './FuzzEditor'