mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[build] no-bin-links, remove .bin folders (#19373)
* [build] no-bin-links, remove .bin folders * add comment
This commit is contained in:
parent
55c65a7c62
commit
13d78a7f73
2 changed files with 5 additions and 1 deletions
|
@ -62,6 +62,7 @@ export const CleanExtraFilesFromModulesTask = {
|
|||
build.resolvePath('node_modules/**/tests/**/*'),
|
||||
build.resolvePath('node_modules/**/example/**/*'),
|
||||
build.resolvePath('node_modules/**/examples/**/*'),
|
||||
build.resolvePath('node_modules/**/.bin/**/*'),
|
||||
]);
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,10 @@ export const InstallDependenciesTask = {
|
|||
// build. This means the lockfile won't be consistent, so instead of
|
||||
// verifying it, we just skip writing a new lockfile. However, this does
|
||||
// still use the existing lockfile for dependency resolution.
|
||||
const args = ['--production', '--ignore-optional', '--pure-lockfile'];
|
||||
|
||||
// We're using --no-bin-links to support systems that don't have symlinks.
|
||||
// This is commonly seen in shared folders on virtual machines
|
||||
const args = ['--production', '--ignore-optional', '--pure-lockfile', '--no-bin-links'];
|
||||
|
||||
await exec(log, 'yarn', args, {
|
||||
cwd: build.resolvePath(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue