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
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions builder/public/index.html → builder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand All @@ -21,12 +21,12 @@
content="https://connect-in-style.wormhole.com/social.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -37,6 +37,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Customize Connect</title>
<script type="module" src="/src/index.tsx"></script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
16 changes: 10 additions & 6 deletions builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/node": "^16.18.25",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.1",
"@wormhole-foundation/wormhole-connect": "^0.1.4",
"@wormhole-foundation/wormhole-connect": "0.3.3",
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0",
Expand All @@ -26,10 +26,8 @@
},
"scripts": {
"lint:ci": "prettier -c ./src && eslint --max-warnings=0 ./src",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"start": "vite",
"build": "NODE_OPTIONS=--max-old-space-size=8192 vite build"
},
"eslintConfig": {
"extends": [
Expand All @@ -50,6 +48,12 @@
]
},
"devDependencies": {
"@types/react-color": "^3.0.7"
"@types/react-color": "^3.0.7",
"vite": "^5.0.8",
"vite-bundle-visualizer": "^0.11.0",
"vite-plugin-checker": "^0.6.2",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-node-polyfills": "^0.17.0",
"@vitejs/plugin-react-swc": "^3.5.0"
}
}
Loading
Loading