From ae687b898dd761519db9f13f1eec19100be8bf47 Mon Sep 17 00:00:00 2001 From: Mario Sarcevic Date: Fri, 24 Nov 2023 17:14:22 +0100 Subject: [PATCH] Squashed commit of the following: commit fbe60736c7062aec3cb02857f9db7942853e07fa Author: Mario Sarcevic Date: Fri Nov 24 17:08:10 2023 +0100 fix: REMOVE the build-test step from scripts. Vitest run cannot be used with run-s (integrated in 'npm run build') as it triggers a weird issue where build-interal (tsc step) fails if executed after 'vitest run' (failure reason is that ts cannot resolve the alias imports). If we remove the 'vitest run' step tsc works fine. commit ec0ed89ee9d025dfd5adc369037a8f94057a9034 Author: Mario Sarcevic Date: Fri Nov 24 17:07:34 2023 +0100 Revert "chore: Try without run-s in build script" This reverts commit dd08f0c9861323300a3e866e669bb95af6255022. commit dd08f0c9861323300a3e866e669bb95af6255022 Author: Mario Sarcevic Date: Fri Nov 24 17:01:27 2023 +0100 chore: Try without run-s in build script commit 710463400c09c18fa8d6ecad581f4b079a4a5073 Author: Mario Sarcevic Date: Fri Nov 24 16:54:19 2023 +0100 Revert "chore: Print out used node, npm & tsc versions in client Dockerfile" This reverts commit 20549a46bbb9a5d21ceb5ef83a02381cfaf2c0c0. commit 252ce22ec2b446877036781f77efc84e03b80904 Author: Mario Sarcevic Date: Fri Nov 24 16:54:04 2023 +0100 Revert "chore: Try installing global ts" This reverts commit 452634c86e54498fb2c3292750e20ca3bfe44fb5. commit 32165439f440ce4d0e061d19112d22276b26cb06 Author: Mario Sarcevic Date: Fri Nov 24 16:47:40 2023 +0100 fix: Try remove test step from npm build commit 452634c86e54498fb2c3292750e20ca3bfe44fb5 Author: Mario Sarcevic Date: Fri Nov 24 16:42:37 2023 +0100 chore: Try installing global ts commit 20549a46bbb9a5d21ceb5ef83a02381cfaf2c0c0 Author: Mario Sarcevic Date: Fri Nov 24 16:30:03 2023 +0100 chore: Print out used node, npm & tsc versions in client Dockerfile --- client/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index c10ef40bd..dabddfeff 100644 --- a/client/package.json +++ b/client/package.json @@ -16,8 +16,7 @@ "lint": "eslint src --ext .tsx,.ts", "sass-lint": "stylelint ./src/**/*.scss", "build-internal": "tsc && vite build", - "build-test": "vitest run", - "build": "run-s lint sass-lint build-test build-internal", + "build": "run-s lint sass-lint build-internal", "test": "vitest" }, "dependencies": {