Skip to content

Commit ed23e13

Browse files
committed
feat(angular-update) - to version 16
1 parent 257a1cb commit ed23e13

8 files changed

Lines changed: 6301 additions & 5239 deletions

File tree

apps/codever-ui/package-lock.json

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

apps/codever-ui/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
},
1515
"private": true,
1616
"dependencies": {
17-
"@angular/animations": "^15.2.10",
18-
"@angular/cdk": "^15.2.9",
19-
"@angular/common": "^15.2.10",
20-
"@angular/compiler": "^15.2.10",
21-
"@angular/core": "^15.2.10",
22-
"@angular/forms": "^15.2.10",
23-
"@angular/material": "^15.2.9",
24-
"@angular/platform-browser": "^15.2.10",
25-
"@angular/platform-browser-dynamic": "^15.2.10",
17+
"@angular/animations": "^16.2.12",
18+
"@angular/cdk": "^16.2.14",
19+
"@angular/common": "^16.2.12",
20+
"@angular/compiler": "^16.2.12",
21+
"@angular/core": "^16.2.12",
22+
"@angular/forms": "^16.2.12",
23+
"@angular/material": "^16.2.14",
24+
"@angular/platform-browser": "^16.2.12",
25+
"@angular/platform-browser-dynamic": "^16.2.12",
2626
"@angular/pwa": "^0.901.10",
27-
"@angular/router": "15.2.10",
28-
"@angular/service-worker": "^15.2.10",
27+
"@angular/router": "16.2.12",
28+
"@angular/service-worker": "^16.2.12",
2929
"bootstrap": "^4.4.1",
3030
"core-js": "^2.6.11",
3131
"dompurify": "^2.4.3",
@@ -39,12 +39,12 @@
3939
"rxjs": "^6.5.3",
4040
"screenfull": "^5.1.0",
4141
"ts-md5": "^1.2.7",
42-
"zone.js": "~0.11.4"
42+
"zone.js": "~0.13.3"
4343
},
4444
"devDependencies": {
45-
"@angular-devkit/build-angular": "^15.2.11",
46-
"@angular/cli": "15.2.11",
47-
"@angular/compiler-cli": "^15.2.10",
45+
"@angular-devkit/build-angular": "^16.2.14",
46+
"@angular/cli": "16.2.14",
47+
"@angular/compiler-cli": "^16.2.12",
4848
"@fortawesome/fontawesome-free": "^5.12.0",
4949
"@types/core-js": "^2.5.2",
5050
"@types/dompurify": "^2.4.0",
@@ -70,6 +70,6 @@
7070
"prettier": "^2.8.7",
7171
"ts-node": "^8.1.1",
7272
"tslint": "~6.1.0",
73-
"typescript": "4.8.x"
73+
"typescript": "5.1.6"
7474
}
7575
}

apps/codever-ui/src/app/my-snippets/create-snippet-form/create-snippet-form.component.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@ export class CreateSnippetFormComponent
2929
extends SnippetFormBaseComponent
3030
implements OnInit
3131
{
32-
snippetFormGroup: UntypedFormGroup;
33-
codeSnippetsFormArray: UntypedFormArray;
32+
33+
declare snippetFormGroup: UntypedFormGroup;
34+
35+
declare codeSnippetsFormArray: UntypedFormArray;
3436
userId = null;
3537

3638
@ViewChild('tagInput', { static: false })
37-
tagInput: ElementRef;
39+
declare tagInput: ElementRef;
3840

39-
snippet: Snippet;
41+
declare snippet: Snippet;
4042

4143
@Input()
4244
code; // value of "desc" query parameter if present

apps/codever-ui/src/app/my-snippets/update-snippet-form/update-snippet-form.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ export class UpdateSnippetFormComponent
3333
extends SnippetFormBaseComponent
3434
implements OnInit, OnChanges
3535
{
36-
snippetFormGroup: UntypedFormGroup;
37-
codeSnippetsFormArray: UntypedFormArray;
36+
declare snippetFormGroup: UntypedFormGroup;
37+
declare codeSnippetsFormArray: UntypedFormArray;
3838
userId = null;
3939

4040
@Input()
41-
snippet: Snippet;
41+
declare snippet: Snippet;
4242

4343
@ViewChild('tagInput', { static: false })
44-
tagInput: ElementRef;
44+
declare tagInput: ElementRef;
4545

4646
@Input()
4747
isUpdate: boolean;

apps/codever-ui/src/app/shared/async-bookmark-list/async-bookmark-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { TagFollowingBaseComponent } from '../tag-following-base-component/tag-f
1919
styleUrls: ['./async-bookmark-list.component.scss'],
2020
})
2121
export class AsyncBookmarkListComponent extends TagFollowingBaseComponent {
22-
verifyForWatchedTag: Observable<string>; // used to avoid looking in watchedTags for other tags in the html template
22+
declare verifyForWatchedTag: Observable<string>; // used to avoid looking in watchedTags for other tags in the html template
2323

2424
@Input()
2525
bookmarks$: Observable<Bookmark[]>;

apps/codever-ui/src/app/shared/async-search-result-list/async-search-result-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Note } from '../../core/model/note';
2121
styleUrls: ['./async-search-result-list.component.scss'],
2222
})
2323
export class AsyncSearchResultListComponent extends TagFollowingBaseComponent {
24-
verifyForWatchedTag: Observable<string>; // used to avoid looking in watchedTags for other tags in the html template
24+
declare verifyForWatchedTag: Observable<string>; // used to avoid looking in watchedTags for other tags in the html template
2525

2626
@Input()
2727
searchResults$: Observable<(Bookmark | Snippet | Note)[]>;

apps/codever-ui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"experimentalDecorators": true,
1212
"allowSyntheticDefaultImports": true,
1313
"importHelpers": true,
14-
"target": "es2020",
14+
"target": "es2022",
1515
"typeRoots": ["node_modules/@types"],
1616
"lib": ["es2018", "dom"]
1717
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Codever",
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"description": "Codever - bookmarks, snippets and notes manager for developers & co",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)