Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump to angular 17.1 #1752

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
670 changes: 335 additions & 335 deletions .yarn/releases/yarn-4.0.1.cjs → .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ enableImmutableInstalls: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
103 changes: 52 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@
"postinstall": "ng-less-javascript-enabled-patch"
},
"dependencies": {
"@angular/animations": "^17.0.0",
"@angular/common": "^17.0.0",
"@angular/compiler": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"@angular/platform-browser": "^17.0.0",
"@angular/platform-browser-dynamic": "^17.0.0",
"@angular/router": "^17.0.0",
"@angular/animations": "^17.1.0",
"@angular/common": "^17.1.0",
"@angular/compiler": "^17.1.0",
"@angular/core": "^17.1.0",
"@angular/forms": "^17.1.0",
"@angular/platform-browser": "^17.1.0",
"@angular/platform-browser-dynamic": "^17.1.0",
"@angular/router": "^17.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.2",
"@angular/service-worker": "^17.0.0",
"@angular/platform-server": "^17.0.0",
"@angular/ssr": "^17.0.0",
"zone.js": "~0.14.3",
"@angular/service-worker": "^17.1.0",
"@angular/platform-server": "^17.1.0",
"@angular/ssr": "^17.1.0",
"express": "^4.18.2",
"@angular/elements": "^17.0.0",
"@angular/elements": "^17.1.0",
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.10",
"echarts": "^5.4.3",
Expand All @@ -79,34 +79,34 @@
"file-saver": "^2.0.5",
"ng-github-button": "^17.0.0",
"ng-zorro-antd": "^17.1.0",
"@angular/cdk": "^17.0.0",
"ngx-countdown": "^17.0.0",
"@angular/cdk": "^17.1.0",
"ngx-countdown": "^17.1.1",
"ngx-highlight-js": "^17.0.0",
"ngx-tinymce": "^17.0.0",
"qrious": "^4.0.2",
"@webcomponents/custom-elements": "^1.6.0",
"aos": "^3.0.0-beta.6",
"@ng-util/monaco-editor": "^17.0.0",
"@ng-util/monaco-editor": "^17.0.1",
"isutf8": "^4.0.0",
"@github/hotkey": "^2.3.0",
"ng-antd-color-picker": "^1.1.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.0.0",
"@angular/cli": "^17.0.0",
"@angular/compiler-cli": "^17.0.0",
"@angular-devkit/build-angular": "^17.1.0",
"@angular/cli": "^17.1.0",
"@angular/compiler-cli": "^17.1.0",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.2.2",
"typescript": "~5.3.2",
"jasmine": "^5.1.0",
"jasmine-spec-reporter": "^7.0.0",
"ts-node": "~10.9.1",
"@angular/language-service": "^17.0.0",
"ts-node": "~10.9.2",
"@angular/language-service": "^17.1.0",
"@types/jasminewd2": "~2.0.13",
"karma-junit-reporter": "^2.0.1",
"karma-spec-reporter": "0.0.36",
Expand All @@ -117,12 +117,12 @@
"@types/extend": "^3.0.4",
"@types/mockjs": "^1.0.10",
"@types/parse5": "^7.0.0",
"karma-summary-reporter": "^3.1.1",
"karma-summary-reporter": "^4.0.1",
"karma-parallel": "^0.3.1",
"chalk": "^5.3.0",
"codecov": "^3.8.3",
"conventional-changelog-cli": "^4.1.0",
"fs-extra": "^11.1.1",
"fs-extra": "^11.2.0",
"@types/fs-extra": "^11.0.4",
"husky": "^8.0.3",
"jsonml.js": "^0.1.0",
Expand All @@ -133,46 +133,46 @@
"mark-twain": "^2.0.3",
"mockjs": "^1.1.0",
"mustache": "^4.2.0",
"ng-packagr": "^17.0.0",
"ng-packagr": "^17.1.0",
"parse5": "^7.1.2",
"prettier": "^3.1.0",
"prettier": "^3.2.4",
"readline-sync": "^1.4.10",
"stream": "0.0.2",
"stylelint": "^15.11.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-config-clean-order": "^5.2.0",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-config-clean-order": "^5.4.0",
"source-map-explorer": "^2.5.3",
"xlsx": "^0.18.5",
"jszip": "^3.10.1",
"plyr": "^3.7.8",
"screenfull": "^6.0.2",
"less-bundle-promise": "^1.0.11",
"ng-alain-sts": "^0.0.2",
"ng-alain-plugin-theme": "^16.0.0",
"ng-less-javascript-enabled-patch": "17.0.0",
"ng-alain-plugin-theme": "^16.0.2",
"ng-less-javascript-enabled-patch": "17.0.2",
"tsconfig-paths": "^4.2.0",
"@types/express": "^4.17.17",
"@types/node": "^18.18.0",
"@types/express": "^4.17.21",
"@types/node": "^18.19.8",
"html-minifier-terser": "^7.2.0",
"terser": "^5.19.2",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-angular": "^17.8.1",
"@angular-eslint/builder": "^17.0.0",
"@angular-eslint/eslint-plugin": "^17.0.0",
"@angular-eslint/eslint-plugin-template": "^17.0.0",
"@angular-eslint/schematics": "^17.0.0",
"@angular-eslint/template-parser": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "~9.0.0",
"eslint-plugin-import": "~2.29.0",
"eslint-plugin-jsdoc": "~46.5.1",
"terser": "^5.27.0",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-angular": "^18.4.4",
"@angular-eslint/builder": "^17.2.0",
"@angular-eslint/eslint-plugin": "^17.2.0",
"@angular-eslint/eslint-plugin-template": "^17.2.0",
"@angular-eslint/schematics": "^17.2.0",
"@angular-eslint/template-parser": "^17.2.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-jsdoc": "~48.0.2",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~5.0.1",
"eslint-plugin-prettier": "~5.1.3",
"eslint-plugin-deprecation": "~2.0.0",
"lint-staged": "^14.0.1",
"lint-staged": "^15.2.0",
"swagger-typescript-api": "^12.0.4",
"sitemap": "^7.1.1"
},
Expand All @@ -183,5 +183,6 @@
"packages/**/*.less": [
"npm run lint:style"
]
}
},
"packageManager": "[email protected]"
}
5 changes: 2 additions & 3 deletions packages/abc/ellipsis/ellipsis.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ObserversModule } from '@angular/cdk/observers';
import { CdkObserveContent } from '@angular/cdk/observers';
import { DOCUMENT, NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';
import {
AfterViewInit,
Expand Down Expand Up @@ -28,8 +28,7 @@ import { NzTooltipDirective } from 'ng-zorro-antd/tooltip';
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
standalone: true,
// TODO: can't use CdkObserveContent
imports: [ObserversModule, NzTooltipDirective, NgTemplateOutlet, NgClass, NgStyle]
imports: [CdkObserveContent, NzTooltipDirective, NgTemplateOutlet, NgClass, NgStyle]
})
export class EllipsisComponent implements AfterViewInit, OnChanges {
static ngAcceptInputType_tooltip: BooleanInput;
Expand Down
4 changes: 2 additions & 2 deletions packages/abc/exception/exception.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Direction, Directionality } from '@angular/cdk/bidi';
import { ObserversModule } from '@angular/cdk/observers';
import { CdkObserveContent } from '@angular/cdk/observers';
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Expand Down Expand Up @@ -37,7 +37,7 @@ export type ExceptionType = 403 | 404 | 500;
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ObserversModule, NzButtonComponent, RouterLink]
imports: [CdkObserveContent, NzButtonComponent, RouterLink]
})
export class ExceptionComponent implements OnInit {
static ngAcceptInputType_type: ExceptionType | string;
Expand Down
4 changes: 2 additions & 2 deletions packages/abc/page-header/page-header.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Direction, Directionality } from '@angular/cdk/bidi';
import { ObserversModule } from '@angular/cdk/observers';
import { CdkObserveContent } from '@angular/cdk/observers';
import { Platform } from '@angular/cdk/platform';
import { NgTemplateOutlet } from '@angular/common';
import {
Expand Down Expand Up @@ -54,7 +54,7 @@ interface PageHeaderPath {
NzBreadCrumbItemComponent,
RouterLink,
NzStringTemplateOutletDirective,
ObserversModule
CdkObserveContent
]
})
export class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
Expand Down
4 changes: 2 additions & 2 deletions packages/abc/se/se.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ObserversModule } from '@angular/cdk/observers';
import { CdkObserveContent } from '@angular/cdk/observers';
import { NgClass } from '@angular/common';
import {
AfterContentInit,
Expand Down Expand Up @@ -56,7 +56,7 @@ let nextUniqueId = 0;
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [NgClass, NzStringTemplateOutletDirective, NzTooltipDirective, NzIconDirective, ObserversModule]
imports: [NgClass, NzStringTemplateOutletDirective, NzTooltipDirective, NzIconDirective, CdkObserveContent]
})
export class SEComponent implements OnChanges, AfterContentInit, AfterViewInit {
static ngAcceptInputType_col: NumberInput;
Expand Down
4 changes: 1 addition & 3 deletions packages/abc/st/test/base.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,7 @@ export class PageObject<T extends TestComponent> {
expectData(row: number, path: string, valule: NzSafeAny, options?: { message?: string }): this {
const ret = deepGet(this.comp._data[row - 1], path);
if (options?.message != null) {
expect(ret)
.withContext(options?.message)
.toBe(valule);
expect(ret).withContext(options.message).toBe(valule);
} else {
expect(ret).toBe(valule);
}
Expand Down
4 changes: 2 additions & 2 deletions packages/abc/sv/sv.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ObserversModule } from '@angular/cdk/observers';
import { CdkObserveContent } from '@angular/cdk/observers';
import {
AfterViewInit,
ChangeDetectionStrategy,
Expand Down Expand Up @@ -37,7 +37,7 @@ const prefixCls = `sv`;
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [NzStringTemplateOutletDirective, NzTooltipDirective, NzIconDirective, ObserversModule]
imports: [NzStringTemplateOutletDirective, NzTooltipDirective, NzIconDirective, CdkObserveContent]
})
export class SVComponent implements AfterViewInit, OnChanges {
static ngAcceptInputType_col: NumberInput;
Expand Down
Loading
Loading