]> git.ardis.lu - envpass/commitdiff
Set `types` key for TS badge on npm registry
authorArdis Lu <ardisglu@gmail.com>
Wed, 24 Jun 2026 06:56:51 +0000 (23:56 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 24 Jun 2026 06:56:51 +0000 (23:56 -0700)
Although this key is redundant with `exports`, it is still required to have the "TS" badge on the npm registry.

package.json

index 6f739a68c710dc843ea757554ee65a8ea3431583..b19531ea7299888402d564e6b061ce77271618da 100644 (file)
@@ -44,6 +44,7 @@
       "default": "./src/decrypt.js"
     }
   },
+  "types": "./types/index.d.ts",
   "bin": {
     "envpass": "src/cli.js"
   },
This page took 0.031822 seconds and 4 git commands to generate.