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:
@@ -16,9 +16,9 @@
|
||||
"repl": "yarn build && node scripts/repl.js",
|
||||
"live-stream": "yarn build && node scripts/stream.js",
|
||||
"dev": "vite build --watch",
|
||||
"build": "tsc -noEmit && vite build",
|
||||
"build": "yarn turbo run prepublish",
|
||||
"check-types": "tsc -noEmit",
|
||||
"prepublish": "npm run build",
|
||||
"prepublish": "tsc -noEmit && vite build",
|
||||
"lint": "yarn eslint src",
|
||||
"benchmark": "vitest run --maxConcurrency 1 --no-file-parallelism test/benchmark"
|
||||
},
|
||||
@@ -74,9 +74,9 @@
|
||||
"simple-peer-light": "^9.10.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^4.7.3",
|
||||
"vite": "^5.2.8",
|
||||
"vite-plugin-dts": "^3.8.1"
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.3.1",
|
||||
"vite-plugin-dts": "^3.9.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rrweb/types": "^2.0.0-alpha.15",
|
||||
|
||||
Reference in New Issue
Block a user