Skip to content

A local-first personal finance app

Ensure api types are included in the npm package (#2559)

Travis Ralston99ab8db99f24
diff --git a/packages/api/package.json b/packages/api/package.json
index 0cebf81bef..fac39b4fad 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 0000000000..1209f7344f
--- /dev/null
+++ b/upcoming-release-notes/2559.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [turt2live]
+---
+
+API: Publish TypeScript types in the package.