Skip to content

Commit cdba82e

Browse files
author
Ralf Saenen
committed
Release 9.0.0
1 parent 11920ce commit cdba82e

13 files changed

+14179
-249
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
/node_modules
1212

1313
# profiling files
14-
chrome-profiler-events.json
15-
speed-measure-plugin.json
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
1616

1717
# IDEs and editors
1818
/.idea

angular.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
3+
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
66
"ngx-custom-validators": {
77
"projectType": "application",
8-
"schematics": {
9-
"@schematics/angular:component": {
10-
"style": "scss"
11-
}
12-
},
8+
"schematics": {},
139
"root": "",
1410
"sourceRoot": "src",
1511
"prefix": "app",
@@ -22,7 +18,7 @@
2218
"main": "src/main.ts",
2319
"polyfills": "src/polyfills.ts",
2420
"tsConfig": "tsconfig.app.json",
25-
"aot": false,
21+
"aot": true,
2622
"assets": [
2723
"src/favicon.ico",
2824
"src/assets"
@@ -45,7 +41,6 @@
4541
"sourceMap": false,
4642
"extractCss": true,
4743
"namedChunks": false,
48-
"aot": true,
4944
"extractLicenses": true,
5045
"vendorChunk": false,
5146
"buildOptimizer": true,
@@ -54,6 +49,11 @@
5449
"type": "initial",
5550
"maximumWarning": "2mb",
5651
"maximumError": "5mb"
52+
},
53+
{
54+
"type": "anyComponentStyle",
55+
"maximumWarning": "6kb",
56+
"maximumError": "10kb"
5757
}
5858
]
5959
}
@@ -121,4 +121,4 @@
121121
}
122122
}},
123123
"defaultProject": "ngx-custom-validators"
124-
}
124+
}

e2e/protractor.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.config = {
1313
'./src/**/*.e2e-spec.ts'
1414
],
1515
capabilities: {
16-
'browserName': 'chrome'
16+
browserName: 'chrome'
1717
},
1818
directConnect: true,
1919
baseUrl: 'http://localhost:4200/',

e2e/src/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('workspace-project App', () => {
1010

1111
it('should display welcome message', () => {
1212
page.navigateTo();
13-
expect(page.getTitleText()).toEqual('Welcome to ngx-custom-validators!');
13+
expect(page.getTitleText()).toEqual('ngx-custom-validators app is running!');
1414
});
1515

1616
afterEach(async () => {

e2e/src/app.po.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { browser, by, element } from 'protractor';
22

33
export class AppPage {
4-
navigateTo() {
5-
return browser.get(browser.baseUrl) as Promise<any>;
4+
navigateTo(): Promise<unknown> {
5+
return browser.get(browser.baseUrl) as Promise<unknown>;
6+
}
7+
8+
getTitleText(): Promise<string> {
9+
return element(by.css('app-root .content span')).getText() as Promise<string>;
610
}
711
}

0 commit comments

Comments
 (0)