Skip to content

Conversation

matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Sep 25, 2025

Description

Get npm install to work properly on Windows:

  • Remove the dependency on node-pty and include only its typings file instead.
  • Revert back to [email protected] since newer versions don't work on Windows.
  • Properly invoke npm and npx on Windows inside our TypeScript scripts by using npm.cmd and npx.cmd respectively.
  • Disable the linebreak-style ESLint rule when building swift-docc-render as it was erroring out on pretty much every file.
  • Stop using npm's -ignore-scripts option in CLI to catch problems before they're merged.

Issue: #1854

Tasks

  • Required tests have been written
  • [ ] Documentation has been updated
  • [ ] Added an entry to CHANGELOG.md if applicable

@matthewbastien matthewbastien merged commit 3e3dac0 into swiftlang:main Sep 25, 2025
45 of 46 checks passed
@matthewbastien matthewbastien deleted the windows-development branch September 25, 2025 20:01
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