GeezerVison is showing github.com — fix(deno): Add prepack for deno build by AbhiPrasad · Pull Request #12700 · getsentry/sentry-javascript
Conversation
fixes #12698
Adds back prepack script just for deno which was removed in #12656 because it's a breaking change for the deno package which relies on the directory structure for their import path.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mydea
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we actually put a minimal prepack script in here, that does not have all the variables etc. but really does only the things we specifically need for deno? Otherwise it will be harder in the future to understand what of this is actually needed for deno to work etc.?
FWIW I'm also OK with merging this as-is and streamlining it in a follow up, if we want to get this out ASAP.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Could we actually put a minimal prepack script in here, that does not have all the variables etc. but really does only the things we specifically need for deno? Otherwise it will be harder in the future to understand what of this is actually needed for deno to work etc.?
Done with 17c1a4d - also experimented with jsdoc types (because I didn't want to refactor the require calls), so was an interesting experiment overall.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mydea
pushed a commit
that referenced
this pull request
Jul 5, 2024
In #12700 I adjusted
the prepack script to bring back the build directory, but I forgot to
adjust `npm pack X` to make sure we pack the tarball from the `build`
directory. This patch fixes that.
Reviewers
mydea
mydea approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.