Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from nodejs:main #323

Merged
merged 218 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
cf5f25f
chore(learn): small update (#6132)
AugustinMauroy Nov 24, 2023
3ae1ff5
Add SPDX identifier to LICENSE (#6141)
bmuenzenmeyer Nov 24, 2023
84e95c3
Update LICENSE
bmuenzenmeyer Nov 24, 2023
23202f6
feat: ChangelogModal Component (#6126)
TheFossilDev Nov 25, 2023
dcde9f0
hotfix: sotrybook and undici
ovflowd Nov 25, 2023
dec347f
[StepSecurity] Apply security best practices (#6142)
step-security-bot Nov 25, 2023
588511a
chore: harden security settings
ovflowd Nov 25, 2023
ee29500
meta: add banner for cyber monday
ovflowd Nov 27, 2023
a7b2ca3
feat: adjust styles to match figmas and moved icons as react componen…
ovflowd Nov 27, 2023
8e60b32
hotfix: image banner for cyber monday
ovflowd Nov 27, 2023
34b1702
hotfix: base layout should not be client-side
ovflowd Nov 27, 2023
2c89fde
meta: file should be strict
ovflowd Nov 27, 2023
95100bd
fix: make headers on the website bold (#6146)
joyeecheung Nov 29, 2023
21e27a6
Blog: v18.19.0 release post (#6147)
targos Nov 29, 2023
ee7184b
fix: fixes sentry errors on 404's pages (#6144)
ovflowd Nov 29, 2023
f32ce23
Update COLLABORATOR_GUIDE.md
ovflowd Nov 30, 2023
cbf9c41
fix: Use Next.js' way of adding webpack plugins (#6149)
lforst Nov 30, 2023
f292c26
Blog: v21.3.0 release post (#6152)
RafaelGSS Nov 30, 2023
80af3e1
fix: we should invalidate data over time (#6153)
ovflowd Nov 30, 2023
74c0c5e
fix: also revalidate the pages themselves
ovflowd Nov 30, 2023
2b5336b
meta: reduce middleware invocations by only running on /
ovflowd Nov 30, 2023
ff32553
chore: updated cyber monday link
ovflowd Nov 30, 2023
5e4852e
feat: introduced base website redesign layouts (#6145)
ovflowd Dec 1, 2023
7083065
fix: fixed some layouts issues
ovflowd Dec 1, 2023
191671e
chore: ensure static rendering without throwing errors
ovflowd Dec 2, 2023
38dc953
fix: Layout max width (#6174)
canerakdas Dec 2, 2023
23affee
meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (#6156)
dependabot[bot] Dec 2, 2023
d5a644e
meta: bump MishaKav/jest-coverage-comment from 1.0.23 to 1.0.24 (#6157)
dependabot[bot] Dec 2, 2023
f868898
meta: bump actions/dependency-review-action from 3.1.0 to 3.1.4 (#6158)
dependabot[bot] Dec 2, 2023
586cf9a
meta: bump github/codeql-action from 2.22.5 to 2.22.8 (#6159)
dependabot[bot] Dec 2, 2023
a76cfe2
meta: bump next-intl from 3.2.0 to 3.2.1 (#6164)
dependabot[bot] Dec 2, 2023
8088e60
meta: bump actions/checkout from 3.6.0 to 4.1.1 (#6155)
dependabot[bot] Dec 2, 2023
9727c4f
meta: bump @adobe/css-tools from 4.3.1 to 4.3.2 (#6154)
dependabot[bot] Dec 2, 2023
64035f5
meta: bump lint-staged from 15.0.2 to 15.1.0 (#6167)
dependabot[bot] Dec 2, 2023
28e73f0
meta: bump actions/github-script from 6.4.1 to 7.0.1 (#6160)
dependabot[bot] Dec 2, 2023
0422cb1
meta: bump @types/node from 20.8.10 to 20.10.2 (#6170)
dependabot[bot] Dec 2, 2023
33a6557
meta: bump prettier from 3.0.2 to 3.1.0 (#6166)
dependabot[bot] Dec 2, 2023
252875d
meta: bump prettier-plugin-tailwindcss from 0.5.6 to 0.5.7 (#6169)
dependabot[bot] Dec 2, 2023
8036f93
meta: bump the storybook group with 6 updates (#6161)
dependabot[bot] Dec 3, 2023
fd77121
meta: bump the lint group with 3 updates (#6171)
dependabot[bot] Dec 3, 2023
f8d7fb0
meta: bump the testing group with 3 updates (#6163)
dependabot[bot] Dec 3, 2023
48b8845
meta: bump typescript from 5.2.2 to 5.3.2 (#6165)
dependabot[bot] Dec 3, 2023
03ebfc9
chore: normalise promises (#6177)
ovflowd Dec 4, 2023
250cad2
feat: moved get-involved and guides content (#6172)
ovflowd Dec 5, 2023
edd20a0
Blog: v21.4.0 release post (#6178)
targos Dec 5, 2023
fb56307
feat: add learn layout (#6173)
ovflowd Dec 5, 2023
2b1f4c4
fix: blog pagination (#6179)
rizqirizqi Dec 6, 2023
1a16c4c
fix: some minor hotfixes for Vercel infra
ovflowd Dec 7, 2023
b609fee
fix: invalid categories redirect to 404 when using ssg
ovflowd Dec 7, 2023
aebf304
meta: updated packages (#6181)
ovflowd Dec 8, 2023
e802dfb
chore: Update read environment variables guide update with new .env g…
nikhilbhatt Dec 12, 2023
0b465f1
fix: news title -> blog (#6183)
AugustinMauroy Dec 17, 2023
f03ba5d
Blog: v21.5.0 release post (#6186)
RafaelGSS Dec 19, 2023
26b0bd7
Updation of Nodejs package available for OpenSUSE TumbleWeed (#6187)
Vashi1 Dec 23, 2023
4e20245
meta: bump actions/setup-node from 4.0.0 to 4.0.1 (#6189)
dependabot[bot] Jan 1, 2024
dab1f04
meta: bump prettier from 3.1.0 to 3.1.1 (#6198)
dependabot[bot] Jan 1, 2024
b5992a4
meta: bump the lint group with 6 updates (#6195)
dependabot[bot] Jan 1, 2024
c3b719c
meta: bump the storybook group with 6 updates (#6192)
dependabot[bot] Jan 2, 2024
d9288ea
meta: bump github/codeql-action from 2.22.8 to 3.22.12 (#6191)
dependabot[bot] Jan 2, 2024
6c43047
meta: bump classnames from 2.3.2 to 2.5.1 (#6203)
dependabot[bot] Jan 2, 2024
c4a8e76
meta: bump the testing group with 3 updates (#6196)
dependabot[bot] Jan 2, 2024
6c9f628
meta: bump the next-js group with 2 updates (#6193)
dependabot[bot] Jan 2, 2024
41445d7
meta: bump lint-staged from 15.1.0 to 15.2.0 (#6200)
dependabot[bot] Jan 2, 2024
5e6653b
meta: bump the react group with 2 updates (#6194)
dependabot[bot] Jan 2, 2024
c9c4685
meta: bump actions/upload-artifact from 3.1.3 to 4.0.0 (#6190)
dependabot[bot] Jan 2, 2024
dbd0322
meta: bump @heroicons/react from 2.0.18 to 2.1.1 (#6201)
dependabot[bot] Jan 2, 2024
c013608
hotfix: fallback to previous year when no current posts in the year (…
bmuenzenmeyer Jan 2, 2024
bd8edd3
meta: bump tailwindcss from 3.3.6 to 3.4.0 (#6202)
dependabot[bot] Jan 2, 2024
1101615
meta: bump shikiji from 0.8.0 to 0.9.17 (#6204)
dependabot[bot] Jan 2, 2024
b8862f7
meta: bump @types/node from 20.10.2 to 20.10.6 (#6208)
dependabot[bot] Jan 2, 2024
d6cf107
hotfix: properly fallback to most recent year with blog posts (#6212)
MattIPv4 Jan 3, 2024
aa0d9d6
feat: add CodeBox component and code tabs plugin (#6038)
devjvao Jan 4, 2024
132032b
meta: bump next-intl from 3.3.1 to 3.4.0 (#6211)
dependabot[bot] Jan 4, 2024
c2bb12f
feat: added renderer for badges (#6213)
ovflowd Jan 5, 2024
4a604d5
chore: hotfixes on styles
ovflowd Jan 5, 2024
56106bf
feat: introduced home layout (#6214)
ovflowd Jan 7, 2024
ce748e1
fix: minor bug fixes
ovflowd Jan 7, 2024
bc77afb
chore: moved components to correct places and standardises array types
ovflowd Jan 7, 2024
e386eb2
Blog: v20.11.0 release post (#6218)
UlisesGascon Jan 10, 2024
2c87825
fix: missing redirect from about/releases
ovflowd Jan 14, 2024
c811ac7
feat: new home page, blog engine, blog layouts and routing engine (#6…
ovflowd Jan 14, 2024
f15cc5d
meta: bump sharp from 0.32.6 to 0.33.1 (#6210)
dependabot[bot] Jan 14, 2024
a6bc196
meta: bump @sentry/nextjs from 7.86.0 to 7.93.0 (#6233)
dependabot[bot] Jan 14, 2024
014954d
meta: bump the react group with 1 update (#6236)
dependabot[bot] Jan 14, 2024
0b76412
removed unused i18n keys (#6245)
bmuenzenmeyer Jan 14, 2024
3c6e830
Blog: v21.6.0 release post (#6248)
RafaelGSS Jan 15, 2024
acc11af
meta: bump the testing group with 1 update (#6238)
dependabot[bot] Jan 16, 2024
b013db9
meta: bump the storybook group with 6 updates (#6234)
dependabot[bot] Jan 16, 2024
56d9f58
meta: bump @types/node from 20.10.6 to 20.11.4 (#6249)
dependabot[bot] Jan 16, 2024
27405cf
infra: introduced initial endpoint for orama
ovflowd Jan 16, 2024
791f6ed
chore: updated string replacement for page-dfata
ovflowd Jan 16, 2024
4664438
hotfix: keep markdown headings
ovflowd Jan 16, 2024
bd543e0
feat: introduced not found / error layout (#6247)
canerakdas Jan 17, 2024
31a50a6
chore: fixed prettier issues
ovflowd Jan 17, 2024
4bf5147
docs(learn): migrate "How to publish N-API package" guide to the lear…
mwelwankuta Jan 18, 2024
21ee6cf
fix: de-emphasize copy to clipboard button (#6246)
bmuenzenmeyer Jan 20, 2024
a48098a
Update writing-files-with-nodejs.md (#6255)
mrddter Jan 20, 2024
a40643c
feat: api-data route for orama
ovflowd Jan 20, 2024
3cd3a7b
fix: replace filename
ovflowd Jan 20, 2024
4673542
chore: turbo env update
ovflowd Jan 22, 2024
70a97eb
Blog: v21.6.1 release post (#6260)
RafaelGSS Jan 22, 2024
5336c7f
meta: bump the lint group with 3 updates (#6237)
dependabot[bot] Jan 23, 2024
2776912
meta: remove nodejs/collaborators from codeowners (#6258)
anonrig Jan 23, 2024
7a89269
feat: Button component with icon (#6259)
canerakdas Jan 23, 2024
f71d738
meta: Is misspelling ellipsis a bug? (#6263)
cclauss Jan 23, 2024
a50485d
meta: Fix typos discovered by codespell (#6262)
cclauss Jan 23, 2024
c6cb417
hotfix: weekly-updated wrong category section
ovflowd Jan 25, 2024
69753c8
feat: events/calendar page and a few minor fixes on components relate…
ovflowd Jan 27, 2024
1c530cb
blog: add february 2024 security release announcement (#6268)
RafaelGSS Jan 30, 2024
914e4ee
fix(test): use consistent date formatting (#6271)
richardlau Feb 1, 2024
8437fb4
docs(learn): Migrate "Anatomy of an http transaction" guide to the le…
mwelwankuta Feb 2, 2024
3fc1656
meta: add banner for 6 February 2024 security releases (#6270)
richardlau Feb 3, 2024
3462324
meta: bump postcss from 8.4.32 to 8.4.33 (#6241)
dependabot[bot] Feb 3, 2024
1c5b811
meta: bump the testing group with 3 updates (#6283)
dependabot[bot] Feb 3, 2024
9687c55
meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (#6277)
dependabot[bot] Feb 3, 2024
3ad1a48
meta: bump the react group with 1 update (#6286)
dependabot[bot] Feb 3, 2024
963504d
meta: bump MishaKav/jest-coverage-comment from 1.0.24 to 1.0.25 (#6274)
dependabot[bot] Feb 3, 2024
b1d6def
meta: bump the tailwind group with 2 updates (#6278)
dependabot[bot] Feb 3, 2024
369cfea
meta: bump the next-js group with 4 updates (#6279)
dependabot[bot] Feb 3, 2024
2d94808
meta: bump the lint group with 4 updates (#6282)
dependabot[bot] Feb 3, 2024
d270af2
meta: bump the storybook group with 6 updates (#6280)
dependabot[bot] Feb 3, 2024
7af46b0
meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (#6273)
dependabot[bot] Feb 3, 2024
e097044
meta: bump github/codeql-action from 3.22.12 to 3.23.2 (#6272)
dependabot[bot] Feb 3, 2024
7099896
meta: bump actions/cache from 3.3.2 to 4.0.0 (#6275)
dependabot[bot] Feb 3, 2024
c21da94
meta: bump actions/dependency-review-action from 3.1.4 to 4.0.0 (#6276)
dependabot[bot] Feb 3, 2024
0761aa1
meta: bump sharp from 0.32.6 to 0.33.2 (#6243)
dependabot[bot] Feb 3, 2024
889f746
meta: bump postcss-import from 15.1.0 to 16.0.0 (#6240)
dependabot[bot] Feb 4, 2024
1f8d3c3
docs(learn): migrate 'Working with Different Filesystems' to learn se…
mwelwankuta Feb 4, 2024
dd3d433
hotfix: resolve format
bmuenzenmeyer Feb 4, 2024
c6dd393
fix: when banner layout breaks
ovflowd Feb 4, 2024
a059d56
docs(learn): Migrate the legacy guide "Debugging - Getting Started" t…
fercho-dev Feb 4, 2024
487677f
docs(learn): Migrates guide Flame Graphs to learn section (#6285)
paulobelucci Feb 5, 2024
70e76fd
fix: Update inspector redirect to learn section (#6288)
zsw007 Feb 6, 2024
913ccc8
fix: Redirect old debug guide URL to new URL (#6290)
richardlau Feb 6, 2024
18f3943
blog: update target security release feb24 (#6289)
RafaelGSS Feb 6, 2024
09adf5c
blog: add update february sec release (#6293)
RafaelGSS Feb 8, 2024
3511100
meta: bump prettier from 3.1.1 to 3.2.5 (#6334)
dependabot[bot] Feb 10, 2024
d54acbd
docs(learn): Migrate diagnostics user journey from guide to learn sec…
paulobelucci Feb 12, 2024
11a820c
blog: update security release target (#6341)
RafaelGSS Feb 13, 2024
939aa62
feat: migrated to shiki and fixed font-family (#6340)
ovflowd Feb 14, 2024
c26ed92
fix(redirect): redirect old links to the new ones (#6339)
xMohamd Feb 14, 2024
7f52495
docs(learn): Migrate "ABI Stability" guide to the learn section (#6335)
officeneerajsaini Feb 14, 2024
03d1198
docs(learn): Migrate the legacy guide "Easy profiling for Node.js App…
byt3h3ad Feb 14, 2024
7a51218
Blog: add pos release annoucement (#6342)
RafaelGSS Feb 14, 2024
4a9dd6c
blog: add missing period (#6344)
tniessen Feb 15, 2024
1f59add
fix(minor): Bash script on downloads page uses a command that is not …
focarroll Feb 16, 2024
94c9601
docs(learn): Migrate the legacy guide "Security Best Practices" to th…
paulobelucci Feb 16, 2024
5679956
meta: bump undici from 5.28.2 to 5.28.3 (#6347)
dependabot[bot] Feb 16, 2024
41f1f2a
docs(learn): Migrate the node.js event-loop, timers and process.nextT…
officeneerajsaini Feb 17, 2024
6daed7d
chore: remove trailing slashes
ovflowd Feb 19, 2024
281609a
fix: hotfix blog categories mobile
ovflowd Feb 19, 2024
1990b5a
fix: correct order of learn material
ovflowd Feb 19, 2024
6dffd14
feat(blog): add visible RSS feed (#6350)
AugustinMauroy Feb 19, 2024
a44b093
fix: component order
ovflowd Feb 20, 2024
dff2796
meta: bump ip from 2.0.0 to 2.0.1 (#6354)
dependabot[bot] Feb 21, 2024
f1b6e16
doc(learn): migrate the backpressuring-in-streams from guide to learn…
paulobelucci Feb 21, 2024
6f84df9
docs(learn): Migrate the Don't Block the Event Loop (or the Worker Po…
officeneerajsaini Feb 23, 2024
6205b1a
meta: completely removed guides
ovflowd Feb 23, 2024
a98c1cd
Integrate Orama for search (#6257)
micheleriva Feb 23, 2024
e4b81a3
meta: minor fixes and new mascot
ovflowd Feb 23, 2024
aef8eab
fix: Use Tux mascot for Linux icon (#6355)
theoludwig Feb 23, 2024
b624417
feat: Download layout (#6353)
canerakdas Feb 25, 2024
5b473f5
fix: hot fix redirects
ovflowd Feb 26, 2024
b9d1c4e
docs(package-manager): IBM i use recent node version (#6359)
abmusse Feb 27, 2024
1d70c58
chore: apply hotfixes requested by the TSC
ovflowd Feb 28, 2024
04fd007
chore: appropriate base url and results for api
ovflowd Feb 28, 2024
accacc1
doc: revise tagline (#6366)
GeoffreyBooth Feb 29, 2024
19cd9f9
doc: update examples (#6367)
GeoffreyBooth Feb 29, 2024
8ad8886
chore: hotfix on `main` regarding api-data
ovflowd Feb 29, 2024
af0c007
Events tweaks (#6356)
bmuenzenmeyer Feb 29, 2024
ffee760
feat: removes orama heartbeat (#6370)
micheleriva Feb 29, 2024
fe93dd6
chore: enable MDX type checking (#6368)
remcohaszing Mar 1, 2024
dd4cadc
Open graph dynamic image generation (#6357)
bmuenzenmeyer Mar 1, 2024
604b4b4
hotfix: more thoroughly fallback to announcement on missing og data
bmuenzenmeyer Mar 1, 2024
3808cb7
chore: minor change on route
ovflowd Mar 1, 2024
079dacb
meta: remove legacy website code (#6362)
ovflowd Mar 2, 2024
eb17d43
meta: bump the next-js group with 4 updates (#6372)
dependabot[bot] Mar 2, 2024
a8661ae
meta: bump actions/setup-node from 4.0.1 to 4.0.2 (#6387)
dependabot[bot] Mar 2, 2024
4ea53f9
meta: bump actions/cache from 4.0.0 to 4.0.1 (#6385)
dependabot[bot] Mar 2, 2024
ddc24ce
meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (#6383)
dependabot[bot] Mar 2, 2024
2172578
meta: bump actions/dependency-review-action from 4.0.0 to 4.1.3 (#6386)
dependabot[bot] Mar 2, 2024
175201a
meta: bump @types/node from 20.11.4 to 20.11.24 (#6379)
dependabot[bot] Mar 2, 2024
c4ec78a
meta: bump the react group with 2 updates (#6373)
dependabot[bot] Mar 2, 2024
456614e
feat(accent color): use color of `navBar` (#6391)
AugustinMauroy Mar 2, 2024
2f6e08b
fix: download button icon (#6395)
heygsc Mar 2, 2024
70cc47c
fix(footer): update Privacy and Trademark Policy links (#6406)
xMohamd Mar 2, 2024
451cc9c
Fixed Issue #6394: Hid event button (#6408)
Nyx1on Mar 3, 2024
c6c65b9
meta: bump thollander/actions-comment-pull-request from 2.4.3 to 2.5.…
dependabot[bot] Mar 3, 2024
c06b2bb
meta: bump github/codeql-action from 3.23.2 to 3.24.6 (#6384)
dependabot[bot] Mar 3, 2024
66f0bc0
meta: bump autoprefixer from 10.4.16 to 10.4.18 (#6378)
dependabot[bot] Mar 3, 2024
39faa54
meta: bump postcss from 8.4.33 to 8.4.35 (#6377)
dependabot[bot] Mar 3, 2024
9f70003
meta: bump the mdx group with 1 update (#6376)
dependabot[bot] Mar 3, 2024
fa302cf
meta: bump the testing group with 2 updates (#6375)
dependabot[bot] Mar 3, 2024
e812083
meta: bump the lint group with 5 updates (#6374)
dependabot[bot] Mar 3, 2024
737f668
meta: bump the storybook group with 7 updates (#6371)
dependabot[bot] Mar 3, 2024
2e3ef93
meta: bump treosh/lighthouse-ci-action from 10.1.0 to 11.4.0 (#6382)
dependabot[bot] Mar 3, 2024
004c16e
fix: remove select item flex to enable truncation, add left spacing f…
mojitane Mar 3, 2024
2f6f355
Fix: #6398 (#6413)
AugustinMauroy Mar 3, 2024
1932563
chore(pr-template): remove `lint` command and add `build` (#6415)
AugustinMauroy Mar 3, 2024
95a56f7
[automated]: crowdin sync (#6420)
nodejs-crowdin Mar 4, 2024
a446e22
chore(i18n): remove legacy key + rename (#6389)
AugustinMauroy Mar 4, 2024
8268bfe
Fix/aria label is missing (#6417)
marwan-mohamed12 Mar 4, 2024
a3f6fd4
feat(i18n): added Persian (fa) lang (#6421)
mostafa-nematpour Mar 4, 2024
39ecabf
fix: removed unnecessary md:top-60 in searchBoxModalPanel style (#6428)
marwan-mohamed12 Mar 4, 2024
69a332a
Fix #6404 : Version dropdown on download page doesn't scroll on overf…
MohitKambli Mar 4, 2024
dcad6a6
[automated]: crowdin sync (#6433)
nodejs-crowdin Mar 4, 2024
7b2583f
[automated]: crowdin sync (#6434)
nodejs-crowdin Mar 4, 2024
5380385
fix: some broken links at collaborator guide (#6426)
mahmudhmh Mar 4, 2024
0e15186
chore(content): remove `hbs` from layout metadata (#6436)
AugustinMauroy Mar 5, 2024
daa8294
[automated]: crowdin sync (#6444)
nodejs-crowdin Mar 5, 2024
719d7b4
fix: fixed silly bug on i18n config
ovflowd Mar 5, 2024
cb50edf
fix: pageNumber and dynamic await
ovflowd Mar 5, 2024
f45e4b6
meta: fixed all translated issues
ovflowd Mar 5, 2024
9c02574
meta: purge of translations
ovflowd Mar 5, 2024
26a5f72
chore: disable ci on crowdin
ovflowd Mar 5, 2024
150780d
fix: no weird commit messages
ovflowd Mar 5, 2024
b6dc35c
fix: bg on `LanguageDropDown` (#6449)
AugustinMauroy Mar 5, 2024
f0b0249
[automated]: crowdin sync (#6451)
nodejs-crowdin Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/array-type": ["error", { "default": "generic" }],
"no-relative-import-paths/no-relative-import-paths": [
"warn",
{ "allowSameFolder": true, "prefix": "@" }
Expand All @@ -68,6 +69,7 @@
"files": ["**/*.{mdx,tsx}"],
"rules": {
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"react/no-unescaped-entities": "off",
"react/function-component-definition": [
"error",
{
Expand Down
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ Please read the [Code of Conduct](https://github.com/nodejs/nodejs.org/blob/main
<!--
ATTENTION
Please follow this check list to ensure that you've followed all items before opening this PR
You can check the items by adding an `x` between the brackets, like this: `[x]`
-->

- [ ] I have read the [Contributing Guidelines](https://github.com/nodejs/nodejs.org/blob/main/CONTRIBUTING.md) and made commit messages that follow the guideline.
- [ ] I have run `npx turbo lint` to ensure the code follows the style guide. And run `npx turbo lint:fix` to fix the style errors if necessary.
- [ ] I have run `npx turbo format` to ensure the code follows the style guide.
- [ ] I have run `npx turbo test` to check if all tests are passing.
- [ ] I have run `npx turbo build` to check if the website builds without errors.
- [ ] I've covered new added functionality with unit tests if necessary.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ updates:
- 'eslint'
- 'eslint-*'
- 'stylelint'
- 'stylelint-*'
exclude-patterns:
- 'eslint-plugin-storybook'
storybook:
Expand Down Expand Up @@ -59,6 +60,11 @@ updates:
- 'react-dom'
- '@types/react'
- '@types/react-dom'
tailwind:
patterns:
- '@savvywombat/tailwindcss-grid-areas'
- 'prettier-plugin-tailwindcss'
- 'tailwindcss'
ignore:
# Manually update major versions of @types/node with the version specified within .nvmrc
- dependency-name: '@types/node'
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Provide Turborepo Arguments
# This step is responsible for providing a reusable string that can be used within other steps and jobs
# that use the `turbo` cli command as a way of easily providing shared arguments to the `turbo` command
Expand Down Expand Up @@ -80,14 +85,14 @@ jobs:
fetch-depth: 1

- name: Set up Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install NPM packages
# We want to avoid NPM from running the Audit Step and Funding messages on a CI environment
- name: Install npm packages
# We want to avoid npm from running the Audit Step and Funding messages on a CI environment
# We also use `npm i` instead of `npm ci` so that the node_modules/.cache folder doesn't get deleted
# We also use `--omit=dev` to avoid installing devDependencies as we don't need them during the build step
run: npm i --no-audit --no-fund --userconfig=/dev/null --omit=dev
Expand Down Expand Up @@ -118,3 +123,8 @@ jobs:
# this should be a last resort in case by any chances the build memory gets too high
# but in general this should never happen
NODE_OPTIONS: '--max_old_space_size=4096'

- name: Sync Orama Cloud
if: github.ref == 'refs/heads/main'
run: |
npm run sync-orama
78 changes: 78 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'

on:
push:
branches: ['main']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']
schedule:
- cron: '0 0 * * 1'

permissions:
contents: read

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['javascript', 'typescript']
# CodeQL supports [ $supported-codeql-languages ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
category: '/language:${{matrix.language}}'
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Review Dependencies
uses: actions/dependency-review-action@6c5ccdad469c9f8a2996bfecaec55a631a347034 # v3.1.0
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
13 changes: 9 additions & 4 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand All @@ -53,7 +58,7 @@ jobs:

- name: Add Comment to PR
# Signal that a lighthouse run is about to start
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308 # v2.4.3
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
message: |
Running Lighthouse audit...
Expand All @@ -73,7 +78,7 @@ jobs:
- name: Audit Preview URL with Lighthouse
# Conduct the lighthouse audit
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@03becbfc543944dd6e7534f7ff768abb8a296826 # v10.1.0
uses: treosh/lighthouse-ci-action@1b0e7c33270fbba31a18a0fbb1de7cc5256b6d39 # v11.4.0
with:
# Defines the settings and assertions to audit
configPath: './.lighthouserc.json'
Expand All @@ -90,7 +95,7 @@ jobs:
- name: Format Lighthouse Score
# Transform the audit results into a single, friendlier output
id: format_lighthouse_score
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
env:
# using env as input to our script
# see https://github.com/actions/github-script#use-env-as-input
Expand All @@ -106,7 +111,7 @@ jobs:

- name: Add Comment to PR
# Replace the previous message with our formatted lighthouse results
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308 # v2.4.3
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
# Reference the previously created comment
comment_tag: 'lighthouse_audit'
Expand Down
33 changes: 24 additions & 9 deletions .github/workflows/lint-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
turbo_args: ${{ steps.turborepo_arguments.outputs.turbo_args }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Provide Turborepo Arguments
# This step is responsible for providing a reusable string that can be used within other steps and jobs
# that use the `turbo` cli command as a way of easily providing shared arguments to the `turbo` command
Expand All @@ -60,6 +65,11 @@ jobs:
needs: [base]

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand All @@ -75,7 +85,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref || github.ref }}

- name: Restore Lint Cache
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache/restore@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
with:
path: |
.turbo/cache
Expand All @@ -95,14 +105,14 @@ jobs:
cache-lint-

- name: Set up Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install NPM packages
# We want to avoid NPM from running the Audit Step and Funding messages on a CI environment
- name: Install npm packages
# We want to avoid npm from running the Audit Step and Funding messages on a CI environment
# We also use `npm i` instead of `npm ci` so that the node_modules/.cache folder doesn't get deleted
run: npm i --no-audit --no-fund --ignore-scripts --userconfig=/dev/null

Expand Down Expand Up @@ -140,7 +150,7 @@ jobs:
(github.event_name == 'pull_request_target' &&
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
github.event.pull_request.head.ref != 'chore/crowdin')
uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache/save@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
with:
path: |
.turbo/cache
Expand Down Expand Up @@ -170,6 +180,11 @@ jobs:
url: ${{ steps.chromatic-deploy.outputs.storybookUrl }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand All @@ -188,14 +203,14 @@ jobs:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install NPM packages
# We want to avoid NPM from running the Audit Step and Funding messages on a CI environment
- name: Install npm packages
# We want to avoid npm from running the Audit Step and Funding messages on a CI environment
# We also use `npm i` instead of `npm ci` so that the node_modules/.cache folder doesn't get deleted
run: npm i --no-audit --no-fund --userconfig=/dev/null

Expand Down Expand Up @@ -231,7 +246,7 @@ jobs:
if: steps.chromatic-deploy.outcome == 'success'
# This comments the current Jest Coverage Report containing JUnit XML reports
# and a Code Coverage Summary
uses: MishaKav/jest-coverage-comment@41b5ca01d1250de84537448d248b8d18152cb277 # v1.0.23
uses: MishaKav/jest-coverage-comment@c2d5cfd6c32e8799c6deb0fd76a8e2d9ad8b35c2 # v1.0.25
with:
title: 'Unit Test Coverage Report'
junitxml-path: ./junit.xml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pull-request-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
name: Remove Pull Request Label
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Remove GitHub Actions Label
uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1.3.0
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

Expand All @@ -51,14 +51,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: Upload Artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: Upload Scan Results
uses: github/codeql-action/upload-sarif@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
sarif_file: results.sarif
Loading
Loading