We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c52dc84 commit dce05acCopy full SHA for dce05ac
packages/cli/package.json
@@ -24,7 +24,16 @@
24
"shadcn",
25
"shadcn-vue"
26
],
27
- "exports": "./dist/index.js",
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "./registry": {
33
+ "types": "./dist/registry/index.d.ts",
34
+ "default": "./dist/registry/index.js"
35
+ }
36
37
"bin": "./dist/index.js",
38
"files": [
39
"dist"
packages/cli/tsup.config.ts
@@ -2,8 +2,8 @@ import { defineConfig } from 'tsup'
2
3
export default defineConfig({
4
clean: true,
5
- dts: false,
6
- entry: ['src/index.ts'],
+ dts: true,
+ entry: ['src/index.ts', 'src/registry/index.ts'],
7
format: ['esm'],
8
sourcemap: true,
9
target: 'esnext',
0 commit comments