Cleans up packages, tsconfigs, fixes for docs
This commit is contained in:
parent
a3da5e1937
commit
f7971d5c6f
17 changed files with 77 additions and 71 deletions
|
@ -26,8 +26,8 @@
|
||||||
"build": "yarn build:packages && cd packages/www && yarn build",
|
"build": "yarn build:packages && cd packages/www && yarn build",
|
||||||
"build:packages": "cd packages/vec && yarn build && cd ../intersect && yarn build && cd ../core && yarn build && cd ../tldraw && yarn build",
|
"build:packages": "cd packages/vec && yarn build && cd ../intersect && yarn build && cd ../core && yarn build && cd ../tldraw && yarn build",
|
||||||
"publish:patch": "yarn build:packages && lerna publish patch",
|
"publish:patch": "yarn build:packages && lerna publish patch",
|
||||||
"docs": "lerna run docs --stream",
|
"docs": "lerna run docs",
|
||||||
"docs:watch": "lerna run docs:watch --stream"
|
"docs:watch": "lerna run docs:watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.15.0",
|
"@babel/core": "^7.15.0",
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
"resize-observer-polyfill": "^1.5.1",
|
||||||
"ts-jest": "^27.0.5",
|
"ts-jest": "^27.0.5",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"typedoc": "^0.21.9",
|
"typedoc": "^0.22.3",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"ts-node": "^10.2.1",
|
"ts-node": "^10.2.1",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "^0.21.9",
|
"typedoc": "^0.22.3",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -59,5 +59,5 @@
|
||||||
"@tldraw/vec": "^0.0.87",
|
"@tldraw/vec": "^0.0.87",
|
||||||
"@use-gesture/react": "^10.0.0-beta.24"
|
"@use-gesture/react": "^10.0.0-beta.24"
|
||||||
},
|
},
|
||||||
"gitHead": "55da8880eb3d8ab5fb62b5eb7853065922c95dcf"
|
"gitHead": "a3da5e193714091f092c328de4c2178b54d3d270"
|
||||||
}
|
}
|
|
@ -14,6 +14,7 @@
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"incremental": false,
|
"incremental": false,
|
||||||
"declarationMap": false,
|
"declarationMap": false,
|
||||||
"sourceMap": false
|
"sourceMap": false,
|
||||||
|
"emitDeclarationOnly": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,14 +6,13 @@
|
||||||
"outDir": "./dist/types",
|
"outDir": "./dist/types",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"baseUrl": "src",
|
"baseUrl": "src",
|
||||||
|
"emitDeclarationOnly": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"+*": ["./*"]
|
"+*": ["./*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"references": [
|
"typedocOptions": {
|
||||||
{
|
"entryPoints": ["src/index.ts"],
|
||||||
"path": "../../packages/intersect"
|
"out": "docs"
|
||||||
},
|
}
|
||||||
{ "path": "../../packages/vec" }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
# Dev Server
|
# @tldraw/dev
|
||||||
|
|
||||||
Dev server with fast refresh.
|
A very fast dev server.
|
||||||
|
|
||||||
|
You probably do not need to start the server here: it is started as
|
||||||
|
part of `yarn start` in the root directory.
|
||||||
|
|
|
@ -1,15 +1,18 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["node_modules", "**/*.test.ts", "**/*.spec.ts", "dist"],
|
"exclude": ["node_modules", "dist", "docs"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"outDir": "./dist/types",
|
||||||
"rootDir": "."
|
"rootDir": "src",
|
||||||
|
"baseUrl": "src",
|
||||||
|
"emitDeclarationOnly": false,
|
||||||
|
"paths": {
|
||||||
|
"+*": ["./*"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"references": [
|
"typedocOptions": {
|
||||||
{
|
"entryPoints": ["src/index.ts"],
|
||||||
"path": "../../packages/tldraw"
|
"out": "docs"
|
||||||
},
|
}
|
||||||
{ "path": "../../packages/core" }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Dev Server
|
# @tldraw/intersect
|
||||||
|
|
||||||
Dev server with fast refresh.
|
Intersection utilities.
|
||||||
|
|
|
@ -46,11 +46,11 @@
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"ts-node": "^10.2.1",
|
"ts-node": "^10.2.1",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "^0.21.9",
|
"typedoc": "^0.22.3",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tldraw/vec": "^0.0.87"
|
"@tldraw/vec": "^0.0.87"
|
||||||
},
|
},
|
||||||
"gitHead": "55da8880eb3d8ab5fb62b5eb7853065922c95dcf"
|
"gitHead": "a3da5e193714091f092c328de4c2178b54d3d270"
|
||||||
}
|
}
|
|
@ -14,6 +14,7 @@
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"incremental": false,
|
"incremental": false,
|
||||||
"declarationMap": false,
|
"declarationMap": false,
|
||||||
"sourceMap": false
|
"sourceMap": false,
|
||||||
|
"emitDeclarationOnly": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,11 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist/types",
|
"outDir": "./dist/types",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"baseUrl": "src"
|
"baseUrl": "src",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
},
|
},
|
||||||
"references": [{ "path": "../../packages/vec" }]
|
"typedocOptions": {
|
||||||
|
"entryPoints": ["src/index.ts"],
|
||||||
|
"out": "docs"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"ts-node": "^10.2.1",
|
"ts-node": "^10.2.1",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "^0.21.9",
|
"typedoc": "^0.22.3",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -71,5 +71,5 @@
|
||||||
"react-hotkeys-hook": "^3.4.0",
|
"react-hotkeys-hook": "^3.4.0",
|
||||||
"rko": "^0.5.25"
|
"rko": "^0.5.25"
|
||||||
},
|
},
|
||||||
"gitHead": "55da8880eb3d8ab5fb62b5eb7853065922c95dcf"
|
"gitHead": "a3da5e193714091f092c328de4c2178b54d3d270"
|
||||||
}
|
}
|
|
@ -14,6 +14,7 @@
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"incremental": false,
|
"incremental": false,
|
||||||
"declarationMap": false,
|
"declarationMap": false,
|
||||||
"sourceMap": false
|
"sourceMap": false,
|
||||||
|
"emitDeclarationOnly": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,19 +3,16 @@
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["node_modules", "dist", "docs"],
|
"exclude": ["node_modules", "dist", "docs"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
|
||||||
"composite": true,
|
|
||||||
"emitDeclarationOnly": true,
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "./dist/types",
|
"outDir": "./dist/types",
|
||||||
|
"rootDir": "src",
|
||||||
"baseUrl": "src",
|
"baseUrl": "src",
|
||||||
|
"emitDeclarationOnly": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"~*": ["./*"]
|
"~*": ["./*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"references": [
|
"typedocOptions": {
|
||||||
{ "path": "../../packages/intersect" },
|
"entryPoints": ["src/index.ts"],
|
||||||
{ "path": "../../packages/vec" },
|
"out": "docs"
|
||||||
{ "path": "../../packages/core" }
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Dev Server
|
# @tldraw/vec
|
||||||
|
|
||||||
Dev server with fast refresh.
|
Vector utilities.
|
||||||
|
|
|
@ -46,8 +46,8 @@
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"ts-node": "^10.2.1",
|
"ts-node": "^10.2.1",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "^0.21.9",
|
"typedoc": "^0.22.3",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
},
|
},
|
||||||
"gitHead": "55da8880eb3d8ab5fb62b5eb7853065922c95dcf"
|
"gitHead": "a3da5e193714091f092c328de4c2178b54d3d270"
|
||||||
}
|
}
|
|
@ -5,6 +5,11 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist/types",
|
"outDir": "./dist/types",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"baseUrl": "src"
|
"baseUrl": "src",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"typedocOptions": {
|
||||||
|
"entryPoints": ["src/index.ts"],
|
||||||
|
"out": "docs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
32
yarn.lock
32
yarn.lock
|
@ -7240,7 +7240,7 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
|
||||||
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
|
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
|
||||||
|
|
||||||
handlebars@^4.7.6, handlebars@^4.7.7:
|
handlebars@^4.7.6:
|
||||||
version "4.7.7"
|
version "4.7.7"
|
||||||
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
|
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
|
||||||
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
|
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
|
||||||
|
@ -9318,7 +9318,7 @@ map-visit@^1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
object-visit "^1.0.0"
|
object-visit "^1.0.0"
|
||||||
|
|
||||||
marked@^3.0.2:
|
marked@^3.0.3:
|
||||||
version "3.0.3"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/marked/-/marked-3.0.3.tgz#d81ff0f9e29cef0a177327fe009b460f31aa5862"
|
resolved "https://registry.yarnpkg.com/marked/-/marked-3.0.3.tgz#d81ff0f9e29cef0a177327fe009b460f31aa5862"
|
||||||
integrity sha512-4oIDhVSQ2s+xNCfek9OnZgCQR/WykGCom02JzIIvi4Pme+MIwPYqvGVW8CQWOXeoZu0TtVB6pTxIuoLm+dKqDA==
|
integrity sha512-4oIDhVSQ2s+xNCfek9OnZgCQR/WykGCom02JzIIvi4Pme+MIwPYqvGVW8CQWOXeoZu0TtVB6pTxIuoLm+dKqDA==
|
||||||
|
@ -9470,7 +9470,7 @@ minimalistic-crypto-utils@^1.0.1:
|
||||||
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
|
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
|
||||||
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
|
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
|
||||||
|
|
||||||
minimatch@^3.0.0, minimatch@^3.0.4:
|
minimatch@^3.0.4:
|
||||||
version "3.0.4"
|
version "3.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
||||||
|
@ -10887,7 +10887,7 @@ process@0.11.10, process@^0.11.10:
|
||||||
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
|
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
|
||||||
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
|
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
|
||||||
|
|
||||||
progress@^2.0.0, progress@^2.0.3:
|
progress@^2.0.0:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
|
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
|
||||||
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
|
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
|
||||||
|
@ -11877,7 +11877,7 @@ shell-quote@1.7.2:
|
||||||
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
|
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
|
||||||
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
|
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
|
||||||
|
|
||||||
shiki@^0.9.8:
|
shiki@^0.9.10:
|
||||||
version "0.9.10"
|
version "0.9.10"
|
||||||
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.10.tgz#feb8d4938b5dd71c5c8b1c1c7cd28fbbd37da087"
|
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.10.tgz#feb8d4938b5dd71c5c8b1c1c7cd28fbbd37da087"
|
||||||
integrity sha512-xeM7Oc6hY+6iW5O/T5hor8ul7mEprzyl5y4r5zthEHToQNw7MIhREMgU3r2gKDB0NaMLNrkcEQagudCdzE13Lg==
|
integrity sha512-xeM7Oc6hY+6iW5O/T5hor8ul7mEprzyl5y4r5zthEHToQNw7MIhREMgU3r2gKDB0NaMLNrkcEQagudCdzE13Lg==
|
||||||
|
@ -13002,24 +13002,16 @@ typedarray@^0.0.6:
|
||||||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||||
|
|
||||||
typedoc-default-themes@^0.12.10:
|
typedoc@^0.22.3:
|
||||||
version "0.12.10"
|
version "0.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.10.tgz#614c4222fe642657f37693ea62cad4dafeddf843"
|
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.3.tgz#c67aaeef22702d84267bda12dc13f192dbf9d89e"
|
||||||
integrity sha512-fIS001cAYHkyQPidWXmHuhs8usjP5XVJjWB8oZGqkTowZaz3v7g3KDZeeqE82FBrmkAnIBOY3jgy7lnPnqATbA==
|
integrity sha512-EOWf9Vf3Vfb/jzBzr87uoLybQw9fx3iyXLUcpQn9F2Ks1/ZJN9iGeBbYRU+VNqrWvV4T+aS7Ife7GFEJUf0ohQ==
|
||||||
|
|
||||||
typedoc@^0.21.9:
|
|
||||||
version "0.21.9"
|
|
||||||
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.21.9.tgz#6fbdc7152024a00f03af53a0ca40f44e91f0f129"
|
|
||||||
integrity sha512-VRo7aII4bnYaBBM1lhw4bQFmUcDQV8m8tqgjtc7oXl87jc1Slbhfw2X5MccfcR2YnEClHDWgsiQGgNB8KJXocA==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
glob "^7.1.7"
|
glob "^7.1.7"
|
||||||
handlebars "^4.7.7"
|
|
||||||
lunr "^2.3.9"
|
lunr "^2.3.9"
|
||||||
marked "^3.0.2"
|
marked "^3.0.3"
|
||||||
minimatch "^3.0.0"
|
minimatch "^3.0.4"
|
||||||
progress "^2.0.3"
|
shiki "^0.9.10"
|
||||||
shiki "^0.9.8"
|
|
||||||
typedoc-default-themes "^0.12.10"
|
|
||||||
|
|
||||||
typeorm@^0.2.30:
|
typeorm@^0.2.30:
|
||||||
version "0.2.37"
|
version "0.2.37"
|
||||||
|
|
Loading…
Reference in a new issue