From 8671dc37c88e73aab54d7528a89345475ca3a85a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 6 Jun 2023 15:30:19 +0200 Subject: [PATCH] build system: use --build argument for tsc --- packages/idb-bridge/package.json | 2 +- packages/pogen/package.json | 2 +- packages/taler-util/package.json | 4 ++-- packages/taler-wallet-cli/package.json | 4 ++-- packages/taler-wallet-core/package.json | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/idb-bridge/package.json b/packages/idb-bridge/package.json index 89f191655..88ff8a1c2 100644 --- a/packages/idb-bridge/package.json +++ b/packages/idb-bridge/package.json @@ -11,7 +11,7 @@ "private": false, "scripts": { "test": "tsc && ava", - "compile": "tsc", + "compile": "tsc --build", "clean": "rimraf dist lib tsconfig.tsbuildinfo", "pretty": "prettier --write src" }, diff --git a/packages/pogen/package.json b/packages/pogen/package.json index ae1dfac3b..c5252cd62 100644 --- a/packages/pogen/package.json +++ b/packages/pogen/package.json @@ -7,7 +7,7 @@ "author": "Florian Dold", "license": "GPL-2.0+", "scripts": { - "compile": "tsc" + "compile": "tsc --build" }, "devDependencies": { "po2json": "^0.4.5", diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json index ba3a22d31..256511f31 100644 --- a/packages/taler-util/package.json +++ b/packages/taler-util/package.json @@ -52,7 +52,7 @@ } }, "scripts": { - "compile": "tsc", + "compile": "tsc --build", "test": "tsc && ava", "clean": "rimraf dist lib tsconfig.tsbuildinfo", "pretty": "prettier --write src" @@ -76,4 +76,4 @@ "lib/**/*test.js" ] } -} \ No newline at end of file +} diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json index 55f9adecb..aaf921ef6 100644 --- a/packages/taler-wallet-cli/package.json +++ b/packages/taler-wallet-cli/package.json @@ -16,7 +16,7 @@ }, "type": "module", "scripts": { - "compile": "./build-node.mjs", + "compile": "tsc --build && ./build-node.mjs", "test": "tsc", "clean": "rimraf lib dist tsconfig.tsbuildinfo", "pretty": "prettier --write src" @@ -41,4 +41,4 @@ "@gnu-taler/taler-wallet-core": "workspace:*", "tslib": "^2.5.3" } -} \ No newline at end of file +} diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json index caf212b37..b32f797d0 100644 --- a/packages/taler-wallet-core/package.json +++ b/packages/taler-wallet-core/package.json @@ -12,7 +12,7 @@ "author": "Florian Dold", "license": "GPL-3.0", "scripts": { - "compile": "tsc", + "compile": "tsc --build", "pretty": "prettier --write src", "test": "tsc && ava", "coverage": "tsc && c8 --src src --all ava", @@ -82,4 +82,4 @@ "lib/**/*test.*" ] } -} \ No newline at end of file +}