After merging in replay, with only minimal changes, we need to apply our monorepo's build config to the replay package.
To Do:
Risks:
Updating the tarball structure will be a breaking change for anyone who explicitly imports modules from the replay package. This is fine, as we're not yet stable and we're jumping major versions from 0.x to 7.x anyway. Also, this is an edge case scenario and definitely not something that concerns the majority of our users. More info: getsentry/sentry-replay#321
Build changes have the potential to cause bugs and issues. We'll have to be careful. Verifying the tarball contents before it is released is absolutely necessary.
ref: #5326
After merging in replay, with only minimal changes, we need to apply our monorepo's build config to the replay package.
To Do:
.eslintrc.jsconfig #6302tsconfig.jsons #6308builddirectory structure with other packages (esm, cjs, types)build:types, adjustbuild:rollup)package.jsonscripts #6348Risks:
Updating the tarball structure will be a breaking change for anyone who explicitly imports modules from the replay package. This is fine, as we're not yet stable and we're jumping major versions from 0.x to 7.x anyway. Also, this is an edge case scenario and definitely not something that concerns the majority of our users. More info: getsentry/sentry-replay#321
Build changes have the potential to cause bugs and issues. We'll have to be careful. Verifying the tarball contents before it is released is absolutely necessary.
ref: #5326