From b675112ef504750138d165cd423388a994c42c1f Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Wed, 6 May 2026 16:01:49 -0500 Subject: [PATCH 1/3] chore: update recommendations to use node 20 --- .cursor/rules/development.mdc | 2 +- .github/workflows/browser.yml | 2 +- .github/workflows/combined-browser.yml | 2 +- .github/workflows/server-node.yml | 2 +- CLAUDE.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.cursor/rules/development.mdc b/.cursor/rules/development.mdc index 3f447133bc..6a03d7465f 100644 --- a/.cursor/rules/development.mdc +++ b/.cursor/rules/development.mdc @@ -15,7 +15,7 @@ alwaysApply: true - Tooling packages (development tools) ## Build Requirements -- Node environment version 16 required, this is a minimum. +- Node environment version 20 required, this is a minimum. - yarn required - Some projects may have specific environment prerequisites diff --git a/.github/workflows/browser.yml b/.github/workflows/browser.yml index 2ace6ddf56..6723316181 100644 --- a/.github/workflows/browser.yml +++ b/.github/workflows/browser.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: # Node versions to run on. - version: [18, 21] + version: [20, 22] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/combined-browser.yml b/.github/workflows/combined-browser.yml index defde3410c..6616b150aa 100644 --- a/.github/workflows/combined-browser.yml +++ b/.github/workflows/combined-browser.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: # Node versions to run on. - version: [18, 21] + version: [20, 22] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/server-node.yml b/.github/workflows/server-node.yml index 3aa4f73ffc..89d7a2cf98 100644 --- a/.github/workflows/server-node.yml +++ b/.github/workflows/server-node.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: # Node versions to run on. - version: [18, 22] + version: [20, 22] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/CLAUDE.md b/CLAUDE.md index 130e271593..a11a5283e8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,7 +10,7 @@ - Tooling packages (development tools) ## Build Requirements -- Node environment version 16 required (minimum) +- Node environment version 20 required (minimum) - yarn required - Some projects may have specific environment prerequisites From 096d88e9269401179755fb69c26a582ee77228e9 Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Wed, 6 May 2026 16:18:17 -0500 Subject: [PATCH 2/3] chore: bot comment --- .github/workflows/browser.yml | 2 +- .github/workflows/combined-browser.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/browser.yml b/.github/workflows/browser.yml index 6723316181..05c0ea02cf 100644 --- a/.github/workflows/browser.yml +++ b/.github/workflows/browser.yml @@ -34,7 +34,7 @@ jobs: workspace_name: '@launchdarkly/js-client-sdk' workspace_path: packages/sdk/browser - name: Check package size - if: github.event_name == 'pull_request' && matrix.version == '21' + if: github.event_name == 'pull_request' && matrix.version == '22' uses: ./actions/package-size with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/combined-browser.yml b/.github/workflows/combined-browser.yml index 6616b150aa..2953c4ac36 100644 --- a/.github/workflows/combined-browser.yml +++ b/.github/workflows/combined-browser.yml @@ -34,7 +34,7 @@ jobs: workspace_name: '@launchdarkly/browser' workspace_path: packages/sdk/combined-browser - name: Check package size - if: github.event_name == 'pull_request' && matrix.version == '21' + if: github.event_name == 'pull_request' && matrix.version == '22' uses: ./actions/package-size with: github_token: ${{ secrets.GITHUB_TOKEN }} From bab79530cd00e8c61c761102ec81fd0c578fe345 Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Wed, 6 May 2026 16:41:30 -0500 Subject: [PATCH 3/3] chore: bot comment --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5307a97840..d53a157c19 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ We encourage pull requests and other contributions from the community. Before su ### Prerequisites -A node environment of version 16 and npm or yarn are required to develop in this repository. +A node environment of version 20 and npm or yarn are required to develop in this repository. This monorepo may contain projects that are not suitable for execution using node, and those projects will have specific environment prerequisites.