You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
Explain what should count as a "devDependency" and what should count as a "dependency" (e.g. in package.json). This matters for Renovate, which can auto-merge devDependencies. And so, it's important that things like "vanilla-framework" aren't in this
So I propose that we explicitly define "dependencies" as anything that will, in any form, make it into the built site. So this would apply to e.g. Vanilla-framework and global-nav, even though those modules themselves aren't used in the production app - instead their contents is used for building the production assets.
The text was updated successfully, but these errors were encountered:
Per https://github.com/canonical-webteam/practices/issues/147,
"dependencies" should contain only and all modules whose content
ultimately makes it into the built application.
This means "vanilla-framework" goes in "dependencies", but "autoprefixer",
"node-sass" etc. are only "devDependencies".
Explain what should count as a "devDependency" and what should count as a "dependency" (e.g. in
package.json
). This matters for Renovate, which can auto-merge devDependencies. And so, it's important that things like "vanilla-framework" aren't in thisSo I propose that we explicitly define "dependencies" as anything that will, in any form, make it into the built site. So this would apply to e.g. Vanilla-framework and global-nav, even though those modules themselves aren't used in the production app - instead their contents is used for building the production assets.
The text was updated successfully, but these errors were encountered: