diff --git a/packages/hooks/package.json b/packages/hooks/package.json index aabc7763d..d90187ac0 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -11,12 +11,9 @@ "exports": { ".": { "types": "./types/index.d.ts", - "import": "./dist/index.js" + "default": "./dist/index.js" } }, - "main": "dist/index.js", - "module": "dist/index.js", - "types": "types/index.d.ts", "files": [ "dist", "types" diff --git a/packages/hooks/src/hooks/hook-project.ts b/packages/hooks/src/hooks/hook-project.ts index 9f92098dc..c74177569 100644 --- a/packages/hooks/src/hooks/hook-project.ts +++ b/packages/hooks/src/hooks/hook-project.ts @@ -1,4 +1,4 @@ -import type { PluginApi } from '@/utils/utils.js' +import type { PluginApi } from '../utils/utils.js' import type { Hook } from './hook.js' import { createHook } from './hook.js' import type { ClusterObject, ExternalRepoUrl, InternalRepoName, IsInfra, IsPrivate, UserObject } from './index.js' diff --git a/packages/hooks/src/utils/plugin-result-handler.ts b/packages/hooks/src/utils/plugin-result-handler.ts index eb4a7c3d9..c9f74889d 100644 --- a/packages/hooks/src/utils/plugin-result-handler.ts +++ b/packages/hooks/src/utils/plugin-result-handler.ts @@ -1,4 +1,4 @@ -import type { PluginResult, PluginResultStore, PluginResultStoreValue } from '@/hooks/hook.js' +import type { PluginResult, PluginResultStore, PluginResultStoreValue } from '../hooks/hook.js' import { parseError } from './logger.js' export class PluginResultBuilder { diff --git a/packages/shared/package.json b/packages/shared/package.json index 703a35a24..509d6a534 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -11,12 +11,9 @@ "exports": { ".": { "types": "./types/index.d.ts", - "import": "./dist/index.js" + "default": "./dist/index.js" } }, - "main": "dist/index.js", - "module": "dist/index.js", - "types": "types/index.d.ts", "files": [ "dist", "types"