-
Notifications
You must be signed in to change notification settings - Fork 7
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
Replace NextJS with Vite
#1431
Merged
+3,764
−2,988
Merged
Replace NextJS with Vite
#1431
Changes from 26 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
59f570d
Remove App Directory
Da-Colon 215d2be
updates to next config
Da-Colon 46104dc
refactor AppRouter pages for use in Page Router
Da-Colon 3a6c1d8
refactor DAO Layout into Compontent that wraps apps (needed for new s…
Da-Colon 06e0067
addresses issues with items loading now that component isn't remounted
Da-Colon 6f17b18
move imports to _app.tsx (top of tree)
Da-Colon 841c10c
Merge branch 'develop' of github.com:decent-dao/fractal-interface int…
Da-Colon 29c045c
remove console log
Da-Colon 8b400d0
remove export config property (for now)
Da-Colon 40cf01b
Replace NextJS with Vite and React-Router-Dom
Da-Colon fa55121
add env typing
Da-Colon 4119509
Kyrylo comments updates
Da-Colon 2ce2934
run lint fix
Da-Colon 780799b
remove Next SSR ClientOnly Component bandaid and 'use client' flags
Da-Colon b04ca55
update lock file
Da-Colon d92d292
configure vite for depreciated warning. `Vite CJS Node API deprecated`
Da-Colon 03f8151
Fix for react-router-dom BrowserRouter on Netlify
Da-Colon 0e4602c
replace APP_NAME const, with VITE_APP_NAME env
Da-Colon 12bde8e
prettier ran
Da-Colon 00f0ca2
Fix runtime env vars to get GIT HASH
adamgall 43e92b7
Add typing to VITE_APP_GIT_HASH, remove undefined conditional
adamgall c8b5913
remove unused typing
Da-Colon 76689aa
remove unneeded include
Da-Colon 04f302a
add lint:fix script
Da-Colon a576237
Remove next ignores
adamgall c0ddfda
Standardize lint and pretty scritps
adamgall 18452a3
let -> const
Da-Colon f7a70f6
Reorder package.json deps to be alphabetical
adamgall 9edf39c
add `div` element missing from ClientOnly removal
Da-Colon 45150fa
Fix env var references in the <head>
adamgall 40a656c
fix heirarchy loading issue
Da-Colon d9f1f49
fix page header breadcrumb link re-rendering dao page when clicked
Da-Colon 30916d4
fix new proposal-templates route
Da-Colon 8935596
switch last few Router Links to `to` property from href
Da-Colon a5803ee
Switch Page navigation to React-Router Link component
Da-Colon c152334
Clean up some directory declarations in gitignore
adamgall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
# CoinGecko API key | ||
COINGECKO_API_KEY="" | ||
VITE_APP_NAME=Fractal | ||
# Alchemy provider API key, used on Mainnet | ||
NEXT_PUBLIC_ALCHEMY_MAINNET_API_KEY="" | ||
VITE_APP_ALCHEMY_MAINNET_API_KEY="" | ||
# Alchemy provider API key, used on Sepolia | ||
NEXT_PUBLIC_ALCHEMY_SEPOLIA_API_KEY="" | ||
VITE_APP_ALCHEMY_SEPOLIA_API_KEY="" | ||
# automated testing workflows | ||
NEXT_PUBLIC_ALCHEMY_TESTING_API_KEY="" | ||
VITE_APP_ALCHEMY_TESTING_API_KEY="" | ||
# ABI selector (*) | ||
NEXT_PUBLIC_ETHERSCAN_API_KEY="" | ||
VITE_APP_ETHERSCAN_API_KEY="" | ||
# IPFS pinning (*) | ||
NEXT_PUBLIC_INFURA_IPFS_API_KEY="" | ||
VITE_APP_INFURA_IPFS_API_KEY="" | ||
# IPFS pinning (*) | ||
NEXT_PUBLIC_INFURA_IPFS_API_SECRET="" | ||
VITE_APP_INFURA_IPFS_API_SECRET="" | ||
# Sentry DSN URL, not used locally | ||
NEXT_PUBLIC_SENTRY_DSN_URL="" | ||
VITE_APP_SENTRY_DSN_URL="" | ||
# Shutter Public Key | ||
NEXT_PUBLIC_SHUTTER_EON_PUBKEY=0x0e6493bbb4ee8b19aa9b70367685049ff01dc9382c46aed83f8bc07d2a5ba3e6030bd83b942c1fd3dff5b79bef3b40bf6b666e51e7f0be14ed62daaffad47435265f5c9403b1a801921981f7d8659a9bd91fe92fb1cf9afdb16178a532adfaf51a237103874bb03afafe9cab2118dae1be5f08a0a28bf488c1581e9db4bc23ca | ||
VITE_APP_SHUTTER_EON_PUBKEY=0x0e6493bbb4ee8b19aa9b70367685049ff01dc9382c46aed83f8bc07d2a5ba3e6030bd83b942c1fd3dff5b79bef3b40bf6b666e51e7f0be14ed62daaffad47435265f5c9403b1a801921981f7d8659a9bd91fe92fb1cf9afdb16178a532adfaf51a237103874bb03afafe9cab2118dae1be5f08a0a28bf488c1581e9db4bc23ca | ||
# site preview links | ||
NEXT_PUBLIC_SITE_URL="https://app.dev.fractalframework.xyz/" | ||
VITE_APP_SITE_URL="https://app.dev.fractalframework.xyz/" | ||
# WalletConnect Cloud Project ID | ||
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID="" | ||
VITE_APP_WALLET_CONNECT_PROJECT_ID="" | ||
# Minutes to cache prices for token addresses | ||
TOKEN_PRICE_CACHE_INTERVAL_MINUTES="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adamgall marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,7 @@ | |
/coverage | ||
|
||
# production | ||
/build | ||
.next/ | ||
/out | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Don't forget to update local env files as well from
NEXT_PUBLIC_
->VITE_APP_