Skip to content

Conversation

@lforst
Copy link

@lforst lforst commented Aug 26, 2022

No description provided.

@lforst lforst mentioned this pull request Aug 26, 2022
29 tasks
@lforst lforst marked this pull request as ready for review August 26, 2022 14:06
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀
(Just some minor optional nits but totally happy to revisit this later)

Comment on lines +1 to +3
{
"presets": ["@babel/env", "@babel/typescript"]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally optional:
I think the values here are the same for all projects, right? Can we extract this file into one package?

Comment on lines +1 to +6
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.(t|j)sx?$": ["@swc/jest"],
},
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally optional:
Any change, we can also extract this to a central package?
We might wanna add a "dev-utils" package (I know this sounds oddly familiar....)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we notice that having stuff duplicated becomes a problem we can extract this. I usually don't like drying things too early. Same goes for other comments.

@@ -0,0 +1,35 @@
import resolve from "@rollup/plugin-node-resolve";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally optional:
Might also be a candidate for a centralized config?

@@ -0,0 +1 @@
dist
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional:
Hmmm WDYT about adding something like packages/*/dist into the root .gitignore instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More risky/opaque as to why something is "gitignored". I'll leave it for now.

vladanpaunovic and others added 4 commits August 26, 2022 18:10
Remove our `SentryFacade` abstraction from the project. As we got rid of Sentry CLI (#34) there is no need anymore to have this additional layer and we can just call the facade's functions directly.

Additionally, the PR introduces the `SentryContext` type which should hold "sentry internal" values/data, like the hub and the parent span. We might wanna add the logger here later (cc @vladanpaunovic). This replaces the arguments we pass down to the release pipeline functions so we can add more stuff w/o having to add yet another param.
Co-authored-by: Luca Forstner <luca.forstner@sentry.io>
@lforst lforst enabled auto-merge (squash) August 26, 2022 16:13
@lforst lforst merged commit b4d534e into main Aug 26, 2022
@lforst lforst deleted the lforst-packages branch August 26, 2022 16:15
@lforst lforst mentioned this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants