From eb138661303355e9c5a39caa502dcecf33b61bef Mon Sep 17 00:00:00 2001 From: Leo Conforti Date: Tue, 19 Sep 2023 04:37:11 +0000 Subject: [PATCH] add heft config --- .../architect+spectator/config/heft.json | 20 +++++++++++++++++++ .../config/rush-project.json | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 packages/integrations/architect+spectator/config/heft.json create mode 100644 packages/integrations/architect+spectator/config/rush-project.json diff --git a/packages/integrations/architect+spectator/config/heft.json b/packages/integrations/architect+spectator/config/heft.json new file mode 100644 index 0000000..d6a37d2 --- /dev/null +++ b/packages/integrations/architect+spectator/config/heft.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json", + "phasesByName": { + "build": { + "tasksByName": { + "typescript": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft-typescript-plugin" + } + }, + "lint": { + "taskDependencies": ["typescript"], + "taskPlugin": { + "pluginPackage": "@rushstack/heft-lint-plugin" + } + } + } + } + } +} diff --git a/packages/integrations/architect+spectator/config/rush-project.json b/packages/integrations/architect+spectator/config/rush-project.json new file mode 100644 index 0000000..11b60aa --- /dev/null +++ b/packages/integrations/architect+spectator/config/rush-project.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", + "operationSettings": [ + { + "operationName": "_phase:build", + "outputFolderNames": ["dist"] + } + ] +}