Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Builder to use 0.3 #1858

Merged
merged 7 commits into from
Apr 8, 2024
Merged

Update Builder to use 0.3 #1858

merged 7 commits into from
Apr 8, 2024

Conversation

artursapek
Copy link
Collaborator

@artursapek artursapek commented Apr 1, 2024

This makes several major changes to connect-in-style.wormhole.com:

  • Moves the build system off create-react-app (which is unmaintained and SLOW) to vite with swc
  • Updates the version of Connect it serves from 0.1 to 0.3
  • Uses the new Connect component library, rather than serving the hosted unpkg.com version
    • This lets us update color scheme and network settings dynamically using React props
    • This also lets us render an actual mainnet version of Connect, with the "submit" button missing (via the new previewMode config)
  • Removes a ton of duplicated configs and consts, now importing them from the wormhole-connect library

This also fixes a mistake in the build that causes the stylesheet to not load in the hosted unpkg.com build (this bug has been present since 0.3.0)

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit c44c6c5
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-mainnet/deploys/66140d53a74eb70007d8a230
😎 Deploy Preview https://deploy-preview-1858--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for wormhole-connect ready!

Name Link
🔨 Latest commit c44c6c5
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect/deploys/66140d53128e7b0008ba2165
😎 Deploy Preview https://deploy-preview-1858--wormhole-connect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for wormhole-connect-builder ready!

Name Link
🔨 Latest commit c44c6c5
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-builder/deploys/66140d5359736e0008056a86
😎 Deploy Preview https://deploy-preview-1858--wormhole-connect-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

socket-security bot commented Apr 1, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@wormhole-foundation/wormhole-connect@0.3.3 eval, network 0 69.6 MB evan-gray

🚮 Removed packages: npm/@wormhole-foundation/wormhole-connect@0.1.7

View full report↗︎

@artursapek artursapek changed the title WIP: Update Builder to use 0.3 Update Builder to use 0.3 Apr 8, 2024
@artursapek artursapek marked this pull request as ready for review April 8, 2024 12:25
@artursapek artursapek merged commit 6176e1a into development Apr 8, 2024
19 checks passed
@artursapek artursapek deleted the builder-update branch April 8, 2024 15:35
yuli-ferna pushed a commit that referenced this pull request Apr 9, 2024
* update builder to use 0.3.0 component lib

* revert to development

* bump

* moving builder to vite

* fix missing .css file in hosted build

* clean up vite config

* update hash
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.

2 participants