Skip to content

Commit b6522c1

Browse files
committed
Make one-fits-all flavor the default
1 parent ce7e847 commit b6522c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: packages/create-cycle-app/src/createApp.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ module.exports = function createApp (name, verbose, flavor, cli, forceprompt) {
2121
// If no --flavor is passed (flavor === 'core')
2222
// We prompt for language and stream library
2323
// We set the flavor to be 'cycle-scripts'
24-
if (flavor === 'core' || forceprompt) {
24+
if (flavor === 'core') {
25+
flavor = 'cycle-scripts-one-fits-all@>=6.0.0'
26+
}
27+
if (forceprompt) {
2528
if (flavor === 'core') {
2629
flavor = 'cycle-scripts@>=2.0.0'
2730
}

0 commit comments

Comments
 (0)