Add @angular/localize
authorChocobozzz <me@florianbigard.com>
Fri, 7 Feb 2020 09:21:31 +0000 (10:21 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 10 Feb 2020 15:39:28 +0000 (16:39 +0100)
client/package.json
client/src/polyfills.ts
client/yarn.lock

index 53300bb649c0643e0fc746fc1b9e8b1d838fc1c7..ed5dd7689d501c604121bb16084d328dcb1da2d2 100644 (file)
     "zone.js": "~0.10.2"
   },
   "dependencies": {
-    "@angular/localize": "~9.0.0",
+    "@angular/localize": "^9.0.0",
     "@ngx-i18nsupport/tooling": "^8.0.3",
     "tslib": "^1.10.0"
   }
index 8aac914548ff65b902e3d366f508113622914972..7c051413f4803db904f98d8ee104e78f01bec75e 100644 (file)
@@ -69,3 +69,5 @@ import 'zone.js/dist/zone'  // Included with Angular CLI.
 ;(window as any).global = window
 ;(window as any).process = require('process/')
 ;(window as any).Buffer = require('buffer/').Buffer
+
+import '@angular/localize/init'
index 2be6cf26cbcaf0ac80e598b621341697e54e6d58..e9d70f8ec4b9859cecd0d21bf4c0dac296513ee4 100644 (file)
   resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-9.0.0.tgz#24ba63ae5db566b70f7c40bb148dc37a77aaa373"
   integrity sha512-tOMtXY8DFpTWMF77BOTXZmMMtqvdy6fbyOkJSccn6VatcPrNXOs5rKur+KNwdSlK+djjss6Y+LA8fQAvjNvUqw==
 
-"@angular/localize@~9.0.0":
+"@angular/localize@^9.0.0":
   version "9.0.0"
   resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0.tgz#d7b428e2784a2c35430ff47c823b70c514fa0016"
   integrity sha512-T1dtjqT6BDjWLvtF81RsCBdo+hiORLiNKpSD1wXmHF1L/GMKP+EDODvBDMgnyt4NlSn+HzBeSxE+XPWsHub6cg==