Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript: ensure node build includes npm if npm.enable #1511

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

sandydoo
Copy link
Member

@sandydoo sandydoo commented Oct 8, 2024

The default node package was, possibly unintentionally, changed to nodejs-slim, which doesn't ship with npm. This broke the npm.enable integration.

If npm.enable, we add languages.javascript.npm.package. Otherwise, we add languages.javascript.package.

This also fixes our pre-commit CI.

@sandydoo sandydoo added the bug Something isn't working label Oct 8, 2024
@sandydoo sandydoo marked this pull request as ready for review October 8, 2024 20:28
Copy link

cloudflare-workers-and-pages bot commented Oct 8, 2024

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 502ecd0
Status: ✅  Deploy successful!
Preview URL: https://89e08df0.devenv.pages.dev
Branch Preview URL: https://fix-npm.devenv.pages.dev

View logs

@domenkozar domenkozar merged commit e30eb87 into main Oct 9, 2024
261 of 273 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants