-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove deepModules hackery (#9328)
Backports PR #9327 **Commit 1:** build: remove deepModules hackery The deepModules hacks in the build system were added to support the long paths that resulted from npm2, but npm3 fundamentally addresses that problem, so deepModules is no longer necessary. In practical terms, npm3 shouldn't ever cause path lengths to become so long that they trigger path length problems on certain operating systems. * Original sha: 19fcc93 * Authored by Court Ewing <[email protected]> on 2016-12-02T00:13:13Z
- Loading branch information
1 parent
6ae8073
commit 5cb1e20
Showing
4 changed files
with
2 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
module.exports = function (grunt) { | ||
let modules = Object.keys(grunt.config.get('deepModules')); | ||
return { | ||
build: 'build', | ||
target: 'target', | ||
screenshots: 'test/screenshots/session', | ||
testsFromModules: 'build/kibana/node_modules/**/{test,tests}/**', | ||
deepModuleBins: 'build/kibana/node_modules/*/node_modules/**/.bin/{' + modules.join(',') + '}', | ||
deepModules: 'build/kibana/node_modules/*/node_modules/**/{' + modules.join(',') + '}/', | ||
}; | ||
}; |