Skip to content

⚙️ Site build config for compatibility#2402

Open
JFWooten4 wants to merge 11 commits intostellar:mainfrom
JFWooten4:2145-pt-9
Open

⚙️ Site build config for compatibility#2402
JFWooten4 wants to merge 11 commits intostellar:mainfrom
JFWooten4:2145-pt-9

Conversation

@JFWooten4
Copy link
Copy Markdown
Contributor

I've been grappling with this for years now, and I'm finally proposing we add cross-env. There's just a lot of cool things we can optimize with this between systems.

As you add more meetings over time, the build size compounds with the new pages. It's still very reasonable linear building, but you hit the max compile chunk after about a hundred or so.

This little fix gives the compiler some more memory, or at least the preview history. It's nothing fancy, but it stops heap mallocs.

Lastly, I ran into a problem where TypeScript ran with the wrong version based on complaints of global settings. This little VS Code config makes sure it uses the version for the project.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 28, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcross-env@​10.1.010010010082100

View full report

Copilot AI review requested due to automatic review settings April 30, 2026 09:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the docs site build tooling/config to improve cross-system compatibility by adjusting the build command’s Node memory settings, adding cross-env, and ensuring VS Code uses the workspace TypeScript version.

Changes:

  • Updated the build script to run Docusaurus with an increased Node heap limit.
  • Added cross-env (and corresponding yarn.lock entries).
  • Added a VS Code workspace setting to point to the repo’s TypeScript SDK.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
package.json Changes build invocation and adds cross-env to devDependencies.
yarn.lock Locks cross-env and its new transitive dependency.
.vscode/settings.json Adds a workspace TypeScript SDK path for VS Code.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Comment thread package.json
Comment thread .vscode/settings.json Outdated
as intended

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

2 participants