devextreme-cli 1.6.2 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devextreme-cli",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "DevExtreme CLI",
5
5
  "keywords": [
6
6
  "devexpress",
@@ -44,7 +44,7 @@
44
44
  "minimist": "^1.2.8",
45
45
  "mustache": "^3.2.1",
46
46
  "prompts": "^2.4.2",
47
- "sass": "^1.69.4",
47
+ "sass": "^1.69.5",
48
48
  "semver": "^5.7.2",
49
49
  "strip-bom": "^4.0.0"
50
50
  },
@@ -65,7 +65,7 @@
65
65
  "eslint-plugin-vue": "^7.20.0",
66
66
  "eslint-stylish": "^0.2.0",
67
67
  "jest": "^29.7.0",
68
- "jest-image-snapshot": "^6.2.0",
68
+ "jest-image-snapshot": "^6.3.0",
69
69
  "prettier": "^2.8.8",
70
70
  "rimraf": "^2.7.1",
71
71
  "tree-kill": "^1.2.2",
@@ -73,5 +73,5 @@
73
73
  "typescript": "^4.0.2",
74
74
  "typescript-eslint-parser": "^22.0.0"
75
75
  },
76
- "gitHead": "2b2151822253d9eca78063f4541bd60a03710731"
76
+ "gitHead": "d66609dcd9396442ea85c700c4f58c53b83d388a"
77
77
  }
@@ -11,6 +11,7 @@ const { extractToolingVersion, toolingVersionOptionName } = require('../utility/
11
11
  const schematicsVersion = latestVersions['devextreme-schematics'] || 'latest';
12
12
 
13
13
  const minNgCliVersion = new semver('12.0.0');
14
+ const ngCliWithStandalone = new semver('17.0.0');
14
15
 
15
16
  async function runSchematicCommand(schematicCommand, options, evaluatingOptions) {
16
17
  const collectionName = 'devextreme-schematics';
@@ -75,6 +76,7 @@ const install = async(options) => {
75
76
 
76
77
  const create = async(appName, options) => {
77
78
  const layout = await getLayoutInfo(options.layout);
79
+ const currentNgVersion = ngVersion.getNgCliVersion().version;
78
80
 
79
81
  const commandArguments = [
80
82
  'new',
@@ -82,9 +84,13 @@ const create = async(appName, options) => {
82
84
  '--style=scss',
83
85
  '--routing=false',
84
86
  '--skip-tests=true',
85
- '--skip-install=true',
87
+ '--skip-install=true'
86
88
  ];
87
89
 
90
+ if(ngCliWithStandalone.compare(currentNgVersion) <= 0) {
91
+ commandArguments.push('--standalone=false');
92
+ }
93
+
88
94
  await runNgCommand(commandArguments, options);
89
95
 
90
96
  const appPath = path.join(process.cwd(), appName);