Skip to content

[5.6] Give ability to update dependencies block from preset#24189

Merged
taylorotwell merged 1 commit into
laravel:5.6from
nulpatrol:5.6
May 14, 2018
Merged

[5.6] Give ability to update dependencies block from preset#24189
taylorotwell merged 1 commit into
laravel:5.6from
nulpatrol:5.6

Conversation

@nulpatrol

Copy link
Copy Markdown
Contributor

The existing implementation of Preset does not allow changing the package.json "dependency" block. This non-breaking change will allow to pass a parameter that indicates that a set of packages need to be added to "dependency", not devDependency.

Motivation: ESLint with one of the most popular configurations (eslint-config-airbnb-base) produce a lint error when code-dependencies specified in devDependencies. And developers should be able to create presets which store dependencies in "dependencies" block.

@tillkruss tillkruss changed the title Give ability to update dependencies block from preset [5.6] Give ability to update dependencies block from preset May 13, 2018
@taylorotwell taylorotwell merged commit 1aa183c into laravel:5.6 May 14, 2018
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

Successfully merging this pull request may close these issues.

2 participants