Skip to content

Commit 4e68869

Browse files
committed
Updated environment to Angular 10.0.9
1 parent 7b96578 commit 4e68869

File tree

8 files changed

+3000
-2952
lines changed

8 files changed

+3000
-2952
lines changed

angular-code-input/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-code-input",
33
"version": "1.2.2",
4-
"description": "Code or pin code input for Angular 7, 8, 9 + / Ionic 4, 5 + projects",
4+
"description": "Code or pin code input for Angular 7, 8, 9, 10 + / Ionic 4, 5 + projects",
55
"keywords": ["angular", "pincode", "angular-pincode", "otp", "code-input", "angular-otp", "ionic-otp", "ionic-code-input", "ionic-pincode"],
66
"author": "Alexander Dmitrenko",
77
"license": "MIT",

angular-code-input/tsconfig.lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/lib",
55
"target": "es2015",

angular-code-input/tsconfig.spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"types": [

package-lock.json

+2,859-2,892
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,40 @@
1919
},
2020
"private": false,
2121
"dependencies": {
22-
"@angular/animations": "~9.1.11",
23-
"@angular/common": "~9.1.11",
24-
"@angular/compiler": "~9.1.11",
25-
"@angular/core": "~9.1.11",
26-
"@angular/forms": "~9.1.11",
27-
"@angular/platform-browser": "~9.1.11",
28-
"@angular/platform-browser-dynamic": "~9.1.11",
29-
"@angular/router": "~9.1.11",
22+
"@angular/animations": "~10.0.9",
23+
"@angular/common": "~10.0.9",
24+
"@angular/compiler": "~10.0.9",
25+
"@angular/core": "~10.0.9",
26+
"@angular/forms": "~10.0.9",
27+
"@angular/platform-browser": "~10.0.9",
28+
"@angular/platform-browser-dynamic": "~10.0.9",
29+
"@angular/router": "~10.0.9",
3030
"rxjs": "~6.5.5",
31-
"tslib": "^1.10.0",
31+
"tslib": "^2.0.0",
3232
"zone.js": "~0.10.3"
3333
},
3434
"devDependencies": {
35-
"@angular-devkit/build-angular": "~0.901.9",
36-
"@angular-devkit/build-ng-packagr": "~0.901.9",
37-
"@angular/cli": "~9.1.9",
38-
"@angular/compiler-cli": "~9.1.11",
39-
"@angular/language-service": "~9.1.11",
35+
"@angular-devkit/build-angular": "~0.1000.6",
36+
"@angular-devkit/build-ng-packagr": "~0.1000.6",
37+
"@angular/cli": "~10.0.6",
38+
"@angular/compiler-cli": "~10.0.9",
39+
"@angular/language-service": "~10.0.9",
4040
"@types/jasmine": "~3.5.0",
4141
"@types/jasminewd2": "~2.0.3",
4242
"@types/node": "^12.11.1",
43-
"codelyzer": "^5.1.2",
43+
"codelyzer": "^6.0.0",
4444
"core-js": "^3.6.4",
4545
"jasmine-core": "~3.5.0",
46-
"jasmine-spec-reporter": "~4.2.1",
47-
"karma": "~4.3.0",
46+
"jasmine-spec-reporter": "~5.0.0",
47+
"karma": "~5.0.0",
4848
"karma-chrome-launcher": "~3.1.0",
49-
"karma-coverage-istanbul-reporter": "~2.1.0",
50-
"karma-jasmine": "~2.0.1",
51-
"karma-jasmine-html-reporter": "^1.4.2",
52-
"ng-packagr": "^9.0.0",
53-
"protractor": "~5.4.3",
49+
"karma-coverage-istanbul-reporter": "~3.0.2",
50+
"karma-jasmine": "~3.3.0",
51+
"karma-jasmine-html-reporter": "^1.5.0",
52+
"ng-packagr": "^10.0.0",
53+
"protractor": "~7.0.0",
5454
"ts-node": "~8.3.0",
55-
"tslint": "~5.18.0",
56-
"typescript": "~3.7.5"
55+
"tslint": "~6.1.0",
56+
"typescript": "~3.9.7"
5757
}
5858
}

tsconfig.base.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"downlevelIteration": true,
6+
"outDir": "./dist/out-tsc",
7+
"sourceMap": true,
8+
"declaration": false,
9+
"module": "es2020",
10+
"moduleResolution": "node",
11+
"emitDecoratorMetadata": true,
12+
"experimentalDecorators": true,
13+
"importHelpers": true,
14+
"target": "es2015",
15+
"typeRoots": [
16+
"node_modules/@types"
17+
],
18+
"lib": [
19+
"es2018",
20+
"dom"
21+
],
22+
"paths": {
23+
"code-input": [
24+
"dist/code-input"
25+
],
26+
"code-input/*": [
27+
"dist/code-input/*"
28+
]
29+
}
30+
},
31+
"angularCompilerOptions": {
32+
"enableIvy": false
33+
}
34+
}

tsconfig.json

+15-32
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,17 @@
1+
/*
2+
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
3+
It is not intended to be used to perform a compilation.
4+
5+
To learn more about this file see: https://angular.io/config/solution-tsconfig.
6+
*/
17
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"baseUrl": "./",
5-
"downlevelIteration": true,
6-
"outDir": "./dist/out-tsc",
7-
"sourceMap": true,
8-
"declaration": false,
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"emitDecoratorMetadata": true,
12-
"experimentalDecorators": true,
13-
"importHelpers": true,
14-
"target": "es2015",
15-
"typeRoots": [
16-
"node_modules/@types"
17-
],
18-
"lib": [
19-
"es2018",
20-
"dom"
21-
],
22-
"paths": {
23-
"code-input": [
24-
"dist/code-input"
25-
],
26-
"code-input/*": [
27-
"dist/code-input/*"
28-
]
8+
"files": [],
9+
"references": [
10+
{
11+
"path": "./angular-code-input/tsconfig.lib.json"
12+
},
13+
{
14+
"path": "./angular-code-input/tsconfig.spec.json"
2915
}
30-
},
31-
"angularCompilerOptions": {
32-
"enableIvy": false
33-
}
34-
}
16+
]
17+
}

tslint.json

+65-1
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,30 @@
44
"codelyzer"
55
],
66
"rules": {
7+
"align": {
8+
"options": [
9+
"parameters",
10+
"statements"
11+
]
12+
},
713
"array-type": false,
814
"arrow-parens": false,
15+
"arrow-return-shorthand": true,
16+
"curly": true,
917
"deprecation": {
1018
"severity": "warn"
1119
},
20+
"eofline": true,
1221
"import-blacklist": [
1322
true,
1423
"rxjs/Rx"
1524
],
25+
"import-spacing": true,
26+
"indent": {
27+
"options": [
28+
"spaces"
29+
]
30+
},
1631
"interface-name": false,
1732
"max-classes-per-file": false,
1833
"max-line-length": [
@@ -59,16 +74,65 @@
5974
true,
6075
"single"
6176
],
77+
"semicolon": {
78+
"options": [
79+
"always"
80+
]
81+
},
82+
"space-before-function-paren": {
83+
"options": {
84+
"anonymous": "never",
85+
"asyncArrow": "always",
86+
"constructor": "never",
87+
"method": "never",
88+
"named": "never"
89+
}
90+
},
6291
"trailing-comma": false,
6392
"no-output-on-prefix": true,
6493
"no-inputs-metadata-property": true,
6594
"no-outputs-metadata-property": true,
6695
"no-host-metadata-property": true,
6796
"no-input-rename": true,
6897
"no-output-rename": true,
98+
"typedef-whitespace": {
99+
"options": [
100+
{
101+
"call-signature": "nospace",
102+
"index-signature": "nospace",
103+
"parameter": "nospace",
104+
"property-declaration": "nospace",
105+
"variable-declaration": "nospace"
106+
},
107+
{
108+
"call-signature": "onespace",
109+
"index-signature": "onespace",
110+
"parameter": "onespace",
111+
"property-declaration": "onespace",
112+
"variable-declaration": "onespace"
113+
}
114+
]
115+
},
69116
"use-lifecycle-interface": true,
70117
"use-pipe-transform-interface": true,
71118
"component-class-suffix": true,
72119
"directive-class-suffix": true
73-
}
120+
, "variable-name": {
121+
"options": [
122+
"ban-keywords",
123+
"check-format",
124+
"allow-pascal-case"
125+
]
126+
},
127+
"whitespace": {
128+
"options": [
129+
"check-branch",
130+
"check-decl",
131+
"check-operator",
132+
"check-separator",
133+
"check-type",
134+
"check-typecast"
135+
]
136+
}
137+
}
74138
}

0 commit comments

Comments
 (0)