Skip to content

Commit

Permalink
Upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
robisim74 committed May 21, 2021
1 parent 26f319b commit 2114ad2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion projects/angular-l10n-app-ssr/src/app/l10n-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion projects/angular-l10n-app/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion projects/angular-l10n-app/src/app/l10n-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
12 changes: 6 additions & 6 deletions projects/angular-l10n/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
}
}

0 comments on commit 2114ad2

Please sign in to comment.