diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-12 10:40:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-14 10:28:30 +0200 |
commit | 66357162f8e1227495f09bd4f68446aad7071c6d (patch) | |
tree | 7d4429506deb512b2fe1d0267f38a28cda20af55 /client/package.json | |
parent | 8c360747995e17eb5520e22fc3d7bd4c3d26eeee (diff) | |
download | PeerTube-66357162f8e1227495f09bd4f68446aad7071c6d.tar.gz PeerTube-66357162f8e1227495f09bd4f68446aad7071c6d.tar.zst PeerTube-66357162f8e1227495f09bd4f68446aad7071c6d.zip |
Migrate to $localize
* Remove i18n polyfill to translate things in components
* Reduce bundle sizes
* Improve runtime perf
* Reduce a lot the time to make a full client build
* Reduce client build complexity
* We don't need a service to translate things anymore (so we will be able to translate title pages etc)
Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/client/package.json b/client/package.json index 3c4b9ead4..9769cc813 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -28,19 +28,19 @@ | |||
28 | "typings": "*.d.ts", | 28 | "typings": "*.d.ts", |
29 | "devDependencies": { | 29 | "devDependencies": { |
30 | "@angular-devkit/build-angular": "^0.1001.0-next.4", | 30 | "@angular-devkit/build-angular": "^0.1001.0-next.4", |
31 | "@angular/animations": "^10.1.0-next.4", | 31 | "@angular/animations": "^10.1.0-next.5", |
32 | "@angular/cdk": "^10.0.0", | 32 | "@angular/cdk": "^10.0.0", |
33 | "@angular/cli": "^10.1.0-next.4", | 33 | "@angular/cli": "^10.1.0-next.4", |
34 | "@angular/common": "^10.1.0-next.4", | 34 | "@angular/common": "^10.1.0-next.5", |
35 | "@angular/compiler": "^10.1.0-next.4", | 35 | "@angular/compiler": "^10.1.0-next.5", |
36 | "@angular/compiler-cli": "^10.1.0-next.4", | 36 | "@angular/compiler-cli": "^10.1.0-next.5", |
37 | "@angular/core": "^10.1.0-next.4", | 37 | "@angular/core": "^10.1.0-next.5", |
38 | "@angular/forms": "^10.1.0-next.4", | 38 | "@angular/forms": "^10.1.0-next.5", |
39 | "@angular/localize": "^10.1.0-next.4", | 39 | "@angular/localize": "^10.1.0-next.5", |
40 | "@angular/platform-browser": "^10.1.0-next.4", | 40 | "@angular/platform-browser": "^10.1.0-next.5", |
41 | "@angular/platform-browser-dynamic": "^10.1.0-next.4", | 41 | "@angular/platform-browser-dynamic": "^10.1.0-next.5", |
42 | "@angular/router": "^10.1.0-next.4", | 42 | "@angular/router": "^10.1.0-next.5", |
43 | "@angular/service-worker": "^10.1.0-next.4", | 43 | "@angular/service-worker": "^10.1.0-next.5", |
44 | "@angularclass/hmr": "^2.1.3", | 44 | "@angularclass/hmr": "^2.1.3", |
45 | "@neos21/bootstrap3-glyphicons": "^1.0.1", | 45 | "@neos21/bootstrap3-glyphicons": "^1.0.1", |
46 | "@ng-bootstrap/ng-bootstrap": "^7.0.0", | 46 | "@ng-bootstrap/ng-bootstrap": "^7.0.0", |
@@ -51,7 +51,6 @@ | |||
51 | "@ngx-loading-bar/http-client": "^5.0.0", | 51 | "@ngx-loading-bar/http-client": "^5.0.0", |
52 | "@ngx-loading-bar/router": "^5.0.0", | 52 | "@ngx-loading-bar/router": "^5.0.0", |
53 | "@ngx-meta/core": "^9.0.0", | 53 | "@ngx-meta/core": "^9.0.0", |
54 | "@ngx-translate/i18n-polyfill": "^1.0.0", | ||
55 | "@types/chart.js": "^2.9.16", | 54 | "@types/chart.js": "^2.9.16", |
56 | "@types/core-js": "^2.5.2", | 55 | "@types/core-js": "^2.5.2", |
57 | "@types/debug": "^4.1.5", | 56 | "@types/debug": "^4.1.5", |