Skip to content

Commit c8c15ef

Browse files
committed
update to angular 10
1 parent 60f1256 commit c8c15ef

15 files changed

+1928
-2239
lines changed
File renamed without changes.

e2e/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
6-
"target": "es5",
6+
"target": "es2018",
77
"types": [
88
"jasmine",
99
"jasminewd2",

package-lock.json

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

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "~9.1.12",
15-
"@angular/common": "~9.1.12",
16-
"@angular/compiler": "~9.1.12",
17-
"@angular/core": "~9.1.12",
18-
"@angular/forms": "~9.1.12",
19-
"@angular/platform-browser": "~9.1.12",
20-
"@angular/platform-browser-dynamic": "~9.1.12",
21-
"@angular/router": "~9.1.12",
14+
"@angular/animations": "~10.0.4",
15+
"@angular/common": "~10.0.4",
16+
"@angular/compiler": "~10.0.4",
17+
"@angular/core": "~10.0.4",
18+
"@angular/forms": "~10.0.4",
19+
"@angular/platform-browser": "~10.0.4",
20+
"@angular/platform-browser-dynamic": "~10.0.4",
21+
"@angular/router": "~10.0.4",
2222
"rxjs": "~6.6.0",
23-
"tslib": "^1.10.0",
23+
"tslib": "^2.0.0",
2424
"zone.js": "~0.10.2"
2525
},
2626
"devDependencies": {
27-
"@angular-devkit/build-angular": "~0.901.11",
28-
"@angular-devkit/build-ng-packagr": "~0.901.11",
29-
"@angular/cli": "~9.1.11",
30-
"@angular/compiler-cli": "~9.1.12",
31-
"@angular/language-service": "~9.1.12",
27+
"@angular-devkit/build-angular": "~0.1000.3",
28+
"@angular-devkit/build-ng-packagr": "~0.1000.3",
29+
"@angular/cli": "~10.0.3",
30+
"@angular/compiler-cli": "~10.0.4",
31+
"@angular/language-service": "~10.0.4",
3232
"@types/node": "^12.11.1",
3333
"@types/jasmine": "~3.3.8",
3434
"@types/jasminewd2": "~2.0.3",
35-
"codelyzer": "^5.1.2",
36-
"jasmine-core": "~3.4.0",
37-
"jasmine-spec-reporter": "~4.2.1",
38-
"karma": "~4.1.0",
39-
"karma-chrome-launcher": "~2.2.0",
40-
"karma-coverage-istanbul-reporter": "~2.0.1",
41-
"karma-jasmine": "~2.0.1",
42-
"karma-jasmine-html-reporter": "^1.4.0",
43-
"ng-packagr": "^9.0.0",
44-
"protractor": "~5.4.0",
35+
"codelyzer": "^6.0.0",
36+
"jasmine-core": "~3.5.0",
37+
"jasmine-spec-reporter": "~5.0.0",
38+
"karma": "~5.0.0",
39+
"karma-chrome-launcher": "~3.1.0",
40+
"karma-coverage-istanbul-reporter": "~3.0.2",
41+
"karma-jasmine": "~3.3.0",
42+
"karma-jasmine-html-reporter": "^1.5.0",
43+
"ng-packagr": "^10.0.0",
44+
"protractor": "~7.0.0",
4545
"ts-node": "~7.0.0",
46-
"tslint": "~5.15.0",
47-
"typescript": "~3.8.3"
46+
"tslint": "~6.1.0",
47+
"typescript": "~3.9.7"
4848
}
4949
}

projects/ngx-vibration/package.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
{
2-
"name": "ngx-vibration",
3-
"version": "0.0.5",
4-
"repository": {
5-
"type": "git",
6-
"url": "https://github.com/spacycoder/ngx-vibration.git"
7-
},
8-
"license": "MIT",
9-
"author": "spacycoder",
10-
"peerDependencies": {
11-
"@angular/common": "^8.2.2",
12-
"@angular/core": "^8.2.2"
1+
{
2+
"name": "ngx-vibration",
3+
"version": "0.0.5",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/spacycoder/ngx-vibration.git"
7+
},
8+
"license": "MIT",
9+
"author": "spacycoder",
10+
"peerDependencies": {
11+
"@angular/common": "^8.2.2",
12+
"@angular/core": "^8.2.2"
13+
},
14+
"dependencies": {
15+
"tslib": "^2.0.0"
1316
}
14-
}
17+
}
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { NgModule } from '@angular/core';
2-
import { VibrationDirective } from './vibration.directive';
1+
import { NgModule } from "@angular/core";
2+
import { VibrationDirective } from "./vibration.directive";
33

44
@NgModule({
55
declarations: [VibrationDirective],
6-
imports: [
7-
],
8-
exports: [VibrationDirective]
6+
imports: [],
7+
exports: [VibrationDirective],
98
})
10-
export class NgxVibrationModule { }
9+
export class NgxVibrationModule {}

projects/ngx-vibration/src/lib/vibration.directive.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
import { Directive, Input, HostListener } from '@angular/core';
2-
import { NgxVibrationService } from './ngx-vibration.service';
1+
import { Directive, Input, HostListener } from "@angular/core";
2+
import { NgxVibrationService } from "./ngx-vibration.service";
33

44
@Directive({
5-
selector: '[ngxVibration]'
5+
selector: "[ngxVibration]",
66
})
77
export class VibrationDirective {
8-
@Input('ngxVibration')
8+
@Input("ngxVibration")
99
vibratePattern: number[];
1010

1111
constructor(private vibrationService: NgxVibrationService) {}
1212

13-
@HostListener('touch')
14-
@HostListener('click')
13+
@HostListener("touch")
14+
@HostListener("click")
1515
private vibrate() {
1616
this.vibrationService.vibrate(this.vibratePattern);
1717
}

projects/ngx-vibration/src/public-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
* Public API Surface of ngx-vibration
33
*/
44

5-
export * from './lib/ngx-vibration.service';
6-
export * from './lib/vibration.directive';
7-
export * from './lib/ngx-vibration.module';
5+
export * from "./lib/ngx-vibration.service";
6+
export * from "./lib/vibration.directive";
7+
export * from "./lib/ngx-vibration.module";

projects/ngx-vibration/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
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",

projects/ngx-vibration/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
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": [

0 commit comments

Comments
 (0)