From 89b4df24aac9eb7abc6aa51ea16101bb55ed2938 Mon Sep 17 00:00:00 2001 From: kirillgroshkov Date: Wed, 24 Jul 2024 23:19:01 +0200 Subject: [PATCH] fix: get back package.json types, as we still export from `./testing` --- package.json | 2 ++ src/index.ts | 1 + tsconfig.prod.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/index.ts diff --git a/package.json b/package.json index 941deee..17cb128 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,8 @@ "cfg/overwrite/.gitignore", "cfg" ], + "main": "dist/index.js", + "types": "dist/index.d.ts", "bin": { "dev-lib": "dist/bin/dev-lib.js", "up": "dist/bin/up.js", diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..336ce12 --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +export {} diff --git a/tsconfig.prod.json b/tsconfig.prod.json index 7b32a76..85dfed6 100644 --- a/tsconfig.prod.json +++ b/tsconfig.prod.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "sourceMap": false, - "declaration": false, + "declaration": true, }, "exclude": ["**/__exclude", "src/test", "src/**/*.test.*"], }