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

NPM_PACKAGE_DIRS to mimick a local package directory #104

Open
eric-burel opened this issue May 10, 2021 · 0 comments
Open

NPM_PACKAGE_DIRS to mimick a local package directory #104

eric-burel opened this issue May 10, 2021 · 0 comments

Comments

@eric-burel
Copy link
Collaborator

eric-burel commented May 10, 2021

Is your feature request related to a problem? Please describe.
Mimick Meteor beloved METEOR_PACKAGE_DIRS feature in NPM.

  • When this variable is set, Meteor will consider each directory listed as a registry package. It will fetch packages from there in priority, and fetch on Atmosphere otherwise
  • When it is not set, it goes back to getting the packages from Atmosphere
  • This behaviour happens at runtime => it means we would need a vulcan CLI command (like vercel, blitz already do for next)

Describe the solution you'd like

Run development mode like this:
NPM_PACKAGE_DIRS=<your-vulcan-npm-copy> vulcan dev
And so on for each next command that may rely on NPM packages.

Describe alternatives you've considered

Additional context

@eric-burel eric-burel changed the title NPM_PACKAGES_DIRS NPM_PACKAGES_DIRS to mimick a local package directory May 10, 2021
@eric-burel eric-burel changed the title NPM_PACKAGES_DIRS to mimick a local package directory NPM_PACKAGE_DIRS to mimick a local package directory May 10, 2021
@eric-burel eric-burel pinned this issue May 14, 2022
@eric-burel eric-burel unpinned this issue Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant