From f23d340e8ceaf93b95d82681d326fca08532ab46 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 11 Feb 2025 13:52:02 +0100 Subject: [PATCH] fix(mongodb-log-writer): add correct CI scripts for the log writer --- packages/mongodb-log-writer/package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/mongodb-log-writer/package.json b/packages/mongodb-log-writer/package.json index c686457..145f0a6 100644 --- a/packages/mongodb-log-writer/package.json +++ b/packages/mongodb-log-writer/package.json @@ -55,10 +55,11 @@ "scripts": { "lint": "eslint src/**/*.ts", "test-only": "nyc mocha --colors -r ts-node/register src/**.spec.ts", - "test": "npm run lint && npm run build && npm run test-only", - "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", + "test": "npm run lint && npm run compile && npm run test-only", + "test-ci": "npm run test", + "compile": "tsc -p tsconfig.json && gen-esm-wrapper . ./.esm-wrapper.mjs", "prepack": "npm run build", - "compile-ts": "tsc -p tsconfig.json" + "bootstrap": "npm run compile" }, "license": "Apache-2.0", "dependencies": {