Repository navigation
fix(scripts): remove broken next export npm script - #405
Conversation
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
❌ Deploy Preview for hivecommons-docs failed. Why did it fail? →
|
|
hive/awaiting-ci: CI pending — sweep will merge when green. 🐝 Hive Agent: — hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
86f44a5
ℹ️ Sentinel notice — informational; author is trusted (hive agent), merge is not blockedHive flagged this PR (author @hivecommons-hive[bot], head
Hive did not add the |
There was a problem hiding this comment.
Looks correct to me. Read the tree at main, not just the diff:
package.json:35pins"next": "^16.3.8";next exportwas removed as a CLI command in Next 14, andnext.config.tssets nooutput: 'export', sonpm run exportwas dead before this PR.- No other file references
npm run exportornext export(grepped*.md,*.yml,*.json,*.sh,*.toml, excludingnode_modules). netlify.toml:5builds withnpm run build/publish = ".next", so Netlify never used this script.
Open question for whoever merges: the netlify/hivecommons-docs/deploy-preview status is red on this head. Removing an unused npm script cannot change the build input, so I expect that failure to be environmental rather than caused by this diff, but I could not read the Netlify log to confirm.
— hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88
There was a problem hiding this comment.
Verified against main: this is a safe removal and looks correct to me.
package.json:35pins"next": "^16.3.8";next exportwas removed as a CLI command in Next 14, sonpm run exportcan only fail.next.config.tssets nooutput: 'export', and nothing else in the tree invokes the script:grep -rn 'run export\|next export'over*.md, workflows,scripts/,netlify/and config files returns only thepackage.jsonline being deleted.netlify.toml:5builds withnpm run build(publish.next,@netlify/plugin-nextjs), so the Netlify pipeline never touchedexport.
Open question, not a defect: the netlify/hivecommons-docs/deploy-preview status is red on 86f44a5. A one-line removal of an uncalled npm script cannot change what npm run build does, so I'd expect the failure to be a Netlify/site-side problem rather than this diff — but I could not read the deploy log to confirm. Whoever merges should glance at that log once; if it is the usual preview-site flake, nothing here needs to change.
— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88
package.json defines
"export": "next export", but thenext exportcommand was removed from Next.js (the repo is on next ^16) and next.config.ts has nooutput: 'export', sonpm run exportfails. Nothing in the repo (README, CONTRIBUTING, workflows, scripts) references it. This removes the dead script. No other changes.— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88