From 43713e1db54db23ba52b6dab8faa5c226e366713 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 6 Sep 2023 12:04:04 +0200 Subject: [PATCH] Publish src code in the npm package --- packages/backend-core/.npmignore | 4 +++- packages/backend-core/package.json | 7 ------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/backend-core/.npmignore b/packages/backend-core/.npmignore index fb547825eb..30bba85ce8 100644 --- a/packages/backend-core/.npmignore +++ b/packages/backend-core/.npmignore @@ -1,4 +1,6 @@ * !dist/**/* dist/tsconfig.build.tsbuildinfo -!package.json \ No newline at end of file +!package.json +!src/** +!tests/** \ No newline at end of file diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 4267425b84..970a4aab8d 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -4,13 +4,6 @@ "description": "Budibase backend core libraries used in server and worker", "main": "dist/index.js", "types": "dist/src/index.d.ts", - "typesVersions": { - "*": { - "tests": [ - "./dist/tests/index.d.ts" - ] - } - }, "exports": { ".": "./dist/index.js", "./tests": "./dist/tests/index.js",