Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@
"commit": false,
"fixed": [
[
"rrweb",
"rrweb-snapshot",
"rrdom",
"rrdom-nodejs",
"rrweb-player",
"@rrweb/all",
"@rrweb/replay",
"@rrweb/record",
"@rrweb/types",
"@rrweb/packer",
"@rrweb/utils",
"@rrweb/web-extension",
"rrvideo",
"@rrweb/rrweb-plugin-console-record",
"@rrweb/rrweb-plugin-console-replay",
"@rrweb/rrweb-plugin-sequential-id-record",
"@rrweb/rrweb-plugin-sequential-id-replay",
"@rrweb/rrweb-plugin-canvas-webrtc-record",
"@rrweb/rrweb-plugin-canvas-webrtc-replay"
"@mixpanel/rrweb",
"@mixpanel/rrweb-snapshot",
"@mixpanel/rrdom",
"@mixpanel/rrdom-nodejs",
"@mixpanel/rrweb-player",
"@mixpanel/rrweb-all",
"@mixpanel/rrweb-replay",
"@mixpanel/rrweb-record",
"@mixpanel/rrweb-types",
"@mixpanel/rrweb-packer",
"@mixpanel/rrweb-utils",
"@mixpanel/rrvideo",
"@mixpanel/rrweb-plugin-console-record",
"@mixpanel/rrweb-plugin-console-replay",
"@mixpanel/rrweb-plugin-sequential-id-record",
"@mixpanel/rrweb-plugin-sequential-id-replay",
"@mixpanel/rrweb-plugin-canvas-webrtc-record",
"@mixpanel/rrweb-plugin-canvas-webrtc-replay"
]
],
"linked": [],
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@rrweb/_monorepo",
"name": "@mixpanel/rrweb_monorepo",
"description": "record and replay the web",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/rrweb-io/rrweb.git"
"url": "git+ssh://[email protected]/mixpanel/rrweb.git"
},
"keywords": [
"rrweb"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"private": true,
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"homepage": "https://github.com/mixpanel/rrweb#readme",
"workspaces": [
"packages/*",
"packages/plugins/*"
Expand Down Expand Up @@ -56,7 +56,8 @@
"live-stream": "cd packages/rrweb && yarn live-stream",
"lint": "yarn run concurrently --success=all -r -m=1 'yarn run markdownlint docs' 'ESLINT_USE_FLAT_CONFIG=false yarn eslint packages/*/src --ext .ts,.tsx,.js,.jsx,.svelte'",
"lint:report": "ESLINT_USE_FLAT_CONFIG=false yarn eslint --output-file eslint_report.json --format json packages/*/src --ext .ts,.tsx,.js,.jsx",
"release": "yarn build:all && changeset publish"
"release": "yarn build:all && changeset publish",
"mixpanel-version": "node write-mixpanel-version.js"
},
"resolutions": {
"**/cssom": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz",
Expand Down
26 changes: 13 additions & 13 deletions packages/all/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/all",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-all",
"version": "2.0.0-alpha.18.2",
"publishConfig": {
"access": "public"
},
Expand All @@ -17,29 +17,29 @@
"prepublish": "tsc -noEmit && vite build",
"lint": "yarn eslint src/**/*.ts"
},
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/@rrweb/all#readme",
"homepage": "https://github.com/mixpanel/rrweb/tree/main/packages/@rrweb/all#readme",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/all.cjs",
"module": "./dist/all.js",
"unpkg": "./dist/all.umd.cjs",
"main": "./dist/rrweb-all.cjs",
"module": "./dist/rrweb-all.js",
"unpkg": "./dist/rrweb-all.umd.cjs",
"typings": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/all.js"
"default": "./dist/rrweb-all.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/all.cjs"
"default": "./dist/rrweb-all.cjs"
}
}
},
Expand All @@ -56,9 +56,9 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@rrweb/types": "^2.0.0-alpha.18",
"@rrweb/packer": "^2.0.0-alpha.18",
"rrweb": "^2.0.0-alpha.18"
"@mixpanel/rrweb-types": "^2.0.0-alpha.18",
"@mixpanel/rrweb-packer": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18"
},
"browserslist": [
"supports es6-class"
Expand Down
8 changes: 4 additions & 4 deletions packages/all/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from 'rrweb';
export * from '@rrweb/packer';
// export * from '@rrweb/rrweb-plugin-console-record';
// export * from '@rrweb/rrweb-plugin-console-replay';
export * from '@mixpanel/rrweb';
export * from '@mixpanel/rrweb-packer';
// export * from '@mixpanel/rrweb-plugin-console-record';
// export * from '@mixpanel/rrweb-plugin-console-replay';
2 changes: 1 addition & 1 deletion packages/all/test/cross-origin-iframe-packer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function injectRecordScript(
options?: ExtraOptions,
) {
await frame.addScriptTag({
path: path.resolve(__dirname, '../dist/all.umd.cjs'),
path: path.resolve(__dirname, '../dist/rrweb-all.umd.cjs'),
});
options = options || {};
await frame.evaluate((options) => {
Expand Down
18 changes: 9 additions & 9 deletions packages/packer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/packer",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-packer",
"version": "2.0.0-alpha.18.2",
"publishConfig": {
"access": "public"
},
Expand All @@ -17,19 +17,19 @@
"prepublish": "tsc -noEmit && vite build",
"lint": "yarn eslint src/**/*.ts"
},
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/@rrweb/packer#readme",
"homepage": "https://github.com/mixpanel/rrweb/tree/main/packages/@rrweb/packer#readme",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/packer.cjs",
"module": "./dist/packer.js",
"unpkg": "./dist/packer.js",
"main": "./dist/rrweb-packer.cjs",
"module": "./dist/rrweb-packer.js",
"unpkg": "./dist/rrweb-packer.js",
"typings": "dist/packer.d.ts",
"exports": {
".": {
Expand Down Expand Up @@ -78,7 +78,7 @@
},
"dependencies": {
"fflate": "^0.4.4",
"@rrweb/types": "^2.0.0-alpha.18"
"@mixpanel/rrweb-types": "^2.0.0-alpha.18"
},
"browserslist": [
"supports es6-class"
Expand Down
14 changes: 7 additions & 7 deletions packages/plugins/rrweb-plugin-canvas-webrtc-record/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/rrweb-plugin-canvas-webrtc-record",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-plugin-canvas-webrtc-record",
"version": "2.0.0-alpha.18.2",
"description": "",
"type": "module",
"main": "./dist/rrweb-plugin-canvas-webrtc-record.umd.cjs",
Expand Down Expand Up @@ -31,24 +31,24 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"keywords": [
"rrweb"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"homepage": "https://github.com/mixpanel/rrweb#readme",
"devDependencies": {
"rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"rrweb": "^2.0.0-alpha.18"
"@mixpanel/rrweb": "^2.0.0-alpha.18"
}
}
14 changes: 7 additions & 7 deletions packages/plugins/rrweb-plugin-canvas-webrtc-replay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/rrweb-plugin-canvas-webrtc-replay",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-plugin-canvas-webrtc-replay",
"version": "2.0.0-alpha.18.2",
"description": "",
"type": "module",
"main": "./dist/rrweb-plugin-canvas-webrtc-replay.umd.cjs",
Expand Down Expand Up @@ -31,24 +31,24 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"keywords": [
"rrweb"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"homepage": "https://github.com/mixpanel/rrweb#readme",
"devDependencies": {
"rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"rrweb": "^2.0.0-alpha.18"
"@mixpanel/rrweb": "^2.0.0-alpha.18"
}
}
18 changes: 9 additions & 9 deletions packages/plugins/rrweb-plugin-console-record/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/rrweb-plugin-console-record",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-plugin-console-record",
"version": "2.0.0-alpha.18.2",
"description": "",
"type": "module",
"main": "./dist/rrweb-plugin-console-record.umd.cjs",
Expand Down Expand Up @@ -33,27 +33,27 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"keywords": [
"rrweb"
],
"author": "yanzhen@smartx.com",
"author": "justin@recordonce.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"homepage": "https://github.com/mixpanel/rrweb#readme",
"devDependencies": {
"rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"puppeteer": "^20.9.0"
},
"peerDependencies": {
"rrweb": "^2.0.0-alpha.18",
"@rrweb/utils": "^2.0.0-alpha.18"
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb-utils": "^2.0.0-alpha.18"
}
}
16 changes: 8 additions & 8 deletions packages/plugins/rrweb-plugin-console-replay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/rrweb-plugin-console-replay",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-plugin-console-replay",
"version": "2.0.0-alpha.18.2",
"description": "",
"type": "module",
"main": "./dist/rrweb-plugin-console-replay.umd.cjs",
Expand Down Expand Up @@ -31,25 +31,25 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
"url": "git+https://github.com/mixpanel/rrweb.git"
},
"keywords": [
"rrweb"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
"url": "https://github.com/mixpanel/rrweb/issues"
},
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"homepage": "https://github.com/mixpanel/rrweb#readme",
"devDependencies": {
"@rrweb/rrweb-plugin-console-record": "^2.0.0-alpha.18",
"rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb-plugin-console-record": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"rrweb": "^2.0.0-alpha.18"
"@mixpanel/rrweb": "^2.0.0-alpha.18"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rrweb/rrweb-plugin-sequential-id-record",
"version": "2.0.0-alpha.18",
"name": "@mixpanel/rrweb-plugin-sequential-id-record",
"version": "2.0.0-alpha.18.2",
"description": "",
"type": "module",
"main": "./dist/rrweb-plugin-sequential-id-record.umd.cjs",
Expand Down Expand Up @@ -43,12 +43,12 @@
},
"homepage": "https://github.com/rrweb-io/rrweb#readme",
"devDependencies": {
"rrweb": "^2.0.0-alpha.18",
"@mixpanel/rrweb": "^2.0.0-alpha.18",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"rrweb": "^2.0.0-alpha.18"
"@mixpanel/rrweb": "^2.0.0-alpha.18"
}
}
Loading