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

Support non-default modules folder location for yarn integrity check #1320

Closed
joonty opened this issue Mar 5, 2018 · 1 comment
Closed

Comments

@joonty
Copy link

joonty commented Mar 5, 2018

We install our yarn modules into a different directory from the default .node_modules/ in the project directory. This works, but the webpacker yarn integrity check fails, because the command that's executed assumes the default location. A different directory can be specified with yarn check --integrity --modules-folder <path>.

Incidentally, the reason as to why we do this is because we use Docker, and have a shared cache for bundled gems and node modules, but there may be other reasons as to why people would do this.

I propose either an environment config, or even just an environment variable, to be able to specify the modules folder used for the integrity check command.

I'd be more than happy to issue a pull request if you agree and let me know if you have a preference of a config option or environment variable.

Thanks!

@guillaumebriday
Copy link
Member

Yarn integrity check has been remove in #2518

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

No branches or pull requests

2 participants