Skip to content

Commit f8ef761

Browse files
authored
Merge pull request #100 from rbalet/core-angular-update
Core - update : angular v16
2 parents 37b6ba5 + 827a71a commit f8ef761

File tree

8 files changed

+9527
-6333
lines changed

8 files changed

+9527
-6333
lines changed

angular-code-input/package.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
{
22
"name": "angular-code-input",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"description": "Code or pin code input for Angular 7 - 12, 14 + / Ionic 4, 5 + projects",
5-
"keywords": ["angular", "pincode", "angular-pincode", "otp", "code-input", "angular-otp", "ionic-otp", "ionic-code-input", "ionic-pincode"],
5+
"keywords": [
6+
"angular",
7+
"pincode",
8+
"angular-pincode",
9+
"otp",
10+
"code-input",
11+
"angular-otp",
12+
"ionic-otp",
13+
"ionic-code-input",
14+
"ionic-pincode"
15+
],
616
"author": "Alexander Dmitrenko",
717
"license": "MIT",
818
"repository": {

angular-code-input/src/test.ts

-6
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,8 @@ import {
99
platformBrowserDynamicTesting
1010
} from '@angular/platform-browser-dynamic/testing';
1111

12-
declare const require: any;
13-
1412
// First, initialize the Angular testing environment.
1513
getTestBed().initTestEnvironment(
1614
BrowserDynamicTestingModule,
1715
platformBrowserDynamicTesting()
1816
);
19-
// Then we find all the tests.
20-
const context = require.context('./', true, /\.spec\.ts$/);
21-
// And load the modules.
22-
context.keys().map(context);

angular-code-input/tsconfig.lib.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/lib",
5-
"target": "es2015",
65
"module": "es2015",
76
"moduleResolution": "node",
87
"declaration": true,
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "./tsconfig.lib.json",
4+
"compilerOptions": {
5+
"declarationMap": false
6+
},
7+
"angularCompilerOptions": {
8+
"compilationMode": "partial"
9+
}
10+
}

angular.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"options": {
1515
"tsConfig": "angular-code-input/tsconfig.lib.json",
1616
"project": "angular-code-input/ng-package.json"
17+
},
18+
"configurations": {
19+
"production": {
20+
"tsConfig": "angular-code-input/tsconfig.lib.prod.json"
21+
}
1722
}
1823
},
1924
"test": {
@@ -38,6 +43,5 @@
3843
}
3944
}
4045
}
41-
},
42-
"defaultProject": "angular-code-input"
43-
}
46+
}
47+
}

0 commit comments

Comments
 (0)