Skip to content

Publish our forked rrweb packages to NPM  #15

Closed

Description

@Lms24

Problem Statement

Because of bugs in rrweb, its slow development cycle, and the fact that they're working on v2 (which is also problematic on its own, getsentry/sentry-javascript#6655) we have to apply multiple patches to the library, and bundle it into our @sentry/replay package. This has a number of drawbacks:

Solution Brainstorm

In a first step, to make developing patches on rrweb v1 easier, we update our rrweb fork in which we now create and merge PRs which we then use to patch the actual rrweb package.

We now propose to release our rrweb fork (e.g. @sentry-internal/rrweb) to NPM so we can stop patching the official package all together and just use our fork like a regular dependency. The steps to get this done are:

#15 (comment)

#15 (comment)

#15 (comment)

For the most part, we can follow our SDK release checklist to make sure we've covered everything necessary.

Furthermore, we can also take getsentry/sentry-javascript-bundler-plugins#60 as an inspiration, where we recently started releasing to NPM from a new repo.

Activity

  1. Lms24 commented on Jan 13, 2023

    @Lms24
    MemberAuthor
  2. Lms24 commented on Jan 13, 2023

    @Lms24
    MemberAuthor

    Arguably, this issue rather belongs into https://github.com/getsentry/rrweb but we currently can't create issues there. Happy to move it, once we can open issues (@bruno-garcia do you have the necessary permissions to enable issues?)

  3. bruno-garcia commented on Jan 17, 2023

    @bruno-garcia
    Member

    (@bruno-garcia do you have the necessary permissions to enable issues?)

    image

  4. self-assigned this
    on Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions