From 19cb46a54dd288bbcf5df21336f649b092c77414 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 18 Dec 2024 12:32:14 -0500 Subject: [PATCH 1/2] fix: update customFileHeader during tokens build (#3371) --- styles/css/core/custom-media-breakpoints.css | 4 ++-- styles/css/core/variables.css | 4 ++-- styles/css/themes/light/utility-classes.css | 4 ++-- styles/css/themes/light/variables.css | 4 ++-- tokens/style-dictionary.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/styles/css/core/custom-media-breakpoints.css b/styles/css/core/custom-media-breakpoints.css index b1785ba2ed..6f3b18c83f 100644 --- a/styles/css/core/custom-media-breakpoints.css +++ b/styles/css/core/custom-media-breakpoints.css @@ -1,6 +1,6 @@ /** - * Do not edit directly, this file was auto-generated. while transforming design tokens. - * See /tokens/README.md for more details. + * Do not edit directly, this file was auto-generated. + * See /tokens/README.md for more details. */ @custom-media --pgn-size-breakpoint-min-width-xs (min-width: 0px); diff --git a/styles/css/core/variables.css b/styles/css/core/variables.css index 60832e4bf2..1e074ddb59 100644 --- a/styles/css/core/variables.css +++ b/styles/css/core/variables.css @@ -1,6 +1,6 @@ /** - * Do not edit directly, this file was auto-generated. while transforming design tokens. - * See /tokens/README.md for more details. + * Do not edit directly, this file was auto-generated. + * See /tokens/README.md for more details. */ :root { diff --git a/styles/css/themes/light/utility-classes.css b/styles/css/themes/light/utility-classes.css index 76948fbcbf..49ea86492d 100644 --- a/styles/css/themes/light/utility-classes.css +++ b/styles/css/themes/light/utility-classes.css @@ -1,6 +1,6 @@ /** - * Do not edit directly, this file was auto-generated. while transforming design tokens. - * See /tokens/README.md for more details. + * Do not edit directly, this file was auto-generated. + * See /tokens/README.md for more details. */ .bg-accent-a { diff --git a/styles/css/themes/light/variables.css b/styles/css/themes/light/variables.css index d93bcbd0bb..fb9a6669bd 100644 --- a/styles/css/themes/light/variables.css +++ b/styles/css/themes/light/variables.css @@ -1,6 +1,6 @@ /** - * Do not edit directly, this file was auto-generated. while transforming design tokens. - * See /tokens/README.md for more details. + * Do not edit directly, this file was auto-generated. + * See /tokens/README.md for more details. */ :root { diff --git a/tokens/style-dictionary.js b/tokens/style-dictionary.js index 0a435616e6..5b9a2f88e1 100644 --- a/tokens/style-dictionary.js +++ b/tokens/style-dictionary.js @@ -410,8 +410,8 @@ const initializeStyleDictionary = async ({ themes }) => { StyleDictionary.registerFileHeader({ name: 'customFileHeader', fileHeader: (defaultMessage) => [ - `${defaultMessage} while transforming design tokens.`, - 'See /tokens/README.md for more details.', + `${defaultMessage}`, + 'See /tokens/README.md for more details.', ], }); From b2755fbdfde1eadacdbc5dc138bf895c0ac0d478 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 18 Dec 2024 12:32:32 -0500 Subject: [PATCH 2/2] build: update analyze-dependents base branch to next (#3372) --- .github/workflows/analyze-dependents.yml | 8 +------- dependent-usage-analyzer/checkout-dependents.sh | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/analyze-dependents.yml b/.github/workflows/analyze-dependents.yml index 43024cc304..dc10acb292 100644 --- a/.github/workflows/analyze-dependents.yml +++ b/.github/workflows/analyze-dependents.yml @@ -175,12 +175,6 @@ jobs: with: repository: openedx/frontend-template-application path: dependent-usage-analyzer/.projects/frontend-template-application - - name: Checkout edx/prospectus - uses: actions/checkout@v3 - with: - repository: edx/prospectus - path: dependent-usage-analyzer/.projects/prospectus - token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }} - name: Checkout openedx/studio-frontend uses: actions/checkout@v3 with: @@ -274,7 +268,7 @@ jobs: body: "Contains automated changes to the dependent-usage.json file, which provides the data for Paragon Usage Insights." labels: automerge branch: dependent-usage-analyzer/update-dependent-usage-json - base: master + base: next - name: Auto-approve pull request for dependent project usages uses: hmarr/auto-approve-action@v2 with: diff --git a/dependent-usage-analyzer/checkout-dependents.sh b/dependent-usage-analyzer/checkout-dependents.sh index fb80335c7a..6deac85d4e 100644 --- a/dependent-usage-analyzer/checkout-dependents.sh +++ b/dependent-usage-analyzer/checkout-dependents.sh @@ -35,7 +35,6 @@ mkdir .projects git clone git@github.com:edx/frontend-lib-special-exams.git --depth 1 git clone git@github.com:openedx/frontend-platform.git --depth 1 git clone git@github.com:openedx/frontend-template-application.git --depth 1 - git clone git@github.com:edx/prospectus.git --depth 1 git clone git@github.com:openedx/studio-frontend.git --depth 1 git clone git@github.com:edx/frontend-app-communications --depth 1 git clone git@github.com:edx/frontend-app-learner-dashboard.git -- depth 1