From 6eda13ef94698826b6275deb27a64fa7eac94107 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 13:53:58 +0000 Subject: [PATCH 1/6] Delete `.nvmrc` in tokens package nvm automatically climb the parent tree looking for a `.nvmrc` file and we have one at the root of the repo --- packages/tokens/.nvmrc | 1 - 1 file changed, 1 deletion(-) delete mode 100644 packages/tokens/.nvmrc diff --git a/packages/tokens/.nvmrc b/packages/tokens/.nvmrc deleted file mode 100644 index 8fdd954df98..00000000000 --- a/packages/tokens/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -22 \ No newline at end of file From 2ee020886cc293c774e92a1475fa49bd3ff42a92 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 14:02:40 +0000 Subject: [PATCH 2/6] Update root `.nvmrc` to v24 --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index 53d1c14db37..54c65116f15 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22 +v24 From 82de4d7ace6a257f6929b5c64c1270f26fab3df2 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 14:03:18 +0000 Subject: [PATCH 3/6] Bump `engines.node` in root `package.json` to v24 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a8fcacb5102..afd8429221c 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977", "engines": { "pnpm": ">= 10.0.0", - "node": ">= 22" + "node": ">= 24" }, "pnpm": { "overrides": { From c423bde4ae3ead875955e10c63da281f582dfa9c Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 14:12:21 +0000 Subject: [PATCH 4/6] Bump `engines.node` in projects to v24 --- showcase/package.json | 2 +- website/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/showcase/package.json b/showcase/package.json index 5ec97a5c457..d14f36dfd01 100644 --- a/showcase/package.json +++ b/showcase/package.json @@ -126,7 +126,7 @@ "webpack": "^5.99.9" }, "engines": { - "node": ">= 22" + "node": ">= 24" }, "ember": { "edition": "octane" diff --git a/website/package.json b/website/package.json index 901654ac922..02661982ee1 100644 --- a/website/package.json +++ b/website/package.json @@ -150,7 +150,7 @@ "yaml-front-matter": "^4.1.1" }, "engines": { - "node": ">= 22" + "node": ">= 24" }, "ember": { "edition": "octane" From 960722a3364314b8315b965585a5192ed685d1f8 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 14:19:27 +0000 Subject: [PATCH 5/6] Upgrade NODE_VERSION in workflows and lint yml --- .github/workflows/ci-components.yml | 2 +- .github/workflows/ci-compress-images.yml | 10 +++++----- .github/workflows/ci-website.yml | 6 +++--- .github/workflows/create-vercel-alias.yml | 7 +++---- .../workflows/open-pull-request-for-icon-update.yml | 12 ++++++------ .github/workflows/release-candidate.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 7 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci-components.yml b/.github/workflows/ci-components.yml index a148994dea9..d7c99030f83 100644 --- a/.github/workflows/ci-components.yml +++ b/.github/workflows/ci-components.yml @@ -7,7 +7,7 @@ on: pull_request: {} env: - NODE_VERSION: "22.x" + NODE_VERSION: "24.x" concurrency: group: ci-components-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/ci-compress-images.yml b/.github/workflows/ci-compress-images.yml index 162e4054d48..4589f1e0529 100644 --- a/.github/workflows/ci-compress-images.yml +++ b/.github/workflows/ci-compress-images.yml @@ -2,10 +2,10 @@ name: Compress Images on: workflow_dispatch: schedule: - - cron: '00 23 * * 0' + - cron: "00 23 * * 0" env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" jobs: build: @@ -23,8 +23,8 @@ jobs: if: steps.calibre.outputs.markdown != '' uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: - title: 'Compressed Image Assets' + title: "Compressed Image Assets" branch-suffix: timestamp - commit-message: 'compressed image assets' + commit-message: "compressed image assets" body: ${{ steps.calibre.outputs.markdown }} - token: ${{ secrets.PAT_TOKEN }} \ No newline at end of file + token: ${{ secrets.PAT_TOKEN }} diff --git a/.github/workflows/ci-website.yml b/.github/workflows/ci-website.yml index 58cf36bfaf0..999ea59d69b 100644 --- a/.github/workflows/ci-website.yml +++ b/.github/workflows/ci-website.yml @@ -7,7 +7,7 @@ on: pull_request: {} env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" concurrency: group: ci-website-${{ github.head_ref || github.ref }} @@ -28,7 +28,7 @@ jobs: run: ./.github/scripts/filter_changed_files.sh "website" "packages/flight-icons/catalog.json" ".github/workflows/ci-website.yml" lint: - name: 'Lint' + name: "Lint" runs-on: ubuntu-latest needs: [conditional-skip] if: needs.conditional-skip.outputs.trigger-ci == 'true' @@ -51,7 +51,7 @@ jobs: working-directory: website test: - name: 'Test' + name: "Test" runs-on: ubuntu-latest needs: [conditional-skip] if: needs.conditional-skip.outputs.trigger-ci == 'true' diff --git a/.github/workflows/create-vercel-alias.yml b/.github/workflows/create-vercel-alias.yml index f233c9b07a7..d01b3bfb325 100644 --- a/.github/workflows/create-vercel-alias.yml +++ b/.github/workflows/create-vercel-alias.yml @@ -1,15 +1,14 @@ - -name: 'Create Vercel Alias' +name: "Create Vercel Alias" on: workflow_dispatch: env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" jobs: create-vercel-alias: - name: 'Create Vercel Alias' + name: "Create Vercel Alias" runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/open-pull-request-for-icon-update.yml b/.github/workflows/open-pull-request-for-icon-update.yml index b4941109c6a..138c4456826 100644 --- a/.github/workflows/open-pull-request-for-icon-update.yml +++ b/.github/workflows/open-pull-request-for-icon-update.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" jobs: sync_iconset: @@ -37,10 +37,10 @@ jobs: - name: Open a PR uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: - branch: 'hds-icon-export' - branch-suffix: 'short-commit-hash' - commit-message: 'sync & build of flight icons' - title: 'Updated export of icons from Figma' + branch: "hds-icon-export" + branch-suffix: "short-commit-hash" + commit-message: "sync & build of flight icons" + title: "Updated export of icons from Figma" draft: true body: | ### :pushpin: Summary @@ -81,4 +81,4 @@ jobs: - [ ] A changelog entry was added via [Changesets](https://github.com/changesets/changesets) if needed ([instructions here](https://github.com/hashicorp/design-system/blob/main/packages/flight-icons/CONTRIBUTING.md#updating-the-icons-in-flight-icons) / [expected format here](https://hashicorp.atlassian.net/wiki/spaces/HDS/pages/3243114706/Changelog+authoring+best+practices#New-icons)) - [ ] Percy was checked for any visual regression - token: ${{ secrets.PAT_TOKEN }} \ No newline at end of file + token: ${{ secrets.PAT_TOKEN }} diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index b3c369eec47..d12a734af56 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -13,7 +13,7 @@ on: - labeled env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" jobs: release-candidate: @@ -78,7 +78,7 @@ jobs: uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 if: success() && steps.changesets.outputs.published == 'true' with: - header: 'rc-release' + header: "rc-release" message: | ### :package: RC Packages Published @@ -88,4 +88,4 @@ jobs: ${{ fromJSON(steps.packagesData.outputs.packageList) }} - \ No newline at end of file + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c345a994fc..5cad9ed1a86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - main env: - NODE_VERSION: '22.x' + NODE_VERSION: "24.x" jobs: release: @@ -18,7 +18,7 @@ jobs: with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - + - name: Install PNPM uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 with: @@ -42,4 +42,4 @@ jobs: # Token setup in hashibot-hds' account GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # Token setup in hashibot-hds' account - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From 982d5945400e2632549ad35f20402db5f4b8876c Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Nov 2025 14:26:43 +0000 Subject: [PATCH 6/6] Commit `.tool-versions` to enforce asdf configuration --- .gitignore | 1 - .tool-versions | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .tool-versions diff --git a/.gitignore b/.gitignore index 941c274dd0b..9e7a55d8be7 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,3 @@ node_modules/ .pnp.* *.vscode/settings.json /packages/codemods/coverage -.tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000000..fa73e4add60 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +nodejs 24.11.0 +pnpm 10.11.0