diff --git a/features/feature-flags/shared/src/components/FeatureGate.tsx b/features/feature-flags/shared/src/components/FeatureGate.tsx index 16a2a481c..dd684b15d 100755 --- a/features/feature-flags/shared/src/components/FeatureGate.tsx +++ b/features/feature-flags/shared/src/components/FeatureGate.tsx @@ -8,8 +8,8 @@ import type { ComponentType, ReactNode, FC } from 'react'; * based on feature flag state. */ -import { useFeatureFlag } from '@/hooks/useFeatureFlag'; -import type { KnownFeatureFlag } from '@/types'; +import { useFeatureFlag } from '../hooks/useFeatureFlag'; +import type { KnownFeatureFlag } from '../types'; export interface FeatureGateProps { /** The feature flag to check */ diff --git a/features/feature-flags/shared/src/core/FeatureFlagService.ts b/features/feature-flags/shared/src/core/FeatureFlagService.ts index aa14c0f80..9e87205e7 100755 --- a/features/feature-flags/shared/src/core/FeatureFlagService.ts +++ b/features/feature-flags/shared/src/core/FeatureFlagService.ts @@ -11,7 +11,7 @@ import type { FeatureFlagDefinition, FeatureFlagEvaluation, KnownFeatureFlag, -} from '@/types'; +} from '../types'; /** * Default hash function for percentage rollouts diff --git a/features/feature-flags/shared/src/core/apiLoader.ts b/features/feature-flags/shared/src/core/apiLoader.ts index a60a5a134..71e53223b 100755 --- a/features/feature-flags/shared/src/core/apiLoader.ts +++ b/features/feature-flags/shared/src/core/apiLoader.ts @@ -4,7 +4,7 @@ * Helper to load feature flags from the feature-flags service. */ -import type { FeatureFlagRegistry } from '@/types'; +import type { FeatureFlagRegistry } from '../types'; export interface ApiLoaderConfig { /** Base URL of the feature flags service */ diff --git a/features/feature-flags/shared/src/core/defaultFlags.ts b/features/feature-flags/shared/src/core/defaultFlags.ts index 87641d0ab..a4c4e309e 100755 --- a/features/feature-flags/shared/src/core/defaultFlags.ts +++ b/features/feature-flags/shared/src/core/defaultFlags.ts @@ -5,7 +5,7 @@ * Add new flags here as features are developed. */ -import type { FeatureFlagRegistry } from '@/types'; +import type { FeatureFlagRegistry } from '../types'; /** * Default feature flag registry diff --git a/features/feature-flags/shared/src/hooks/useFeatureFlag.ts b/features/feature-flags/shared/src/hooks/useFeatureFlag.ts index a1f2035fc..ee2a8dd65 100755 --- a/features/feature-flags/shared/src/hooks/useFeatureFlag.ts +++ b/features/feature-flags/shared/src/hooks/useFeatureFlag.ts @@ -6,9 +6,9 @@ import { useContext, useMemo } from 'react'; -import type { FeatureFlagEvaluation, KnownFeatureFlag } from '@/types'; +import type { FeatureFlagEvaluation, KnownFeatureFlag } from '../types'; -import { FeatureFlagContext } from '@/providers/FeatureFlagProvider'; +import { FeatureFlagContext } from '../providers/FeatureFlagProvider'; /** * Hook to check if a feature flag is enabled diff --git a/features/feature-flags/shared/src/providers/FeatureFlagProvider.tsx b/features/feature-flags/shared/src/providers/FeatureFlagProvider.tsx index df414fb31..ce50908a0 100755 --- a/features/feature-flags/shared/src/providers/FeatureFlagProvider.tsx +++ b/features/feature-flags/shared/src/providers/FeatureFlagProvider.tsx @@ -6,8 +6,8 @@ import { createContext, useEffect, useMemo, useState } from 'react' import type { FC, ReactNode } from 'react'; -import { FeatureFlagService, createFeatureFlagService } from '@/core/FeatureFlagService'; -import { defaultFeatureFlags } from '@/core/defaultFlags'; +import { FeatureFlagService, createFeatureFlagService } from '../core/FeatureFlagService'; +import { defaultFeatureFlags } from '../core/defaultFlags'; import type { Environment, FeatureFlagConfig, @@ -15,7 +15,7 @@ import type { FeatureFlagRegistry, AccessLevel, UserRole, -} from '@/types'; +} from '../types'; /** * Context value type