Skip to content

Commit 383d4a9

Browse files
chore: fix publint
1 parent c3c20e4 commit 383d4a9

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"Bash(pnpm lint:*)",
66
"Bash(pnpm install:*)",
77
"Bash(xxd:*)",
8-
"Bash(LC_ALL=C sed:*)"
8+
"Bash(LC_ALL=C sed:*)",
9+
"Bash(npx publint:*)",
10+
"Bash(pnpm build:*)"
911
]
1012
}
1113
}

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@
99
},
1010
"author": "",
1111
"license": "MIT",
12-
"main": "dist/theme.js",
13-
"module": "dist/theme.mjs",
12+
"main": "dist/theme.cjs",
13+
"module": "dist/theme.js",
1414
"types": "dist/theme.d.ts",
1515
"exports": {
1616
".": {
17-
"types": "./dist/theme.d.ts",
18-
"import": "./dist/theme.mjs",
19-
"require": "./dist/theme.js"
17+
"import": {
18+
"types": "./dist/theme.d.ts",
19+
"default": "./dist/theme.js"
20+
},
21+
"require": {
22+
"types": "./dist/theme.d.cts",
23+
"default": "./dist/theme.cjs"
24+
}
2025
},
2126
"./package.json": "./package.json"
2227
},

0 commit comments

Comments
 (0)