From 5320f18b226d399a73cd337ad2db5e79a139f558 Mon Sep 17 00:00:00 2001 From: Hansanghyeon <999@hyeon.pro> Date: Tue, 19 Mar 2024 04:08:08 +0000 Subject: [PATCH] fix: import type --- .changeset/three-impalas-mate.md | 5 ----- .gitignore | 3 ++- package.json | 7 ++++--- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 .changeset/three-impalas-mate.md diff --git a/.changeset/three-impalas-mate.md b/.changeset/three-impalas-mate.md deleted file mode 100644 index 0c0d56e..0000000 --- a/.changeset/three-impalas-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hyeon/calc-ts": patch ---- - -changeset setup diff --git a/.gitignore b/.gitignore index 4855833..e382a7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules *.log -lib \ No newline at end of file +lib +*.d.ts \ No newline at end of file diff --git a/package.json b/package.json index a607bc3..95663b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyeon/calc-ts", - "version": "1.1.0", + "version": "1.1.1", "main": "./lib/index.js", "types": "./lib/index.d.ts", "type": "module", @@ -14,7 +14,7 @@ "calc function" ], "scripts": { - "build": "nanobundle build --tsconfig ./tsconfig.prod.json", + "build": "nanobundle build --tsconfig ./tsconfig.prod.json && cp lib/*.d.ts .", "test": "vitest" }, "devDependencies": { @@ -40,7 +40,8 @@ "./package.json": "./package.json" }, "files": [ - "lib" + "lib", + "fp.d.ts" ], "publishConfig": { "registry": "https://registry.npmjs.org/",