From 2eae7dc6b9add777d24229d8c44efa1ba4da49f1 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 6 Apr 2023 19:10:21 -0400 Subject: [PATCH] [be] Simplify yarn test Updates our scripts to only hash and clean up`dist` when bundling for Meta, since we don't need to do that for tests. --- compiler/forget/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/forget/package.json b/compiler/forget/package.json index 7308cc181d..6eb52fa1ae 100644 --- a/compiler/forget/package.json +++ b/compiler/forget/package.json @@ -8,11 +8,12 @@ "src" ], "scripts": { - "build": "rimraf dist && tsc && scripts/hash-dist.sh", + "build": "rimraf dist && tsc", "bundle:meta": "scripts/bundle-meta.sh", "dev": "concurrently --kill-others \"tsc --watch\" \"yarn:playground\"", + "hash": "scripts/hash-dist.sh", "playground": "cd packages/playground && yarn && yarn dev", - "test": "yarn build && jest", + "test": "tsc && jest", "ts:analyze-trace": "scripts/ts-analyze-trace.sh", "test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js", "test262:all": "yarn run --silent test262 'test262/test/**/*.js'",