Skip to content

Commit

Permalink
Change project case
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Dec 18, 2024
1 parent b60f8b5 commit a8922f0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions lib/projects/buildAndDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -37,6 +31,12 @@ import {
getProjectDeployDetailUrl,
getProjectActivityUrl,
} from './urls';
import {
ProjectConfig,
ProjectTask,
ProjectSubtask,
ProjectPollStatusFunctionText,
} from '../../types/Projects';

Check failure on line 39 in lib/projects/buildAndDeploy.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../types/Projects' or its corresponding type declarations.

const i18nKey = 'lib.projectBuildAndDeploy';

Expand Down
2 changes: 1 addition & 1 deletion lib/projects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ 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,
ProjectAddComponentData,
ProjectTemplateRepoConfig,
ComponentTemplate,
} from '../../types/Projects';

Check failure on line 35 in lib/projects/index.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../types/Projects' or its corresponding type declarations.
import { logError, ApiErrorContext } from '../errorHandlers/index';

const i18nKey = 'lib.projects';

Expand Down
2 changes: 1 addition & 1 deletion lib/projects/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Check failure on line 13 in lib/projects/upload.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../types/Projects' or its corresponding type declarations.

const i18nKey = 'lib.projectUpload';

Expand Down
7 changes: 4 additions & 3 deletions lib/prompts/createProjectPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/prompts/projectAddPrompt.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit a8922f0

Please sign in to comment.