From e04988d98d9165f3efad597bac2caffb7c185b73 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 19 Mar 2021 15:24:34 +1100 Subject: [PATCH] Run builds in sequence to ensure proto definition are done first --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2a3b4b956d..d366555a3d 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ "license": "MIT", "keywords": [], "scripts": { - "build": "run-p build:*", + "build": "run-s build:*", + "build:1-proto": "buf generate", "build:main": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", - "build:proto": "buf generate", "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint src --ext .ts --fix",