Update dependencies to fix broken NPM installation and running#255
Merged
kungfuchicken merged 5 commits intomainfrom Apr 9, 2026
Merged
Update dependencies to fix broken NPM installation and running#255kungfuchicken merged 5 commits intomainfrom
kungfuchicken merged 5 commits intomainfrom
Conversation
Collaborator
|
When I ran an One nice thing, though. Somehow it's now respecting my browser preference (opening in Firefox instead of Chrome). |
Collaborator
Author
|
It might be local to you. I've tested this on two devices and it works well on both. |
Updates @docusaurus/core, @docusaurus/preset-classic, @docusaurus/module-type-aliases, and @docusaurus/types. No breaking changes in this version range. Build verified successfully with all existing MDX pages compiling cleanly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Footer: /connect_with/consulting → /connect_with/consult (matches doc id) - Footer: /connect_with/donations → /connect_with/donate (matches doc id) - Footer: fix "Consult wiht OSS" typo → "Consult with OSS" - donations.md: fix relative sponsorship link → /connect_with/sponsor - get_involved.md: /connect_with/sponsorship → /connect_with/sponsor - training.md: fix broken ./ link for Slack workspace - experiential_lerning.md: fix "deveopment" typo in anchor links Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove four dependencies with no imports anywhere in the codebase: - docusaurus (v1.14.7) — superseded by @docusaurus/core v3 - @next/mdx — Next.js package, not used by Docusaurus - canvas — native image dep causing npm install failures - jpegtran-bin — image optimization binary, unreferenced Also remove next.config.js, a leftover from a prior Next.js setup that Docusaurus ignores entirely. This removes 839 transitive packages and drops reported vulnerabilities from 113 to 29. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eed0538 to
d0e3ee7
Compare
kungfuchicken
previously approved these changes
Apr 9, 2026
Collaborator
kungfuchicken
left a comment
There was a problem hiding this comment.
Thank you for this update @leandrumartin . It took a bit longer to get back to actually getting it working locally, so I bumped to the latest. In testing Claude noticed some broken links, so we fixed those, too.
Docusaurus 3.9+ requires Node >= 20. Update both workflows to Node 22 (current LTS, active through Oct 2027). Also: - actions/checkout v2 → v4 - actions/setup-node v3 → v4 - Use npm ci for deterministic installs in both workflows - Remove redundant npm i before npm ci in test-deploy - Update engines field in package.json to >= 20.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
kungfuchicken
approved these changes
Apr 9, 2026
github-actions Bot
added a commit
that referenced
this pull request
Apr 9, 2026
Update dependencies to fix broken NPM installation and running c4123c3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Running
npm installwas not working due to outdated and deprecated dependencies. Specifically, thecanvasdependency was causing it to fail (attempting the command with only that dependency removed succeeded). I updated the required version to the minimum required version to get the command to work.Once
npm installran,npm startwas failing to compile the project. The reason given by the errors was that PostCSS 8 was required. Runningnpm ls postcssrevealed that it was a dependency of Docusaurus, so I also upgraded the required Docusaurus version to the minimum that would allow it to run.Now, both
npm installandnpm startwork.