From a8922f091bb96878cd9ce03075ae58bdd4c55fe6 Mon Sep 17 00:00:00 2001 From: Camden Phalen Date: Wed, 18 Dec 2024 15:01:12 -0500 Subject: [PATCH] Change project case --- lib/projects/buildAndDeploy.ts | 12 ++++++------ lib/projects/index.ts | 2 +- lib/projects/upload.ts | 2 +- lib/prompts/createProjectPrompt.ts | 7 ++++--- lib/prompts/projectAddPrompt.ts | 2 +- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/lib/projects/buildAndDeploy.ts b/lib/projects/buildAndDeploy.ts index e4787884c..118577b22 100644 --- a/lib/projects/buildAndDeploy.ts +++ b/lib/projects/buildAndDeploy.ts @@ -15,12 +15,6 @@ import { } from '@hubspot/local-dev-lib/api/projects'; import { WarnLogsResponse } from '@hubspot/local-dev-lib/types/Project'; -import { - ProjectConfig, - ProjectTask, - ProjectSubtask, - ProjectPollStatusFunctionText, -} from '../../types/Projects'; import { POLLING_DELAY, PROJECT_BUILD_TEXT, @@ -37,6 +31,12 @@ import { getProjectDeployDetailUrl, getProjectActivityUrl, } from './urls'; +import { + ProjectConfig, + ProjectTask, + ProjectSubtask, + ProjectPollStatusFunctionText, +} from '../../types/Projects'; const i18nKey = 'lib.projectBuildAndDeploy'; diff --git a/lib/projects/index.ts b/lib/projects/index.ts index b0ef4e7aa..9a86d6b1e 100644 --- a/lib/projects/index.ts +++ b/lib/projects/index.ts @@ -26,7 +26,6 @@ import { EXIT_CODES } from '../enums/exitCodes'; import { uiLine, uiAccountDescription, uiCommandReference } from '../ui'; import { i18n } from '../lang'; import SpinniesManager from '../ui/SpinniesManager'; -import { logError, ApiErrorContext } from '../errorHandlers/index'; import { ProjectTemplate, ProjectConfig, @@ -34,6 +33,7 @@ import { ProjectTemplateRepoConfig, ComponentTemplate, } from '../../types/Projects'; +import { logError, ApiErrorContext } from '../errorHandlers/index'; const i18nKey = 'lib.projects'; diff --git a/lib/projects/upload.ts b/lib/projects/upload.ts index 4f4c96d44..2f2efb5d7 100644 --- a/lib/projects/upload.ts +++ b/lib/projects/upload.ts @@ -9,8 +9,8 @@ import { logger } from '@hubspot/local-dev-lib/logger'; import SpinniesManager from '../ui/SpinniesManager'; import { uiAccountDescription } from '../ui'; import { i18n } from '../lang'; -import { ProjectConfig } from '../../types/Projects'; import { EXIT_CODES } from '../enums/exitCodes'; +import { ProjectConfig } from '../../types/Projects'; const i18nKey = 'lib.projectUpload'; diff --git a/lib/prompts/createProjectPrompt.ts b/lib/prompts/createProjectPrompt.ts index 3bc4d4ad4..dfae0cad5 100644 --- a/lib/prompts/createProjectPrompt.ts +++ b/lib/prompts/createProjectPrompt.ts @@ -6,17 +6,18 @@ import { isValidPath, untildify, } from '@hubspot/local-dev-lib/path'; +import { RepoPath } from '@hubspot/local-dev-lib/types/Github'; +import { fetchFileFromRepository } from '@hubspot/local-dev-lib/github'; +import { logger } from '@hubspot/local-dev-lib/logger'; + import { PROJECT_COMPONENT_TYPES, HUBSPOT_PROJECT_COMPONENTS_GITHUB_PATH, DEFAULT_PROJECT_TEMPLATE_BRANCH, } from '../constants'; import { promptUser } from './promptUtils'; -import { fetchFileFromRepository } from '@hubspot/local-dev-lib/github'; import { i18n } from '../lang'; -import { logger } from '@hubspot/local-dev-lib/logger'; import { EXIT_CODES } from '../enums/exitCodes'; -import { RepoPath } from '@hubspot/local-dev-lib/types/Github'; import { ProjectTemplate, ProjectTemplateRepoConfig, diff --git a/lib/prompts/projectAddPrompt.ts b/lib/prompts/projectAddPrompt.ts index 097f935f2..77def953a 100644 --- a/lib/prompts/projectAddPrompt.ts +++ b/lib/prompts/projectAddPrompt.ts @@ -1,6 +1,6 @@ import { promptUser } from './promptUtils'; -import { i18n } from '../lang'; import { ProjectAddComponentData } from '../../types/Projects'; +import { i18n } from '../lang'; const i18nKey = 'lib.prompts.projectAddPrompt';