Skip to content

Commit 35adb40

Browse files
committed
chore(deps): update dependencies
1 parent 51ca283 commit 35adb40

16 files changed

+1638
-1668
lines changed

angular.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"optimization": true,
4444
"outputHashing": "all",
4545
"sourceMap": false,
46-
"extractCss": true,
4746
"namedChunks": false,
4847
"extractLicenses": true,
4948
"vendorChunk": false,
@@ -131,7 +130,7 @@
131130
"prefix": "lib",
132131
"architect": {
133132
"build": {
134-
"builder": "@angular-devkit/build-ng-packagr:build",
133+
"builder": "@angular-devkit/build-angular:ng-packagr",
135134
"options": {
136135
"tsConfig": "projects/ngx-slimscroll/tsconfig.lib.json",
137136
"project": "projects/ngx-slimscroll/ng-package.json"

e2e/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.base.json",
2+
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",

package.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,44 @@
1515
},
1616
"private": true,
1717
"dependencies": {
18-
"@angular/animations": "~10.0.4",
19-
"@angular/common": "~10.0.4",
20-
"@angular/compiler": "~10.0.4",
21-
"@angular/core": "~10.0.4",
22-
"@angular/forms": "~10.0.4",
23-
"@angular/platform-browser": "~10.0.4",
24-
"@angular/platform-browser-dynamic": "~10.0.4",
25-
"@angular/router": "~10.0.4",
18+
"@angular/animations": "~11.0.5",
19+
"@angular/common": "~11.0.5",
20+
"@angular/compiler": "~11.0.5",
21+
"@angular/core": "~11.0.5",
22+
"@angular/forms": "~11.0.5",
23+
"@angular/platform-browser": "~11.0.5",
24+
"@angular/platform-browser-dynamic": "~11.0.5",
25+
"@angular/router": "~11.0.5",
2626
"rxjs": "~6.5.4",
2727
"tslib": "^2.0.0",
2828
"zone.js": "~0.10.2"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "~0.1000.3",
32-
"@angular-devkit/build-ng-packagr": "~0.1000.3",
33-
"@angular/cli": "~10.0.3",
34-
"@angular/compiler-cli": "~10.0.4",
35-
"@angular/language-service": "~10.0.4",
36-
"@types/jasmine": "~3.5.0",
31+
"@angular-devkit/build-angular": "~0.1100.5",
32+
"@angular/cli": "~11.0.5",
33+
"@angular/compiler-cli": "~11.0.5",
34+
"@angular/language-service": "~11.0.5",
35+
"@types/jasmine": "~3.6.0",
3736
"@types/jasminewd2": "~2.0.3",
3837
"@types/node": "^12.11.1",
3938
"bulma": "^0.8.2",
4039
"codelyzer": "^6.0.0",
4140
"conventional-changelog": "^3.1.21",
4241
"conventional-changelog-angular": "^5.0.10",
43-
"jasmine-core": "~3.5.0",
42+
"jasmine-core": "~3.6.0",
4443
"jasmine-spec-reporter": "~5.0.0",
45-
"karma": "~5.0.0",
44+
"karma": "~5.1.1",
4645
"karma-chrome-launcher": "~3.1.0",
4746
"karma-coverage-istanbul-reporter": "~3.0.2",
48-
"karma-jasmine": "~3.3.0",
47+
"karma-jasmine": "~4.0.0",
4948
"karma-jasmine-html-reporter": "^1.5.0",
50-
"ng-packagr": "^10.0.0",
49+
"ng-packagr": "^11.0.3",
5150
"protractor": "~7.0.0",
5251
"standard-changelog": "^2.0.24",
5352
"ts-loader": "^7.0.5",
5453
"ts-node": "~8.3.0",
5554
"tslint": "~6.1.0",
56-
"typescript": "~3.9.7",
55+
"typescript": "~4.0.5",
5756
"webpack": "^4.43.0",
5857
"webpack-cli": "^3.3.11"
5958
}

projects/ngx-slimscroll/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "ngx-slimscroll",
3-
"version": "10.0.0",
3+
"version": "11.0.0",
44
"peerDependencies": {
5-
"@angular/common": "~10.0.4",
6-
"@angular/core": "~10.0.4"
5+
"@angular/common": ">= 10.0.0",
6+
"@angular/core": ">= 10.0.0"
77
},
88
"dependencies": {
99
"tslib": "^2.0.0"

projects/ngx-slimscroll/tsconfig.lib.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"extends": "../../tsconfig.base.json",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
5+
"declarationMap": true,
56
"target": "es2015",
67
"declaration": true,
78
"inlineSources": true,

projects/ngx-slimscroll/tsconfig.lib.prod.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "./tsconfig.lib.json",
3+
"compilerOptions": {
4+
"declarationMap": false
5+
},
36
"angularCompilerOptions": {
47
"enableIvy": false
58
}

projects/ngx-slimscroll/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.base.json",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/spec",
55
"types": [

src/app/app.component.sass

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.scroll-window
2+
width: 100%
3+
height: 300px
4+
padding: 10px
5+
font-size: 15px
6+
line-height: 20px

src/app/app.component.spec.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
async,
3-
fakeAsync,
4-
TestBed,
5-
ComponentFixture,
6-
} from '@angular/core/testing';
1+
import { fakeAsync, TestBed, ComponentFixture, waitForAsync } from '@angular/core/testing';
72
import { By } from '@angular/platform-browser';
83
import { DebugElement } from '@angular/core';
94
import { AppComponent } from './app.component';
@@ -15,7 +10,7 @@ describe(`Slimscroll Directive`, () => {
1510
let de: DebugElement;
1611
let dir: SlimScrollDirective;
1712

18-
beforeEach(async(() => {
13+
beforeEach(waitForAsync(() => {
1914
TestBed.configureTestingModule({
2015
declarations: [AppComponent, SlimScrollDirective]
2116
}).compileComponents();

src/app/app.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { ISlimScrollOptions, SlimScrollState, ISlimScrollState, SlimScrollEvent
33

44
@Component({
55
selector: 'app-root',
6-
templateUrl: './app.component.html'
6+
templateUrl: './app.component.html',
7+
styleUrls: ['./app.component.sass']
78
})
89
export class AppComponent implements OnInit {
910
options: ISlimScrollOptions;

src/styles.sass

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,5 @@ html, body
1111
button
1212
outline: none
1313

14-
.scroll-window
15-
width: 100%
16-
height: 300px
17-
padding: 10px
18-
font-size: 15px
19-
line-height: 20px
20-
2114
.column
2215
margin-bottom: 10px

tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.base.json",
2+
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./out-tsc/app",
55
"types": []

tsconfig.base.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

tsconfig.json

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
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-
*/
71
{
8-
"files": [],
9-
"references": [
10-
{
11-
"path": "./tsconfig.app.json"
12-
},
13-
{
14-
"path": "./tsconfig.spec.json"
15-
},
16-
{
17-
"path": "./projects/ngx-slimscroll/tsconfig.lib.json"
18-
},
19-
{
20-
"path": "./projects/ngx-slimscroll/tsconfig.spec.json"
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"outDir": "./dist/out-tsc",
6+
"sourceMap": true,
7+
"declaration": false,
8+
"downlevelIteration": true,
9+
"experimentalDecorators": true,
10+
"module": "es2020",
11+
"moduleResolution": "node",
12+
"importHelpers": true,
13+
"target": "es2015",
14+
"lib": [
15+
"es2018",
16+
"dom"
17+
],
18+
"paths": {
19+
"ngx-slimscroll": [
20+
"projects/ngx-slimscroll/src/public-api"
21+
]
2122
}
22-
]
23-
}
23+
},
24+
"angularCompilerOptions": {
25+
"fullTemplateTypeCheck": true,
26+
"strictInjectionParameters": true
27+
}
28+
}

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.base.json",
2+
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./out-tsc/spec",
55
"types": [

0 commit comments

Comments
 (0)