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
SleepWalker
b181142d5b
Fix intl-loader, that was broken after json-loader update
2017-08-01 20:44:45 +03:00
SleepWalker
59000926ab
#335 : configure webpack to allow usage of single source of supported languages (i18n/index.json)
2017-06-12 21:57:04 +03:00
SleepWalker
6b81385dc5
#85 : updated to react router 4 and migrated code to support a new api
2017-06-08 07:58:19 +03:00
SleepWalker
8e06adbf21
#247 : track first page view and ignore redirects for GA
2017-01-03 07:56:38 +02:00
SleepWalker
26caa13b5f
Minor fixes
2017-01-02 15:37:02 +02:00
SleepWalker
225163e5c5
#283 : fix style hashes broken by 968b4a
2017-01-02 15:03:38 +02:00