Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f8ef761

Browse files
authoredJun 15, 2023
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

Lines changed: 12 additions & 2 deletions
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

Lines changed: 0 additions & 6 deletions
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

Lines changed: 0 additions & 1 deletion
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,
Lines changed: 10 additions & 0 deletions
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

Lines changed: 7 additions & 3 deletions
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+
}

‎package-lock.json

Lines changed: 9457 additions & 6272 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "angular-code-input-workspace",
3-
"version": "1.4.0",
3+
"version": "1.7.0",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve",
88
"build": "ng build",
99
"test": "ng test",
1010
"lint": "ng lint",
11-
"e2e": "ng e2e"
11+
"e2e": "ng e2e",
12+
"publish": "ng build angular-code-input --configuration production && npm publish ./dist/angular-code-input"
1213
},
1314
"repository": {
1415
"type": "git",
@@ -19,40 +20,39 @@
1920
},
2021
"private": false,
2122
"dependencies": {
22-
"@angular/animations": "~14.1.1",
23-
"@angular/common": "~14.1.1",
24-
"@angular/compiler": "~14.1.1",
25-
"@angular/core": "~14.1.1",
26-
"@angular/forms": "~14.1.1",
27-
"@angular/platform-browser": "~14.1.1",
28-
"@angular/platform-browser-dynamic": "~14.1.1",
29-
"@angular/router": "~14.1.1",
30-
"rxjs": "~7.5.6",
31-
"tsickle": "^0.46.3",
32-
"tslib": "^2.4.0",
33-
"zone.js": "~0.11.6"
23+
"@angular/animations": "^16.0.2",
24+
"@angular/common": "^16.0.2",
25+
"@angular/compiler": "^16.0.2",
26+
"@angular/core": "^16.0.2",
27+
"@angular/forms": "^16.0.2",
28+
"@angular/platform-browser": "^16.0.2",
29+
"@angular/platform-browser-dynamic": "^16.0.2",
30+
"@angular/router": "^16.0.2",
31+
"rxjs": "^7.8.1",
32+
"tslib": "^2.5.2",
33+
"zone.js": "^0.13.0"
3434
},
3535
"devDependencies": {
36-
"@angular-devkit/build-angular": "~14.1.1",
37-
"@angular/cli": "~14.1.1",
38-
"@angular/compiler-cli": "~14.1.1",
39-
"@angular/language-service": "~14.1.1",
40-
"@types/jasmine": "~4.0.3",
41-
"@types/jasminewd2": "~2.0.10",
42-
"@types/node": "^18.0.3",
36+
"@angular-devkit/build-angular": "^16.0.2",
37+
"@angular/cli": "^16.0.2",
38+
"@angular/compiler-cli": "^16.0.2",
39+
"@angular/language-service": "^16.0.2",
40+
"@types/jasmine": "^4.3.1",
41+
"@types/jasminewd2": "^2.0.10",
42+
"@types/node": "^20.2.3",
4343
"codelyzer": "^6.0.2",
44-
"core-js": "^3.23.4",
45-
"jasmine-core": "~4.2.0",
46-
"jasmine-spec-reporter": "~7.0.0",
47-
"karma": "~6.4.0",
48-
"karma-chrome-launcher": "~3.1.1",
49-
"karma-coverage-istanbul-reporter": "~3.0.3",
50-
"karma-jasmine": "~5.1.0",
44+
"core-js": "^3.30.2",
45+
"jasmine-core": "^4.2.0",
46+
"jasmine-spec-reporter": "^7.0.0",
47+
"karma": "^6.4.2",
48+
"karma-chrome-launcher": "^3.2.0",
49+
"karma-coverage-istanbul-reporter": "^3.0.3",
50+
"karma-jasmine": "^5.1.0",
5151
"karma-jasmine-html-reporter": "^2.0.0",
52-
"ng-packagr": "^14.0.3",
53-
"protractor": "~7.0.0",
54-
"ts-node": "~10.8.2",
55-
"tslint": "~6.1.0",
56-
"typescript": "^4.7.4"
52+
"ng-packagr": "^16.0.1",
53+
"protractor": "^7.0.0",
54+
"ts-node": "^10.9.1",
55+
"tslint": "^6.1.3",
56+
"typescript": "~5.0.4"
5757
}
5858
}

‎tsconfig.json

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,16 @@
1010
"moduleResolution": "node",
1111
"experimentalDecorators": true,
1212
"importHelpers": true,
13-
"target": "es2015",
14-
"typeRoots": [
15-
"node_modules/@types"
16-
],
17-
"lib": [
18-
"es2018",
19-
"dom"
20-
],
13+
"target": "ES2022",
14+
"typeRoots": ["node_modules/@types"],
15+
"lib": ["es2018", "dom"],
2116
"paths": {
22-
"code-input": [
23-
"dist/code-input"
24-
],
25-
"code-input/*": [
26-
"dist/code-input/*"
27-
]
28-
}
17+
"code-input": ["dist/code-input"],
18+
"code-input/*": ["dist/code-input/*"]
19+
},
20+
"useDefineForClassFields": false
2921
},
3022
"angularCompilerOptions": {
31-
"compilationMode": "partial"
23+
"strictTemplates": true
3224
}
3325
}

0 commit comments

Comments
 (0)
Please sign in to comment.