From 2114ad22cc6d392c07a135f3d9dfe5d1d3e2e30f Mon Sep 17 00:00:00 2001 From: Roberto Simonetti Date: Fri, 21 May 2021 20:59:56 +0200 Subject: [PATCH] Upgrade version --- README.md | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- .../src/app/app-routing.module.ts | 2 +- projects/angular-l10n-app-ssr/src/app/l10n-config.ts | 2 +- .../angular-l10n-app/src/app/app-routing.module.ts | 2 +- projects/angular-l10n-app/src/app/l10n-config.ts | 2 +- projects/angular-l10n/package.json | 12 ++++++------ 8 files changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 098045f..0e183e5 100644 --- a/README.md +++ b/README.md @@ -443,6 +443,9 @@ SSR doesn't work out of the box, so it is important to know: ## Previous versions +- **Angular v11 (Angular l10n v11.1.0)** + - [Branch](https://github.com/robisim74/angular-l10n/tree/angular_v11) + - **Angular v10 (Angular l10n v10.1.2)** - [Branch](https://github.com/robisim74/angular-l10n/tree/angular_v10) diff --git a/package-lock.json b/package-lock.json index 1cd8c6d..2a4d756 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "angular-l10n", - "version": "11.1.0", + "version": "12.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "11.1.0", + "version": "12.0.0", "hasInstallScript": true, "dependencies": { "@angular/animations": "12.0.0", diff --git a/package.json b/package.json index b2b7c57..21d6294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-l10n", - "version": "11.1.0", + "version": "12.0.0", "scripts": { "ng": "ng", "start": "ng serve angular-l10n-app --open", diff --git a/projects/angular-l10n-app-ssr/src/app/app-routing.module.ts b/projects/angular-l10n-app-ssr/src/app/app-routing.module.ts index df0474e..3c1cc83 100644 --- a/projects/angular-l10n-app-ssr/src/app/app-routing.module.ts +++ b/projects/angular-l10n-app-ssr/src/app/app-routing.module.ts @@ -16,7 +16,7 @@ const routes: Routes = [ loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule), resolve: { l10n: L10nResolver }, data: { - l10nProviders: [{ name: 'lazy', asset: './assets/i18n/lazy', options: { version: '11.0.0' } }] + l10nProviders: [{ name: 'lazy', asset: './assets/i18n/lazy', options: { version: '12.0.0' } }] } }, { path: '**', redirectTo: 'home' } diff --git a/projects/angular-l10n-app-ssr/src/app/l10n-config.ts b/projects/angular-l10n-app-ssr/src/app/l10n-config.ts index e64e6d3..87552bb 100644 --- a/projects/angular-l10n-app-ssr/src/app/l10n-config.ts +++ b/projects/angular-l10n-app-ssr/src/app/l10n-config.ts @@ -24,7 +24,7 @@ import { export const l10nConfig: L10nConfig = { format: 'language-region', providers: [ - { name: 'app', asset: './assets/i18n/app', options: { version: '11.0.0' } } + { name: 'app', asset: './assets/i18n/app', options: { version: '12.0.0' } } ], fallback: false, cache: true, diff --git a/projects/angular-l10n-app/src/app/app-routing.module.ts b/projects/angular-l10n-app/src/app/app-routing.module.ts index 23ab0b6..08b817f 100644 --- a/projects/angular-l10n-app/src/app/app-routing.module.ts +++ b/projects/angular-l10n-app/src/app/app-routing.module.ts @@ -16,7 +16,7 @@ const routes: Routes = [ loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule), resolve: { l10n: L10nResolver }, data: { - l10nProviders: [{ name: 'lazy', asset: './assets/i18n/lazy', options: { version: '11.0.0' } }] + l10nProviders: [{ name: 'lazy', asset: './assets/i18n/lazy', options: { version: '12.0.0' } }] } }, { path: '**', redirectTo: 'home' } diff --git a/projects/angular-l10n-app/src/app/l10n-config.ts b/projects/angular-l10n-app/src/app/l10n-config.ts index 7ff6d3c..6c20c71 100644 --- a/projects/angular-l10n-app/src/app/l10n-config.ts +++ b/projects/angular-l10n-app/src/app/l10n-config.ts @@ -19,7 +19,7 @@ import { export const l10nConfig: L10nConfig = { format: 'language-region', providers: [ - { name: 'app', asset: './assets/i18n/app', options: { version: '11.0.0' } } + { name: 'app', asset: './assets/i18n/app', options: { version: '12.0.0' } } ], fallback: false, cache: true, diff --git a/projects/angular-l10n/package.json b/projects/angular-l10n/package.json index 2e89b9c..054a426 100644 --- a/projects/angular-l10n/package.json +++ b/projects/angular-l10n/package.json @@ -1,6 +1,6 @@ { "name": "angular-l10n", - "version": "11.1.0", + "version": "12.0.0", "author": "Roberto Simonetti", "description": "An Angular library to translate texts, dates and numbers", "repository": { @@ -23,13 +23,13 @@ ], "license": "MIT", "peerDependencies": { - "@angular/core": ">= 11.0.0", - "@angular/forms": ">= 11.0.0", - "@angular/router": ">= 11.0.0", - "@angular/common": ">= 11.0.0", + "@angular/core": ">= 12.0.0", + "@angular/forms": ">= 12.0.0", + "@angular/router": ">= 12.0.0", + "@angular/common": ">= 12.0.0", "rxjs": "^6.5.4" }, "dependencies": { - "tslib": "^2.0.0" + "tslib": "^2.2.0" } } \ No newline at end of file