From c0f6fb89ac628ad47028363091ac2dfaeb5f5875 Mon Sep 17 00:00:00 2001 From: Shane Earley Date: Tue, 8 Aug 2023 15:22:14 -0400 Subject: [PATCH] Fix imports for @casimir/aws --- common/aws/src/index.ts | 1 - scripts/actions/test.ts | 2 +- scripts/cdk/deploy.ts | 2 +- scripts/cdk/test.ts | 2 +- scripts/ethereum/dev.ts | 3 ++- scripts/ethereum/test.ts | 3 ++- scripts/local/dev.ts | 3 ++- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/common/aws/src/index.ts b/common/aws/src/index.ts index fd3ea6098..774c0097b 100644 --- a/common/aws/src/index.ts +++ b/common/aws/src/index.ts @@ -1,4 +1,3 @@ -import { exec, execSync } from 'child_process' import { fromIni } from '@aws-sdk/credential-providers' import { SecretsManagerClient, GetSecretValueCommand } from '@aws-sdk/client-secrets-manager' diff --git a/scripts/actions/test.ts b/scripts/actions/test.ts index 882c29c7f..890e7bf94 100755 --- a/scripts/actions/test.ts +++ b/scripts/actions/test.ts @@ -1,5 +1,5 @@ import { $, echo } from 'zx' -import { loadCredentials } from '@casimir/helpers' +import { loadCredentials } from '@casimir/aws' /** * Test the GitHub Actions workflows in `.github/workflows` diff --git a/scripts/cdk/deploy.ts b/scripts/cdk/deploy.ts index f0dbfd595..3ce8aef40 100755 --- a/scripts/cdk/deploy.ts +++ b/scripts/cdk/deploy.ts @@ -1,4 +1,4 @@ -import { getSecret, loadCredentials } from '@casimir/helpers' +import { getSecret, loadCredentials } from '@casimir/aws' import { $, echo } from 'zx' /** diff --git a/scripts/cdk/test.ts b/scripts/cdk/test.ts index 369cc4bf1..053920cc7 100644 --- a/scripts/cdk/test.ts +++ b/scripts/cdk/test.ts @@ -1,4 +1,4 @@ -import { getSecret, loadCredentials } from '@casimir/helpers' +import { getSecret, loadCredentials } from '@casimir/aws' import { $, echo } from 'zx' /** diff --git a/scripts/ethereum/dev.ts b/scripts/ethereum/dev.ts index 357d72482..b4ca75c6d 100644 --- a/scripts/ethereum/dev.ts +++ b/scripts/ethereum/dev.ts @@ -1,6 +1,7 @@ import { ethers } from 'ethers' import { $, echo, chalk } from 'zx' -import { loadCredentials, getSecret, getWallet, runSync, run } from '@casimir/helpers' +import { getWallet } from '@casimir/helpers' +import { loadCredentials, getSecret } from '@casimir/aws' /** * Run local a local Ethereum node and deploy contracts diff --git a/scripts/ethereum/test.ts b/scripts/ethereum/test.ts index 8b3160592..1a40065be 100755 --- a/scripts/ethereum/test.ts +++ b/scripts/ethereum/test.ts @@ -1,6 +1,7 @@ import { ethers } from 'ethers' import { $, chalk, echo } from 'zx' -import { loadCredentials, getSecret, getWallet, run } from '@casimir/helpers' +import { getWallet, run } from '@casimir/helpers' +import { loadCredentials, getSecret } from '@casimir/aws' /** * Test Ethereum contracts diff --git a/scripts/local/dev.ts b/scripts/local/dev.ts index 05c08e03e..af2c1e70d 100644 --- a/scripts/local/dev.ts +++ b/scripts/local/dev.ts @@ -1,6 +1,7 @@ import { ethers } from 'ethers' import { $, chalk, echo } from 'zx' -import { loadCredentials, getSecret, getWallet, run, runSync } from '@casimir/helpers' +import { getWallet, run, runSync } from '@casimir/helpers' +import { loadCredentials, getSecret } from '@casimir/aws' /** * Run a Casimir dev server