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/yarn.lock | |
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/yarn.lock')
-rw-r--r-- | client/yarn.lock | 124 |
1 files changed, 45 insertions, 79 deletions
diff --git a/client/yarn.lock b/client/yarn.lock index 4fe21c1a5..db52a4a54 100644 --- a/client/yarn.lock +++ b/client/yarn.lock | |||
@@ -120,10 +120,10 @@ | |||
120 | ora "4.0.5" | 120 | ora "4.0.5" |
121 | rxjs "6.6.2" | 121 | rxjs "6.6.2" |
122 | 122 | ||
123 | "@angular/animations@^10.1.0-next.4": | 123 | "@angular/animations@^10.1.0-next.5": |
124 | version "10.1.0-next.4" | 124 | version "10.1.0-next.5" |
125 | resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-10.1.0-next.4.tgz#e2e46e23f4aa02d6b04b1db795f85d51e2fcc62b" | 125 | resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-10.1.0-next.5.tgz#af5c9365ef5473d430797eb1b2f08a8ed4e75b96" |
126 | integrity sha512-3PWWtORaHjspKFbff+NdB2/DdgsNMNDz02/oCylK5+UAAtRzci885EAuk0oC5wn6pkzU4WrBbUYkVWikbQEy9Q== | 126 | integrity sha512-1ssVuf4in1nLqiC7ZOXQyjbk4KMj9g4jTB5LkhPgXmkMr5cdHckIgeSSk0sF0I7F1+Xo0P0Dz4CL7AZY/IlxQw== |
127 | dependencies: | 127 | dependencies: |
128 | tslib "^2.0.0" | 128 | tslib "^2.0.0" |
129 | 129 | ||
@@ -162,17 +162,17 @@ | |||
162 | universal-analytics "0.4.23" | 162 | universal-analytics "0.4.23" |
163 | uuid "8.3.0" | 163 | uuid "8.3.0" |
164 | 164 | ||
165 | "@angular/common@^10.1.0-next.4": | 165 | "@angular/common@^10.1.0-next.5": |
166 | version "10.1.0-next.4" | 166 | version "10.1.0-next.5" |
167 | resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.1.0-next.4.tgz#712850da191bcd41e9d8fe0da9484d30b3b8e248" | 167 | resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.1.0-next.5.tgz#9c8e43e6a319e9d65e4d6c8e000ee1ca9775eaf8" |
168 | integrity sha512-iiVUqc+ManJHak3HPhZ9ajp5f3IZmm8f9ev8Bu8bVRDjk/76hSeCRln6fykbZPwpbAOlVgVWjjTf2bgf6QMpQQ== | 168 | integrity sha512-vK7btoMtC3hE6BfNY3QLlDipW9sd8CGdOfHyl8smNtRyw7qAMSxgvIkQSaclN4K7h3uD7QMppqPAjZMgeUxfzw== |
169 | dependencies: | 169 | dependencies: |
170 | tslib "^2.0.0" | 170 | tslib "^2.0.0" |
171 | 171 | ||
172 | "@angular/compiler-cli@^10.1.0-next.4": | 172 | "@angular/compiler-cli@^10.1.0-next.5": |
173 | version "10.1.0-next.4" | 173 | version "10.1.0-next.5" |
174 | resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-10.1.0-next.4.tgz#b9edfe7c04ef5faeaecdab095e58137fdbe14f3d" | 174 | resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-10.1.0-next.5.tgz#4ef0ae92ecee8b1de003a82180c5813f2c507cdb" |
175 | integrity sha512-yKv0bCr+vdb34uBiv18iHC+V83gWQt4AuEvUF/WYVqnmE7gKa1PO0LjMyWB8lHrur/3k5uBug1NAqOqAQGcyTw== | 175 | integrity sha512-+MI4enl5N0xyjzvL9vfqVaDqDm6RkuX/jydvaFr8yTESBRXCu8g4UvTcxnOwLcQehl7ZD45WmOeOnRXdwcI3kA== |
176 | dependencies: | 176 | dependencies: |
177 | canonical-path "1.0.0" | 177 | canonical-path "1.0.0" |
178 | chokidar "^3.0.0" | 178 | chokidar "^3.0.0" |
@@ -188,61 +188,61 @@ | |||
188 | tslib "^2.0.0" | 188 | tslib "^2.0.0" |
189 | yargs "15.3.0" | 189 | yargs "15.3.0" |
190 | 190 | ||
191 | "@angular/compiler@^10.1.0-next.4": | 191 | "@angular/compiler@^10.1.0-next.5": |
192 | version "10.1.0-next.4" | 192 | version "10.1.0-next.5" |
193 | resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-10.1.0-next.4.tgz#b86b51492e59edcc507d13ef1842bae9b36ae855" | 193 | resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-10.1.0-next.5.tgz#3b638e8708d24310b81003271bee5006ea9c7d9e" |
194 | integrity sha512-TT4kh41AkU4oatHnKwfQ5A10RPg+A7xSBPxSsqKBC8bphel0HL4Lf4hn5shIK4G8aZaieBfntkC9Nf7WoWgqaQ== | 194 | integrity sha512-pDUTIerTs6A9yDBGeKiSFzu0CsG3l0ct4UkIWE1PsW9ui63ar+UytGpiLBBJ8pXfktMOZle8NVmlKAzhXG2g/g== |
195 | dependencies: | 195 | dependencies: |
196 | tslib "^2.0.0" | 196 | tslib "^2.0.0" |
197 | 197 | ||
198 | "@angular/core@^10.1.0-next.4": | 198 | "@angular/core@^10.1.0-next.5": |
199 | version "10.1.0-next.4" | 199 | version "10.1.0-next.5" |
200 | resolved "https://registry.yarnpkg.com/@angular/core/-/core-10.1.0-next.4.tgz#622cd9245c178422b896149e9d9aa387109142b3" | 200 | resolved "https://registry.yarnpkg.com/@angular/core/-/core-10.1.0-next.5.tgz#70269efc5ede9553bac231f4d61e2a99bb5b69bb" |
201 | integrity sha512-buAMY+gTeX6jXfXSxnLnwLHeJnQ7obLr27JZo8FNt3JTI6nYAdLEf2Jw2jsqwJ8H6fSNjOHmm+tLRqSVHSyeRg== | 201 | integrity sha512-bLV1sSaEZqda+cmYwfYKvy4KX0xtoAoLwtNQi6/TGVBj4c+6NsUp5oN2SwSEQKTo7vi0qaP1/Q/XUGSX4ZYHQw== |
202 | dependencies: | 202 | dependencies: |
203 | tslib "^2.0.0" | 203 | tslib "^2.0.0" |
204 | 204 | ||
205 | "@angular/forms@^10.1.0-next.4": | 205 | "@angular/forms@^10.1.0-next.5": |
206 | version "10.1.0-next.4" | 206 | version "10.1.0-next.5" |
207 | resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-10.1.0-next.4.tgz#15798595ffb50ad924f4be89d0de38a76a367a6f" | 207 | resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-10.1.0-next.5.tgz#02b0a361cda71fbd6ed7c45e707db7ab98abd950" |
208 | integrity sha512-6fINEZoxj4vRmgfDUG7ICt381hCizMp6wzYPUd55+fQjNGRy/BwkbmzZI0tf3QoiRjqiTZIq/L+sQxQMfKFZhg== | 208 | integrity sha512-aE/Q0VT4k1AtUzC/2YL7//mXBZQDENwtFUVnMjv8Krbvlka9EylZHN0MdFNhzW2zuNmELnv2Eud4O+vEF9vJ6Q== |
209 | dependencies: | 209 | dependencies: |
210 | tslib "^2.0.0" | 210 | tslib "^2.0.0" |
211 | 211 | ||
212 | "@angular/localize@^10.1.0-next.4": | 212 | "@angular/localize@^10.1.0-next.5": |
213 | version "10.1.0-next.4" | 213 | version "10.1.0-next.5" |
214 | resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-10.1.0-next.4.tgz#a2dbe3c6c4d72421baca87ec1e59f6a4dbc1d547" | 214 | resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-10.1.0-next.5.tgz#f2722ac407d34ac7f0c6b748f58b8966c08f797b" |
215 | integrity sha512-q/RiyZvMzhXabXVwYqjljS30mKsUL06CZAsrS1EvXC+dcA2qTpVoHUFLr5DHiqcNlxENXtJ/+56O7N+V85nH1w== | 215 | integrity sha512-EBTsMw66snjNOl1FZJB/bhPJC19E5K5TImS4+Pf1lEbHBLuvfEwZLQnrFoyPWwU98ozFCxYtNZvNJUOHFpM5hQ== |
216 | dependencies: | 216 | dependencies: |
217 | "@babel/core" "7.8.3" | 217 | "@babel/core" "7.8.3" |
218 | glob "7.1.2" | 218 | glob "7.1.2" |
219 | yargs "15.3.0" | 219 | yargs "15.3.0" |
220 | 220 | ||
221 | "@angular/platform-browser-dynamic@^10.1.0-next.4": | 221 | "@angular/platform-browser-dynamic@^10.1.0-next.5": |
222 | version "10.1.0-next.4" | 222 | version "10.1.0-next.5" |
223 | resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-10.1.0-next.4.tgz#664f48844152785b1af79a906766661bfbd8e030" | 223 | resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-10.1.0-next.5.tgz#bc348ed36dc4f97cc90bb6817191e15d3f1b6f23" |
224 | integrity sha512-amy8aLpE2Hjq5D4cwY8oDPFW963jXJPaMuXWwQsJUqKgmYwUOS4PU86x1BceTb6wOl4Gf4+sJREx3dMjh1AaAQ== | 224 | integrity sha512-dgxGMyz5wwVegFEaE3RS4XSurlrqK1RMvFKpIpb/EbJVP7ZBYMhtX6Wqw0p81MYo0GIssaSaKJd+j4rjjxWR2g== |
225 | dependencies: | 225 | dependencies: |
226 | tslib "^2.0.0" | 226 | tslib "^2.0.0" |
227 | 227 | ||
228 | "@angular/platform-browser@^10.1.0-next.4": | 228 | "@angular/platform-browser@^10.1.0-next.5": |
229 | version "10.1.0-next.4" | 229 | version "10.1.0-next.5" |
230 | resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-10.1.0-next.4.tgz#533411a5a2c2fd5ec43198297a032a67c324e59c" | 230 | resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-10.1.0-next.5.tgz#205c99c3edb11b7a83bfa2f967d1e4617a4671ee" |
231 | integrity sha512-DOEL1RDCEd/xttZNyf3VlWC639/3MSlYsDKpdn9FzgLNnu/CXerilSGQQlzaR0b3V8f64csUtuejH9YB/jp0HQ== | 231 | integrity sha512-RDgLlDYqWYDdNEPYHJIoG5JsO6m81xxfJNsDVI4DE9z6iCqUxnWappRoDNs/yXFXbdF8p+WbjtL2pru50TWFEA== |
232 | dependencies: | 232 | dependencies: |
233 | tslib "^2.0.0" | 233 | tslib "^2.0.0" |
234 | 234 | ||
235 | "@angular/router@^10.1.0-next.4": | 235 | "@angular/router@^10.1.0-next.5": |
236 | version "10.1.0-next.4" | 236 | version "10.1.0-next.5" |
237 | resolved "https://registry.yarnpkg.com/@angular/router/-/router-10.1.0-next.4.tgz#341951c3db2c206bf85bedfa496c5d75e41ac46c" | 237 | resolved "https://registry.yarnpkg.com/@angular/router/-/router-10.1.0-next.5.tgz#3882a2ed1ea5b7f2efca67af4fa3fd28b9e25762" |
238 | integrity sha512-KjvLIMZcxrDtXVYsWpizq91p50C8JQ4i7wsgxD9O7r0bvMJPn/LngUpaNz+9zKmk4UUwpxZ65sd8sfw+mOR26g== | 238 | integrity sha512-Jyh62a0zP1gX/R3hV5ILnd/t3AwBLTvRetXfDuOB5c5vImjgwpl84gX3+aJsSvc1cZ0Rs31zqV8JR9M9yEAAbQ== |
239 | dependencies: | 239 | dependencies: |
240 | tslib "^2.0.0" | 240 | tslib "^2.0.0" |
241 | 241 | ||
242 | "@angular/service-worker@^10.1.0-next.4": | 242 | "@angular/service-worker@^10.1.0-next.5": |
243 | version "10.1.0-next.4" | 243 | version "10.1.0-next.5" |
244 | resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-10.1.0-next.4.tgz#ae240fdc2957b27e71a738fe8a01d31dfbae2ee6" | 244 | resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-10.1.0-next.5.tgz#699bfd88e7b02c9e30fa9103c1fd508b86725e60" |
245 | integrity sha512-xF9J+bPGRPAxeC07cOKHoXxJ32skNPDj9bEpymrfJaRxzmQ41gN4+IlwmiFJjoHUwYVX3x4OZyb18HTJPhWqXw== | 245 | integrity sha512-lXne4/88dre8NXY/jHEm+bONdG4EswzBGln2PnaHGZ1i3ALATcSwzrCEAqh29eeP9/OGXRMc7iBdAj2N24WxUw== |
246 | dependencies: | 246 | dependencies: |
247 | tslib "^2.0.0" | 247 | tslib "^2.0.0" |
248 | 248 | ||
@@ -1412,15 +1412,6 @@ | |||
1412 | resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-9.0.0.tgz#2c3b27bd32d41f7aaf0712d4007e0afed8e5dd3f" | 1412 | resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-9.0.0.tgz#2c3b27bd32d41f7aaf0712d4007e0afed8e5dd3f" |
1413 | integrity sha512-WL/HyKM+4gJPS3TNTO0M+46LlIvGTSyofL//8hxoozAyRPsiMyR0xrwUvPBJkVqFyD6j0iI5FaNcQ9d0JCVJhg== | 1413 | integrity sha512-WL/HyKM+4gJPS3TNTO0M+46LlIvGTSyofL//8hxoozAyRPsiMyR0xrwUvPBJkVqFyD6j0iI5FaNcQ9d0JCVJhg== |
1414 | 1414 | ||
1415 | "@ngx-translate/i18n-polyfill@^1.0.0": | ||
1416 | version "1.0.0" | ||
1417 | resolved "https://registry.yarnpkg.com/@ngx-translate/i18n-polyfill/-/i18n-polyfill-1.0.0.tgz#145edb28bcfc1332e1bc25279eadf9d4ed0a20f8" | ||
1418 | integrity sha512-+UKmSr6cWBJiMDex6w2FwVjEeVnlEsINDGYvTgRaFRI3/IKZrsSVcfISDcBX2wWr6m4jumfOyCcimIl2TxcaoA== | ||
1419 | dependencies: | ||
1420 | glob "7.1.2" | ||
1421 | tslib "^1.9.0" | ||
1422 | yargs "10.0.3" | ||
1423 | |||
1424 | "@nodelib/fs.scandir@2.1.3": | 1415 | "@nodelib/fs.scandir@2.1.3": |
1425 | version "2.1.3" | 1416 | version "2.1.3" |
1426 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" | 1417 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" |
@@ -5149,7 +5140,7 @@ find-up@^1.0.0: | |||
5149 | path-exists "^2.0.0" | 5140 | path-exists "^2.0.0" |
5150 | pinkie-promise "^2.0.0" | 5141 | pinkie-promise "^2.0.0" |
5151 | 5142 | ||
5152 | find-up@^2.0.0, find-up@^2.1.0: | 5143 | find-up@^2.0.0: |
5153 | version "2.1.0" | 5144 | version "2.1.0" |
5154 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" | 5145 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" |
5155 | integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= | 5146 | integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= |
@@ -12355,31 +12346,6 @@ yargs-parser@^7.0.0: | |||
12355 | dependencies: | 12346 | dependencies: |
12356 | camelcase "^4.1.0" | 12347 | camelcase "^4.1.0" |
12357 | 12348 | ||
12358 | yargs-parser@^8.0.0: | ||
12359 | version "8.1.0" | ||
12360 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" | ||
12361 | integrity sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ== | ||
12362 | dependencies: | ||
12363 | camelcase "^4.1.0" | ||
12364 | |||
12365 | yargs@10.0.3: | ||
12366 | version "10.0.3" | ||
12367 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.0.3.tgz#6542debd9080ad517ec5048fb454efe9e4d4aaae" | ||
12368 | integrity sha512-DqBpQ8NAUX4GyPP/ijDGHsJya4tYqLQrjPr95HNsr1YwL3+daCfvBwg7+gIC6IdJhR2kATh3hb61vjzMWEtjdw== | ||
12369 | dependencies: | ||
12370 | cliui "^3.2.0" | ||
12371 | decamelize "^1.1.1" | ||
12372 | find-up "^2.1.0" | ||
12373 | get-caller-file "^1.0.1" | ||
12374 | os-locale "^2.0.0" | ||
12375 | require-directory "^2.1.1" | ||
12376 | require-main-filename "^1.0.1" | ||
12377 | set-blocking "^2.0.0" | ||
12378 | string-width "^2.0.0" | ||
12379 | which-module "^2.0.0" | ||
12380 | y18n "^3.2.1" | ||
12381 | yargs-parser "^8.0.0" | ||
12382 | |||
12383 | yargs@15.3.0: | 12349 | yargs@15.3.0: |
12384 | version "15.3.0" | 12350 | version "15.3.0" |
12385 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" | 12351 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.0.tgz#403af6edc75b3ae04bf66c94202228ba119f0976" |