Improve development tooling (#1516)
- Running `yarn build` in a `packages/*/` directory will trigger build of all dependencies too, and cache them if possible. - Fix for `yarn dev` breaking for `rrweb` package whenever changing files in `rrweb` package - Update typescript, turbo, vite and vite-plugin-dts - Require `workspaces-to-typescript-project-references` from `prepublish`
This commit is contained in:
11
package.json
11
package.json
@@ -37,18 +37,19 @@
|
||||
"markdownlint": "^0.25.1",
|
||||
"markdownlint-cli": "^0.31.1",
|
||||
"prettier": "2.8.4",
|
||||
"turbo": "^2.0.3",
|
||||
"typescript": "^4.9.5"
|
||||
"turbo": "^2.0.4",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references' 'yarn turbo run prepublish'",
|
||||
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test --concurrency=1 --continue'",
|
||||
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn turbo run prepublish",
|
||||
"references:update": "yarn workspaces-to-typescript-project-references",
|
||||
"test": "yarn turbo run test --concurrency=1 --continue",
|
||||
"test:watch": "yarn turbo run test:watch",
|
||||
"test:update": "yarn turbo run test:update",
|
||||
"check-types": "yarn turbo run check-types --continue",
|
||||
"format": "yarn prettier --write '**/*.{ts,md}'",
|
||||
"format:head": "git diff --name-only HEAD^ |grep '\\.ts$\\|\\.md$' |xargs yarn prettier --write",
|
||||
"dev": "CLEAR_DIST_DIR=false yarn turbo run dev --concurrency=17",
|
||||
"dev": "yarn turbo run dev --concurrency=17",
|
||||
"repl": "cd packages/rrweb && npm run repl",
|
||||
"live-stream": "cd packages/rrweb && yarn live-stream",
|
||||
"lint": "yarn run concurrently --success=all -r -m=1 'yarn run markdownlint docs' 'yarn eslint packages/*/src --ext .ts,.tsx,.js,.jsx,.svelte'",
|
||||
|
||||
Reference in New Issue
Block a user