-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: daisyUI sidebar #15
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,118 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||
# Copyright (c) HashiCorp, Inc. | ||||||||||||||||||||||||||||||||||||||||||||||||||
# SPDX-License-Identifier: MPL-2.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
name: 'Next.js Bundle Analysis' | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
on: | ||||||||||||||||||||||||||||||||||||||||||||||||||
pull_request: | ||||||||||||||||||||||||||||||||||||||||||||||||||
push: | ||||||||||||||||||||||||||||||||||||||||||||||||||
branches: | ||||||||||||||||||||||||||||||||||||||||||||||||||
- main # change this if your default branch is named differently | ||||||||||||||||||||||||||||||||||||||||||||||||||
workflow_dispatch: | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
defaults: | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: | ||||||||||||||||||||||||||||||||||||||||||||||||||
# change this if your nextjs app does not live at the root of the repo | ||||||||||||||||||||||||||||||||||||||||||||||||||
working-directory: ./ | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
permissions: | ||||||||||||||||||||||||||||||||||||||||||||||||||
contents: read # for checkout repository | ||||||||||||||||||||||||||||||||||||||||||||||||||
actions: read # for fetching base branch bundle stats | ||||||||||||||||||||||||||||||||||||||||||||||||||
pull-requests: write # for comments | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
jobs: | ||||||||||||||||||||||||||||||||||||||||||||||||||
analyze: | ||||||||||||||||||||||||||||||||||||||||||||||||||
runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||||||||||||||||||||||
steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||
- uses: actions/checkout@v3 | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Install Bun | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: oven-sh/setup-bun@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Install dependencies | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: bun install | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+32
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Make dependency installation reproducible in CI - - name: Install dependencies
- run: bun install
+ - name: Install dependencies
+ run: bun install --frozen-lockfile --no-progress Optional: cache Bun’s global package data to speed up installs. I can add that if desired. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Restore next build | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: actions/cache@v3 | ||||||||||||||||||||||||||||||||||||||||||||||||||
id: restore-build-cache | ||||||||||||||||||||||||||||||||||||||||||||||||||
env: | ||||||||||||||||||||||||||||||||||||||||||||||||||
cache-name: cache-next-build | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
# if you use a custom build directory, replace all instances of `.next` in this file with your build directory | ||||||||||||||||||||||||||||||||||||||||||||||||||
# ex: if your app builds to `dist`, replace `.next` with `dist` | ||||||||||||||||||||||||||||||||||||||||||||||||||
path: .next/cache | ||||||||||||||||||||||||||||||||||||||||||||||||||
# change this if you prefer a more strict cache | ||||||||||||||||||||||||||||||||||||||||||||||||||
key: ${{ runner.os }}-build-${{ env.cache-name }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+35
to
+46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Harden Next.js build cache key to prevent stale caches - name: Restore next build
uses: actions/cache@v4
id: restore-build-cache
env:
cache-name: cache-next-build
with:
# if you use a custom build directory, replace all instances of `.next` in this file with your build directory
# ex: if your app builds to `dist`, replace `.next` with `dist`
path: .next/cache
# change this if you prefer a more strict cache
- key: ${{ runner.os }}-build-${{ env.cache-name }}
+ key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/bun.lockb', '**/package-lock.json', '**/pnpm-lock.yaml', '**/yarn.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-${{ env.cache-name }}- 📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.7)36-36: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Build next.js app | ||||||||||||||||||||||||||||||||||||||||||||||||||
# change this if your site requires a custom build command | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: bun run build | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
# Here's the first place where next-bundle-analysis' own script is used | ||||||||||||||||||||||||||||||||||||||||||||||||||
# This step pulls the raw bundle stats for the current bundle | ||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Analyze bundle | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: bunx -p nextjs-bundle-analysis report | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+54
to
+55
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Pin nextjs-bundle-analysis tool version for deterministic results - run: bunx -p nextjs-bundle-analysis report
+ run: bunx -p [email protected] report Same for compare below. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Upload bundle | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
name: bundle | ||||||||||||||||||||||||||||||||||||||||||||||||||
path: .next/analyze/__bundle_analysis.json | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Download base branch bundle stats | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: dawidd6/action-download-artifact@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
workflow: nextjs_bundle_analysis.yml | ||||||||||||||||||||||||||||||||||||||||||||||||||
branch: ${{ github.event.pull_request.base.ref }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
path: .next/analyze/base | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
# And here's the second place - this runs after we have both the current and | ||||||||||||||||||||||||||||||||||||||||||||||||||
# base branch bundle stats, and will compare them to determine what changed. | ||||||||||||||||||||||||||||||||||||||||||||||||||
# There are two configurable arguments that come from package.json: | ||||||||||||||||||||||||||||||||||||||||||||||||||
# | ||||||||||||||||||||||||||||||||||||||||||||||||||
# - budget: optional, set a budget (bytes) against which size changes are measured | ||||||||||||||||||||||||||||||||||||||||||||||||||
# it's set to 350kb here by default, as informed by the following piece: | ||||||||||||||||||||||||||||||||||||||||||||||||||
# https://infrequently.org/2021/03/the-performance-inequality-gap/ | ||||||||||||||||||||||||||||||||||||||||||||||||||
# | ||||||||||||||||||||||||||||||||||||||||||||||||||
# - red-status-percentage: sets the percent size increase where you get a red | ||||||||||||||||||||||||||||||||||||||||||||||||||
# status indicator, defaults to 20% | ||||||||||||||||||||||||||||||||||||||||||||||||||
# | ||||||||||||||||||||||||||||||||||||||||||||||||||
# Either of these arguments can be changed or removed by editing the `nextBundleAnalysis` | ||||||||||||||||||||||||||||||||||||||||||||||||||
# entry in your package.json file. | ||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Compare with base branch bundle | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: ls -laR .next/analyze/base && bunx -p nextjs-bundle-analysis compare | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Get Comment Body | ||||||||||||||||||||||||||||||||||||||||||||||||||
id: get-comment-body | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number | ||||||||||||||||||||||||||||||||||||||||||||||||||
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings | ||||||||||||||||||||||||||||||||||||||||||||||||||
run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||
echo "body<<EOF" >> $GITHUB_OUTPUT | ||||||||||||||||||||||||||||||||||||||||||||||||||
echo "$(cat .next/analyze/__bundle_analysis_comment.txt)" >> $GITHUB_OUTPUT | ||||||||||||||||||||||||||||||||||||||||||||||||||
echo EOF >> $GITHUB_OUTPUT | ||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Find Comment | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: peter-evans/find-comment@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number | ||||||||||||||||||||||||||||||||||||||||||||||||||
id: fc | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
issue-number: ${{ github.event.number }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
body-includes: '<!-- __NEXTJS_BUNDLE -->' | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Create Comment | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: peter-evans/create-or-update-comment@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number && steps.fc.outputs.comment-id == 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
issue-number: ${{ github.event.number }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
body: ${{ steps.get-comment-body.outputs.body }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
- name: Update Comment | ||||||||||||||||||||||||||||||||||||||||||||||||||
uses: peter-evans/create-or-update-comment@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
if: success() && github.event.number && steps.fc.outputs.comment-id != 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||||
issue-number: ${{ github.event.number }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
body: ${{ steps.get-comment-body.outputs.body }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
comment-id: ${{ steps.fc.outputs.comment-id }} | ||||||||||||||||||||||||||||||||||||||||||||||||||
edit-mode: replace |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ import type { NextConfig } from 'next'; | |
|
||
const nextConfig: NextConfig = { | ||
output: 'standalone', | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
Comment on lines
+5
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainScope ESLint suppression; don’t disable it globally Hard-coding Apply this diff to only disable ESLint where explicitly intended (e.g., bundle analysis job): - eslint: {
- ignoreDuringBuilds: true,
- },
+ eslint: {
+ ignoreDuringBuilds: process.env.NEXT_IGNORE_ESLINT === 'true',
+ }, Example: enable only in the bundle analysis workflow step/job: # .github/workflows/nextjs_bundle_analysis.yml (snippet)
jobs:
bundle-analysis:
steps:
- name: Build for analysis
env:
NEXT_IGNORE_ESLINT: 'true'
run: npm run build Optionally, enforce lint in a dedicated job: jobs:
lint:
steps:
- run: npm ci
- run: npm run lint Verification script to confirm a separate lint gate exists: 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Searching for ESLint usage in workflows..."
fd -t f -H .github/workflows || true
rg -n -S -A2 -B2 "(next lint|eslint)" .github/workflows || echo "No explicit ESLint steps found in workflows."
echo "Checking for a lint script in package.json..."
rg -n -S '"lint"\s*:' package.json || echo "No 'lint' script found in package.json."
echo "If neither a workflow lint step nor a package.json lint script exists, consider adding them to keep linting enforced." Length of output: 1093 Ensure ESLint is only skipped when explicitly requested and enforce linting in CI We’ve confirmed there’s a
This ensures linting remains enforced on every PR while still allowing you to bypass it when explicitly needed. 🤖 Prompt for AI Agents
|
||
experimental: { | ||
serverActions: { | ||
bodySizeLimit: '8mb', | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -10,13 +10,13 @@ | |||||||||||||||||||||||||||||||
"format": "ultracite format" | ||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||
"dependencies": { | ||||||||||||||||||||||||||||||||
"@ai-sdk/anthropic": "^1.2.12", | ||||||||||||||||||||||||||||||||
"@ai-sdk/google": "^1.2.19", | ||||||||||||||||||||||||||||||||
"@ai-sdk/groq": "^1.2.9", | ||||||||||||||||||||||||||||||||
"@ai-sdk/openai": "^1.3.22", | ||||||||||||||||||||||||||||||||
"@ai-sdk/react": "^1.2.12", | ||||||||||||||||||||||||||||||||
"@ai-sdk/anthropic": "^2.0.1", | ||||||||||||||||||||||||||||||||
"@ai-sdk/google": "^1.2.22", | ||||||||||||||||||||||||||||||||
"@ai-sdk/groq": "^2.0.4", | ||||||||||||||||||||||||||||||||
"@ai-sdk/openai": "^1.3.24", | ||||||||||||||||||||||||||||||||
"@ai-sdk/react": "^2.0.9", | ||||||||||||||||||||||||||||||||
"@ai-sdk/ui-utils": "^1.2.11", | ||||||||||||||||||||||||||||||||
"@ai-sdk/xai": "^1.2.16", | ||||||||||||||||||||||||||||||||
"@ai-sdk/xai": "^1.2.18", | ||||||||||||||||||||||||||||||||
"@aws-sdk/client-s3": "^3.826.0", | ||||||||||||||||||||||||||||||||
"@biomejs/biome": "2.0.6", | ||||||||||||||||||||||||||||||||
"@logto/next": "^4.2.4", | ||||||||||||||||||||||||||||||||
|
@@ -26,7 +26,7 @@ | |||||||||||||||||||||||||||||||
"@radix-ui/react-label": "^2.1.7", | ||||||||||||||||||||||||||||||||
"@radix-ui/react-separator": "^1.1.7", | ||||||||||||||||||||||||||||||||
"@radix-ui/react-slot": "^1.2.3", | ||||||||||||||||||||||||||||||||
"ai": "^4.3.16", | ||||||||||||||||||||||||||||||||
"ai": "^4.3.19", | ||||||||||||||||||||||||||||||||
"class-variance-authority": "^0.7.1", | ||||||||||||||||||||||||||||||||
"clsx": "^2.1.1", | ||||||||||||||||||||||||||||||||
"daisyui": "^5.0.43", | ||||||||||||||||||||||||||||||||
|
@@ -47,17 +47,25 @@ | |||||||||||||||||||||||||||||||
"sonner": "^2.0.5", | ||||||||||||||||||||||||||||||||
"tailwind-merge": "^3.3.0", | ||||||||||||||||||||||||||||||||
"tailwind-variants": "^1.0.0", | ||||||||||||||||||||||||||||||||
"zod": "^3.25.56" | ||||||||||||||||||||||||||||||||
"zod": "^3.25.76" | ||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||
"devDependencies": { | ||||||||||||||||||||||||||||||||
"@tailwindcss/postcss": "^4.1.8", | ||||||||||||||||||||||||||||||||
"@types/node": "^22.15.30", | ||||||||||||||||||||||||||||||||
"@types/react": "^19", | ||||||||||||||||||||||||||||||||
"@types/react-dom": "^19", | ||||||||||||||||||||||||||||||||
"@types/react-syntax-highlighter": "^15.5.13", | ||||||||||||||||||||||||||||||||
"eslint": "^9.33.0", | ||||||||||||||||||||||||||||||||
"eslint-config-next": "^15.4.6", | ||||||||||||||||||||||||||||||||
"tailwindcss": "^4.1.8", | ||||||||||||||||||||||||||||||||
"tw-animate-css": "^1.3.4", | ||||||||||||||||||||||||||||||||
"typescript": "^5", | ||||||||||||||||||||||||||||||||
"ultracite": "5.0.32" | ||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||
"nextBundleAnalysis": { | ||||||||||||||||||||||||||||||||
"budget": null, | ||||||||||||||||||||||||||||||||
"budgetPercentIncreaseRed": 20, | ||||||||||||||||||||||||||||||||
"minimumChangeThreshold": 0, | ||||||||||||||||||||||||||||||||
"showDetails": true | ||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||
Comment on lines
+65
to
70
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainConfirm nextjs-bundle-analysis config keys; avoid Ensure the tool reads these exact keys from package.json. If Please check the tool’s expected package.json schema: If "nextBundleAnalysis": {
- "budget": null,
"budgetPercentIncreaseRed": 20,
"minimumChangeThreshold": 0,
"showDetails": true
} 🌐 Web query:
💡 Result: The "nextjs-bundle-analysis" GitHub Action reads configuration from the Supported
|
Key | Valid | Notes |
---|---|---|
showDetails | Yes | Directly documented as an option controlling UI detail[1]. |
budgetPercentIncreaseRed | No | Not mentioned or documented as a supported key[1]. |
minimumChangeThreshold | No | Not mentioned or documented as a supported key[1]. |
No current documentation supports budgetPercentIncreaseRed
or minimumChangeThreshold
as valid configuration keys for "nextjs-bundle-analysis"
in package.json
[1]. If these are present, they may be ignored or unsupported by the tool.
Handling the budget
Key
The documentation refers only to performance budgets in general but does not specify a budget
property in the package.json
configuration section[1]. The workflow might contain details relating to budgets, but there is no mention that setting "budget": null
in package.json
is required or supported. If a budget
key is present without clear documentation, it's safest to omit it rather than set it to null
[1].
Summary
- You should only include well-documented keys (
showDetails
,buildOutputDirectory
) in"nextBundleAnalysis"
withinpackage.json
[1]. - The keys
budgetPercentIncreaseRed
,minimumChangeThreshold
, and a plainbudget
key are not valid according to current GitHub and npm documentation[1]. They should be omitted unless updated documentation specifically adds support. - Use
"showDetails"
for controlling display detail, and"buildOutputDirectory"
to set your build output location[1].
If you need advanced budgeting features, you may need to configure these within the GitHub workflow file itself, not in the package.json
[1].
Citations:
- 1: https://github.com/hashicorp/nextjs-bundle-analysis
- 2: https://www.npmjs.com/package/@next/bundle-analyzer
- 3: http://catchmetrics.io/blog/reducing-nextjs-bundle-size-with-nextjs-bundle-analyzer
- 4: https://mattyasul.com/blog/nextjs-bundle-management/
- 5: https://nextjs.org/docs/pages/guides/package-bundling
- 6: https://www.coteries.com/en/articles/reduce-size-nextjs-bundle
- 7: https://blog.logrocket.com/how-to-analyze-next-js-app-bundles/
- 8: https://nextjs.org/docs/14/pages/building-your-application/optimizing/bundle-analyzer
- 9: https://www.youtube.com/watch?v=bKifBeIgdL4
- 10: https://flaviocopes.com/nextjs-analyze-app-bundle/
Update unsupported nextBundleAnalysis
keys in package.json
Only the documented options (showDetails
and buildOutputDirectory
) are read from nextBundleAnalysis
. Remove the unsupported keys (budget
, budgetPercentIncreaseRed
, minimumChangeThreshold
) to avoid them being ignored or causing parsing issues.
• In package.json
under "nextBundleAnalysis"
:
– Keep: showDetails
(boolean)
– Optionally add: buildOutputDirectory
(string, default: .next
)
– Remove: budget
, budgetPercentIncreaseRed
, minimumChangeThreshold
Suggested diff:
"nextBundleAnalysis": {
- "budget": null,
- "budgetPercentIncreaseRed": 20,
- "minimumChangeThreshold": 0,
"showDetails": true
}
If you require performance budgets, configure them within your GitHub workflow rather than in the package.json
.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
"nextBundleAnalysis": { | |
"budget": null, | |
"budgetPercentIncreaseRed": 20, | |
"minimumChangeThreshold": 0, | |
"showDetails": true | |
} | |
"nextBundleAnalysis": { | |
"showDetails": true | |
} |
🤖 Prompt for AI Agents
In package.json lines 63 to 68, the nextBundleAnalysis section contains
unsupported keys budget, budgetPercentIncreaseRed, and minimumChangeThreshold
that should be removed because only showDetails and buildOutputDirectory are
valid. Remove these unsupported keys and optionally add buildOutputDirectory if
needed, keeping showDetails as is. This will prevent parsing issues and ensure
only recognized options are present.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended" | ||
] | ||
"extends": ["config:recommended"] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update GitHub Actions to supported major versions (actionlint)
The workflow uses older action majors flagged by actionlint. Upgrade to current majors compatible with hosted runners.
Apply:
Also applies to: 36-36, 63-63
🧰 Tools
🪛 actionlint (1.7.7)
27-27: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents