Skip to content

Commit d1b505e

Browse files
beemanGregg B. Jensen
andauthored
Update to Angular 10 (angular-split#275)
Co-authored-by: Gregg B. Jensen <[email protected]>
1 parent ad6360a commit d1b505e

20 files changed

+2663
-2193
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
<a name="5.0.0-beta.1"></a>
2+
3+
# 5.0.0-beta.1 (2020-09-06)
4+
5+
- **Fix** Make type of gutterSize getter/setter consistent
6+
7+
<a name="5.0.0-beta.0"></a>
8+
9+
# 5.0.0-beta.0 (2020-08-30)
10+
11+
- **Chore** Update project to Angular 10 [#256](https://github.com/angular-split/angular-split/issues/256) thanks to [greggbjensen](https://github.com/greggbjensen)!
12+
113
<a name="4.0.0"></a>
214

315
# 4.0.0 (2020-07-24)

angular.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "app",
1111
"schematics": {
1212
"@schematics/angular:component": {
13-
"styleext": "scss"
13+
"style": "scss"
1414
}
1515
},
1616
"architect": {
@@ -77,7 +77,7 @@
7777
"prefix": "app-lazy",
7878
"schematics": {
7979
"@schematics/angular:component": {
80-
"styleext": "scss"
80+
"style": "scss"
8181
}
8282
},
8383
"architect": {
@@ -140,7 +140,7 @@
140140
"prefix": "app-lazy2",
141141
"schematics": {
142142
"@schematics/angular:component": {
143-
"styleext": "scss"
143+
"style": "scss"
144144
}
145145
},
146146
"architect": {

cypress/integration/5.style.spec.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,46 +27,46 @@
2727
},
2828
"private": true,
2929
"dependencies": {
30-
"@angular/animations": "8.2.14",
31-
"@angular/common": "8.2.14",
32-
"@angular/compiler": "8.2.14",
33-
"@angular/core": "8.2.14",
34-
"@angular/forms": "8.2.14",
35-
"@angular/platform-browser": "8.2.14",
36-
"@angular/platform-browser-dynamic": "8.2.14",
37-
"@angular/router": "8.2.14",
30+
"@angular/animations": "10.2.3",
31+
"@angular/common": "10.2.3",
32+
"@angular/compiler": "10.2.3",
33+
"@angular/core": "10.2.3",
34+
"@angular/forms": "10.2.3",
35+
"@angular/platform-browser": "10.2.3",
36+
"@angular/platform-browser-dynamic": "10.2.3",
37+
"@angular/router": "10.2.3",
3838
"angular-cli-ghpages": "^0.6.2",
3939
"bootstrap": "4.3.1",
4040
"core-js": "2.6.5",
4141
"husky": "^4.2.5",
4242
"lint-staged": "^10.2.11",
4343
"lodash": "4.17.19",
44-
"marked": "0.6.1",
44+
"marked": "1.1.1",
4545
"ngx-bootstrap": "3.2.0",
4646
"prettier": "^2.0.5",
47-
"rxjs": "6.6.0",
48-
"zone.js": "0.9.1"
47+
"rxjs": "6.6.2",
48+
"zone.js": "0.10.3"
4949
},
5050
"devDependencies": {
51-
"@angular-devkit/build-angular": "0.803.29",
52-
"@angular-devkit/build-ng-packagr": "0.803.29",
53-
"@angular/cli": "8.3.29",
54-
"@angular/compiler-cli": "8.2.14",
55-
"@angular/language-service": "8.2.14",
56-
"@types/node": "10.12.3",
57-
"codelyzer": "4.5.0",
58-
"concurrently": "4.0.1",
51+
"@angular-devkit/build-angular": "0.1002.0",
52+
"@angular-devkit/build-ng-packagr": "0.1002.0",
53+
"@angular/cli": "10.2.0",
54+
"@angular/compiler-cli": "10.2.3",
55+
"@angular/language-service": "10.2.3",
56+
"@types/node": "14.0.27",
57+
"codelyzer": "^6.0.0",
58+
"concurrently": "5.3.0",
5959
"cpx": "1.5.0",
60-
"cypress": "3.2.0",
61-
"http-server": "0.11.1",
62-
"ng-packagr": "5.7.1",
63-
"npm-run-all": "4.1.3",
64-
"ts-node": "7.0.1",
65-
"tsickle": "0.35.0",
66-
"tslib": "1.13.0",
67-
"tslint": "5.11.0",
68-
"typescript": "3.5.3",
69-
"webpack-bundle-analyzer": "3.3.2"
60+
"cypress": "4.12.1",
61+
"http-server": "^0.12.3",
62+
"ng-packagr": "^10.0.3",
63+
"npm-run-all": "4.1.5",
64+
"ts-node": "8.10.2",
65+
"tsickle": "0.39.1",
66+
"tslib": "^2.0.1",
67+
"tslint": "~6.1.3",
68+
"typescript": "3.9.7",
69+
"webpack-bundle-analyzer": "3.8.0"
7070
},
7171
"husky": {
7272
"hooks": {

projects/angular-split/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-split",
3-
"version": "4.0.0",
3+
"version": "5.0.0-beta.1",
44
"description": "Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.",
55
"author": "bertrandg",
66
"repository": {
@@ -27,8 +27,11 @@
2727
],
2828
"license": "Apache-2.0",
2929
"peerDependencies": {
30-
"@angular/common": ">=8.0.0",
31-
"@angular/core": ">=8.0.0",
30+
"@angular/common": ">=9.0.0",
31+
"@angular/core": ">=9.0.0",
3232
"rxjs": ">=6.0.0"
33+
},
34+
"dependencies": {
35+
"tslib": "^2.0.0"
3336
}
3437
}

projects/angular-split/src/lib/component/split.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ export class SplitComponent implements AfterViewInit, OnDestroy {
122122

123123
////
124124

125-
private _gutterSize: number = 11
125+
private _gutterSize: number | null = 11
126126

127127
@Input() set gutterSize(v: number | null) {
128128
this._gutterSize = getInputPositiveNumber(v, 11)
129129

130130
this.build(false, false)
131131
}
132132

133-
get gutterSize(): number {
133+
get gutterSize(): number | null {
134134
return this._gutterSize
135135
}
136136

projects/angular-split/tsconfig.lib.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"strictMetadataEmit": true,
2121
"fullTemplateTypeCheck": true,
2222
"strictInjectionParameters": true,
23-
"enableResourceInlining": true
23+
"enableResourceInlining": true,
24+
"enableIvy": false
2425
},
2526
"exclude": ["src/test.ts", "**/*.spec.ts"]
2627
}

src_app/app/component/examples/classAccess.route.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ import { AComponent } from './AComponent'
112112
</div>`,
113113
})
114114
export class ClassAccessComponent extends AComponent implements AfterViewInit {
115-
@ViewChild(SplitComponent, { static: false }) splitEl: SplitComponent
115+
@ViewChild(SplitComponent) splitEl: SplitComponent
116116
@ViewChildren(SplitAreaDirective) areasEl: QueryList<SplitAreaDirective>
117117

118118
ngAfterViewInit() {

src_app/app/component/examples/geekDemo.route.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ import { AComponent } from './AComponent'
166166
</div>`,
167167
})
168168
export class GeekDemoComponent extends AComponent {
169-
@ViewChild(SortableComponent, { static: false }) sortableComponent: SortableComponent
169+
@ViewChild(SortableComponent) sortableComponent: SortableComponent
170170

171171
d = {
172172
dir: 'horizontal',

0 commit comments

Comments
 (0)