From c2a08e61f5aae535552d6d65f0b40bf562411650 Mon Sep 17 00:00:00 2001 From: Amadeo Pellicce Date: Fri, 10 Mar 2023 13:18:19 -0800 Subject: [PATCH] including db schema in build --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0ccd034..a39a908 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "scripts": { "index": "ts-node ./src/index.ts", "clean": "rimraf ./dist/ ./exec/", - "build": "yarn clean && tsc", + "build": "yarn clean && tsc && cp -r ./src/releaser/schema ./dist/releaser/schema", "preparePublish": "yarn build && npm version patch", "prepareTest": "yarn ts-node ./src/cache.ts", "test": "yarn prepareTest && yarn build && ava", diff --git a/tsconfig.json b/tsconfig.json index ef19830..20210e8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,6 @@ "esModuleInterop": true, "sourceMap": true, "declaration": true, - "resolveJsonModule": true + "resolveJsonModule": true, } } \ No newline at end of file