From 135b56341e296acec0dcc7a48995dde42f66d4ec Mon Sep 17 00:00:00 2001 From: John Gunther Date: Fri, 13 Sep 2024 13:08:55 -0400 Subject: [PATCH] Remove @pendo prefix from package.json name field --- packages/all/tsconfig.json | 7 ++++--- .../tsconfig.json | 14 +++++++------- .../tsconfig.json | 14 +++++++------- .../rrweb-plugin-console-record/tsconfig.json | 17 ++++++++--------- .../rrweb-plugin-console-replay/tsconfig.json | 13 +++++-------- .../tsconfig.json | 14 +++++++------- .../tsconfig.json | 13 +++++-------- packages/record/tsconfig.json | 7 ++++--- packages/replay/tsconfig.json | 7 ++++--- packages/rrweb/package.json | 2 +- packages/web-extension/tsconfig.json | 13 +++++-------- 11 files changed, 57 insertions(+), 64 deletions(-) diff --git a/packages/all/tsconfig.json b/packages/all/tsconfig.json index 37109d5b50..5de77cef36 100644 --- a/packages/all/tsconfig.json +++ b/packages/all/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.base.json", - "include": [ - "src" - ], + "include": ["src"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" @@ -13,6 +11,9 @@ }, { "path": "../packer" + }, + { + "path": "../rrweb" } ] } diff --git a/packages/plugins/rrweb-plugin-canvas-webrtc-record/tsconfig.json b/packages/plugins/rrweb-plugin-canvas-webrtc-record/tsconfig.json index b4e394756b..8ffb27ccca 100644 --- a/packages/plugins/rrweb-plugin-canvas-webrtc-record/tsconfig.json +++ b/packages/plugins/rrweb-plugin-canvas-webrtc-record/tsconfig.json @@ -1,14 +1,14 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts" - ], + "include": ["src"], + "exclude": ["vite.config.ts"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" }, - "references": [] + "references": [ + { + "path": "../../rrweb" + } + ] } diff --git a/packages/plugins/rrweb-plugin-canvas-webrtc-replay/tsconfig.json b/packages/plugins/rrweb-plugin-canvas-webrtc-replay/tsconfig.json index b4e394756b..8ffb27ccca 100644 --- a/packages/plugins/rrweb-plugin-canvas-webrtc-replay/tsconfig.json +++ b/packages/plugins/rrweb-plugin-canvas-webrtc-replay/tsconfig.json @@ -1,14 +1,14 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts" - ], + "include": ["src"], + "exclude": ["vite.config.ts"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" }, - "references": [] + "references": [ + { + "path": "../../rrweb" + } + ] } diff --git a/packages/plugins/rrweb-plugin-console-record/tsconfig.json b/packages/plugins/rrweb-plugin-console-record/tsconfig.json index 873d7aa476..4de4923989 100644 --- a/packages/plugins/rrweb-plugin-console-record/tsconfig.json +++ b/packages/plugins/rrweb-plugin-console-record/tsconfig.json @@ -1,19 +1,18 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts", - "vitest.config.ts", - "test" - ], + "include": ["src"], + "exclude": ["vite.config.ts", "vitest.config.ts", "test"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo", + // TODO: enable me in the future // at time of writing (April 2024) there are 6 errors in this package "strict": false }, - "references": [] + "references": [ + { + "path": "../../rrweb" + } + ] } diff --git a/packages/plugins/rrweb-plugin-console-replay/tsconfig.json b/packages/plugins/rrweb-plugin-console-replay/tsconfig.json index 4e9c6e4fa9..195393c9ec 100644 --- a/packages/plugins/rrweb-plugin-console-replay/tsconfig.json +++ b/packages/plugins/rrweb-plugin-console-replay/tsconfig.json @@ -1,13 +1,7 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts", - "dist", - "tsconfig.json" - ], + "include": ["src"], + "exclude": ["vite.config.ts", "dist", "tsconfig.json"], "compilerOptions": { "rootDir": ".", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" @@ -15,6 +9,9 @@ "references": [ { "path": "../rrweb-plugin-console-record" + }, + { + "path": "../../rrweb" } ] } diff --git a/packages/plugins/rrweb-plugin-sequential-id-record/tsconfig.json b/packages/plugins/rrweb-plugin-sequential-id-record/tsconfig.json index b4e394756b..8ffb27ccca 100644 --- a/packages/plugins/rrweb-plugin-sequential-id-record/tsconfig.json +++ b/packages/plugins/rrweb-plugin-sequential-id-record/tsconfig.json @@ -1,14 +1,14 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts" - ], + "include": ["src"], + "exclude": ["vite.config.ts"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" }, - "references": [] + "references": [ + { + "path": "../../rrweb" + } + ] } diff --git a/packages/plugins/rrweb-plugin-sequential-id-replay/tsconfig.json b/packages/plugins/rrweb-plugin-sequential-id-replay/tsconfig.json index 1400736fff..5781b845a0 100644 --- a/packages/plugins/rrweb-plugin-sequential-id-replay/tsconfig.json +++ b/packages/plugins/rrweb-plugin-sequential-id-replay/tsconfig.json @@ -1,13 +1,7 @@ { "extends": "../../../tsconfig.base.json", - "include": [ - "src" - ], - "exclude": [ - "vite.config.ts", - "dist", - "tsconfig.json" - ], + "include": ["src"], + "exclude": ["vite.config.ts", "dist", "tsconfig.json"], "compilerOptions": { "rootDir": ".", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" @@ -15,6 +9,9 @@ "references": [ { "path": "../rrweb-plugin-sequential-id-record" + }, + { + "path": "../../rrweb" } ] } diff --git a/packages/record/tsconfig.json b/packages/record/tsconfig.json index 4e9d445c0d..eb18687a7c 100644 --- a/packages/record/tsconfig.json +++ b/packages/record/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.base.json", - "include": [ - "src" - ], + "include": ["src"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" @@ -10,6 +8,9 @@ "references": [ { "path": "../types" + }, + { + "path": "../rrweb" } ] } diff --git a/packages/replay/tsconfig.json b/packages/replay/tsconfig.json index 4e9d445c0d..eb18687a7c 100644 --- a/packages/replay/tsconfig.json +++ b/packages/replay/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.base.json", - "include": [ - "src" - ], + "include": ["src"], "compilerOptions": { "rootDir": "src", "tsBuildInfoFile": "./tsconfig.tsbuildinfo" @@ -10,6 +8,9 @@ "references": [ { "path": "../types" + }, + { + "path": "../rrweb" } ] } diff --git a/packages/rrweb/package.json b/packages/rrweb/package.json index 76cd6ce686..2623a517ff 100644 --- a/packages/rrweb/package.json +++ b/packages/rrweb/package.json @@ -1,5 +1,5 @@ { - "name": "@pendo/rrweb", + "name": "rrweb", "version": "2.0.0-alpha.17", "description": "record and replay the web", "scripts": { diff --git a/packages/web-extension/tsconfig.json b/packages/web-extension/tsconfig.json index 1c035c3d30..759f972d89 100644 --- a/packages/web-extension/tsconfig.json +++ b/packages/web-extension/tsconfig.json @@ -8,18 +8,15 @@ "incremental": true, "resolveJsonModule": true, "paths": { - "~/*": [ - "src/*" - ] + "~/*": ["src/*"] }, "jsx": "react-jsx" }, - "exclude": [ - "dist", - "node_modules", - "vite.config.ts" - ], + "exclude": ["dist", "node_modules", "vite.config.ts"], "references": [ + { + "path": "../rrweb" + }, { "path": "../rrweb-player" },