add lerna to manage monorepo

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 257e8c10c9
commit 309b7d9026
9 changed files with 3386 additions and 65 deletions

View File

@@ -12,7 +12,8 @@
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
"bundle": "rollup --config",
"typings": "tsc -d --declarationDir typings",
"check-types": "tsc -noEmit"
"check-types": "tsc -noEmit",
"prepublish": "npm run typings && npm run bundle"
},
"repository": {
"type": "git",

View File

@@ -39,5 +39,4 @@ export declare type Logger = {
};
export declare const PLUGIN_NAME = "rrweb/console@1";
export declare const getRecordConsolePlugin: (options?: LogRecordOptions) => RecordPlugin;
export { };
export {};

View File

@@ -19,6 +19,7 @@ export declare class Replayer {
private fragmentParentMap;
private elementStateMap;
private virtualStyleRulesMap;
private cache;
private imageMap;
private mirror;
private firstFullSnapshot;
@@ -38,6 +39,7 @@ export declare class Replayer {
addEvent(rawEvent: eventWithTime | string): void;
enableInteract(): void;
disableInteract(): void;
resetCache(): void;
private setupDom;
private handleResize;
private getCastFn;