From 03e0f15554ac173b31fe3c577d2131ff9a7d0fa9 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Wed, 31 Jan 2024 16:15:53 -0500 Subject: [PATCH] Fix caching in a few projects. --- .../config/rush-project.json | 11 +++++++++++ .../heft-storybook-react-tutorial-app/package.json | 2 +- .../api-extractor-d-cts-test/config/rush-project.json | 2 +- .../api-extractor-d-mts-test/config/rush-project.json | 2 +- .../eslint-config/fix-caching_2024-01-31-21-18.json | 11 +++++++++++ eslint/eslint-config/config/rush-project.json | 2 +- 6 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 build-tests-samples/heft-storybook-react-tutorial-app/config/rush-project.json create mode 100644 common/changes/@rushstack/eslint-config/fix-caching_2024-01-31-21-18.json diff --git a/build-tests-samples/heft-storybook-react-tutorial-app/config/rush-project.json b/build-tests-samples/heft-storybook-react-tutorial-app/config/rush-project.json new file mode 100644 index 00000000000..b0ee347694e --- /dev/null +++ b/build-tests-samples/heft-storybook-react-tutorial-app/config/rush-project.json @@ -0,0 +1,11 @@ +// This file exists for caching purposes in the rushstack repo +{ + "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", + + "operationSettings": [ + { + "operationName": "_phase:build", + "outputFolderNames": ["dist"] + } + ] +} diff --git a/build-tests-samples/heft-storybook-react-tutorial-app/package.json b/build-tests-samples/heft-storybook-react-tutorial-app/package.json index ac0b725d710..4de772bbf20 100644 --- a/build-tests-samples/heft-storybook-react-tutorial-app/package.json +++ b/build-tests-samples/heft-storybook-react-tutorial-app/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "build": "heft build --clean --storybook", - "_phase:build": "heft run --only build -- --clean", + "_phase:build": "heft run --only build -- --clean --storybook", "_phase:test": "" }, "dependencies": { diff --git a/build-tests/api-extractor-d-cts-test/config/rush-project.json b/build-tests/api-extractor-d-cts-test/config/rush-project.json index 2af7036b0ef..514e557d5eb 100644 --- a/build-tests/api-extractor-d-cts-test/config/rush-project.json +++ b/build-tests/api-extractor-d-cts-test/config/rush-project.json @@ -3,7 +3,7 @@ "operationSettings": [ { - "operationName": "build", + "operationName": "_phase:build", "outputFolderNames": ["lib", "dist"] } ] diff --git a/build-tests/api-extractor-d-mts-test/config/rush-project.json b/build-tests/api-extractor-d-mts-test/config/rush-project.json index 2af7036b0ef..514e557d5eb 100644 --- a/build-tests/api-extractor-d-mts-test/config/rush-project.json +++ b/build-tests/api-extractor-d-mts-test/config/rush-project.json @@ -3,7 +3,7 @@ "operationSettings": [ { - "operationName": "build", + "operationName": "_phase:build", "outputFolderNames": ["lib", "dist"] } ] diff --git a/common/changes/@rushstack/eslint-config/fix-caching_2024-01-31-21-18.json b/common/changes/@rushstack/eslint-config/fix-caching_2024-01-31-21-18.json new file mode 100644 index 00000000000..7fb2f3841ff --- /dev/null +++ b/common/changes/@rushstack/eslint-config/fix-caching_2024-01-31-21-18.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/eslint-config" + } + ], + "packageName": "@rushstack/eslint-config", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/eslint/eslint-config/config/rush-project.json b/eslint/eslint-config/config/rush-project.json index 2af7036b0ef..514e557d5eb 100644 --- a/eslint/eslint-config/config/rush-project.json +++ b/eslint/eslint-config/config/rush-project.json @@ -3,7 +3,7 @@ "operationSettings": [ { - "operationName": "build", + "operationName": "_phase:build", "outputFolderNames": ["lib", "dist"] } ]