Skip to content

Commit

Permalink
Use local-dev-lib for sandboxes module
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 13, 2023
1 parent cd7cc7a commit 3a2db36
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/commands/sandbox/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const {
isSpecifiedError,
isSpecifiedHubSpotAuthError,
} = require('../../lib/errorHandlers/apiErrors');
const { deleteSandbox } = require('@hubspot/cli-lib/sandboxes');
const { deleteSandbox } = require('@hubspot/local-dev-lib/sandboxes');
const { i18n } = require('../../lib/lang');
const { deleteSandboxPrompt } = require('../../lib/prompts/sandboxesPrompt');
const {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/prompts/projectDevTargetAccountPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { i18n } = require('../lang');
const { uiAccountDescription, uiCommandReference } = require('../ui');
const { isSandbox, getAccountName } = require('../sandboxes');
const { getAccountId } = require('@hubspot/local-dev-lib/config');
const { getSandboxUsageLimits } = require('@hubspot/cli-lib/sandboxes');
const { getSandboxUsageLimits } = require('@hubspot/local-dev-lib/sandboxes');
const { logger } = require('@hubspot/cli-lib/logger');

const i18nKey = 'cli.lib.prompts.projectDevTargetAccountPrompt';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/sandbox-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {
} = require('./errorHandlers/apiErrors');
const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls');
const { getEnv, getAccountId } = require('@hubspot/local-dev-lib/config');
const { createSandbox } = require('@hubspot/cli-lib/sandboxes');
const { createSandbox } = require('@hubspot/local-dev-lib/sandboxes');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');

const i18nKey = 'cli.lib.sandbox.create';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/sandbox-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {
sandboxTypeMap,
syncTypes,
} = require('./sandboxes');
const { initiateSync } = require('@hubspot/cli-lib/sandboxes');
const { initiateSync } = require('@hubspot/local-dev-lib/sandboxes');
const {
debugErrorAndContext,
logErrorInstance,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/sandboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {
fetchTaskStatus,
fetchTypes,
getSandboxUsageLimits,
} = require('@hubspot/cli-lib/sandboxes');
} = require('@hubspot/local-dev-lib/sandboxes');
const {
accountNameExistsInConfig,
getConfig,
Expand Down

0 comments on commit 3a2db36

Please sign in to comment.