67f5c25c73
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
70 lines
2 KiB
JSON
70 lines
2 KiB
JSON
{
|
|
"name": "@tldraw/tlschema",
|
|
"description": "A tiny little drawing app (schema).",
|
|
"version": "2.0.0-alpha.12",
|
|
"packageManager": "yarn@3.5.0",
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"homepage": "https://tldraw.dev",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
},
|
|
"keywords": [
|
|
"tldraw",
|
|
"drawing",
|
|
"app",
|
|
"development",
|
|
"whiteboard",
|
|
"canvas",
|
|
"infinite"
|
|
],
|
|
"/* NOTE */": "These `main` and `types` fields are rewritten by the build script. They are not the actual values we publish",
|
|
"main": "./src/index.ts",
|
|
"types": "./.tsbuild/index.d.ts",
|
|
"/* GOTCHA */": "files will include ./dist and index.d.ts by default, add any others you want to include in here",
|
|
"files": [],
|
|
"scripts": {
|
|
"test": "lazy inherit",
|
|
"test-coverage": "lazy inherit",
|
|
"new-record": "node ./scripts/new-record.js",
|
|
"new-shape": "node ./scripts/new-shape.js",
|
|
"new-asset": "node ./scripts/new-asset.js",
|
|
"index": "node ./scripts/build-index.js && yarn format",
|
|
"format": "yarn run -T prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
"build-package": "yarn run -T tsx ../../scripts/build-package.ts",
|
|
"build-api": "yarn run -T tsx ../../scripts/build-api.ts",
|
|
"prepack": "yarn run -T tsx ../../scripts/prepack.ts",
|
|
"postpack": "../../scripts/postpack.sh",
|
|
"pack-tarball": "yarn pack",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
|
},
|
|
"devDependencies": {
|
|
"kleur": "^4.1.5",
|
|
"lazyrepo": "0.0.0-alpha.26"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@tldraw/tlstore": "workspace:*",
|
|
"@tldraw/tlvalidate": "workspace:*",
|
|
"@tldraw/utils": "workspace:*",
|
|
"nanoid": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"signia": "*"
|
|
}
|
|
}
|