From 623601e90694d84fc844b22249a9c8f24a7f94e4 Mon Sep 17 00:00:00 2001 From: Camden Phalen Date: Wed, 1 Nov 2023 13:35:27 -0400 Subject: [PATCH] Remove more cli-lib deps --- packages/cli/commands/customObject/schema/create.js | 5 ++++- packages/cli/commands/project/deploy.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/cli/commands/customObject/schema/create.js b/packages/cli/commands/customObject/schema/create.js index 83c505eb5..87dfb2fcf 100644 --- a/packages/cli/commands/customObject/schema/create.js +++ b/packages/cli/commands/customObject/schema/create.js @@ -9,7 +9,10 @@ const { } = require('../../../lib/validation'); const { trackCommandUsage } = require('../../../lib/usageTracking'); const { addTestingOptions, getAccountId } = require('../../../lib/commonOpts'); -const { getEnv, isConfigFlagEnabled } = require('@hubspot/cli-lib/'); +const { + getEnv, + isConfigFlagEnabled, +} = require('@hubspot/local-dev-lib/config'); const { ENVIRONMENTS, ConfigFlags } = require('@hubspot/cli-lib/lib/constants'); const { createSchema } = require('@hubspot/cli-lib/api/schema'); const { diff --git a/packages/cli/commands/project/deploy.js b/packages/cli/commands/project/deploy.js index cec73bf8a..b8a1db658 100644 --- a/packages/cli/commands/project/deploy.js +++ b/packages/cli/commands/project/deploy.js @@ -18,7 +18,7 @@ const { projectNamePrompt } = require('../../lib/prompts/projectNamePrompt'); const { buildIdPrompt } = require('../../lib/prompts/buildIdPrompt'); const { i18n } = require('../../lib/lang'); const { uiBetaTag } = require('../../lib/ui'); -const { getAccountConfig } = require('@hubspot/local-dev-lib'); +const { getAccountConfig } = require('@hubspot/local-dev-lib/config'); const i18nKey = 'cli.commands.project.subcommands.deploy'; const { EXIT_CODES } = require('../../lib/enums/exitCodes');