Commit Graph

108 Commits

Author SHA1 Message Date
kotwys
208817f69e
Implemented ability to override definitions from @formatjs. Added fixed definitions for Esperanto (#26)
* Introduce locale searching

Some locales may be absent or incorrect in default packages so these
should be obtained from other places instead.

* Add fixed Esperanto locale

* Update Esperanto locales

* Redo locale substitution

This reverts commit f2e1047fd8.

* Include locales in the repository

* Add newline character at the end
2020-07-24 18:24:55 +03:00
ErickSkrauch
993d0cdedb
Fix dev mode 2020-07-22 14:19:23 +03:00
ErickSkrauch
d25653dd7c
Improve assets caching 2020-07-21 21:29:42 +03:00
ErickSkrauch
bc88f56f43
Improve chunks for locales 2020-07-21 21:29:41 +03:00
ErickSkrauch
54c6578c15
Reduce amount of chunks 2020-07-21 15:53:34 +03:00
ErickSkrauch
347fd59319
Cleanup localeFlags.ts [skip ci] 2020-07-20 15:19:15 +03:00
ErickSkrauch
9a9bd74763 Implemented loading of custom flags for languages, not associated with concrete country.
Implemented "unknown" language flag to prevent errors for new languages when flag can't be associated automatically
2020-07-19 23:52:02 +03:00
ErickSkrauch
7c415a0d96
Crowdin's branches support 2020-06-09 21:01:38 +03:00
ErickSkrauch
bf6a76d006
Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
ErickSkrauch
f85b9d8d35 Change prettier rules 2020-05-24 02:08:24 +03:00
SleepWalker
2d903f96fc Upgrade prettier before it will be removed forever 2020-05-20 20:02:22 +03:00
Sviatoslav
dfa8c6df5f Fix sb build (closes #18) (#19)
* Fix storybook build command

* Bump deps

* Add storybook build step

* Perform storybook build quiet

Co-authored-by: ErickSkrauch <erickskrauch@ely.by>
2020-01-16 18:33:05 +03:00
ErickSkrauch
0281c55463
Replace TravisCI with GitLab CI (#16)
* Add gitlab-ci configuration

* Attempt to fix cypress binary installation cache

* Even more improve caching, add wait-on step to ensure, that web server is ready to run cypress

* Exclude cache directory from linting

* Do not cache yarn's global cache to reduce the size of the cache to upload

* Disable Sentry for e2e tests, enable parallelization for cypress

* Store build artifacts

* Add dev deployment stage

* Try to fix commits association

* Fix sentry-cli param name

* Disable host checking for rsync

* Disable host checking via ssh config

* Add production deployment step

* Fix deployment Sentry notifying, allow performing auto deployment with special commit message

* Make autodeploy [deploy]

* Cleanup test branch refs

* Remove environment definition. Detect it based on the domain name

* Store cache for E2E tests separately
2020-01-15 17:57:27 +03:00
ErickSkrauch
7dc22019a5
Fix typo in sentry dsn naming 2020-01-14 15:29:59 +03:00
SleepWalker
3cd2d21fce Disable dll plugin in storybook 2020-01-02 16:45:55 +02:00
SleepWalker
f900321a12 Fix extract css plugin 2019-12-30 10:33:19 +02:00
SleepWalker
4d8704f17c Rename ./dist to ./build 2019-12-30 10:33:19 +02:00
SleepWalker
884c77141a Bump deps 2019-12-30 09:52:21 +02:00
SleepWalker
d5e0e9a7fb Bump deps 2019-12-25 13:28:11 +02:00
SleepWalker
c93a1368f7 Configure storybook 2019-12-09 09:47:51 +02:00
SleepWalker
76679f03a6 Remove old unused env variables 2019-12-09 09:47:24 +02:00
SleepWalker
f9d3bb4e20 Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
SleepWalker
d8d2df0702 Migrate from flow to typescript 2019-12-07 13:42:59 +02:00
SleepWalker
d795ec164f Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
SleepWalker
2708650f17 Upgrade to intl@^3.0.0 2019-11-11 10:40:05 +02:00
SleepWalker
705bc2f9d6 Initial attempt to setup hmr 2019-11-09 19:31:41 +02:00
SleepWalker
116a92b75a Bump deps 2019-11-09 15:17:25 +02:00
SleepWalker
39c186e341 Move to .env configuration 2019-11-09 14:42:02 +02:00
SleepWalker
3b971aca06 Add bundle analyzer plugin 2019-11-09 14:29:08 +02:00
SleepWalker
3a9d81cf57 Minor build performance improvement for dev mode 2019-11-09 14:13:24 +02:00
SleepWalker
3b06d9d2ea Add reporting/stats webpack plugins 2019-11-09 14:11:09 +02:00
SleepWalker
0acf1a8d97 Setup production optimizations 2019-11-09 13:54:30 +02:00
SleepWalker
c1c9d46fda Drop providePlugin usage for react 2019-11-09 13:15:11 +02:00
SleepWalker
93e165667e Configure mini extract css plugin 2019-09-02 08:27:52 +03:00
SleepWalker
fa46046f5f Webpack 4 2019-08-21 07:52:48 +03:00
SleepWalker
4783f1bad0 Bump babel to v7 2019-06-30 18:19:28 +03:00
SleepWalker
b21f650ec6 Bump webpack to v2 2019-06-30 17:31:09 +03:00
SleepWalker
a69ae9d3c6 Improve config check warning 2019-06-09 10:38:59 +03:00
ErickSkrauch
112f3d57f9
Add source maps to allow Sentry create more detailed stacktrace 2019-05-22 19:16:07 +03:00
ErickSkrauch
cb00d0c712 Remove version definition from the application and pass it on build time 2018-03-17 19:14:02 +03:00
ErickSkrauch
83c72e795d Update CSP config to support recaptcha.net domain 2018-03-17 18:21:53 +03:00
ErickSkrauch
9c975aa8cf Добавлено nonce поле для скрипта, исправляющего fetch в Edge 2018-01-28 13:41:38 +03:00
ErickSkrauch
927116db5f Sentry добавлен в допустимый список connect-src для CSP 2018-01-04 02:03:35 +03:00
ErickSkrauch
bf354a0a3d Добавлены заголовки безопасности 2017-12-31 15:28:31 +03:00
ErickSkrauch
a071789e52 Добавлена генерация файла sitemap при сборке проекта 2017-12-31 15:23:31 +03:00
SleepWalker
7dbd569d45 #379: split languageSwitcher to smaller components 2017-12-30 23:44:12 +02:00
SleepWalker
4458b1fe97 #379: move flags related code into a separate module to get rid of code duplication 2017-12-30 23:43:46 +02:00
ErickSkrauch
ed539917d4 Исправлен билд для поддержки загрузки флагов из npm пакета 2017-12-17 17:11:29 +03:00
SleepWalker
170be2c6f0 #305: remove circular dependency detection plugin 2017-10-23 22:01:30 +03:00
SleepWalker
627f81e1b0 Fix typos 2017-08-01 20:44:45 +03:00