Skip to content

Commit

Permalink
chore: reduce no of folders
Browse files Browse the repository at this point in the history
  • Loading branch information
jakim929 committed Jan 14, 2025
1 parent b308525 commit 5e6aa51
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/deploy/create2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {StatusMessage} from '@inkjs/ui';
import {zodDeployCreateXCreate2Params} from '@/actions/deployCreateXCreate2';
import {z} from 'zod';
import {option} from 'pastel';
import {DeployCreate2Wizard} from '@/deploy-create2-wizard/DeployCreate2Wizard';
import {DeployCreate2Wizard} from '@/wizard/deploy-create2/DeployCreate2Wizard';
import {fromZodError} from 'zod-validation-error';
import {parseSuperConfigFromTOML} from '@/utils/config';

Expand Down
8 changes: 4 additions & 4 deletions packages/cli/src/commands/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {BridgeWizard} from '@/bridge-wizard/BridgeWizard';
import {DeployCreate2Wizard} from '@/deploy-create2-wizard/DeployCreate2Wizard';
import {BridgeWizard} from '@/wizard/bridge/BridgeWizard';
import {DeployCreate2Wizard} from '@/wizard/deploy-create2/DeployCreate2Wizard';
import {Select} from '@inkjs/ui';
import {Box, Text} from 'ink';
import {useState} from 'react';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';
import {useUserContext} from '@/queries/userContext';
import {actionDescriptionByWizardId} from '@/models/userContext';
import {useBridgeWizardStore} from '@/bridge-wizard/bridgeWizardStore';
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useBridgeWizardStore} from '@/wizard/bridge/bridgeWizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';

const options = [
{label: '🚀 Deploy a contract', value: 'deploy'},
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import {
bridgeWizardIndexByStepId,
BridgeWizardStepId,
useBridgeWizardStore,
} from '@/bridge-wizard/bridgeWizardStore';
import {EnterAmount} from '@/bridge-wizard/EnterAmount';
import {EnterRecipient} from '@/bridge-wizard/EnterRecipient';
import {SelectChains} from '@/bridge-wizard/SelectChains';
import {SelectNetwork} from '@/bridge-wizard/SelectNetwork';
} from '@/wizard/bridge/bridgeWizardStore';
import {EnterAmount} from '@/wizard/bridge/steps/EnterAmount';
import {EnterRecipient} from '@/wizard/bridge/steps/EnterRecipient';
import {SelectChains} from '@/wizard/bridge/steps/SelectChains';
import {SelectNetwork} from '@/wizard/bridge/steps/SelectNetwork';
import BridgeEntrypoint from '@/commands/bridge';
import {useSaveWizardProgress} from '@/hooks/useSaveWizardProgress';
import {SupportedNetwork} from '@/superchain-registry/fetchSuperchainRegistryChainList';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useBridgeWizardStore} from '@/bridge-wizard/bridgeWizardStore';
import {useBridgeWizardStore} from '@/wizard/bridge/bridgeWizardStore';
import {Select, Spinner} from '@inkjs/ui';
import {useQuery} from '@tanstack/react-query';
import {Box, Text} from 'ink';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Box, Text} from 'ink';
import {TextInput} from '@inkjs/ui';

import {useBridgeWizardStore} from '@/bridge-wizard/bridgeWizardStore';
import {useBridgeWizardStore} from '@/wizard/bridge/bridgeWizardStore';
import {useState} from 'react';
import {isAddress} from 'viem';
import {zodAddress} from '@/validators/schemas';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useBridgeWizardStore} from '@/bridge-wizard/bridgeWizardStore';
import {useBridgeWizardStore} from '@/wizard/bridge/bridgeWizardStore';
import {useSuperchainRegistryChainList} from '@/queries/superchainRegistryChainList';
import {MultiSelect, Spinner} from '@inkjs/ui';
import {Box, Text} from 'ink';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useBridgeWizardStore} from '@/bridge-wizard/bridgeWizardStore';
import {useBridgeWizardStore} from '@/wizard/bridge/bridgeWizardStore';
import {SupportedNetwork} from '@/superchain-registry/fetchSuperchainRegistryChainList';
import {Select} from '@inkjs/ui';
import {Box, Text} from 'ink';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import {
deployCreate2WizardIndexByStepId,
DeployCreate2WizardStepId,
useDeployCreate2WizardStore,
} from '@/deploy-create2-wizard/deployCreate2WizardStore';
} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {Box, Text} from 'ink';
import {EnterFoundryProjectPath} from '@/deploy-create2-wizard/EnterFoundryProjectPath';
import {SelectContract} from '@/deploy-create2-wizard/SelectContract';
import {ConfigureConstructorArguments} from '@/deploy-create2-wizard/ConfigureConstructorArguments';
import {ConfigureSalt} from '@/deploy-create2-wizard/ConfigureSalt';
import {SelectNetwork} from '@/deploy-create2-wizard/SelectNetwork';
import {SelectChains} from '@/deploy-create2-wizard/SelectChains';
import {EnterFoundryProjectPath} from '@/wizard/deploy-create2/steps/EnterFoundryProjectPath';
import {SelectContract} from '@/wizard/deploy-create2/steps/SelectContract';
import {ConfigureConstructorArguments} from '@/wizard/deploy-create2/steps/ConfigureConstructorArguments';
import {ConfigureSalt} from '@/wizard/deploy-create2/steps/ConfigureSalt';
import {SelectNetwork} from '@/wizard/deploy-create2/steps/SelectNetwork';
import {SelectChains} from '@/wizard/deploy-create2/steps/SelectChains';
import {getArtifactPathForContract} from '@/forge/foundryProject';
import {useSaveWizardProgress} from '@/hooks/useSaveWizardProgress';
import {DeployCreate2Command} from '@/deploy-create2/DeployCreate2Command';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {getConstructorAbi} from '@/utils/abi';
import {Box} from 'ink';
import {AbiItemForm} from '@/deploy-create2-wizard/AbiItemForm';
import {AbiItemForm} from '@/components/AbiItemForm';
import {getArtifactPathForContract} from '@/forge/foundryProject';
import {useForgeArtifact} from '@/queries/forgeArtifact';
import {Spinner} from '@inkjs/ui';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {Box, Text} from 'ink';
import {TextInput} from '@inkjs/ui';
export const ConfigureSalt = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {Box, Text} from 'ink';
import {Spinner} from '@inkjs/ui';
import {useUpdateUserContext, useUserContext} from '@/queries/userContext';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {useSuperchainRegistryChainList} from '@/queries/superchainRegistryChainList';
import {MultiSelect, Spinner} from '@inkjs/ui';
import {Box, Text} from 'ink';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {useFoundryProjectSolidityFiles} from '@/queries/listFoundryProjectSolidityFiles';
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {Select, Spinner} from '@inkjs/ui';
import {Box, Text} from 'ink';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useDeployCreate2WizardStore} from '@/deploy-create2-wizard/deployCreate2WizardStore';
import {useDeployCreate2WizardStore} from '@/wizard/deploy-create2/deployCreate2WizardStore';
import {Select} from '@inkjs/ui';
import {Box, Text} from 'ink';
import {
Expand Down

0 comments on commit 5e6aa51

Please sign in to comment.