devextreme-schematics 1.6.9 → 1.7.0

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.6.9",
3
+ "version": "1.7.0",
4
4
  "description": "DevExtreme schematics",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",
@@ -22,18 +22,18 @@
22
22
  ],
23
23
  "schematics": "./src/collection.json",
24
24
  "dependencies": {
25
- "@angular-devkit/core": "^12.2.18",
26
- "@angular-devkit/schematics": "^12.2.18",
27
- "@schematics/angular": "^12.2.18"
25
+ "@angular-devkit/core": "^16.2.10",
26
+ "@angular-devkit/schematics": "^16.2.10",
27
+ "@schematics/angular": "^16.2.10"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/jasmine": "~3.10.18",
31
- "@types/node": "ts4.3",
31
+ "@types/node": "ts4.9",
32
32
  "@types/semver": "^7.5.7",
33
33
  "jasmine": "^2.99.0",
34
34
  "rxjs": "^6.6.7",
35
35
  "tslint": "^5.20.1",
36
- "typescript": "^4.3.1"
36
+ "typescript": "^4.9.3"
37
37
  },
38
- "gitHead": "0c30efbf9951768497b5b4cb5b27ddab08f1f49d"
38
+ "gitHead": "5289a6c9aa525ea566b22a1e21a9782e434395f8"
39
39
  }
@@ -30,29 +30,29 @@ const angularSchematicsCollection = require.resolve('../../node_modules/@schemat
30
30
  const schematicRunner = new testing_1.SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
31
31
  let appTree;
32
32
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
33
- appTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
34
- appTree = yield schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
33
+ appTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
34
+ appTree = yield schematicRunner.runSchematic('application', appOptions, appTree);
35
35
  }));
36
36
  describe('add-app-template', () => {
37
37
  it('should add DevExtreme', () => __awaiter(void 0, void 0, void 0, function* () {
38
38
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
39
- const tree = yield runner.runSchematicAsync('add-app-template', {}, appTree).toPromise();
39
+ const tree = yield runner.runSchematic('add-app-template', {}, appTree);
40
40
  const packageConfig = JSON.parse(tree.readContent('package.json'));
41
41
  expect('devextreme' in packageConfig.dependencies).toBe(true);
42
42
  }));
43
43
  it('should consider the `project` option', () => __awaiter(void 0, void 0, void 0, function* () {
44
- appTree = yield schematicRunner.runSchematicAsync('application', {
44
+ appTree = yield schematicRunner.runSchematic('application', {
45
45
  name: 'testApp2',
46
46
  inlineStyle: false,
47
47
  inlineTemplate: false,
48
48
  routing: true,
49
49
  style: 'scss',
50
50
  projectRoot: 'projects/testApp2'
51
- }, appTree).toPromise();
51
+ }, appTree);
52
52
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
53
- const tree = yield runner.runSchematicAsync('add-app-template', {
53
+ const tree = yield runner.runSchematic('add-app-template', {
54
54
  project: 'testApp2'
55
- }, appTree).toPromise();
55
+ }, appTree);
56
56
  expect(tree.files)
57
57
  .toContain('/devextreme.json');
58
58
  expect(tree.files)
@@ -62,7 +62,7 @@ describe('add-app-template', () => {
62
62
  }));
63
63
  it('should consider the `updateBudgets` option', () => __awaiter(void 0, void 0, void 0, function* () {
64
64
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
65
- const tree = yield runner.runSchematicAsync('add-app-template', { updateBudgets: true }, appTree).toPromise();
65
+ const tree = yield runner.runSchematic('add-app-template', { updateBudgets: true }, appTree);
66
66
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
67
67
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
68
68
  expect(budgets[0].maximumWarning).toEqual('4mb');
@@ -1 +1 @@
1
- {"version":3,"file":"index_spec.js","sourceRoot":"","sources":["index_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAAuF;AAEvF,6BAA6B;AAE7B,MAAM,cAAc,GAAG,IAAI,CAA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AC1D,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;QAE7F,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;QACrE,MAAM,OAAO,GAAG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,OAAO,CAAC;QAElG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -25,33 +25,33 @@ const schematicRunner = new SchematicTestRunner('@schematics/angular', angularSc
25
25
  let appTree: UnitTestTree;
26
26
 
27
27
  beforeEach(async () => {
28
- appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
29
- appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
28
+ appTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
29
+ appTree = await schematicRunner.runSchematic('application', appOptions, appTree);
30
30
  });
31
31
 
32
32
  describe('add-app-template', () => {
33
33
  it('should add DevExtreme', async () => {
34
34
  const runner = new SchematicTestRunner('schematics', collectionPath);
35
- const tree = await runner.runSchematicAsync('add-app-template', { }, appTree).toPromise();
35
+ const tree = await runner.runSchematic('add-app-template', { }, appTree);
36
36
  const packageConfig = JSON.parse(tree.readContent('package.json'));
37
37
 
38
38
  expect('devextreme' in packageConfig.dependencies).toBe(true);
39
39
  });
40
40
 
41
41
  it('should consider the `project` option', async () => {
42
- appTree = await schematicRunner.runSchematicAsync('application', {
42
+ appTree = await schematicRunner.runSchematic('application', {
43
43
  name: 'testApp2',
44
44
  inlineStyle: false,
45
45
  inlineTemplate: false,
46
46
  routing: true,
47
47
  style: 'scss',
48
48
  projectRoot: 'projects/testApp2'
49
- }, appTree).toPromise();
49
+ }, appTree);
50
50
 
51
51
  const runner = new SchematicTestRunner('schematics', collectionPath);
52
- const tree = await runner.runSchematicAsync('add-app-template', {
52
+ const tree = await runner.runSchematic('add-app-template', {
53
53
  project: 'testApp2'
54
- }, appTree).toPromise();
54
+ }, appTree);
55
55
 
56
56
  expect(tree.files)
57
57
  .toContain('/devextreme.json');
@@ -63,7 +63,7 @@ describe('add-app-template', () => {
63
63
 
64
64
  it('should consider the `updateBudgets` option', async () => {
65
65
  const runner = new SchematicTestRunner('schematics', collectionPath);
66
- const tree = await runner.runSchematicAsync('add-app-template', { updateBudgets: true }, appTree).toPromise();
66
+ const tree = await runner.runSchematic('add-app-template', { updateBudgets: true }, appTree);
67
67
 
68
68
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
69
69
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
3
  "$id": "SchematicsDevextremeAddAppTemplate",
4
- "title": "Add a DevExtreme layout template to an Anular application",
4
+ "title": "Add a DevExtreme layout template to an Angular application",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "layout": {
@@ -39,11 +39,11 @@
39
39
  "dxversion": {
40
40
  "type": "string",
41
41
  "description": "The DevExtreme version",
42
- "default": "23.2.6"
42
+ "default": "24.1.3"
43
43
  },
44
44
  "globalNgCliVersion": {
45
45
  "type":"string",
46
- "default": "^12.0.0"
46
+ "default": "^16.2.0"
47
47
  },
48
48
  "empty": {
49
49
  "type": "boolean",
@@ -219,8 +219,6 @@ const modifyRoutingModule = (host, routingModulePath) => {
219
219
  };
220
220
  function default_1(options) {
221
221
  return (host) => __awaiter(this, void 0, void 0, function* () {
222
- const ngConfig = host.read('./angular.json').toString();
223
- const defaultProjectName = (0, modify_json_file_1.parseJson)(ngConfig).defaultProject;
224
222
  const project = yield (0, project_1.getProjectName)(host, options.project);
225
223
  const workspace = yield (0, workspace_1.getWorkspace)(host);
226
224
  const ngProject = workspace.projects.get(project);
@@ -267,12 +265,6 @@ function default_1(options) {
267
265
  context.addTask(new patch_1.PatchNodePackageInstallTask());
268
266
  });
269
267
  }
270
- if (override) {
271
- if (project === defaultProjectName) {
272
- rules.push(modifyContentByTemplate('./', workspaceFilesSource, 'e2e/src/app.e2e-spec.ts', { title }));
273
- rules.push(modifyContentByTemplate('./', workspaceFilesSource, 'e2e/src/app.po.ts'));
274
- }
275
- }
276
268
  return (0, schematics_1.chain)(rules);
277
269
  });
278
270
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2DAcoC;AAMpC,+CAA+C;AAE/C,+BAAsC;AAEtC,mCAAgC;AAEhC,gDAI6B;AAE7B,8CAE2B;AAE3B,8CAE4B;AAE5B,kEAGsC;AAEtC,2EAGkD;AAElD,8CAAkD;AAElD,8CAG2B;AAE3B,gDAI4B;AAE5B,qEAE+C;AAE/C,qEAAqE;AAGrE,4CAA+D;AAE/D,MAAM,kBAAkB,GAAG,aAAa,CAAC;AACzC,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAEvC,SAAS,aAAa,CAAC,OAAY,EAAE,IAAY,EAAE,KAAa;IAC9D,MAAM,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnC,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO;KACR;IAED,MAAM,SAAS,GAAG,UAAU,IAAI,EAAE,CAAC;IACnC,MAAM,SAAS,GAAG,WAAW,SAAS,OAAO,KAAK,EAAE,CAAC;IAErD,IAAI,YAAY,KAAK,KAAK,IAAI,YAAY,KAAK,SAAS,EAAE;QACxD,OAAO;KACR;IAED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AC;AACJ,CAAC;AAzDD,4BAyDC"}
@@ -40,7 +40,6 @@ import {
40
40
 
41
41
  import {
42
42
  modifyJSONFile,
43
- parseJson
44
43
  } from '../utility/modify-json-file';
45
44
 
46
45
  import {
@@ -318,8 +317,6 @@ const modifyRoutingModule = (host: Tree, routingModulePath: string) => {
318
317
 
319
318
  export default function(options: any): Rule {
320
319
  return async (host: Tree) => {
321
- const ngConfig = host.read('./angular.json')!.toString();
322
- const defaultProjectName = parseJson(ngConfig).defaultProject;
323
320
  const project = await getProjectName(host, options.project);
324
321
  const workspace = await getWorkspace(host);
325
322
  const ngProject = workspace.projects.get(project);
@@ -373,13 +370,6 @@ export default function(options: any): Rule {
373
370
  });
374
371
  }
375
372
 
376
- if (override) {
377
- if (project === defaultProjectName) {
378
- rules.push(modifyContentByTemplate('./', workspaceFilesSource, 'e2e/src/app.e2e-spec.ts', { title }));
379
- rules.push(modifyContentByTemplate('./', workspaceFilesSource, 'e2e/src/app.po.ts'));
380
- }
381
- }
382
-
383
373
  return chain(rules);
384
374
  };
385
375
  }
@@ -27,23 +27,23 @@ describe('layout', () => {
27
27
  };
28
28
  const workspaceOptions = {
29
29
  name: 'workspace',
30
- version: '6.0.0'
30
+ version: '16.0.0'
31
31
  };
32
32
  const options = {
33
33
  layout: 'side-nav-outer-toolbar',
34
34
  resolveConflicts: 'override',
35
- globalNgCliVersion: '^12.2.0'
35
+ globalNgCliVersion: '^16.2.0'
36
36
  };
37
37
  const angularSchematicsCollection = require.resolve('../../node_modules/@schematics/angular/collection.json');
38
38
  const schematicRunner = new testing_1.SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
39
39
  let appTree;
40
40
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
41
- appTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
42
- appTree = yield schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
41
+ appTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
42
+ appTree = yield schematicRunner.runSchematic('application', appOptions, appTree);
43
43
  }));
44
44
  it('should add layout with override', () => __awaiter(void 0, void 0, void 0, function* () {
45
45
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
46
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
46
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
47
47
  expect(tree.files)
48
48
  .toContain('/devextreme.json');
49
49
  expect(tree.files)
@@ -97,10 +97,6 @@ describe('layout', () => {
97
97
  'CreateAccountFormModule, ' +
98
98
  'ChangePasswordFormModule, ' +
99
99
  'LoginFormModule }');
100
- const testContent = tree.readContent('/e2e/src/app.e2e-spec.ts');
101
- expect(testContent).toMatch(/'Welcome to TestApp!'/);
102
- const testUtilsContent = tree.readContent('/e2e/src/app.po.ts');
103
- expect(testUtilsContent).toMatch(/'app-root .dx-drawer-content .dx-card p:nth-child\(2\)'/);
104
100
  const appContent = tree.readContent('/src/app/app.component.ts');
105
101
  expect(appContent).toContain('templateUrl: \'./app.component.html\',');
106
102
  expect(appContent).toContain('styleUrls: [\'./app.component.scss\']');
@@ -111,7 +107,7 @@ describe('layout', () => {
111
107
  }));
112
108
  it('should add npm scripts', () => __awaiter(void 0, void 0, void 0, function* () {
113
109
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
114
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
110
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
115
111
  const packageConfig = JSON.parse(tree.readContent('package.json'));
116
112
  expect(packageConfig.scripts['build-themes']).toBe('devextreme build');
117
113
  expect(packageConfig.scripts['postinstall']).toBe('npm run build-themes');
@@ -124,7 +120,7 @@ describe('layout', () => {
124
120
  version: '7.0.0'
125
121
  });
126
122
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
127
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
123
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
128
124
  const navigationMenu = tree.readContent('/src/app/shared/components/side-navigation-menu/side-navigation-menu.component.ts');
129
125
  expect(navigationMenu).toContain('@ViewChild(DxTreeViewComponent, { static: true })');
130
126
  }));
@@ -136,7 +132,7 @@ describe('layout', () => {
136
132
  return config;
137
133
  });
138
134
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
139
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
135
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
140
136
  const packageConfig = JSON.parse(tree.readContent('package.json'));
141
137
  expect(packageConfig.scripts['origin-build-themes']).toBe('prev value 1');
142
138
  expect(packageConfig.scripts['origin-postinstall']).toBe('prev value 2');
@@ -145,19 +141,19 @@ describe('layout', () => {
145
141
  }));
146
142
  it('should add angular/cdk dependency', () => __awaiter(void 0, void 0, void 0, function* () {
147
143
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
148
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
144
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
149
145
  const packageConfig = JSON.parse(tree.readContent('package.json'));
150
146
  expect(packageConfig.dependencies['@angular/cdk']).toBeDefined();
151
147
  }));
152
148
  it('should choose angular/cdk version such as angular/cli', () => __awaiter(void 0, void 0, void 0, function* () {
153
149
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
154
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
150
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
155
151
  const packageConfig = JSON.parse(tree.readContent('package.json'));
156
- expect(packageConfig.dependencies['@angular/cdk']).toBe('~12.2.0');
152
+ expect(packageConfig.dependencies['@angular/cdk']).toBe('~16.2.0');
157
153
  }));
158
154
  it('should update budgets if updateBudgets option is true', () => __awaiter(void 0, void 0, void 0, function* () {
159
155
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
160
- const tree = yield runner.runSchematicAsync('add-layout', Object.assign(Object.assign({}, options), { updateBudgets: true }), appTree).toPromise();
156
+ const tree = yield runner.runSchematic('add-layout', Object.assign(Object.assign({}, options), { updateBudgets: true }), appTree);
161
157
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
162
158
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
163
159
  expect(budgets.length).toBe(2);
@@ -169,7 +165,7 @@ describe('layout', () => {
169
165
  }));
170
166
  it('should not update budgets if updateBudgets option is not defined or false', () => __awaiter(void 0, void 0, void 0, function* () {
171
167
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
172
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
168
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
173
169
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
174
170
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
175
171
  const defaultBudget = {
@@ -183,7 +179,7 @@ describe('layout', () => {
183
179
  it('should add layout without override', () => __awaiter(void 0, void 0, void 0, function* () {
184
180
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
185
181
  options.resolveConflicts = 'createNew';
186
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
182
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
187
183
  expect(tree.files).toContain('/src/app/app1.component.ts');
188
184
  const componentContent = tree.readContent('/src/app/app1.component.html');
189
185
  expect(componentContent).toContain('app-side-nav-outer-toolbar title="{{appInfo.title}}"');
@@ -198,11 +194,11 @@ describe('layout', () => {
198
194
  expect(appInfo).toContain(`return 'TestApp';`);
199
195
  }));
200
196
  it('should add routing to layout', () => __awaiter(void 0, void 0, void 0, function* () {
201
- let newAppTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
197
+ let newAppTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
202
198
  appOptions.routing = false;
203
- newAppTree = yield schematicRunner.runSchematicAsync('application', appOptions, newAppTree).toPromise();
199
+ newAppTree = yield schematicRunner.runSchematic('application', appOptions, newAppTree);
204
200
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
205
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
201
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
206
202
  expect(tree.files).toContain('/src/app/app-routing.module.ts');
207
203
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
208
204
  expect(moduleContent)
@@ -218,39 +214,29 @@ describe('layout', () => {
218
214
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
219
215
  options.layout = 'side-nav-inner-toolbar';
220
216
  options.resolveConflicts = 'override';
221
- const tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
217
+ const tree = yield runner.runSchematic('add-layout', options, appTree);
222
218
  const content = tree.readContent('/src/app/app.component.html');
223
219
  expect(content).toContain('app-side-nav-inner-toolbar title="{{appInfo.title}}"');
224
220
  }));
225
221
  it('should consider the `project` option', () => __awaiter(void 0, void 0, void 0, function* () {
226
- appTree = yield schematicRunner.runSchematicAsync('application', Object.assign(Object.assign({}, appOptions), { name: 'testApp2', projectRoot: 'projects/testApp2' }), appTree).toPromise();
222
+ appTree = yield schematicRunner.runSchematic('application', Object.assign(Object.assign({}, appOptions), { name: 'testApp2', projectRoot: 'projects/testApp2' }), appTree);
227
223
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
228
- const tree = yield runner.runSchematicAsync('add-layout', Object.assign(Object.assign({}, options), { project: 'testApp2' }), appTree).toPromise();
224
+ const tree = yield runner.runSchematic('add-layout', Object.assign(Object.assign({}, options), { project: 'testApp2' }), appTree);
229
225
  expect(tree.files)
230
226
  .toContain('/devextreme.json');
231
227
  expect(tree.files)
232
228
  .toContain('/projects/testApp2/src/themes/metadata.base.json');
233
229
  }));
234
230
  it('should merge build commands in devextreme.json file', () => __awaiter(void 0, void 0, void 0, function* () {
235
- appTree = yield schematicRunner.runSchematicAsync('application', Object.assign(Object.assign({}, appOptions), { name: 'testApp2', prefix: 'app2', projectRoot: 'projects/testApp2' }), appTree).toPromise();
231
+ appTree = yield schematicRunner.runSchematic('application', Object.assign(Object.assign({}, appOptions), { name: 'testApp2', prefix: 'app2', projectRoot: 'projects/testApp2' }), appTree);
236
232
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
237
- let tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
238
- tree = yield runner.runSchematicAsync('add-layout', Object.assign(Object.assign({}, options), { project: 'testApp2' }), appTree).toPromise();
233
+ let tree = yield runner.runSchematic('add-layout', options, appTree);
234
+ tree = yield runner.runSchematic('add-layout', Object.assign(Object.assign({}, options), { project: 'testApp2' }), appTree);
239
235
  const appContent = tree.readContent('projects/testApp2/src/app/app.component.ts');
240
236
  expect(appContent).toContain('selector: \'app2-root\',');
241
237
  const content = tree.readContent('/devextreme.json');
242
238
  expect(content).toContain('"inputFile": "src/themes/metadata.base.json",');
243
239
  expect(content).toContain('"inputFile": "projects/testApp2/src/themes/metadata.base.json",');
244
240
  }));
245
- it('should add e2e tests only for default project', () => __awaiter(void 0, void 0, void 0, function* () {
246
- appTree = yield schematicRunner.runSchematicAsync('application', Object.assign(Object.assign({}, appOptions), { name: 'testApp2', projectRoot: 'projects/testApp2' }), appTree).toPromise();
247
- const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
248
- let tree = yield runner.runSchematicAsync('add-layout', options, appTree).toPromise();
249
- tree = yield runner.runSchematicAsync('add-layout', Object.assign(Object.assign({}, options), { project: 'testApp2' }), appTree).toPromise();
250
- const testContent = tree.readContent('/e2e/src/app.e2e-spec.ts');
251
- expect(testContent).toContain('Welcome to TestApp!');
252
- const testUtilsContent = tree.readContent('/e2e/src/app.po.ts');
253
- expect(testUtilsContent).toMatch(/'app-root .dx-drawer-content .dx-card p:nth-child\(2\)'/);
254
- }));
255
241
  });
256
242
  //# sourceMappingURL=index_spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index_spec.js","sourceRoot":"","sources":["index_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAAuF;AAEvF,2EAIkD;AAClD,6BA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CAAC;aACf,SAAS,CAAC,kBAAkB,CAAC,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;aACf,SAAS,CAAC,kDAAkD,CAAC,CAAC;IACnE,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAS,EAAE;QACnE,OAAO,GAAG,MAAM,eAAe,CAAC,YAAY,CAAC,aAAa,kCACrD,UAAU,KACb,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,mBAAmB,KAC/B,OAAO,CAAC,CAAC;QAEZ,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QACrE,IAAI,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACrE,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,YAAY,kCACxC,OAAO,KACV,OAAO,EAAE,UAAU,KAClB,OAAO,CAAC,CAAC;QAEZ,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,4CAA4C,CAAC,CAAC;QAClF,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,0BAA0B,CAAC,CAAC;QAEzD,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;QACrD,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,+CAA+C,CAAC,CAAC;QAC3E,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,iEAAiE,CAAC,CAAC;IAC/F,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -25,27 +25,30 @@ describe('layout', () => {
25
25
 
26
26
  const workspaceOptions: WorkspaceOptions = {
27
27
  name: 'workspace',
28
- version: '6.0.0'
28
+ version: '16.0.0'
29
29
  };
30
30
 
31
31
  const options: any = {
32
32
  layout: 'side-nav-outer-toolbar',
33
33
  resolveConflicts: 'override',
34
- globalNgCliVersion: '^12.2.0'
34
+ globalNgCliVersion: '^16.2.0'
35
35
  };
36
36
 
37
37
  const angularSchematicsCollection = require.resolve('../../node_modules/@schematics/angular/collection.json');
38
- const schematicRunner = new SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
38
+ const schematicRunner = new SchematicTestRunner(
39
+ '@schematics/angular',
40
+ angularSchematicsCollection,
41
+ );
39
42
  let appTree: UnitTestTree;
40
43
 
41
44
  beforeEach(async () => {
42
- appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
43
- appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
45
+ appTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
46
+ appTree = await schematicRunner.runSchematic('application', appOptions, appTree);
44
47
  });
45
48
 
46
49
  it('should add layout with override', async () => {
47
50
  const runner = new SchematicTestRunner('schematics', collectionPath);
48
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
51
+ const tree = await runner.runSchematic('add-layout', options, appTree);
49
52
 
50
53
  expect(tree.files)
51
54
  .toContain('/devextreme.json');
@@ -108,12 +111,6 @@ describe('layout', () => {
108
111
  'ChangePasswordFormModule, ' +
109
112
  'LoginFormModule }');
110
113
 
111
- const testContent = tree.readContent('/e2e/src/app.e2e-spec.ts');
112
- expect(testContent).toMatch(/'Welcome to TestApp!'/);
113
-
114
- const testUtilsContent = tree.readContent('/e2e/src/app.po.ts');
115
- expect(testUtilsContent).toMatch(/'app-root .dx-drawer-content .dx-card p:nth-child\(2\)'/);
116
-
117
114
  const appContent = tree.readContent('/src/app/app.component.ts');
118
115
  expect(appContent).toContain('templateUrl: \'./app.component.html\',');
119
116
  expect(appContent).toContain('styleUrls: [\'./app.component.scss\']');
@@ -127,7 +124,7 @@ describe('layout', () => {
127
124
 
128
125
  it('should add npm scripts', async () => {
129
126
  const runner = new SchematicTestRunner('schematics', collectionPath);
130
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
127
+ const tree = await runner.runSchematic('add-layout', options, appTree);
131
128
  const packageConfig = JSON.parse(tree.readContent('package.json'));
132
129
  expect(packageConfig.scripts['build-themes']).toBe('devextreme build');
133
130
  expect(packageConfig.scripts['postinstall']).toBe('npm run build-themes');
@@ -142,7 +139,7 @@ describe('layout', () => {
142
139
  });
143
140
 
144
141
  const runner = new SchematicTestRunner('schematics', collectionPath);
145
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
142
+ const tree = await runner.runSchematic('add-layout', options, appTree);
146
143
  const navigationMenu = tree.readContent(
147
144
  '/src/app/shared/components/side-navigation-menu/side-navigation-menu.component.ts');
148
145
 
@@ -160,7 +157,7 @@ describe('layout', () => {
160
157
  });
161
158
 
162
159
  const runner = new SchematicTestRunner('schematics', collectionPath);
163
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
160
+ const tree = await runner.runSchematic('add-layout', options, appTree);
164
161
  const packageConfig = JSON.parse(tree.readContent('package.json'));
165
162
  expect(packageConfig.scripts['origin-build-themes']).toBe('prev value 1');
166
163
  expect(packageConfig.scripts['origin-postinstall']).toBe('prev value 2');
@@ -170,7 +167,7 @@ describe('layout', () => {
170
167
 
171
168
  it('should add angular/cdk dependency', async () => {
172
169
  const runner = new SchematicTestRunner('schematics', collectionPath);
173
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
170
+ const tree = await runner.runSchematic('add-layout', options, appTree);
174
171
  const packageConfig = JSON.parse(tree.readContent('package.json'));
175
172
 
176
173
  expect(packageConfig.dependencies['@angular/cdk']).toBeDefined();
@@ -178,18 +175,18 @@ describe('layout', () => {
178
175
 
179
176
  it('should choose angular/cdk version such as angular/cli', async () => {
180
177
  const runner = new SchematicTestRunner('schematics', collectionPath);
181
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
178
+ const tree = await runner.runSchematic('add-layout', options, appTree);
182
179
  const packageConfig = JSON.parse(tree.readContent('package.json'));
183
180
 
184
- expect(packageConfig.dependencies['@angular/cdk']).toBe('~12.2.0');
181
+ expect(packageConfig.dependencies['@angular/cdk']).toBe('~16.2.0');
185
182
  });
186
183
 
187
184
  it('should update budgets if updateBudgets option is true', async () => {
188
185
  const runner = new SchematicTestRunner('schematics', collectionPath);
189
- const tree = await runner.runSchematicAsync('add-layout', {
186
+ const tree = await runner.runSchematic('add-layout', {
190
187
  ...options,
191
188
  updateBudgets: true
192
- }, appTree).toPromise();
189
+ }, appTree);
193
190
 
194
191
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
195
192
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
@@ -204,7 +201,7 @@ describe('layout', () => {
204
201
 
205
202
  it('should not update budgets if updateBudgets option is not defined or false', async () => {
206
203
  const runner = new SchematicTestRunner('schematics', collectionPath);
207
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
204
+ const tree = await runner.runSchematic('add-layout', options, appTree);
208
205
 
209
206
  const angularContent = JSON.parse(tree.readContent('/angular.json'));
210
207
  const budgets = angularContent.projects.testApp.architect.build.configurations.production.budgets;
@@ -222,7 +219,7 @@ describe('layout', () => {
222
219
  const runner = new SchematicTestRunner('schematics', collectionPath);
223
220
 
224
221
  options.resolveConflicts = 'createNew';
225
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
222
+ const tree = await runner.runSchematic('add-layout', options, appTree);
226
223
 
227
224
  expect(tree.files).toContain('/src/app/app1.component.ts');
228
225
 
@@ -243,14 +240,14 @@ describe('layout', () => {
243
240
  });
244
241
 
245
242
  it('should add routing to layout', async () => {
246
- let newAppTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
243
+ let newAppTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
247
244
 
248
245
  appOptions.routing = false;
249
- newAppTree = await schematicRunner.runSchematicAsync(
250
- 'application', appOptions, newAppTree).toPromise();
246
+ newAppTree = await schematicRunner.runSchematic(
247
+ 'application', appOptions, newAppTree);
251
248
 
252
249
  const runner = new SchematicTestRunner('schematics', collectionPath);
253
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
250
+ const tree = await runner.runSchematic('add-layout', options, appTree);
254
251
 
255
252
  expect(tree.files).toContain('/src/app/app-routing.module.ts');
256
253
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
@@ -269,24 +266,24 @@ describe('layout', () => {
269
266
  const runner = new SchematicTestRunner('schematics', collectionPath);
270
267
  options.layout = 'side-nav-inner-toolbar';
271
268
  options.resolveConflicts = 'override';
272
- const tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
269
+ const tree = await runner.runSchematic('add-layout', options, appTree);
273
270
  const content = tree.readContent('/src/app/app.component.html');
274
271
 
275
272
  expect(content).toContain('app-side-nav-inner-toolbar title="{{appInfo.title}}"');
276
273
  });
277
274
 
278
275
  it('should consider the `project` option', async () => {
279
- appTree = await schematicRunner.runSchematicAsync('application', {
276
+ appTree = await schematicRunner.runSchematic('application', {
280
277
  ...appOptions,
281
278
  name: 'testApp2',
282
279
  projectRoot: 'projects/testApp2'
283
- }, appTree).toPromise();
280
+ }, appTree);
284
281
 
285
282
  const runner = new SchematicTestRunner('schematics', collectionPath);
286
- const tree = await runner.runSchematicAsync('add-layout', {
283
+ const tree = await runner.runSchematic('add-layout', {
287
284
  ...options,
288
285
  project: 'testApp2'
289
- }, appTree).toPromise();
286
+ }, appTree);
290
287
 
291
288
  expect(tree.files)
292
289
  .toContain('/devextreme.json');
@@ -295,19 +292,19 @@ describe('layout', () => {
295
292
  });
296
293
 
297
294
  it('should merge build commands in devextreme.json file', async () => {
298
- appTree = await schematicRunner.runSchematicAsync('application', {
295
+ appTree = await schematicRunner.runSchematic('application', {
299
296
  ...appOptions,
300
297
  name: 'testApp2',
301
298
  prefix: 'app2',
302
299
  projectRoot: 'projects/testApp2'
303
- }, appTree).toPromise();
300
+ }, appTree);
304
301
 
305
302
  const runner = new SchematicTestRunner('schematics', collectionPath);
306
- let tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
307
- tree = await runner.runSchematicAsync('add-layout', {
303
+ let tree = await runner.runSchematic('add-layout', options, appTree);
304
+ tree = await runner.runSchematic('add-layout', {
308
305
  ...options,
309
306
  project: 'testApp2'
310
- }, appTree).toPromise();
307
+ }, appTree);
311
308
 
312
309
  const appContent = tree.readContent('projects/testApp2/src/app/app.component.ts');
313
310
  expect(appContent).toContain('selector: \'app2-root\',');
@@ -316,25 +313,4 @@ describe('layout', () => {
316
313
  expect(content).toContain('"inputFile": "src/themes/metadata.base.json",');
317
314
  expect(content).toContain('"inputFile": "projects/testApp2/src/themes/metadata.base.json",');
318
315
  });
319
-
320
- it('should add e2e tests only for default project', async () => {
321
- appTree = await schematicRunner.runSchematicAsync('application', {
322
- ...appOptions,
323
- name: 'testApp2',
324
- projectRoot: 'projects/testApp2'
325
- }, appTree).toPromise();
326
-
327
- const runner = new SchematicTestRunner('schematics', collectionPath);
328
- let tree = await runner.runSchematicAsync('add-layout', options, appTree).toPromise();
329
- tree = await runner.runSchematicAsync('add-layout', {
330
- ...options,
331
- project: 'testApp2'
332
- }, appTree).toPromise();
333
-
334
- const testContent = tree.readContent('/e2e/src/app.e2e-spec.ts');
335
- expect(testContent).toContain('Welcome to TestApp!');
336
-
337
- const testUtilsContent = tree.readContent('/e2e/src/app.po.ts');
338
- expect(testUtilsContent).toMatch(/'app-root .dx-drawer-content .dx-card p:nth-child\(2\)'/);
339
- });
340
316
  });
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "globalNgCliVersion": {
51
51
  "type":"string",
52
- "default": "12.2.0"
52
+ "default": "16.2.0"
53
53
  }
54
54
  }
55
55
  }
@@ -34,13 +34,13 @@ describe('sample views', () => {
34
34
  const schematicRunner = new testing_1.SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
35
35
  let appTree;
36
36
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
37
- appTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
38
- appTree = yield schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
37
+ appTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
38
+ appTree = yield schematicRunner.runSchematic('application', appOptions, appTree);
39
39
  }));
40
40
  it('should add sample views', () => __awaiter(void 0, void 0, void 0, function* () {
41
41
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
42
- let tree = yield runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
43
- tree = yield runner.runSchematicAsync('add-sample-views', sampleViewsOptions, tree).toPromise();
42
+ let tree = yield runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
43
+ tree = yield runner.runSchematic('add-sample-views', sampleViewsOptions, tree);
44
44
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
45
45
  expect(moduleContent).toMatch(/component: HomeComponent/);
46
46
  expect(moduleContent).toMatch(/path: 'home'/);
@@ -1 +1 @@
1
- {"version":3,"file":"index_spec.js","sourceRoot":"","sources":["index_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAAuF;AAEvF,6BAA6B;AAE7B,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAElE,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,MAAM,UAAU,GAAQ;QACtB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,EAAE;QACf,WAAW,EAAE,KAAK;QAClB,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,KAAK;QACZ,SAAS,EAAE,KAAK;QAChB,eAAe,EAAE,KAAK;KACvB,CAAC;IAEF,MAAM,gBAAgB,GAAqB;QACzC,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,OAAO;KACjB,CAAC;IAEF,MAAM,kBAAkB,GAAQ;QAC9B,OAAO,EAAE,SAAS;KACnB,CAAC;IAEF,MAAM,2BAA2B,GAAG,OAAO,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,CAAC,yBAAyB,EAAE,GAAS,EAAE;QACvC,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QACrE,IAAI,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,wBAAwB,EAAE,EAAE,OAAO,CAAC,CAAC;QAClG,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;QAE/E,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,CAAC,gCAAgC,CAAC,CAAC;QAEzE,MAAM,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;QAC1D,MAAM,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAE9C,MAAM,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;QAChE,MAAM,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC;QAEtE,MAAM,iBAAiB,GAAG,IAAI,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;QACzE,MAAM,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAClD,MAAM,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;GAoBrC,CAAC,CAAC;IACH,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -30,14 +30,14 @@ describe('sample views', () => {
30
30
  let appTree: UnitTestTree;
31
31
 
32
32
  beforeEach(async () => {
33
- appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
34
- appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
33
+ appTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
34
+ appTree = await schematicRunner.runSchematic('application', appOptions, appTree);
35
35
  });
36
36
 
37
37
  it('should add sample views', async () => {
38
38
  const runner = new SchematicTestRunner('schematics', collectionPath);
39
- let tree = await runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
40
- tree = await runner.runSchematicAsync('add-sample-views', sampleViewsOptions, tree).toPromise();
39
+ let tree = await runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
40
+ tree = await runner.runSchematic('add-sample-views', sampleViewsOptions, tree);
41
41
 
42
42
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
43
43
 
@@ -42,13 +42,13 @@ describe('view', () => {
42
42
  const schematicRunner = new testing_1.SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
43
43
  let appTree;
44
44
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
45
- appTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
46
- appTree = yield schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
45
+ appTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
46
+ appTree = yield schematicRunner.runSchematic('application', appOptions, appTree);
47
47
  }));
48
48
  it('should create new view', () => __awaiter(void 0, void 0, void 0, function* () {
49
49
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
50
- let tree = yield runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
51
- tree = yield runner.runSchematicAsync('add-view', componentOptions, appTree).toPromise();
50
+ let tree = yield runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
51
+ tree = yield runner.runSchematic('add-view', componentOptions, appTree);
52
52
  expect(tree.files).toContain('/src/app/pages/test/test.component.ts');
53
53
  expect(tree.files).toContain('/src/app/pages/test/test.component.html');
54
54
  const content = tree.readContent('/src/app/pages/test/test.component.html');
@@ -57,9 +57,9 @@ describe('view', () => {
57
57
  it('should add view to default routing module', () => __awaiter(void 0, void 0, void 0, function* () {
58
58
  const options = Object.assign(Object.assign({}, componentOptions), { addRoute: true });
59
59
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
60
- let tree = yield runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
61
- tree = yield runner.runSchematicAsync('add-view', options, tree).toPromise();
62
- tree = yield runner.runSchematicAsync('add-view', Object.assign(Object.assign({}, options), { name: 'test2' }), tree).toPromise();
60
+ let tree = yield runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
61
+ tree = yield runner.runSchematic('add-view', options, tree);
62
+ tree = yield runner.runSchematic('add-view', Object.assign(Object.assign({}, options), { name: 'test2' }), tree);
63
63
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
64
64
  expect(moduleContent).toContain(`const routes: Routes = [
65
65
  {
@@ -86,17 +86,17 @@ describe('view', () => {
86
86
  it('should add view to other routing module', () => __awaiter(void 0, void 0, void 0, function* () {
87
87
  const options = Object.assign(Object.assign({}, componentOptions), { addRoute: true, module: 'test/test-routing' });
88
88
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
89
- let tree = yield runner.runExternalSchematicAsync('@schematics/angular', 'module', {
89
+ let tree = yield runner.runExternalSchematic('@schematics/angular', 'module', {
90
90
  name: 'test',
91
91
  routing: true,
92
92
  project: 'testApp'
93
- }, appTree).toPromise();
94
- tree = yield runner.runSchematicAsync('add-layout', {
93
+ }, appTree);
94
+ tree = yield runner.runSchematic('add-layout', {
95
95
  layout: 'side-nav-outer-toolbar',
96
96
  project: 'testApp',
97
97
  name: 'test'
98
- }, tree).toPromise();
99
- tree = yield runner.runSchematicAsync('add-view', options, tree).toPromise();
98
+ }, tree);
99
+ tree = yield runner.runSchematic('add-view', options, tree);
100
100
  const moduleContent = tree.readContent('/src/app/test/test-routing.module.ts');
101
101
  expect(moduleContent).toMatch(/component: TestComponent/);
102
102
  expect(moduleContent).toMatch(/path: 'pages\/test'/);
@@ -104,11 +104,11 @@ describe('view', () => {
104
104
  }));
105
105
  it('should add view to navigation', () => __awaiter(void 0, void 0, void 0, function* () {
106
106
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
107
- let tree = yield runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
108
- tree = yield runner.runSchematicAsync('add-view', componentOptions, tree).toPromise();
107
+ let tree = yield runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
108
+ tree = yield runner.runSchematic('add-view', componentOptions, tree);
109
109
  componentOptions.name = 'some test';
110
110
  componentOptions.icon = 'home';
111
- tree = yield runner.runSchematicAsync('add-view', componentOptions, tree).toPromise();
111
+ tree = yield runner.runSchematic('add-view', componentOptions, tree);
112
112
  const moduleContent = tree.readContent('/src/app/app-navigation.ts');
113
113
  expect(moduleContent).toMatch(/text: 'Some Test'/);
114
114
  expect(moduleContent).toMatch(/icon: 'home'/);
@@ -132,8 +132,8 @@ describe('view', () => {
132
132
  it('should create new view with path', () => __awaiter(void 0, void 0, void 0, function* () {
133
133
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
134
134
  componentOptions.name = 'folder/test';
135
- let tree = yield runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
136
- tree = yield runner.runSchematicAsync('add-view', componentOptions, appTree).toPromise();
135
+ let tree = yield runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
136
+ tree = yield runner.runSchematic('add-view', componentOptions, appTree);
137
137
  expect(tree.files).toContain('/src/app/folder/test/test.component.ts');
138
138
  expect(tree.files).toContain('/src/app/folder/test/test.component.html');
139
139
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"index_spec.js","sourceRoot":"","sources":["index_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAAuF;AAEvF,6BAA6B;AAE7B,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAElE,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE;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AAI,CAAC,WAAW,CAAC,mDAAmD,CAAC,CAAC;QAC1F,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,2CAA2C,CAAC,CAAC;IAC3E,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,kCAAkC,EAAE,GAAS,EAAE;QAChD,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QACrE,gBAAgB,CAAC,IAAI,GAAG,aAAa,CAAC;QACtC,IAAI,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,wBAAwB,EAAE,EAAE,OAAO,CAAC,CAAC;QAClG,IAAI,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;QAExE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,wCAAwC,CAAC,CAAC;QACvE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,0CAA0C,CAAC,CAAC;IAC3E,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -38,14 +38,14 @@ describe('view', () => {
38
38
  let appTree: UnitTestTree;
39
39
 
40
40
  beforeEach(async () => {
41
- appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
42
- appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
41
+ appTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
42
+ appTree = await schematicRunner.runSchematic('application', appOptions, appTree);
43
43
  });
44
44
 
45
45
  it('should create new view', async () => {
46
46
  const runner = new SchematicTestRunner('schematics', collectionPath);
47
- let tree = await runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
48
- tree = await runner.runSchematicAsync('add-view', componentOptions, appTree).toPromise();
47
+ let tree = await runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
48
+ tree = await runner.runSchematic('add-view', componentOptions, appTree);
49
49
 
50
50
  expect(tree.files).toContain('/src/app/pages/test/test.component.ts');
51
51
  expect(tree.files).toContain('/src/app/pages/test/test.component.html');
@@ -59,9 +59,9 @@ describe('view', () => {
59
59
  const options = { ...componentOptions, addRoute: true };
60
60
 
61
61
  const runner = new SchematicTestRunner('schematics', collectionPath);
62
- let tree = await runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
63
- tree = await runner.runSchematicAsync('add-view', options, tree).toPromise();
64
- tree = await runner.runSchematicAsync('add-view', { ...options, name: 'test2' }, tree).toPromise();
62
+ let tree = await runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
63
+ tree = await runner.runSchematic('add-view', options, tree);
64
+ tree = await runner.runSchematic('add-view', { ...options, name: 'test2' }, tree);
65
65
  const moduleContent = tree.readContent('/src/app/app-routing.module.ts');
66
66
 
67
67
  expect(moduleContent).toContain(`const routes: Routes = [
@@ -91,18 +91,18 @@ describe('view', () => {
91
91
  const options = { ...componentOptions, addRoute: true, module: 'test/test-routing' };
92
92
 
93
93
  const runner = new SchematicTestRunner('schematics', collectionPath);
94
- let tree = await runner.runExternalSchematicAsync('@schematics/angular', 'module', {
94
+ let tree = await runner.runExternalSchematic('@schematics/angular', 'module', {
95
95
  name: 'test',
96
96
  routing: true,
97
97
  project: 'testApp'
98
- }, appTree).toPromise();
98
+ }, appTree);
99
99
 
100
- tree = await runner.runSchematicAsync('add-layout', {
100
+ tree = await runner.runSchematic('add-layout', {
101
101
  layout: 'side-nav-outer-toolbar',
102
102
  project: 'testApp',
103
103
  name: 'test'
104
- }, tree).toPromise();
105
- tree = await runner.runSchematicAsync('add-view', options, tree).toPromise();
104
+ }, tree);
105
+ tree = await runner.runSchematic('add-view', options, tree);
106
106
 
107
107
  const moduleContent = tree.readContent('/src/app/test/test-routing.module.ts');
108
108
 
@@ -113,12 +113,12 @@ describe('view', () => {
113
113
 
114
114
  it('should add view to navigation', async () => {
115
115
  const runner = new SchematicTestRunner('schematics', collectionPath);
116
- let tree = await runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
117
- tree = await runner.runSchematicAsync('add-view', componentOptions, tree).toPromise();
116
+ let tree = await runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
117
+ tree = await runner.runSchematic('add-view', componentOptions, tree);
118
118
 
119
119
  componentOptions.name = 'some test';
120
120
  componentOptions.icon = 'home';
121
- tree = await runner.runSchematicAsync('add-view', componentOptions, tree).toPromise();
121
+ tree = await runner.runSchematic('add-view', componentOptions, tree);
122
122
 
123
123
  const moduleContent = tree.readContent('/src/app/app-navigation.ts');
124
124
 
@@ -146,8 +146,8 @@ describe('view', () => {
146
146
  it('should create new view with path', async () => {
147
147
  const runner = new SchematicTestRunner('schematics', collectionPath);
148
148
  componentOptions.name = 'folder/test';
149
- let tree = await runner.runSchematicAsync('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree).toPromise();
150
- tree = await runner.runSchematicAsync('add-view', componentOptions, appTree).toPromise();
149
+ let tree = await runner.runSchematic('add-layout', { layout: 'side-nav-outer-toolbar' }, appTree);
150
+ tree = await runner.runSchematic('add-view', componentOptions, appTree);
151
151
 
152
152
  expect(tree.files).toContain('/src/app/folder/test/test.component.ts');
153
153
  expect(tree.files).toContain('/src/app/folder/test/test.component.html');
@@ -27,19 +27,18 @@ describe('install', () => {
27
27
  };
28
28
  const workspaceOptions = {
29
29
  name: 'workspace',
30
- // TODO: use angular latest-versions module
31
- version: '12.0.0'
30
+ version: '16.0.0'
32
31
  };
33
32
  const angularSchematicsCollection = require.resolve('../../node_modules/@schematics/angular/collection.json');
34
33
  const schematicRunner = new testing_1.SchematicTestRunner('@schematics/angular', angularSchematicsCollection);
35
34
  let appTree;
36
35
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
37
- appTree = yield schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
38
- appTree = yield schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
36
+ appTree = yield schematicRunner.runSchematic('workspace', workspaceOptions);
37
+ appTree = yield schematicRunner.runSchematic('application', appOptions, appTree);
39
38
  }));
40
39
  it('should add devextreme dependency (default)', () => __awaiter(void 0, void 0, void 0, function* () {
41
40
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
42
- const tree = yield runner.runSchematicAsync('install', {}, appTree).toPromise();
41
+ const tree = yield runner.runSchematic('install', {}, appTree);
43
42
  const packageConfig = JSON.parse(tree.readContent('package.json'));
44
43
  expect(packageConfig.dependencies['devextreme']).toBe(latest_versions_1.latestVersions['devextreme']);
45
44
  expect(packageConfig.dependencies['devextreme-angular']).toBe(latest_versions_1.latestVersions['devextreme-angular']);
@@ -47,27 +46,27 @@ describe('install', () => {
47
46
  }));
48
47
  it('should add devextreme dependency (custom)', () => __awaiter(void 0, void 0, void 0, function* () {
49
48
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
50
- const tree = yield runner.runSchematicAsync('install', { dxversion: '18.2.5' }, appTree).toPromise();
49
+ const tree = yield runner.runSchematic('install', { dxversion: '18.2.5' }, appTree);
51
50
  const packageConfig = JSON.parse(tree.readContent('package.json'));
52
51
  expect(packageConfig.dependencies.devextreme).toBe('18.2.5');
53
52
  expect(packageConfig.devDependencies['devextreme-themebuilder']).toBe('18.2.5');
54
53
  }));
55
54
  it('should add devextreme cli devDependency', () => __awaiter(void 0, void 0, void 0, function* () {
56
55
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
57
- const tree = yield runner.runSchematicAsync('install', { dxversion: '18.2.5' }, appTree).toPromise();
56
+ const tree = yield runner.runSchematic('install', { dxversion: '18.2.5' }, appTree);
58
57
  const packageConfig = JSON.parse(tree.readContent('package.json'));
59
58
  expect(packageConfig.devDependencies['devextreme-cli']).toBeDefined();
60
59
  }));
61
60
  it('should add devextreme styles', () => __awaiter(void 0, void 0, void 0, function* () {
62
61
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
63
- const tree = yield runner.runSchematicAsync('install', {}, appTree).toPromise();
62
+ const tree = yield runner.runSchematic('install', {}, appTree);
64
63
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
65
64
  const styles = angularConfig['projects']['testApp']['architect']['build']['options']['styles'];
66
65
  expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
67
66
  }));
68
67
  it('should register jszip', () => __awaiter(void 0, void 0, void 0, function* () {
69
68
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
70
- const tree = yield runner.runSchematicAsync('install', {}, appTree).toPromise();
69
+ const tree = yield runner.runSchematic('install', {}, appTree);
71
70
  const tsconfig = JSON.parse(tree.readContent('tsconfig.app.json'));
72
71
  const jszip = tsconfig['compilerOptions']['paths']['jszip'];
73
72
  expect(jszip[0]).toBe('./node_modules/jszip/dist/jszip.min.js');
@@ -83,9 +82,9 @@ describe('install', () => {
83
82
  skipTests: false,
84
83
  skipPackageJson: false
85
84
  };
86
- appTree = yield schematicRunner.runSchematicAsync('application', secondAppOptions, appTree).toPromise();
85
+ appTree = yield schematicRunner.runSchematic('application', secondAppOptions, appTree);
87
86
  const runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
88
- const tree = yield runner.runSchematicAsync('install', { project: 'testApp2' }, appTree).toPromise();
87
+ const tree = yield runner.runSchematic('install', { project: 'testApp2' }, appTree);
89
88
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
90
89
  const styles = angularConfig['projects']['testApp2']['architect']['build']['options']['styles'];
91
90
  expect(styles[0]).toBe('node_modules/devextreme/dist/css/dx.light.css');
@@ -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,oBAA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AC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -20,8 +20,7 @@ describe('install', () => {
20
20
 
21
21
  const workspaceOptions: WorkspaceOptions = {
22
22
  name: 'workspace',
23
- // TODO: use angular latest-versions module
24
- version: '12.0.0'
23
+ version: '16.0.0'
25
24
  };
26
25
 
27
26
  const angularSchematicsCollection = require.resolve('../../node_modules/@schematics/angular/collection.json');
@@ -29,13 +28,13 @@ describe('install', () => {
29
28
  let appTree: UnitTestTree;
30
29
 
31
30
  beforeEach(async () => {
32
- appTree = await schematicRunner.runSchematicAsync('workspace', workspaceOptions).toPromise();
33
- appTree = await schematicRunner.runSchematicAsync('application', appOptions, appTree).toPromise();
31
+ appTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
32
+ appTree = await schematicRunner.runSchematic('application', appOptions, appTree);
34
33
  });
35
34
 
36
35
  it('should add devextreme dependency (default)', async () => {
37
36
  const runner = new SchematicTestRunner('schematics', collectionPath);
38
- const tree = await runner.runSchematicAsync('install', {}, appTree).toPromise();
37
+ const tree = await runner.runSchematic('install', {}, appTree);
39
38
  const packageConfig = JSON.parse(tree.readContent('package.json'));
40
39
 
41
40
  expect(packageConfig.dependencies['devextreme']).toBe(latestVersions['devextreme']);
@@ -45,7 +44,7 @@ describe('install', () => {
45
44
 
46
45
  it('should add devextreme dependency (custom)', async () => {
47
46
  const runner = new SchematicTestRunner('schematics', collectionPath);
48
- const tree = await runner.runSchematicAsync('install', { dxversion: '18.2.5' }, appTree).toPromise();
47
+ const tree = await runner.runSchematic('install', { dxversion: '18.2.5' }, appTree);
49
48
  const packageConfig = JSON.parse(tree.readContent('package.json'));
50
49
 
51
50
  expect(packageConfig.dependencies.devextreme).toBe('18.2.5');
@@ -54,7 +53,7 @@ describe('install', () => {
54
53
 
55
54
  it('should add devextreme cli devDependency', async () => {
56
55
  const runner = new SchematicTestRunner('schematics', collectionPath);
57
- const tree = await runner.runSchematicAsync('install', { dxversion: '18.2.5' }, appTree).toPromise();
56
+ const tree = await runner.runSchematic('install', { dxversion: '18.2.5' }, appTree);
58
57
  const packageConfig = JSON.parse(tree.readContent('package.json'));
59
58
 
60
59
  expect(packageConfig.devDependencies['devextreme-cli']).toBeDefined();
@@ -62,7 +61,7 @@ describe('install', () => {
62
61
 
63
62
  it('should add devextreme styles', async () => {
64
63
  const runner = new SchematicTestRunner('schematics', collectionPath);
65
- const tree = await runner.runSchematicAsync('install', {}, appTree).toPromise();
64
+ const tree = await runner.runSchematic('install', {}, appTree);
66
65
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
67
66
  const styles = angularConfig['projects']['testApp']['architect']['build']['options']['styles'];
68
67
 
@@ -71,7 +70,7 @@ describe('install', () => {
71
70
 
72
71
  it('should register jszip', async () => {
73
72
  const runner = new SchematicTestRunner('schematics', collectionPath);
74
- const tree = await runner.runSchematicAsync('install', {}, appTree).toPromise();
73
+ const tree = await runner.runSchematic('install', {}, appTree);
75
74
  const tsconfig = JSON.parse(tree.readContent('tsconfig.app.json'));
76
75
  const jszip = tsconfig['compilerOptions']['paths']['jszip'];
77
76
 
@@ -90,10 +89,10 @@ describe('install', () => {
90
89
  skipPackageJson: false
91
90
  };
92
91
 
93
- appTree = await schematicRunner.runSchematicAsync('application', secondAppOptions, appTree).toPromise();
92
+ appTree = await schematicRunner.runSchematic('application', secondAppOptions, appTree);
94
93
 
95
94
  const runner = new SchematicTestRunner('schematics', collectionPath);
96
- const tree = await runner.runSchematicAsync('install', { project: 'testApp2' }, appTree).toPromise();
95
+ const tree = await runner.runSchematic('install', { project: 'testApp2' }, appTree);
97
96
  const angularConfig = JSON.parse(tree.readContent('angular.json'));
98
97
  const styles = angularConfig['projects']['testApp2']['architect']['build']['options']['styles'];
99
98
 
@@ -7,7 +7,7 @@
7
7
  "dxversion": {
8
8
  "type": "string",
9
9
  "description": "The DevExtreme version",
10
- "default": "23.2.6"
10
+ "default": "24.1.3"
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': '23.2.6',
7
- 'devextreme-angular': '23.2.6',
6
+ 'devextreme': '24.1.3',
7
+ 'devextreme-angular': '24.1.3',
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': '23.2.6',
4
- 'devextreme-angular': '23.2.6',
3
+ 'devextreme': '24.1.3',
4
+ 'devextreme-angular': '24.1.3',
5
5
  'devextreme-cli': 'latest'
6
6
  };