Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HIG-2649] use yarn v3 workspace dependencies #91

Merged
merged 3 commits into from
Sep 27, 2022
Merged
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
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,14 @@ dist

# `.yarn/install-state.gz` is an optimization file that you shouldn't ever have to commit.
# It simply stores the exact state of your project so that the next commands can boot without having to resolve your workspaces all over again.
.yarn/install-state.gz
.yarn/install-state.gz

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions


783 changes: 783 additions & 0 deletions .yarn/releases/yarn-berry.cjs

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
yarnPath: '.yarn/releases/yarn-1.23.0-20220130.1630.cjs'
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-berry.cjs
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@3.2.3",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
Expand All @@ -39,8 +40,5 @@
"repl": "cd packages/rrweb && npm run repl",
"lint": "yarn run concurrently --success=all -r -m=1 'yarn run markdownlint docs' 'yarn eslint packages/*/src --ext .ts,.tsx,.js,.jsx,.svelte'",
"lint:report": "yarn eslint --output-file eslint_report.json --format json packages/*/src --ext .ts,.tsx,.js,.jsx"
},
"resolutions": {
"**/jsdom/cssom": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz"
}
}
5 changes: 3 additions & 2 deletions packages/rrdom-nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@highlight-run/rrdom-nodejs",
"private": true,
"version": "0.1.7",
"scripts": {
"dev": "rollup -c -w",
Expand Down Expand Up @@ -46,8 +47,8 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrdom": "0.1.17",
"@highlight-run/rrweb-snapshot": "1.1.31",
"@highlight-run/rrdom": "workspace:*",
"@highlight-run/rrweb-snapshot": "workspace:*",
"cssom": "^0.5.0",
"cssstyle": "^2.3.0",
"nwsapi": "^2.2.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/rrdom/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@highlight-run/rrdom",
"private": true,
"version": "0.1.17",
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/rrdom#readme",
"license": "MIT",
Expand Down Expand Up @@ -46,7 +47,7 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrweb-snapshot": "1.1.31"
"@highlight-run/rrweb-snapshot": "workspace:*"
},
"gitHead": "d5751f9e6c52a7734597c8595caa763d0f4dd4ad"
}
4 changes: 3 additions & 1 deletion packages/rrweb-player/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "@highlight-run/rrweb-player",
"private": true,
"version": "0.7.25",
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@types/offscreencanvas": "^2019.6.4",
"eslint": "^8.23.1",
"eslint-config-google": "^0.14.0",
"eslint-plugin-svelte3": "^4.0.0",
"postcss-easy-import": "^3.0.0",
Expand All @@ -23,7 +25,7 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrweb": "2.1.10",
"@highlight-run/rrweb": "workspace:*",
"@tsconfig/svelte": "^1.0.1"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions packages/rrweb-snapshot/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@highlight-run/rrweb-snapshot",
"private": true,
"version": "1.1.31",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"scripts": {
Expand Down Expand Up @@ -46,6 +47,7 @@
"@types/node": "^10.11.3",
"@types/puppeteer": "^1.12.4",
"cross-env": "^5.2.0",
"eslint": "^8.23.1",
"jest": "^27.2.4",
"jest-snapshot": "^23.6.0",
"jsdom": "^16.4.0",
Expand Down
7 changes: 4 additions & 3 deletions packages/rrweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlight-run/rrweb",
"version": "2.1.10",
"version": "2.2.0",
"description": "record and replay the web",
"scripts": {
"prepare": "npm run prepack",
Expand Down Expand Up @@ -54,6 +54,7 @@
"@types/puppeteer": "^5.4.4",
"cross-env": "^5.2.0",
"esbuild": "^0.14.38",
"eslint": "^8.23.1",
"fast-mhtml": "^1.1.9",
"identity-obj-proxy": "^3.0.0",
"ignore-styles": "^5.0.1",
Expand All @@ -75,8 +76,8 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrdom": "0.1.17",
"@highlight-run/rrweb-snapshot": "1.1.31",
"@highlight-run/rrdom": "workspace:*",
"@highlight-run/rrweb-snapshot": "workspace:*",
"@types/css-font-loading-module": "0.0.7",
"@xstate/fsm": "^1.4.0",
"base64-arraybuffer": "^1.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function serializeArg(
};
}

return value as CanvasArg;
return value as never as CanvasArg;
}

export const serializeArgs = (
Expand Down
Loading