Skip to content

Conversation

@elastic-jasper
Copy link
Contributor

[npm] install deps "global-style"

Backports PR #9136

Commit 1:
[npm] install deps "global-sytle"

Installing dependencies "global-style" creates a top-level directory in node_modules for each direct dependency, and then creates a flat tree of dependencies inside each of those.

I prefer this method because it prevents accidentally depending on a dependency of a dependency, and makes it easier to find dependencies in node_modules.

Unfortunately the node_modules directory will be a little deeper.

Backports PR #9136

**Commit 1:**
[npm] install deps "global-sytle"

Installing dependencies "global-style" creates a top-level directory in `node_modules` for each direct dependency, and then creates a flat tree of dependencies inside each of those.

I prefer this method because it prevents accidentally depending on a dependency of a dependency, and makes it easier to find dependencies in `node_modules`.

Unfortunately the `node_modules` directory will be a little deeper.

* Original sha: 95103f0
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-11-18T16:43:54Z
* Committed by GitHub <noreply@github.com> on 2016-11-18T16:43:54Z
@elastic-jasper elastic-jasper added the backport This PR is a backport of another PR label Nov 21, 2016
@epixa epixa merged commit 269ee06 into 5.x Nov 21, 2016
@epixa epixa deleted the jasper/backport/9136/5.x branch November 21, 2016 21:23
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Backports PR elastic#9136

**Commit 1:**
[npm] install deps "global-sytle"

Installing dependencies "global-style" creates a top-level directory in `node_modules` for each direct dependency, and then creates a flat tree of dependencies inside each of those.

I prefer this method because it prevents accidentally depending on a dependency of a dependency, and makes it easier to find dependencies in `node_modules`.

Unfortunately the `node_modules` directory will be a little deeper.

* Original sha: 95103f0
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-11-18T16:43:54Z
* Committed by GitHub <noreply@github.com> on 2016-11-18T16:43:54Z

Former-commit-id: 269ee06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants