diff --git a/README-zh_CN.md b/README-zh_CN.md index f34f733b..36f9466b 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -33,12 +33,12 @@ > 需要 [polyfills](https://angular.io/guide/browser-support) -- `iOS 7.0+` +- `iOS 10.3+` - `Android 4.4+` ## Angular 支持 -现在支持 Angular `^14.0.0`. +现在支持 Angular `^15.0.0`. ## 安装 diff --git a/README.md b/README.md index 7b6ede77..52a84969 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s > with [polyfills](https://angular.io/guide/browser-support) -- `iOS 7.0+` +- `iOS 10.3+` - `Android 4.4+` ## Angular Support -Now Supports Angular `^14.0.0`. +Now Supports Angular `^15.0.0`. ## Installation diff --git a/components/package.json b/components/package.json index a04a2f90..8c602eba 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd-mobile", - "version": "7.0.0", + "version": "8.0.0", "description": "An enterprise-class mobile UI components based on Ant Design and Angular", "schematics": "./schematics/collection.json", "keywords": [ @@ -22,26 +22,26 @@ "url": "https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues" }, "dependencies": { - "@angular/animations": "^14.2.8", - "@angular/cdk": "^14.2.6", - "@angular/common": "^14.2.8", - "@angular/compiler": "^14.2.8", - "@angular/core": "^14.2.8", - "@angular/forms": "^14.2.8", - "@angular/platform-browser": "^14.2.8", - "@angular/platform-browser-dynamic": "^14.2.8", - "@angular/router": "^14.2.8", - "@ant-design/icons-angular": "^14.1.0" + "@angular/animations": "^15.0.3", + "@angular/cdk": "^15.0.2", + "@angular/common": "^15.0.3", + "@angular/compiler": "^15.0.3", + "@angular/core": "^15.0.3", + "@angular/forms": "^15.0.3", + "@angular/platform-browser": "^15.0.3", + "@angular/platform-browser-dynamic": "^15.0.3", + "@angular/router": "^15.0.3", + "@ant-design/icons-angular": "^15.0.0" }, "devDependencies": { - "@angular/upgrade": "^14.2.8", - "@angular-devkit/build-angular": "^14.2.7", - "@angular/cli": "^14.2.7", - "@angular/compiler-cli": "^14.2.8", - "@angular/platform-server": "^14.2.8", - "tslib": "^2.3.0", + "@angular/upgrade": "^15.0.3", + "@angular-devkit/build-angular": "^15.0.3", + "@angular/cli": "^15.0.3", + "@angular/compiler-cli": "^15.0.3", + "@angular/platform-server": "^15.0.3", + "tslib": "^2.4.1", "tslint": "~6.1.3", - "typescript": "~4.7.4" + "typescript": "~4.8.4" }, "lint-staged": { "{src,docs}/**/*.{scss}": [ @@ -58,7 +58,7 @@ "test" ], "browserslist": [ - "iOS >= 7", - "Android >= 4.4" + "iOS > 10.3", + "Android > 4.4" ] } diff --git a/components/test.ts b/components/test.ts index 82990c6c..1e42f24f 100644 --- a/components/test.ts +++ b/components/test.ts @@ -21,6 +21,6 @@ getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDyn teardown: { destroyAfterEach: false } }); // Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); +// const context = require.context('./', true, /\.spec\.ts$/); +// // And load the modules. +// context.keys().map(context); diff --git a/components/tsconfig.json b/components/tsconfig.json index 6bc184d9..6a60b2e0 100644 --- a/components/tsconfig.json +++ b/components/tsconfig.json @@ -1,12 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "target": "es2015", + "target": "es2022", "module": "es2015", "sourceMap": true, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "useDefineForClassFields": false, "declaration": true, "outDir": "./dist", "lib": ["es2015", "dom"] diff --git a/components/tsconfig.lib.json b/components/tsconfig.lib.json index 60b2518a..590e7c28 100644 --- a/components/tsconfig.lib.json +++ b/components/tsconfig.lib.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "baseUrl": "./", - "target": "es2020", + "target": "es2022", "module": "es2015", "sourceMap": true, "inlineSources": true, @@ -10,6 +10,7 @@ "importHelpers": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, + "useDefineForClassFields": false, "declaration": true, "outDir": "../release", "lib": ["es2015", "dom"] diff --git a/components/tsconfig.spec.json b/components/tsconfig.spec.json index d3491f2e..c3fdc874 100644 --- a/components/tsconfig.spec.json +++ b/components/tsconfig.spec.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../out-tsc/spec", "baseUrl": "./", - "target": "es2020", + "target": "es2022", "types": [ "jasmine", "node" diff --git a/docs/introduce.en-US.md b/docs/introduce.en-US.md index eb104d75..fcf4b9b1 100755 --- a/docs/introduce.en-US.md +++ b/docs/introduce.en-US.md @@ -124,7 +124,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s > with [polyfills](https://angular.io/guide/browser-support) -- `iOS 7.0+` +- `iOS 10.3+` - `Android 4.4+` ## Version @@ -133,7 +133,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s ## Angular Support -Now Supports Angular `^14.0.0`. +Now Supports Angular `^15.0.0`. ## Installation diff --git a/docs/introduce.zh-CN.md b/docs/introduce.zh-CN.md index e01dbb9f..e0e704a8 100755 --- a/docs/introduce.zh-CN.md +++ b/docs/introduce.zh-CN.md @@ -124,7 +124,7 @@ title: Ant Design Mobile of Angular