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 #1556

Merged
merged 57 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e16bc05
Fix broken link to past releases (#7061)
bmuenzenmeyer Oct 1, 2024
a6c9b86
fix broken link (#7063)
bmuenzenmeyer Oct 1, 2024
b66ae9d
meta: bump github/codeql-action from 3.26.6 to 3.26.10 (#7071)
dependabot[bot] Oct 1, 2024
ba73d19
meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (#7070)
dependabot[bot] Oct 1, 2024
cd13b7c
meta: bump actions/setup-node from 4.0.3 to 4.0.4 (#7069)
dependabot[bot] Oct 1, 2024
749765f
meta: bump actions/checkout from 4.1.7 to 4.2.0 (#7067)
dependabot[bot] Oct 1, 2024
f5ad83e
meta: bump chromaui/action from 11.7.1 to 11.11.0 (#7066)
dependabot[bot] Oct 1, 2024
9a61324
meta: bump @types/react from 18.3.5 to 18.3.10 in the react group (#7…
dependabot[bot] Oct 3, 2024
dcd2d23
meta: bump postcss from 8.4.45 to 8.4.47 (#7080)
dependabot[bot] Oct 3, 2024
e1bd1cf
meta: bump MishaKav/jest-coverage-comment from 1.0.26 to 1.0.27 (#7068)
dependabot[bot] Oct 3, 2024
6284a18
Blog: v20.18.0 release post (#7084)
targos Oct 3, 2024
b7814d5
meta: bump the tailwind group with 2 updates (#7076)
dependabot[bot] Oct 4, 2024
653b78d
meta: bump the next-js group with 2 updates (#7074)
dependabot[bot] Oct 4, 2024
6016ef8
meta: bump next-intl from 3.19.1 to 3.20.0 (#7078)
dependabot[bot] Oct 4, 2024
db6c647
meta: bump @sentry/nextjs from 8.30.0 to 8.32.0 (#7077)
dependabot[bot] Oct 4, 2024
6ca0f24
[automated]: crowdin sync (#7065)
nodejs-crowdin Oct 4, 2024
b14bea1
Credit artist for Rocket Turtle branding (#7088)
TheFossilDev Oct 6, 2024
10aa149
fix(calendar): use new CALENDAR_NODEJS_ID (#7097)
bmuenzenmeyer Oct 7, 2024
0bef4db
fix: Update Node.js calendar links (#7098)
richardlau Oct 8, 2024
39f9579
meta: bump typescript-eslint from 8.5.0 to 8.8.0 (#7079)
dependabot[bot] Oct 8, 2024
f5d9bde
meta: bump @next/eslint-plugin-next from 14.2.11 to 14.2.14 (#7081)
dependabot[bot] Oct 8, 2024
bfae4b9
Add mocking guide (#7092)
JakobJingleheimer Oct 8, 2024
0b24ff7
fix: dep vulnerability (#7095)
AugustinMauroy Oct 8, 2024
7ef584d
chore: update dependabot rules (#7087)
AugustinMauroy Oct 8, 2024
a95705b
docs: add authors (#7096)
UlisesGascon Oct 8, 2024
e74f56e
meta: bump github/codeql-action from 3.26.10 to 3.26.12 (#7100)
dependabot[bot] Oct 8, 2024
087d414
meta: bump actions/upload-artifact from 4.4.0 to 4.4.1 (#7101)
dependabot[bot] Oct 8, 2024
f6eaabc
meta: bump actions/cache from 4.0.2 to 4.1.0 (#7102)
dependabot[bot] Oct 8, 2024
716856f
meta: bump actions/checkout from 4.2.0 to 4.2.1 (#7103)
dependabot[bot] Oct 8, 2024
5fc6f97
fix: handle the potential absence of events (#7091)
mikeesto Oct 8, 2024
c6e97a1
fix table markup in branding pages (#7085)
aquibbaig Oct 8, 2024
5b77c34
fix(accessibility): add right title/alt (#7094)
AugustinMauroy Oct 8, 2024
7611d9a
meta: bump @eslint/compat from 1.1.1 to 1.2.0 (#7109)
dependabot[bot] Oct 9, 2024
c5ed18a
meta: bump @oramacloud/client from 1.3.15 to 1.3.16 (#7107)
dependabot[bot] Oct 9, 2024
b27693a
meta: bump @radix-ui/react-dialog from 1.1.1 to 1.1.2 (#7105)
dependabot[bot] Oct 9, 2024
40817ff
meta: bump @radix-ui/react-scroll-area from 1.1.0 to 1.2.0 (#7108)
dependabot[bot] Oct 9, 2024
c58855d
meta: bump @radix-ui/react-toast from 1.2.1 to 1.2.2 (#7111)
dependabot[bot] Oct 9, 2024
e94a098
meta: bump @types/react from 18.3.10 to 18.3.11 in the react group (#…
dependabot[bot] Oct 9, 2024
eb38c2f
meta: bump @radix-ui/react-select from 2.1.1 to 2.1.2 (#7112)
dependabot[bot] Oct 9, 2024
a6ff80c
meta: bump @radix-ui/react-avatar from 1.1.0 to 1.1.1 (#7110)
dependabot[bot] Oct 9, 2024
6360223
meta: bump the lint group across 1 directory with 5 updates (#7106)
dependabot[bot] Oct 9, 2024
f116efe
feat(layout): Refractoring (#6929)
AugustinMauroy Oct 10, 2024
3c0635c
Optimize CI during crowdin sync (#7114)
bmuenzenmeyer Oct 11, 2024
3da97a1
Fix: select box overflow on download pages (#7119)
canerakdas Oct 12, 2024
3a4c7a2
[automated]: crowdin sync, enables turkish (#7089)
nodejs-crowdin Oct 15, 2024
af892b0
meta: bump the storybook group across 1 directory with 6 updates (#7115)
dependabot[bot] Oct 15, 2024
2801b51
Blog: v23.0.0 release post (#7125)
RafaelGSS Oct 16, 2024
0b345d8
Blog: add more information about require(esm) in v23 (#7126)
joyeecheung Oct 16, 2024
3164cd7
Blog: v22.10.0 release post (#7128)
aduh95 Oct 17, 2024
851b085
hotfix: fix brittle date-based unit test
bmuenzenmeyer Oct 18, 2024
98b9e42
Esp participation (#7086)
joeeames Oct 18, 2024
834b69d
chore: remove unused file (#7131)
arthurjdam Oct 20, 2024
f69a421
block Windows 32 bit on v23 and up (#7133)
alexsch01 Oct 21, 2024
64db5a2
hotfix: minor changes (#7127)
ovflowd Oct 21, 2024
d6d445d
chore: create base eslint config (#7057)
araujogui Oct 21, 2024
cbff663
fix: 404 on the 'package managers' link on home page (#7134)
olehermanse Oct 22, 2024
227308b
[automated]: crowdin sync (#7124)
nodejs-crowdin Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ updates:
patterns:
- '@typescript-eslint/*'
- 'eslint'
- 'typescript-eslint'
- 'eslint-*'
- 'stylelint'
- 'stylelint-*'
Expand All @@ -43,10 +44,9 @@ updates:
next-js:
patterns:
- 'next'
- 'turbo'
- 'next-mdx-remote'
- 'next-sitemap'
- 'next-themes'
- 'eslint-config-next'
- '@next/eslint-plugin-next'
- 'next-*'
- '@vercel/*'
mdx:
patterns:
Expand All @@ -63,8 +63,12 @@ updates:
tailwind:
patterns:
- '@savvywombat/tailwindcss-grid-areas'
- '@tailwindcss/container-queries'
- 'prettier-plugin-tailwindcss'
- 'tailwindcss'
orama:
patterns:
- '@orama/*'
ignore:
# Manually update major versions of @types/node with the version specified within .nvmrc
- dependency-name: '@types/node'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

Expand All @@ -65,7 +65,7 @@ jobs:
run: echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
Expand All @@ -76,7 +76,7 @@ jobs:
# regardless of having code changes or not
fetch-depth: 1

- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
- uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
Expand All @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-

- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/init@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -60,7 +60,7 @@ jobs:
# 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@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/autobuild@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12

# ℹ️ 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
Expand All @@ -73,6 +73,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
with:
category: '/language:${{matrix.language}}'
9 changes: 7 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
branches:
- main

# Cancel any runs on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

Expand All @@ -21,12 +26,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- name: Review Dependencies
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
4 changes: 2 additions & 2 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/lint-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

Expand Down Expand Up @@ -65,18 +65,18 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}

- name: Restore Lint Cache
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: |
.turbo/cache
Expand All @@ -95,7 +95,7 @@ jobs:
cache-lint-

- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -129,7 +129,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@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: |
.turbo/cache
Expand Down Expand Up @@ -159,12 +159,12 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
Expand All @@ -173,7 +173,7 @@ jobs:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
github.event.pull_request.head.ref != 'chore/crowdin')
# sha reference has no stable git tag reference or URL. see https://github.com/chromaui/chromatic-cli/issues/797
uses: chromaui/action@b984808b772126a9f44b2b7737b131b68a2ede32
uses: chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26
with:
workingDir: apps/site
buildScriptName: storybook:build
Expand All @@ -217,7 +217,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@434e6d2d37116d23d812809b61d499639842fa3b # v1.0.26
uses: MishaKav/jest-coverage-comment@d74238813c33e6ea20530ff91b5ea37953d11c91 # v1.0.27
with:
title: 'Unit Test Coverage Report'
junitxml-path: ./apps/site/junit.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
persist-credentials: false

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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.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@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
with:
sarif_file: results.sarif
17 changes: 11 additions & 6 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
- 'packages/i18n/locales/*.json'
- '!packages/i18n/locales/en.json'

# Cancel any runs on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: read

Expand All @@ -34,7 +39,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

Expand Down Expand Up @@ -65,18 +70,18 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}

- name: Restore Lint Cache
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: |
apps/site/.eslintmdcache
Expand All @@ -92,7 +97,7 @@ jobs:
cache-lint-

- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -120,7 +125,7 @@ jobs:
commit_message: 'chore: automated format of translated files'

- name: Save Lint Cache
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: |
apps/site/.eslintmdcache
Expand Down
5 changes: 3 additions & 2 deletions apps/site/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const config: StorybookConfig = {
webpack: async config => ({
...config,
// We want to conform as much as possible with our target settings
target: 'browserslist',
target: 'browserslist:development',
// Performance Hints do not make sense on Storybook as it is bloated by design
performance: { hints: false },
// `nodevu` is a Node.js-specific package that requires Node.js modules
Expand All @@ -52,7 +52,8 @@ const config: StorybookConfig = {
ignoreWarnings: [
e =>
e.message.includes('Critical dep') ||
e.message.includes('was not found in'),
e.message.includes('was not found in') ||
e.message.includes('generated code contains'),
],
}),
};
Expand Down
Loading
Loading