c1fe8ec99a
this PR puts sync stuff in the bemo worker, and sets up a temporary dev-only page in dotcom for testing bemo stuff ### Change type - [ ] `bugfix` - [ ] `improvement` - [x] `feature` - [ ] `api` - [ ] `other` ### Test plan 1. Create a shape... 2. - [ ] Unit tests - [ ] End to end tests ### Release notes - Fixed a bug with...
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "@tldraw/dotcom-worker",
|
|
"description": "A tiny little drawing app (merge server).",
|
|
"version": "2.0.0-alpha.11",
|
|
"private": true,
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"main": "./src/worker.ts",
|
|
"/* GOTCHA */": "files will include ./dist and index.d.ts by default, add any others you want to include in here",
|
|
"files": [],
|
|
"scripts": {
|
|
"dev": "yarn run -T tsx ../../scripts/workers/dev.ts",
|
|
"test-ci": "lazy inherit",
|
|
"test": "yarn run -T jest",
|
|
"test-coverage": "lazy inherit",
|
|
"check-bundle-size": "yarn run -T tsx ../../scripts/check-worker-bundle.ts --entry src/worker.ts --size-limit-bytes 350000",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/auth-helpers-remix": "^0.2.2",
|
|
"@supabase/supabase-js": "^2.33.2",
|
|
"@tldraw/dotcom-shared": "workspace:*",
|
|
"@tldraw/store": "workspace:*",
|
|
"@tldraw/sync": "workspace:*",
|
|
"@tldraw/tlschema": "workspace:*",
|
|
"@tldraw/utils": "workspace:*",
|
|
"@tldraw/validate": "workspace:*",
|
|
"@tldraw/worker-shared": "workspace:*",
|
|
"itty-router": "^4.0.13",
|
|
"nanoid": "4.0.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20240620.0",
|
|
"esbuild": "^0.21.5",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"typescript": "^5.3.3",
|
|
"wrangler": "3.62.0"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
|
]
|
|
}
|
|
}
|