Files
upstream-tldraw/package.json
upstream-mirror a774ac673a
Some checks failed
Deploy analytics worker / Deploy analytics worker to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
i18n upload strings / Upload latest strings (push) Failing after 1s
Deploy bemo / Deploy bemo to ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
Deploy grafana resources / ${{ github.event_name == 'push' && 'Deploy grafana resources' || 'Validate grafana resources (dry run)' }} (push) Failing after 0s
End to end tests (dotcom) / Check for relevant changes (push) Failing after 0s
End to end tests (examples) / Check for relevant changes (push) Failing after 0s
End to end tests (mermaid readability) / Check for relevant changes (push) Failing after 1s
End to end tests (perf) / Check for relevant changes (push) Failing after 0s
Publish editor extensions / Publish editor extensions (push) Failing after 1s
Publish SDK packages / Remove the publish-packages label (push) Has been skipped
Checks / Tests & checks (push) Has been cancelled
Checks / Build all projects (push) Has been cancelled
Deploy templates / Deploy templates (push) Has been cancelled
End to end tests (dotcom) / End to end tests (dotcom) (push) Has been cancelled
End to end tests (mermaid readability) / End to end tests (mermaid readability) (push) Has been cancelled
End to end tests (perf) / End to end tests (perf) (push) Has been cancelled
Deploy .com / Deploy dotcom to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Has been cancelled
End to end tests (examples) / End to end tests (examples) (push) Has been cancelled
Publish SDK packages / Publish SDK packages (push) Has been cancelled
Publish SDK packages / Tell user released version (push) Has been cancelled
Publish SDK packages / Publishes code templates to separate repositories (push) Has been cancelled
Publish SDK packages / Deploys the template demos with the new SDK version (push) Has been cancelled
snapshot of https://github.com/tldraw/tldraw.git (main, 2026-09-23; blobs > 131072B omitted)
2026-09-23 16:12:52 +05:00

203 lines
6.9 KiB
JSON

{
"name": "@tldraw/monorepo",
"description": "tldraw infinite canvas SDK (monorepo).",
"version": "0.0.0",
"private": true,
"author": {
"name": "tldraw Inc.",
"email": "hello@tldraw.com"
},
"homepage": "https://tldraw.dev",
"repository": {
"type": "git",
"url": "https://github.com/tldraw/tldraw"
},
"bugs": {
"url": "https://github.com/tldraw/tldraw/issues"
},
"keywords": [
"tldraw",
"sdk",
"drawing",
"app",
"development",
"whiteboard",
"canvas",
"infinite"
],
"workspaces": [
"packages/*",
"apps/*",
"apps/vscode/*",
"apps/dotcom/*",
"internal/*",
"templates/*"
],
"scripts": {
"aws-login": "aws sso login --sso-session=tldraw",
"clean": "internal/scripts/clean.sh",
"extract-draft-changelog": "tsx internal/scripts/extract-draft-changelog.tsx",
"postinstall": "husky install && yarn refresh-assets",
"refresh-assets": "lazy refresh-assets",
"dev": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter='apps/examples' --filter='packages/tldraw' --filter='apps/bemo-worker' --filter='apps/dotcom/image-resize-worker'",
"dev-vscode": "code ./apps/vscode/extension && lazy run dev --filter='apps/vscode/{extension,editor}'",
"dev-app": "process-compose -f apps/dotcom/process-compose.yaml up",
"dev-app:clean": "docker compose -f apps/dotcom/zero-cache/docker/docker-compose.yml down --volumes && rm -f /tmp/tldraw-dotcom-zero-dev.db /tmp/tldraw-dotcom-zero-dev.db-shm /tmp/tldraw-dotcom-zero-dev.db-wal && rm -rf apps/dotcom/sync-worker/.wrangler/state-dev apps/dotcom/zero-cache/.schema.js",
"dev-app:doctor": "process-compose -f apps/dotcom/process-compose.yaml process list",
"dev-docs": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter='apps/docs'",
"dev-huppy": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter 'internal/huppy'",
"dev-template": "./internal/scripts/dev-template.sh",
"build": "lazy build",
"build-app": "lazy run build --filter 'apps/dotcom/client'",
"build-docs": "lazy run build --filter 'apps/docs'",
"build-types": "lazy inherit",
"build-api": "lazy build-api",
"build-i18n": "lazy build-i18n",
"build-package": "lazy run build --filter 'packages/*'",
"preview-app": "yarn build-app && VITE_PREVIEW=1 yarn dev-app",
"preview-examples": "lazy run build --filter='apps/examples' && cd apps/examples && yarn preview",
"lint": "tsx internal/scripts/lint.ts",
"format": "tsx internal/scripts/lint.ts --fix",
"format-current": "tsx internal/scripts/lint.ts --fix --current",
"lint-current": "tsx internal/scripts/lint.ts --current",
"typecheck": "yarn refresh-assets && tsx internal/scripts/typecheck.ts",
"profile-typescript": "tsx internal/scripts/profile-typescript.ts",
"profile-tsserver": "tsx internal/scripts/profile-tsserver.ts",
"check-packages": "tsx internal/scripts/check-packages.ts",
"product-manifest": "tsx internal/scripts/product-manifest.ts",
"check-circular-deps": "tsx internal/scripts/check-circular-deps.ts",
"update-pr-template": "tsx internal/scripts/update-pr-template.ts",
"generate-test-licenses": "tsx internal/scripts/generate-test-licenses.ts",
"license-report": "tsx internal/scripts/license-report.ts",
"api-check": "lazy api-check",
"test-ci": "yarn vitest run",
"test": "yarn vitest",
"test-coverage": "yarn vitest run --coverage && open-cli coverage/index.html",
"e2e": "lazy e2e --filter='apps/examples'",
"e2e-dotcom": "yarn workspace dotcom e2e",
"e2e-dotcom-smoke": "yarn workspace dotcom e2e-smoke",
"e2e-dotcom-all": "yarn workspace dotcom e2e-all",
"e2e-dotcom-x10": "yarn workspace dotcom e2e-x10",
"e2e-dotcom-smoke-x10": "yarn workspace dotcom e2e-smoke-x10",
"e2e-dotcom-all-x10": "yarn workspace dotcom e2e-all-x10",
"i18n-check": "i18n-check",
"i18n-upload-strings": "tsx internal/scripts/i18n-upload-strings.ts",
"i18n-download-strings": "tsx internal/scripts/i18n-download-strings.ts",
"i18n-fix-strings": "tsx internal/scripts/i18n-fix-strings.ts"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=22.12.0"
},
"packageManager": "yarn@4.17.1",
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs}": [
"oxfmt --no-error-on-unmatched-pattern",
"oxlint --no-error-on-unmatched-pattern"
],
"*.{css,md,mdx,html,yml,yaml}": [
"oxfmt --no-error-on-unmatched-pattern"
]
},
"devDependencies": {
"@lingual/i18n-check": "^0.5.5",
"@microsoft/api-extractor": "^7.55.2",
"@swc/core": "^1.15.18",
"@tldraw/scripts": "workspace:*",
"@types/adm-zip": "^0.5.7",
"@types/aws-lambda": "8.10.148",
"@types/glob": "^8.1.0",
"@types/node": "^22.15.31",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^5.0.0",
"@vitest/ui": "^5.0.0",
"adm-zip": "^0.6.0",
"fs-extra": "^11.3.0",
"husky": "^8.0.3",
"jsdom": "^29.1.1",
"lazyrepo": "0.0.0-alpha.27",
"license-report": "^6.7.1",
"lint-staged": "^15.4.3",
"open-cli": "^8.0.0",
"oxfmt": "^0.41.0",
"oxlint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0",
"rimraf": "^4.4.1",
"tsx": "^4.19.2",
"typescript": "^7.0.2",
"vercel": "^52.0.0",
"vitest": "^5.0.0",
"vitest-canvas-mock": "^1.1.3"
},
"// dependenciesMeta": [
"enableScripts is false in .yarnrc.yml, so dependency build/install scripts don't run",
"unless allowlisted here with built: true. Add an entry when introducing a native or",
"binary-downloading dependency — Yarn silently skips unlisted scripts, so a missing entry",
"surfaces as a runtime/build failure, not an install error. See AGENTS.md.",
"",
"workerd stays built: false: its postinstall runs the native binary to self-check it, which",
"fails on CI images without GLIBC 2.35+ (e.g. Vercel, which builds the docs site). Skipping",
"the build script doesn't affect wrangler at dev time — wrangler still invokes the platform",
"binary normally on developer machines."
],
"dependenciesMeta": {
"@rocicorp/zero-sqlite3": {
"built": true
},
"@sentry/cli": {
"built": true
},
"@swc/core": {
"built": true
},
"@vscode/vsce-sign": {
"built": true
},
"better-sqlite3": {
"built": true
},
"edgedriver": {
"built": true
},
"esbuild": {
"built": true
},
"geckodriver": {
"built": true
},
"keytar": {
"built": true
},
"sharp": {
"built": true
},
"sqlite3": {
"built": true
},
"workerd": {
"built": false
}
},
"resolutions": {
"@microsoft/tsdoc@npm:~0.15.1": "patch:@microsoft/tsdoc@npm%3A0.15.1#~/.yarn/patches/@microsoft-tsdoc-npm-0.15.1-e24295d9bd.patch",
"@microsoft/tsdoc@npm:0.15.1": "patch:@microsoft/tsdoc@npm%3A0.15.1#~/.yarn/patches/@microsoft-tsdoc-npm-0.15.1-e24295d9bd.patch",
"@types/node": "^22.15.31",
"ws": "8.21.0",
"js-cookie": "3.0.7",
"postcss": "8.5.23",
"react-router": "6.30.4",
"@remix-run/router": "1.23.2",
"@octokit/plugin-paginate-rest@11.3.1": "11.4.1",
"undici@7.24.4": "7.28.0",
"ip-address@10.1.0": "10.2.0"
},
"dependencies": {
"@sentry/cli": "^2.41.1",
"cross-env": "^7.0.3",
"esbuild": "^0.28.0",
"svgo": "^3.3.3"
}
}