Skip to content

Commit 6099b93

Browse files
committed
chore: resolve conflict
2 parents edaf4e1 + a85673e commit 6099b93

File tree

409 files changed

+8247
-5217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

409 files changed

+8247
-5217
lines changed

.browserslistrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

CODEOWNERS renamed to .github/CODEOWNERS

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
# Infrastructure
55
.github @nodejs/web-infra
66
.husky @nodejs/web-infra
7+
codecov.yml @nodejs/web-infra
8+
9+
# Dependencies
10+
pnpm-workspace.yaml @nodejs/nodejs-website @nodejs/web-infra
11+
pnpm-lock.yaml @nodejs/web-infra
712

813
# Framework
914
apps/site/next.config.mjs @nodejs/web-infra
1015
apps/site/next.dynamic.mjs @nodejs/web-infra
11-
12-
# Node.js Release Blog Posts
13-
apps/site/pages/en/blog/release @nodejs/releasers
14-
apps/site/pages/en/blog/announcements @nodejs/releasers
16+
apps/site/middleware.ts @nodejs/web-infra
17+
apps/site/navigation.mjs @nodejs/web-infra
18+
apps/site/playwright.config.ts @nodejs/web-infra
1519

1620
# Package Ecosystem
1721
package.json @nodejs/nodejs-website
@@ -21,6 +25,19 @@ turbo.json @nodejs/nodejs-website @nodejs/web-infra
2125
crowdin.yml @nodejs/web-infra
2226
apps/site/redirects.json @nodejs/web-infra
2327
apps/site/site.json @nodejs/web-infra
28+
apps/site/wrangler.jsonc @nodejs/web-infra
29+
apps/site/open-next.config.ts @nodejs/web-infra
30+
apps/site/redirects.json @nodejs/web-infra
31+
32+
# Critical Documents
33+
LICENSE @nodejs/tsc
34+
GOVERNANCE.md @nodejs/tsc
35+
CONTRIBUTING.md @nodejs/nodejs-website @nodejs/web-infra
36+
docs @nodejs/nodejs-website @nodejs/web-infra
37+
38+
# Node.js Release Blog Posts
39+
apps/site/pages/en/blog/release @nodejs/releasers
40+
apps/site/pages/en/blog/announcements @nodejs/releasers
2441

2542
# Specific content
2643
apps/site/pages/en/learn/getting-started/security-best-practices.md @nodejs/security-wg

.github/workflows/build.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ permissions:
3030
env:
3131
# See https://turbo.build/repo/docs/reference/command-line-reference/run#--cache-dir
3232
TURBO_ARGS: --cache-dir=.turbo/cache
33-
# See https://turbo.build/repo/docs/reference/command-line-reference/run#--force
34-
TURBO_FORCE: true
3533

3634
jobs:
3735
build:
@@ -50,7 +48,7 @@ jobs:
5048

5149
steps:
5250
- name: Harden Runner
53-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
51+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
5452
with:
5553
egress-policy: audit
5654

@@ -80,8 +78,6 @@ jobs:
8078

8179
- name: Set up pnpm
8280
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
83-
with:
84-
cache: true
8581

8682
- name: Set up Node.js
8783
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -96,7 +92,7 @@ jobs:
9692

9793
- name: Build Next.js (ISR)
9894
# We want a ISR build on CI to ensure that regular Next.js builds work as expected.
99-
run: pnpm exec turbo build ${{ env.TURBO_ARGS }}
95+
run: node_modules/.bin/turbo build ${{ env.TURBO_ARGS }}
10096
env:
10197
# We want to ensure we have enough RAM allocated to the Node.js process
10298
# this should be a last resort in case by any chances the build memory gets too high
@@ -109,7 +105,7 @@ jobs:
109105
# We only run full static builds within Pull Requests. This step is also used to export
110106
# static output in all languages, and it only works on `push` events.
111107
if: github.event_name == 'push'
112-
run: pnpm exec turbo deploy ${{ env.TURBO_ARGS }}
108+
run: node_modules/.bin/turbo deploy ${{ env.TURBO_ARGS }}
113109
env:
114110
# We want to ensure we have enough RAM allocated to the Node.js process
115111
# this should be a last resort in case by any chances the build memory gets too high
@@ -128,7 +124,7 @@ jobs:
128124
if: |
129125
(github.event_name == 'pull_request_target' &&
130126
github.event.pull_request.head.ref != 'chore/crowdin')
131-
run: pnpm exec turbo deploy ${{ env.TURBO_ARGS }}
127+
run: node_modules/.bin/turbo deploy ${{ env.TURBO_ARGS }}
132128
env:
133129
# We want to ensure we have enough RAM allocated to the Node.js process
134130
# this should be a last resort in case by any chances the build memory gets too high
@@ -149,4 +145,4 @@ jobs:
149145
ORAMA_SECRET_KEY: ${{ github.event_name == 'push' && secrets.ORAMA_PRODUCTION_SECRET_KEY || secrets.ORAMA_SECRET_KEY }}
150146
if: matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group'
151147
working-directory: apps/site
152-
run: pnpm sync-orama
148+
run: node --run sync-orama

.github/workflows/chromatic.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
steps:
5656
- name: Harden Runner
57-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
57+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
5858
with:
5959
egress-policy: audit
6060

@@ -69,8 +69,6 @@ jobs:
6969

7070
- name: Set up pnpm
7171
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
72-
with:
73-
cache: true
7472

7573
- name: Set up Node.js
7674
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -87,7 +85,7 @@ jobs:
8785
# This action must be manually updated to the latest commit from
8886
# https://github.com/chromaui/action
8987
id: chromatic-deploy
90-
uses: chromaui/action@e8cc4c31775280b175a3c440076c00d19a9014d7 # v11.28.2
88+
uses: chromaui/action@b5848056bb67ce5f1cccca8e62a37cbd9dd42871 # v13.0.1
9189
with:
9290
workingDir: packages/ui-components
9391
buildScriptName: storybook:build

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Harden Runner
44-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
44+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
4545
with:
4646
egress-policy: audit
4747

@@ -50,7 +50,7 @@ jobs:
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
53+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +60,7 @@ jobs:
6060
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6161
# If this step fails, then you should remove it and run the build manually (see below)
6262
- name: Autobuild
63-
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
63+
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
6464

6565
# ℹ️ Command-line programs to run using the OS shell.
6666
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,6 +73,6 @@ jobs:
7373
# ./location_of_script_within_repo/buildscript.sh
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
76+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
7777
with:
7878
category: '/language:${{matrix.language}}'

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Harden Runner
29-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
29+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
3030
with:
3131
egress-policy: audit
3232

.github/workflows/find-inactive-collaborators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
20+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
2121
with:
2222
egress-policy: audit
2323

.github/workflows/lighthouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Harden Runner
68-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
68+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
6969
with:
7070
egress-policy: audit
7171

@@ -87,7 +87,7 @@ jobs:
8787
- name: Audit Preview URL with Lighthouse
8888
# Conduct the lighthouse audit
8989
id: lighthouse_audit
90-
uses: treosh/lighthouse-ci-action@1b0e7c33270fbba31a18a0fbb1de7cc5256b6d39 # v11.4.0
90+
uses: treosh/lighthouse-ci-action@fcd65974f7c4c2bf0ee9d09b84d2489183c29726 # v12.6.1
9191
with:
9292
# Defines the settings and assertions to audit
9393
configPath: './.lighthouserc.json'

.github/workflows/lint-and-tests.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ permissions:
3333
actions: read
3434

3535
env:
36-
# See https://turbo.build/repo/docs/reference/command-line-reference/run#--force
37-
TURBO_FORCE: true
36+
# See https://turbo.build/repo/docs/reference/command-line-reference/run#--cache-dir
37+
TURBO_ARGS: --cache-dir=.turbo/cache
3838

3939
jobs:
4040
lint:
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Harden Runner
46-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
46+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
4747
with:
4848
egress-policy: audit
4949

@@ -70,8 +70,6 @@ jobs:
7070
7171
- name: Set up pnpm
7272
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
73-
with:
74-
cache: true
7573

7674
- name: Set up Node.js
7775
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -90,7 +88,7 @@ jobs:
9088
if: |
9189
(github.event_name == 'push' || github.event_name == 'merge_group') ||
9290
(github.event_name == 'pull_request' && github.event.pull_request.head.ref != 'chore/crowdin')
93-
run: pnpm exec turbo lint check-types prettier
91+
run: node_modules/.bin/turbo lint lint:types prettier ${{ env.TURBO_ARGS }}
9492

9593
- name: Save Lint Cache
9694
# We only want to save caches on `push` events or `pull_request_target` events
@@ -118,7 +116,7 @@ jobs:
118116

119117
steps:
120118
- name: Harden Runner
121-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
119+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
122120
with:
123121
egress-policy: audit
124122

@@ -127,8 +125,6 @@ jobs:
127125

128126
- name: Set up pnpm
129127
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
130-
with:
131-
cache: true
132128

133129
- name: Set up Node.js
134130
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -143,7 +139,7 @@ jobs:
143139
- name: Run Unit Tests
144140
# We want to run Unit Tests in every circumstance, including Crowdin PRs and Dependabot PRs to ensure
145141
# that changes to dependencies or translations don't break the Unit Tests
146-
run: pnpm test:ci
142+
run: node --run test:ci -- ${{ env.TURBO_ARGS }}
147143

148144
- name: Upload test coverage to Codecov
149145
if: ${{ !cancelled() && github.event_name != 'merge_group' }}

.github/workflows/playwright-cloudflare-open-next.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
steps:
3131
- name: Harden Runner
32-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
32+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
3333
with:
3434
egress-policy: audit
3535

@@ -40,8 +40,6 @@ jobs:
4040

4141
- name: Set up pnpm
4242
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
43-
with:
44-
cache: true
4543

4644
- name: Set up Node.js
4745
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -56,7 +54,7 @@ jobs:
5654
- name: Get Playwright version
5755
id: playwright-version
5856
working-directory: apps/site
59-
run: echo "version=$(pnpm exec playwright --version | awk '{print $2}')" >> $GITHUB_OUTPUT
57+
run: echo "version=$(node_modules/.bin/playwright --version | awk '{print $2}')" >> $GITHUB_OUTPUT
6058

6159
- name: Cache Playwright browsers
6260
id: playwright-cache
@@ -67,11 +65,11 @@ jobs:
6765

6866
- name: Install Playwright Browsers
6967
working-directory: apps/site
70-
run: pnpm exec playwright install --with-deps
68+
run: node_modules/.bin/playwright install --with-deps
7169

7270
- name: Run Playwright tests
7371
working-directory: apps/site
74-
run: pnpm playwright
72+
run: node --run playwright
7573
env:
7674
PLAYWRIGHT_RUN_CLOUDFLARE_PREVIEW: true
7775
PLAYWRIGHT_BASE_URL: http://127.0.0.1:8787

0 commit comments

Comments
 (0)