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

Support devDependencies in templates #8838

Merged
merged 1 commit into from
May 4, 2020
Merged

Conversation

mrmckeb
Copy link
Contributor

@mrmckeb mrmckeb commented Apr 15, 2020

This PR adds support for templates to defined devDependencies alongside dependencies.

It also adds a deprecation warning for templates using the previous syntax.

@mrmckeb mrmckeb added this to the 3.5 milestone Apr 16, 2020
@ianschmitz ianschmitz modified the milestones: 3.5, 4.0 May 3, 2020
@@ -125,6 +125,27 @@ module.exports = function(

const templatePackage = templateJson.package || {};

// TODO: Deprecate support for root-level `dependencies` and `scripts` in v4.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this say v5 then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this, and fix in the next PR (which is about deprecations) - thanks!

@mrmckeb mrmckeb merged commit 2473a73 into master May 4, 2020
@mrmckeb mrmckeb deleted the feature/devdeps-template branch May 4, 2020 15:16
@lock lock bot locked and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants