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

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

Merged
merged 1 commit into from
May 14, 2018

Conversation

nulpatrol
Copy link
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