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

feat: add nodejs toolchain #127

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

feat: add nodejs toolchain #127

wants to merge 10 commits into from

Conversation

hbjydev
Copy link
Member

@hbjydev hbjydev commented Jan 1, 2025

Changes

This MR adds a Node.js binary as a toolchain item to the languages package in the SDK. This will come with a small amount of support for NPM dependencies (prefetching & caching NPM dependencies).

Issues

  • Only valid source hash is the ARM macOS download.
  • The NPM CLI seems to be broken, pathing-wise. (Throws up an error about ../lib/cli.js not existing, though this could also be my system NodeJS conflicting with it, needs testing).
  • Need a function to fetch NPM dependencies using the package-lock.json as a source to ensure dependency consistency.
  • Need to then take that and npm pack the output.

@hbjydev hbjydev added the enhancement New feature or request label Jan 1, 2025
@hbjydev hbjydev self-assigned this Jan 1, 2025
@hbjydev hbjydev marked this pull request as draft January 4, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants