From 568ee54323e487bff191437e13b1aeaa0a85f411 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 5 Feb 2021 13:26:29 +0000 Subject: [PATCH] fix: renames .ts to .d.ts and copies to dist/src on build (#71) At some point there will be a new aegir that does the copying automatically but in the interim just copy it on build. Fixes #68 and #69 --- package.json | 2 +- src/{types.ts => types.d.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{types.ts => types.d.ts} (100%) diff --git a/package.json b/package.json index 6c2f5cd..09b2f79 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dist" ], "scripts": { - "prepare": "aegir build --no-bundle", + "prepare": "aegir build --no-bundle && cp src/types.d.ts dist/src/types.d.ts", "lint": "aegir lint", "test": "aegir test", "test:node": "aegir test --target node", diff --git a/src/types.ts b/src/types.d.ts similarity index 100% rename from src/types.ts rename to src/types.d.ts