2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-07 07:34:22 +00:00

fix(next): add dts for non node packages

I talk with @antfu (sorry to ping you here ;) ), we need to add the `typedVersions`, we talk about it a few days/weeks ago:
``json
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*"
      ]
    }
  },
```
This commit is contained in:
Joaquín Sánchez 2022-03-20 14:43:26 +01:00 committed by GitHub
parent 34a3d91521
commit 814e944e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@
"vitest": "npm run vitest:cjs && npm run vitest:esm"
},
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.cjs",
@ -189,13 +192,17 @@
"import": "./lib/svg/size.mjs"
}
},
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"files": [
"lib",
"*.d.ts"
],
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"dependencies": {
"@antfu/install-pkg": "^0.1.0",
"@antfu/utils": "^0.3.0",