-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Migrate webpack/babel/jest to vite/vitest (#2683)
* Refactor: Migrate webpack/babel/jest to vite/vitest * Use node 16 in checks.yml until cloudflare supports v18
- Loading branch information
Showing
152 changed files
with
22,102 additions
and
32,575 deletions.
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,5 +1,5 @@ | ||
VUE_APP_ENV=development | ||
VUE_APP_DOMAIN=localhost:8080 | ||
VUE_APP_IPFS_NODE=cloudflare-ipfs.com | ||
VUE_APP_BLOCKNATIVE_DAPP_ID=032e2fb8-6c66-46a5-bf1c-a049ac7eded2 | ||
VUE_APP_FATHOM_SITE_ID=xxx | ||
VITE_ENV=development | ||
VITE_DOMAIN=localhost:8080 | ||
VITE_IPFS_NODE=cloudflare-ipfs.com | ||
VITE_BLOCKNATIVE_DAPP_ID=032e2fb8-6c66-46a5-bf1c-a049ac7eded2 | ||
VITE_FATHOM_SITE_ID=xxx |
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,8 +1,8 @@ | ||
VUE_APP_ENV=production | ||
VUE_APP_DOMAIN=localhost:8080 | ||
VUE_APP_IPFS_NODE=cloudflare-ipfs.com | ||
VUE_APP_BLOCKNATIVE_DAPP_ID=VABNDAPPID | ||
VUE_APP_FATHOM_SITE_ID=xxx | ||
VUE_APP_INFURA_PROJECT_ID=VAINFURAPID | ||
VUE_APP_ALCHEMY_KEY=VAALCHEMYKEY | ||
VITE_ENV=production | ||
VITE_DOMAIN=localhost:8080 | ||
VITE_IPFS_NODE=cloudflare-ipfs.com | ||
VITE_BLOCKNATIVE_DAPP_ID=VABNDAPPID | ||
VITE_FATHOM_SITE_ID=xxx | ||
VITE_INFURA_PROJECT_ID=VAINFURAPID | ||
VITE_ALCHEMY_KEY=VAALCHEMYKEY | ||
SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-v2 |
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,7 +1,7 @@ | ||
VUE_APP_ENV=test | ||
VUE_APP_DOMAIN=localhost:8080 | ||
VUE_APP_IPFS_NODE=cloudflare-ipfs.com | ||
VUE_APP_NETWORK=5 | ||
VUE_APP_BLOCKNATIVE_DAPP_ID=032e2fb8-6c66-46a5-bf1c-a049ac7eded2 | ||
VUE_APP_FATHOM_SITE_ID=xxx | ||
VITE_ENV=test | ||
VITE_DOMAIN=localhost:8080 | ||
VITE_IPFS_NODE=cloudflare-ipfs.com | ||
VITE_NETWORK=5 | ||
VITE_BLOCKNATIVE_DAPP_ID=032e2fb8-6c66-46a5-bf1c-a049ac7eded2 | ||
VITE_FATHOM_SITE_ID=xxx | ||
SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-goerli-v2 |
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,5 +1,8 @@ | ||
// Run DEBUG=eslint:cli-engine npm run lint to discover eslint bottlenecks | ||
node_modules/ | ||
dist/ | ||
tokenlists.json | ||
public/data/tokenlists/*.json | ||
package-lock.json | ||
components.d.ts | ||
/tailwind-static |
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
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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// generated by unplugin-vue-components | ||
// We suggest you to commit this file into source control | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
import '@vue/runtime-core' | ||
|
||
export {} | ||
|
||
declare module '@vue/runtime-core' { | ||
export interface GlobalComponents { | ||
ActivityIcon: typeof import('./src/components/_global/icons/ActivityIcon.vue')['default'] | ||
ArrowDownIcon: typeof import('./src/components/_global/icons/ArrowDownIcon.vue')['default'] | ||
BalAccordion: typeof import('./src/components/_global/BalAccordion/BalAccordion.vue')['default'] | ||
BalActionSteps: typeof import('./src/components/_global/BalActionSteps/BalActionSteps.vue')['default'] | ||
BalAlert: typeof import('./src/components/_global/BalAlert/BalAlert.vue')['default'] | ||
BalAsset: typeof import('./src/components/_global/BalAsset/BalAsset.vue')['default'] | ||
BalAssetSet: typeof import('./src/components/_global/BalAsset/BalAssetSet.vue')['default'] | ||
BalBlankSlate: typeof import('./src/components/_global/BalBlankSlate/BalBlankSlate.vue')['default'] | ||
BalBreakdown: typeof import('./src/components/_global/BalBreakdown/BalBreakdown.vue')['default'] | ||
BalBtn: typeof import('./src/components/_global/BalBtn/BalBtn.vue')['default'] | ||
BalBtnGroup: typeof import('./src/components/_global/BalBtnGroup/BalBtnGroup.vue')['default'] | ||
BalCard: typeof import('./src/components/_global/BalCard/BalCard.vue')['default'] | ||
BalChart: typeof import('./src/components/_global/BalChart/BalChart.vue')['default'] | ||
BalCheckbox: typeof import('./src/components/_global/BalCheckbox/BalCheckbox.vue')['default'] | ||
BalChip: typeof import('./src/components/_global/BalChip/BalChip.vue')['default'] | ||
BalCircle: typeof import('./src/components/_global/shapes/BalCircle/BalCircle.vue')['default'] | ||
BalCloseIcon: typeof import('./src/components/_global/icons/BalCloseIcon.vue')['default'] | ||
BalDataList: typeof import('./src/components/_global/BalDataList/BalDataList.vue')['default'] | ||
BalDataListRow: typeof import('./src/components/_global/BalDataList/BalDataListRow.vue')['default'] | ||
BalDetailsTable: typeof import('./src/components/_global/BalDetailsTable/BalDetailsTable.vue')['default'] | ||
BalDropdown: typeof import('./src/components/_global/BalDropdown/BalDropdown.vue')['default'] | ||
BalFlexGrid: typeof import('./src/components/_global/BalFlexGrid/BalFlexGrid.vue')['default'] | ||
BalForm: typeof import('./src/components/_global/BalForm/BalForm.vue')['default'] | ||
BalHorizSteps: typeof import('./src/components/_global/BalHorizSteps/BalHorizSteps.vue')['default'] | ||
BalIcon: typeof import('./src/components/_global/BalIcon/BalIcon.vue')['default'] | ||
BalImage: typeof import('./src/components/_global/BalImage/BalImage.vue')['default'] | ||
BalInlineInput: typeof import('./src/components/_global/BalInlineInput/BalInlineInput.vue')['default'] | ||
BalLazy: typeof import('./src/components/_global/BalLazy/BalLazy.vue')['default'] | ||
BalLink: typeof import('./src/components/_global/BalLink/BalLink.vue')['default'] | ||
BalLoadingBlock: typeof import('./src/components/_global/BalLoadingBlock/BalLoadingBlock.vue')['default'] | ||
BalLoadingIcon: typeof import('./src/components/_global/BalLoadingIcon/BalLoadingIcon.vue')['default'] | ||
BalLoadingNumber: typeof import('./src/components/_global/BalLoadingNumber/BalLoadingNumber.vue')['default'] | ||
BalModal: typeof import('./src/components/_global/BalModal/BalModal.vue')['default'] | ||
BalPopover: typeof import('./src/components/_global/BalPopover/BalPopover.vue')['default'] | ||
BalProgressBar: typeof import('./src/components/_global/BalProgressBar/BalProgressBar.vue')['default'] | ||
BalRadio: typeof import('./src/components/_global/BalRadio/BalRadio.vue')['default'] | ||
BalRangeInput: typeof import('./src/components/_global/BalRangeInput/BalRangeInput.vue')['default'] | ||
BalSelectInput: typeof import('./src/components/_global/BalSelectInput/BalSelectInput.vue')['default'] | ||
BalStack: typeof import('./src/components/_global/BalStack/BalStack.vue')['default'] | ||
BalTable: typeof import('./src/components/_global/BalTable/BalTable.vue')['default'] | ||
BalTableRow: typeof import('./src/components/_global/BalTable/BalTableRow.vue')['default'] | ||
BalTabs: typeof import('./src/components/_global/BalTabs/BalTabs.vue')['default'] | ||
BalTextInput: typeof import('./src/components/_global/BalTextInput/BalTextInput.vue')['default'] | ||
BalToggle: typeof import('./src/components/_global/BalToggle/BalToggle.vue')['default'] | ||
BalTooltip: typeof import('./src/components/_global/BalTooltip/BalTooltip.vue')['default'] | ||
BalVerticalSteps: typeof import('./src/components/_global/BalVerticalSteps/BalVerticalSteps.vue')['default'] | ||
CheckIcon: typeof import('./src/components/_global/icons/CheckIcon.vue')['default'] | ||
CompositionIcon: typeof import('./src/components/_global/icons/CompositionIcon.vue')['default'] | ||
DiscordIcon: typeof import('./src/components/_global/icons/brands/DiscordIcon.vue')['default'] | ||
EmailIcon: typeof import('./src/components/_global/icons/EmailIcon.vue')['default'] | ||
GithubIcon: typeof import('./src/components/_global/icons/brands/GithubIcon.vue')['default'] | ||
LightBulbIcon: typeof import('./src/components/_global/icons/LightBulbIcon.vue')['default'] | ||
MediumIcon: typeof import('./src/components/_global/icons/brands/MediumIcon.vue')['default'] | ||
MinusSquareIcon: typeof import('./src/components/_global/icons/MinusSquareIcon.vue')['default'] | ||
MoonIcon: typeof import('./src/components/_global/icons/MoonIcon.vue')['default'] | ||
NetworkIcon: typeof import('./src/components/_global/icons/NetworkIcon.vue')['default'] | ||
PinHeader: typeof import('./src/components/_global/BalTable/PinHeader.vue')['default'] | ||
PlusSquareIcon: typeof import('./src/components/_global/icons/PlusSquareIcon.vue')['default'] | ||
RouterLink: typeof import('vue-router')['RouterLink'] | ||
RouterView: typeof import('vue-router')['RouterView'] | ||
SpinnerIcon: typeof import('./src/components/_global/icons/SpinnerIcon.vue')['default'] | ||
StarsIcon: typeof import('./src/components/_global/icons/StarsIcon.vue')['default'] | ||
SunIcon: typeof import('./src/components/_global/icons/SunIcon.vue')['default'] | ||
TimelockIcon: typeof import('./src/components/_global/icons/TimelockIcon.vue')['default'] | ||
TotalsRow: typeof import('./src/components/_global/BalTable/TotalsRow.vue')['default'] | ||
TwitterIcon: typeof import('./src/components/_global/icons/brands/TwitterIcon.vue')['default'] | ||
WalletIcon: typeof import('./src/components/_global/icons/WalletIcon.vue')['default'] | ||
YoutubeIcon: typeof import('./src/components/_global/icons/brands/YoutubeIcon.vue')['default'] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
// https://vitejs.dev/guide/env-and-mode.html#intellisense-for-typescript | ||
interface ImportMetaEnv { | ||
readonly VITE_SENTRY_AUTH_TOKEN?: string; | ||
// more env variables... | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv; | ||
} |
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
Oops, something went wrong.