From c0d89bcaf4bd22fd1aec48be837530d7a025ba14 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Fri, 13 Jan 2023 18:36:00 +0000 Subject: [PATCH] fix(tests): Have npm start run a full build (#6770) Doing npm start in a clean checkout loads a broken playground, because the deps script does not run buildLangfiles. To fix this (and also to ensure that compressed playground loading also works, even though uncompressed is the default), have the start script run the build script rather than just deps. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f3750183..bd144b0ba 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "publish:beta": "npm ci && gulp publishBeta", "recompile": "gulp recompile", "release": "gulp gitCreateRC", - "start": "npm run deps && concurrently -n tsc,server \"tsc --watch --preserveWatchOutput --outDir 'build/src' --declarationDir 'build/declarations'\" \"http-server ./ -s -o /tests/playground.html -c-1\"", + "start": "npm run build && concurrently -n tsc,server \"tsc --watch --preserveWatchOutput --outDir 'build/src' --declarationDir 'build/declarations'\" \"http-server ./ -s -o /tests/playground.html -c-1\"", "tsc": "gulp tsc", "test": "gulp test", "test:generators": "gulp testGenerators",