From f7c3b3a3d8e6c7334ed8b3d9a3bc4c586405a94d Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 1 Apr 2024 15:22:23 -0700 Subject: [PATCH] Fix build order in root gulpfile to handle cross dependency --- gulpfile.ts | 6 +++--- packages/proto-loader/package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index 2c2c2e374..9a2f76347 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -23,15 +23,15 @@ import * as reflection from './packages/grpc-reflection/gulpfile'; import * as protobuf from './packages/proto-loader/gulpfile'; import * as internalTest from './test/gulpfile'; -const installAll = gulp.series(jsCore.install, healthCheck.install, protobuf.install, internalTest.install, jsXds.install, reflection.install); +const installAll = gulp.series(protobuf.install, jsCore.install, healthCheck.install, internalTest.install, jsXds.install, reflection.install); const lint = gulp.parallel(jsCore.lint); -const build = gulp.series(jsCore.compile, protobuf.compile, jsXds.compile); +const build = gulp.series(protobuf.compile, jsCore.compile, jsXds.compile); const setup = gulp.series(installAll); -const setupPureJSInterop = gulp.series(jsCore.install, protobuf.install, internalTest.install); +const setupPureJSInterop = gulp.series(protobuf.install, jsCore.install, internalTest.install); const clean = gulp.series(jsCore.clean, protobuf.clean, jsXds.clean); diff --git a/packages/proto-loader/package.json b/packages/proto-loader/package.json index 36a19c675..7958e5854 100644 --- a/packages/proto-loader/package.json +++ b/packages/proto-loader/package.json @@ -59,6 +59,7 @@ "clang-format": "^1.2.2", "gts": "^3.1.0", "rimraf": "^3.0.2", + "ts-node": "^10.9.2", "typescript": "~4.7.4" }, "engines": {