GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(deno): Add prepack for deno build by AbhiPrasad · Pull Request #12700 · getsentry/sentry-javascript

Conversation

@AbhiPrasad

@AbhiPrasad AbhiPrasad commented Jun 28, 2024

Copy link
Copy Markdown
Contributor

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.

All reactions
@AbhiPrasad
AbhiPrasad requested a review from mydea June 28, 2024 16:29
mydea
mydea reviewed Jul 1, 2024
View reviewed changes

@mydea mydea left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions
AbhiPrasad added 2 commits July 2, 2024 09:45
@AbhiPrasad
fix(deno): Add prepack for deno build
7052d59
@AbhiPrasad
use simpler script
17c1a4d
@AbhiPrasad
AbhiPrasad force-pushed the abhi-fix-deno-output branch from 81c823b to 17c1a4d Compare July 2, 2024 14:08
@AbhiPrasad

AbhiPrasad commented Jul 2, 2024

Copy link
Copy Markdown
Contributor Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AbhiPrasad
AbhiPrasad requested a review from mydea July 2, 2024 14:09
mydea
mydea approved these changes Jul 2, 2024
View reviewed changes

@mydea mydea left a comment

Copy link
Copy Markdown
Member

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.

nice! 🚀

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@AbhiPrasad
AbhiPrasad merged commit 840dd8f into develop Jul 2, 2024
@AbhiPrasad
AbhiPrasad deleted the abhi-fix-deno-output branch July 2, 2024 14:28
@AbhiPrasad AbhiPrasad mentioned this pull request Jul 4, 2024
fix(deno): Publish from build directory #12773
Merged
mydea pushed a commit that referenced this pull request Jul 5, 2024
@AbhiPrasad
fix(deno): Publish from build directory (#12773)
0bad43b
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mydea mydea mydea approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

New Deno release 8.13.0 broke imports / has incorrect import details in README

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@AbhiPrasad @mydea
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.