From 99ab8db99f24c421c45c24f82a6a7dd6011f84a1 Mon Sep 17 00:00:00 2001 From: Travis Ralston <travpc@gmail.com> Date: Sat, 18 May 2024 11:23:18 -0600 Subject: [PATCH] Ensure api types are included in the npm package (#2559) * Ensure api types are included in the npm package * changelog --------- Co-authored-by: DJ Mountney <david@twkie.net> --- packages/api/package.json | 3 ++- upcoming-release-notes/2559.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/2559.md diff --git a/packages/api/package.json b/packages/api/package.json index 0cebf81be..fac39b4fa 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -9,7 +9,8 @@ "main": "dist/index.js", "types": "@types/index.d.ts", "files": [ - "dist" + "dist", + "@types" ], "scripts": { "build:app": "yarn workspace loot-core build:api", diff --git a/upcoming-release-notes/2559.md b/upcoming-release-notes/2559.md new file mode 100644 index 000000000..1209f7344 --- /dev/null +++ b/upcoming-release-notes/2559.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [turt2live] +--- + +API: Publish TypeScript types in the package. -- GitLab