From ca3013e8ce00a4186a88a862eea141208a2bf55e Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Tue, 24 Jan 2023 09:28:57 -0500 Subject: [PATCH] publish(repo): Publish forked rrweb packages to NPM (#20) This patch adds the necessary configuration around our rrweb fork to publish our own `@sentry-internal/rr*` packages. This includes: - prefixing packages with `@sentry-internal` - adjusting licences and the readme - adding a craft config and a version bump script - adding artifact upload to our build&test GHA - adding the Sentry create release GHA --- packages/rrweb-player/package.json | 2 +- packages/rrweb-snapshot/package.json | 2 +- packages/rrweb/package.json | 2 +- packages/types/package.json | 2 +- yarn.lock | 7 ++++++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/rrweb-player/package.json b/packages/rrweb-player/package.json index 43e4d4d52c..52e433ea9a 100644 --- a/packages/rrweb-player/package.json +++ b/packages/rrweb-player/package.json @@ -52,7 +52,7 @@ "url": "git+https://github.com/rrweb-io/rrweb.git" }, "keywords": [ - "@sentry-internal/rrweb" + "rrweb" ], "author": "yanzhen@smartx.com", "license": "MIT", diff --git a/packages/rrweb-snapshot/package.json b/packages/rrweb-snapshot/package.json index f3762fe4da..800becb385 100644 --- a/packages/rrweb-snapshot/package.json +++ b/packages/rrweb-snapshot/package.json @@ -21,7 +21,7 @@ "url": "git+https://github.com/rrweb-io/rrweb.git" }, "keywords": [ - "@sentry-internal/rrweb", + "rrweb", "snapshot", "DOM" ], diff --git a/packages/rrweb/package.json b/packages/rrweb/package.json index 31e1180da7..9e5d13aaa0 100644 --- a/packages/rrweb/package.json +++ b/packages/rrweb/package.json @@ -30,7 +30,7 @@ "url": "git+ssh://git@github.com/rrweb-io/rrweb.git" }, "keywords": [ - "@sentry-internal/rrweb" + "rrweb" ], "main": "lib/rrweb-all.cjs", "module": "es/rrweb/packages/rrweb/src/entries/all.js", diff --git a/packages/types/package.json b/packages/types/package.json index 36c4974a37..96f3cf4a38 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -6,7 +6,7 @@ }, "keywords": [ "rrweb", - "@sentry-internal/rrweb-types" + "rrweb-types" ], "scripts": { "dev": "vite", diff --git a/yarn.lock b/yarn.lock index f579e11c04..c26d4e9233 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5503,10 +5503,15 @@ csso@^4.0.2: dependencies: css-tree "^1.1.2" -cssom@^0.4.4, cssom@^0.5.0, "cssom@https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz": +cssom@^0.4.4, "cssom@https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz": version "0.6.0" resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1" +cssom@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" + integrity sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw== + cssom@~0.3.6: version "0.3.8" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"