mirror of
https://github.com/primer/css.git
synced 2024-12-01 20:53:06 +03:00
prompt for dependents unles --no-dependents
This commit is contained in:
parent
92832181a3
commit
1b3b14b459
@ -138,7 +138,9 @@ module.exports = {
|
||||
prompt: {
|
||||
message: "Which meta-package(s) should we add this to?",
|
||||
type: "checkbox",
|
||||
when: true,
|
||||
when: function() {
|
||||
return this.options.dependents !== false
|
||||
},
|
||||
choices: META_PACKAGES,
|
||||
default: ({category}) => {
|
||||
const pkgs = ["primer-css"]
|
||||
|
Loading…
Reference in New Issue
Block a user