devextreme-cli 1.2.20 → 1.2.24

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.2.20",
3
+ "version": "1.2.24",
4
4
  "description": "DevExtreme CLI",
5
5
  "keywords": [
6
6
  "devexpress",
@@ -58,10 +58,10 @@
58
58
  "eslint-plugin-jest": "^22.5.1",
59
59
  "eslint-plugin-react": "^7.20.6",
60
60
  "eslint-plugin-react-hooks": "^4.1.0",
61
- "eslint-plugin-unused-imports": "^0.1.3",
61
+ "eslint-plugin-unused-imports": "^1.1.5",
62
62
  "eslint-plugin-vue": "^7.0.0-beta.2",
63
63
  "eslint-stylish": "^0.2.0",
64
- "jest": "^26.0.0",
64
+ "jest": "^27.3.1",
65
65
  "jest-image-snapshot": "^4.5.0",
66
66
  "puppeteer": "^2.1.1",
67
67
  "rimraf": "^2.6.3",
@@ -69,5 +69,5 @@
69
69
  "tree-kill-promise": "^1.0.3",
70
70
  "typescript": "^4.0.2"
71
71
  },
72
- "gitHead": "6dfd3ce0b9afad59591edb5c1fd630225f8b89b0"
72
+ "gitHead": "f39338167ff94e75f44ab05f31db71a20d5e0d30"
73
73
  }
@@ -32,7 +32,7 @@ async function runSchematicCommand(schematicCommand, options, evaluatingOptions)
32
32
  }
33
33
 
34
34
  async function runNgCommand(commandArguments, evaluatingOptions) {
35
- const ngCommandArguments = await hasSutableNgCli() ? [] : ['-p', '@angular/cli'];
35
+ const ngCommandArguments = await hasSutableNgCli() ? [] : ['-p', '@angular/cli@12'];
36
36
 
37
37
  ngCommandArguments.push('ng', ...commandArguments);
38
38
  return runCommand('npx', ngCommandArguments, evaluatingOptions);
@@ -42,7 +42,7 @@ const updateJsonPropName = (path, name) => {
42
42
  };
43
43
 
44
44
  const create = (appName, options) => {
45
- const commandArguments = ['create-react-app', appName];
45
+ const commandArguments = ['-p=create-react-app', 'create-react-app', appName];
46
46
 
47
47
  getLayoutInfo(options.layout).then((layoutInfo) => {
48
48
  runCommand('npx', commandArguments).then(() => {
@@ -7,6 +7,10 @@
7
7
  width: 100%;
8
8
  }
9
9
 
10
+ .side-nav-outer-toolbar .dx-drawer {
11
+ height: calc(100% - 56px)
12
+ }
13
+
10
14
  .app .content {
11
15
  line-height: 1.5;
12
16
 
@@ -13,7 +13,7 @@ export default function Profile() {
13
13
  Prefix: 'Mrs.',
14
14
  Position: 'Controller',
15
15
  Picture: 'images/employees/06.png',
16
- BirthDate: new Date('1974/11/15'),
16
+ BirthDate: new Date('1974/11/5'),
17
17
  HireDate: new Date('2005/05/11'),
18
18
  Notes: notes,
19
19
  Address: '4600 N Virginia Rd.'
@@ -8,6 +8,10 @@
8
8
  }
9
9
  }
10
10
 
11
+ .side-nav-outer-toolbar .dx-drawer {
12
+ height: calc(100% - 56px)
13
+ }
14
+
11
15
  .content-block {
12
16
  margin-left: 40px;
13
17
  margin-right: 40px;
@@ -38,7 +38,7 @@ export default {
38
38
  Prefix: "Mrs.",
39
39
  Position: "Controller",
40
40
  Picture: picture,
41
- BirthDate: new Date("1974/11/15"),
41
+ BirthDate: new Date("1974/11/5"),
42
42
  HireDate: new Date("2005/05/11"),
43
43
  Notes:
44
44
 
@@ -8,6 +8,10 @@
8
8
  }
9
9
  }
10
10
 
11
+ .side-nav-outer-toolbar .dx-drawer {
12
+ height: calc(100% - 56px)
13
+ }
14
+
11
15
  .content-block {
12
16
  margin-left: 40px;
13
17
  margin-right: 40px;
@@ -38,7 +38,7 @@ export default {
38
38
  Prefix: "Mrs.",
39
39
  Position: "Controller",
40
40
  Picture: picture,
41
- BirthDate: new Date("1974/11/15"),
41
+ BirthDate: new Date("1974/11/5"),
42
42
  HireDate: new Date("2005/05/11"),
43
43
  Notes:
44
44
  "Sandra is a CPA and has been our controller since 2008. " +
@@ -45,7 +45,12 @@ const createPath = filePath => {
45
45
  };
46
46
 
47
47
  const readFile = fileName => new Promise((resolve, reject) => {
48
- fs.readFile(require.resolve(fileName), 'utf8', (error, data) => {
48
+ const fullFileName = path.normalize(path.join(
49
+ themeBuilderPackagePath,
50
+ '..',
51
+ fileName
52
+ ));
53
+ fs.readFile(fullFileName, 'utf8', (error, data) => {
49
54
  error ? reject(error) : resolve(data);
50
55
  });
51
56
  });
@@ -1,8 +1,8 @@
1
1
  const packageJson = require('../../package.json');
2
2
  module.exports = {
3
- 'devextreme': '^21.1.5',
4
- 'devextreme-react': '^21.1.5',
5
- 'devextreme-vue': '^21.1.5',
3
+ 'devextreme': '^21.2.4',
4
+ 'devextreme-react': '^21.2.4',
5
+ 'devextreme-vue': '^21.2.4',
6
6
  'devextreme-cli': packageJson.version,
7
7
  'devextreme-schematics': 'latest'
8
8
  };