Skip to content

Commit 3683a03

Browse files
committed
fix: package.json import
1 parent 631a189 commit 3683a03

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/utils-ai/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,8 @@
6767
"tmp/**",
6868
"bin/**"
6969
]
70+
},
71+
"imports": {
72+
"#package.json": "./package.json"
7073
}
7174
}

packages/utils-ai/src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineCommand, runMain } from 'citty'
2-
import utilsAIPackage from '../../package.json' assert { type: 'json' }
2+
import utilsAIPackage from '#package.json' assert { type: 'json' }
33

44
const main = defineCommand({
55
meta: {

0 commit comments

Comments
 (0)