File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
packages/devextreme-cli/src/applications Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ const latestVersions = require('../utility/latest-versions');
1010const { extractToolingVersion, toolingVersionOptionName } = require ( '../utility/extract-tooling-version' ) ;
1111const schematicsVersion = latestVersions [ 'devextreme-schematics' ] || 'latest' ;
1212
13- const minNgCliVersion = new semver ( '16.0.0' ) ;
14- const ngCliWithStandalone = new semver ( '17.0.0' ) ;
13+ const minNgCliVersion = new semver ( '17.0.0' ) ;
1514
1615async function runSchematicCommand ( schematicCommand , options , evaluatingOptions ) {
1716 const collectionName = 'devextreme-schematics' ;
@@ -77,21 +76,18 @@ const install = async(options) => {
7776
7877const create = async ( appName , options ) => {
7978 const layout = await getLayoutInfo ( options . layout ) ;
80- const currentNgVersion = ngVersion . getNgCliVersion ( ) . version ;
8179
8280 const commandArguments = [
8381 'new' ,
8482 appName ,
8583 '--style=scss' ,
8684 '--routing=false' ,
8785 '--skip-tests=true' ,
88- '--skip-install=true'
86+ '--skip-install=true' ,
87+ '--standalone=false' ,
88+ '--ssr=false'
8989 ] ;
9090
91- if ( ngCliWithStandalone . compare ( currentNgVersion ) <= 0 ) {
92- commandArguments . push ( '--standalone=false' , '--ssr=false' ) ;
93- }
94-
9591 await runNgCommand ( commandArguments , options ) ;
9692
9793 const appPath = path . join ( process . cwd ( ) , appName ) ;
You can’t perform that action at this time.
0 commit comments