devextreme-schematics 1.4.2 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devextreme-schematics",
3
- "version": "1.4.2",
3
+ "version": "1.5.1",
4
4
  "description": "DevExtreme schematics",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",
@@ -35,5 +35,5 @@
35
35
  "tslint": "^5.15.0",
36
36
  "typescript": "^4.3.1"
37
37
  },
38
- "gitHead": "b48e36220ea219b061fb6db3aa58f48dbae70e5a"
38
+ "gitHead": "bebd9a5ab2b2f012e8234c909f8fd7b77fc79d96"
39
39
  }
@@ -39,7 +39,7 @@
39
39
  "dxversion": {
40
40
  "type": "string",
41
41
  "description": "The DevExtreme version",
42
- "default": "^22.1.3"
42
+ "default": "^22.2.4"
43
43
  },
44
44
  "globalNgCliVersion": {
45
45
  "type":"string",
@@ -3,7 +3,7 @@ import { CanActivate, Router, ActivatedRouteSnapshot } from '@angular/router';
3
3
 
4
4
  export interface IUser {
5
5
  email: string;
6
- avatarUrl?: string
6
+ avatarUrl?: string;
7
7
  }
8
8
 
9
9
  const defaultPath = '/';
@@ -30,7 +30,6 @@ export class AuthService {
30
30
 
31
31
  try {
32
32
  // Send request
33
- console.log(email, password);
34
33
  this._user = { ...defaultUser, email };
35
34
  this.router.navigate([this._lastAuthenticatedPath]);
36
35
 
@@ -67,7 +66,6 @@ export class AuthService {
67
66
  async createAccount(email: string, password: string) {
68
67
  try {
69
68
  // Send request
70
- console.log(email, password);
71
69
 
72
70
  this.router.navigate(['/create-account']);
73
71
  return {
@@ -85,7 +83,6 @@ export class AuthService {
85
83
  async changePassword(email: string, recoveryCode: string) {
86
84
  try {
87
85
  // Send request
88
- console.log(email, recoveryCode);
89
86
 
90
87
  return {
91
88
  isOk: true
@@ -96,13 +93,12 @@ export class AuthService {
96
93
  isOk: false,
97
94
  message: "Failed to change password"
98
95
  }
99
- };
96
+ }
100
97
  }
101
98
 
102
99
  async resetPassword(email: string) {
103
100
  try {
104
101
  // Send request
105
- console.log(email);
106
102
 
107
103
  return {
108
104
  isOk: true
@@ -6,7 +6,6 @@
6
6
  "makeSwatch": true,
7
7
  "base": true,
8
8
  "widgets": [
9
- "treeview",
10
- "navbar"
9
+ "treeview"
11
10
  ]
12
11
  }
@@ -63,8 +63,7 @@ describe('install', () => {
63
63
  const tree = yield runner.runSchematicAsync('install', {}, appTree).toPromise();
64
64
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
65
65
  const styles = angularConfig['projects']['testApp']['architect']['build']['options']['styles'];
66
- expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.common.css');
67
- expect(styles[1]).toBe('node_modules/devextreme/dist/css/dx.light.css');
66
+ expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
68
67
  }));
69
68
  it('should register jszip', () => __awaiter(void 0, void 0, void 0, function* () {
70
69
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
@@ -89,8 +88,7 @@ describe('install', () => {
89
88
  const tree = yield runner.runSchematicAsync('install', { project: 'testApp2' }, appTree).toPromise();
90
89
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
91
90
  const styles = angularConfig['projects']['testApp2']['architect']['build']['options']['styles'];
92
- expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.common.css');
93
- expect(styles[1]).toBe('node_modules/devextreme/dist/css/dx.light.css');
91
+ expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
94
92
  expect(angularConfig['projects']['testApp']['architect']['build']['options']['styles'].length).toBe(1);
95
93
  }));
96
94
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index_spec.js","sourceRoot":"","sources":["index_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAAuF;AAEvF,6BAA6B;AAC7B,gEAA4D;AAE5D,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAElE,QAAQ,CAAC,SAAS,EA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AC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEhG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,+CAA+C,CAAC,CAAC;QAExE,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzG,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -66,8 +66,7 @@ describe('install', () => {
66
66
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
67
67
  const styles = angularConfig['projects']['testApp']['architect']['build']['options']['styles'];
68
68
 
69
- expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.common.css');
70
- expect(styles[1]).toBe('node_modules/devextreme/dist/css/dx.light.css');
69
+ expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
71
70
  });
72
71
 
73
72
  it('should register jszip', async () => {
@@ -98,8 +97,7 @@ describe('install', () => {
98
97
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
99
98
  const styles = angularConfig['projects']['testApp2']['architect']['build']['options']['styles'];
100
99
 
101
- expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.common.css');
102
- expect(styles[1]).toBe('node_modules/devextreme/dist/css/dx.light.css');
100
+ expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
103
101
 
104
102
  expect(angularConfig['projects']['testApp']['architect']['build']['options']['styles'].length).toBe(1);
105
103
  });
@@ -7,7 +7,7 @@
7
7
  "dxversion": {
8
8
  "type": "string",
9
9
  "description": "The DevExtreme version",
10
- "default": "^22.1.3"
10
+ "default": "^22.2.4"
11
11
  },
12
12
  "project": {
13
13
  "type": "string",
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.latestVersions = void 0;
4
4
  // TODO: implement
5
5
  exports.latestVersions = {
6
- 'devextreme': '^22.1.3',
7
- 'devextreme-angular': '^22.1.3',
6
+ 'devextreme': '^22.2.4',
7
+ 'devextreme-angular': '^22.2.4',
8
8
  'devextreme-cli': 'latest'
9
9
  };
10
10
  //# sourceMappingURL=latest-versions.js.map
@@ -1,6 +1,6 @@
1
1
  // TODO: implement
2
2
  export const latestVersions = {
3
- 'devextreme': '^22.1.3',
4
- 'devextreme-angular': '^22.1.3',
3
+ 'devextreme': '^22.2.4',
4
+ 'devextreme-angular': '^22.2.4',
5
5
  'devextreme-cli': 'latest'
6
6
  };
@@ -10,8 +10,7 @@ function cleanStyles(projectStyles, defaultStyles) {
10
10
  function addStylesToApp(project, config, styles) {
11
11
  const projectBuildOptopns = config['projects'][project]['architect']['build']['options'];
12
12
  const defaultStyles = [
13
- 'node_modules/devextreme/dist/css/dx.light.css',
14
- 'node_modules/devextreme/dist/css/dx.common.css'
13
+ 'node_modules/devextreme/dist/css/dx.light.css'
15
14
  ];
16
15
  let projectStyles = projectBuildOptopns['styles'];
17
16
  if (!styles) {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["styles.ts"],"names":[],"mappings":";;;AAAA,mCAA0C;AAE1C,SAAS,WAAW,CAAC,aAAyB,EAAE,aAAkB;IAChE,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;QACpC,OAAO,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,cAAc,CAAC,OAAe,EAAE,MAAW,EAAE,MAAmB;IAC9E,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC;IACzF,MAAM,aAAa,GAAG;QACpB,+CAA+C;QA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AAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACvB,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,mBAAmB,CAAC,QAAQ,CAAC,GAAG,IAAA,uBAAe,EAAC,aAAa,CAAC,CAAC;IAE/D,OAAO,MAAM,CAAC;AAChB,CAAC;AApBD,wCAoBC"}
@@ -9,8 +9,7 @@ function cleanStyles(projectStyles: Array<any>, defaultStyles: any) {
9
9
  export function addStylesToApp(project: string, config: any, styles?: Array<any>) {
10
10
  const projectBuildOptopns = config['projects'][project]['architect']['build']['options'];
11
11
  const defaultStyles = [
12
- 'node_modules/devextreme/dist/css/dx.light.css',
13
- 'node_modules/devextreme/dist/css/dx.common.css'
12
+ 'node_modules/devextreme/dist/css/dx.light.css'
14
13
  ];
15
14
  let projectStyles = projectBuildOptopns['styles'];
16
15