Skip to content

website: switch all dependencies to devDependencies - #1206

Open
isaacbrodsky wants to merge 4 commits into
uber:masterfrom
isaacbrodsky:website-devdeps
Open

website: switch all dependencies to devDependencies#1206
isaacbrodsky wants to merge 4 commits into
uber:masterfrom
isaacbrodsky:website-devdeps

Conversation

@isaacbrodsky

Copy link
Copy Markdown
Collaborator
  • Set --frozen-lockfile in CI
  • yarn upgrade
  • Set all dependencies in website/package.json to devDependencies.

For the devDependencies part, my rationale is that this code is only run in CI or on developer machines. In deploy-website.yml, we only use the HTML output of Docusaurus. This approach looks consistent with Docusaurus's recommendation: e.g. facebook/docusaurus#5501 I'd also hope this cuts down on the number of Dependabot PRs we receive here.

#1203 Thanks @brettshearer for pointing out we can improve this.

@coveralls

coveralls commented Jul 31, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 99.7%. remained the same — isaacbrodsky:website-devdeps into uber:master

@nrabinowitz nrabinowitz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants