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:
Justin Halsall
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 45640672fe
commit 5bb69155c5
54 changed files with 416 additions and 243 deletions

View File

@@ -1,5 +1,5 @@
import mitt from 'mitt';
import Browser, { Runtime } from 'webextension-polyfill';
import Browser, { type Runtime } from 'webextension-polyfill';
export type Message = EventType | ServiceType;
export type EventType = {

View File

@@ -2,11 +2,11 @@ import Browser from 'webextension-polyfill';
import type { eventWithTime } from '@rrweb/types';
import {
LocalData,
type LocalData,
LocalDataKey,
RecorderStatus,
RecordStartedMessage,
RecordStoppedMessage,
type RecordStartedMessage,
type RecordStoppedMessage,
ServiceName,
} from '~/types';
import type Channel from './channel';