diff --git a/packages/cli/core/src/commands/ui/create/angular.ts b/packages/cli/core/src/commands/ui/create/angular.ts index 8059fcc671..7f74077936 100644 --- a/packages/cli/core/src/commands/ui/create/angular.ts +++ b/packages/cli/core/src/commands/ui/create/angular.ts @@ -23,7 +23,7 @@ import { listSearchHubsPrivilege, } from '@coveo/cli-commons/preconditions/platformPrivilege'; import {Trackable} from '@coveo/cli-commons/preconditions/trackable'; -import {promptForSearchHub} from './shared'; +import {promptForSearchHub} from '../../../lib/ui/shared'; export default class Angular extends CLICommand { public static templateName = '@coveo/angular'; diff --git a/packages/cli/core/src/commands/ui/create/react.ts b/packages/cli/core/src/commands/ui/create/react.ts index efe02a8e67..30a8b7cea0 100644 --- a/packages/cli/core/src/commands/ui/create/react.ts +++ b/packages/cli/core/src/commands/ui/create/react.ts @@ -22,7 +22,7 @@ import { IsNodeVersionInRange, IsNpxInstalled, } from '../../../lib/decorators/preconditions'; -import {promptForSearchHub} from './shared'; +import {promptForSearchHub} from '../../../lib/ui/shared'; type ReactProcessEnv = { orgId: string; diff --git a/packages/cli/core/src/commands/ui/create/vue.ts b/packages/cli/core/src/commands/ui/create/vue.ts index 64ef7b421c..44a0f5917e 100644 --- a/packages/cli/core/src/commands/ui/create/vue.ts +++ b/packages/cli/core/src/commands/ui/create/vue.ts @@ -26,7 +26,7 @@ import { import {cwd} from 'node:process'; import {mkdirSync, readdirSync, statSync, writeFileSync} from 'node:fs'; import dedent from 'ts-dedent'; -import {promptForSearchHub} from './shared'; +import {promptForSearchHub} from '../../../lib/ui/shared'; export default class Vue extends CLICommand { public static packageName = '@coveo/create-headless-vue'; diff --git a/packages/cli/core/src/lib/atomic/createAtomicProject.ts b/packages/cli/core/src/lib/atomic/createAtomicProject.ts index 8bd39f2fab..f23d4a38cc 100644 --- a/packages/cli/core/src/lib/atomic/createAtomicProject.ts +++ b/packages/cli/core/src/lib/atomic/createAtomicProject.ts @@ -24,7 +24,7 @@ import {getPackageVersion} from '../utils/misc'; import npf from '@coveo/cli-commons/npm/npf'; import {SubprocessError} from '../errors/subprocessError'; import {isErrorLike} from '../utils/errorSchemas'; -import {promptForSearchHub} from '../../commands/ui/create/shared'; +import {promptForSearchHub} from '../ui/shared'; interface CreateAppOptions { initializerVersion?: string; diff --git a/packages/cli/core/src/commands/ui/create/shared.ts b/packages/cli/core/src/lib/ui/shared.ts similarity index 100% rename from packages/cli/core/src/commands/ui/create/shared.ts rename to packages/cli/core/src/lib/ui/shared.ts