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

Add support for npm ci on different CPU architecture or OS #112

Open
kethinov opened this issue Apr 6, 2024 · 0 comments
Open

Add support for npm ci on different CPU architecture or OS #112

kethinov opened this issue Apr 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kethinov
Copy link
Member

kethinov commented Apr 6, 2024

At present fallback-dependencies will always run npm ci without any arguments, like the ability to specify the desired --cpu or --os but to handle situations like this we should make that possible.

To do that, we should probably expose new environment variables that, if present, will make fallback-dependencies run npm ci with those flags enabled.

Examples:

  • FALLBACK_DEPENDENCIES_TARGET_CPU being set to arm64
  • FALLBACK_DEPENDENCIES_TARGET_OS being set to darwin
  • etc
@kethinov kethinov added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant