mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
fix: export types first
see: https://publint.dev/rules#exports_types_should_be_first
This commit is contained in:
parent
2184c86f3c
commit
40b1683d94
2 changed files with 7 additions and 2 deletions
5
.changeset/red-lobsters-destroy.md
Normal file
5
.changeset/red-lobsters-destroy.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"classcharts-api": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Export types first
|
||||||
|
|
@ -48,9 +48,9 @@
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"require": "./dist/index.js",
|
"require": "./dist/index.js"
|
||||||
"types": "./dist/index.d.ts"
|
|
||||||
},
|
},
|
||||||
"./types": "./dist/index.d.ts",
|
"./types": "./dist/index.d.ts",
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue