@@ -65,8 +65,13 @@ module.exports = {
6565 let name = stringUtil . dasherize ( rawName ) ;
6666 let namespace = stringUtil . classify ( rawName ) ;
6767
68+ const warpDrive = options . warpDrive ?? options . emberData ;
69+
6870 let hasOptions =
69- ! options . welcome || options . packageManager || options . ciProvider ;
71+ ! options . welcome ||
72+ options . packageManager ||
73+ options . ciProvider ||
74+ ! warpDrive ;
7075 let blueprintOptions = '' ;
7176 if ( hasOptions ) {
7277 let indent = `\n ` ;
@@ -80,8 +85,7 @@ module.exports = {
8085 options . packageManager === 'pnpm' && '"--pnpm"' ,
8186 options . ciProvider && `"--ci-provider=${ options . ciProvider } "` ,
8287 options . typescript && `"--typescript"` ,
83- ! options . emberData && `"--no-ember-data"` ,
84- ! options . warpDrive && `"--no-warp-drive"` ,
88+ warpDrive === false && `"--no-warp-drive"` ,
8589 ]
8690 . filter ( Boolean )
8791 . join ( ',\n ' ) +
@@ -117,7 +121,7 @@ module.exports = {
117121 blueprint : 'app' ,
118122 blueprintOptions,
119123 lang : options . lang ,
120- warpDrive : options . warpDrive ?? options . emberData ,
124+ warpDrive,
121125 ciProvider : options . ciProvider ,
122126 typescript : options . typescript ,
123127 packageManager : options . packageManager ?? 'npm' ,
0 commit comments