Commit Graph

185 Commits

Author SHA1 Message Date
ErickSkrauch
4525089725
The UI is adapted to the RTL layout 2021-03-26 04:19:04 +01:00
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
c1a790f48b
Build app for the latest browsers in dev mode. Upgrade babel [skip ci] 2020-07-20 14:56:47 +03:00
ErickSkrauch
7c415a0d96
Crowdin's branches support 2020-06-09 21:01:38 +03:00
ErickSkrauch
243510a671
Remove defaultMessages from the production build.
Don't run the application before active locale will be loaded
2020-06-05 18:34:59 +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
b5d1cb01d4 Removed husky, because commits that are created within a minute are not okay 2020-05-24 02:14:33 +03:00
ErickSkrauch
f85b9d8d35 Change prettier rules 2020-05-24 02:08:24 +03:00
SleepWalker
a5404002fd Bump deps 2020-05-21 21:52:58 +03:00
SleepWalker
e1f15b5d22 Fix all tests and replace enzyme with @testing-library/react 2020-05-21 21:52:58 +03:00
ErickSkrauch
a0ec9574e2
Remove engine requirements completely 2020-05-20 20:37:39 +03:00
SleepWalker
8eac2b97b5 Upgrade react-intl and friends to the most recent version 2020-05-20 20:16:43 +03:00
SleepWalker
29326519b8 Upgrade ts to the latest version and fix type errors 2020-05-20 20:02:24 +03:00
SleepWalker
2d903f96fc Upgrade prettier before it will be removed forever 2020-05-20 20:02:22 +03:00
SleepWalker
39576c0480 Bump deps and fix webpack dev mode 2020-05-20 20:01:35 +03:00
ErickSkrauch
96049ad4ad Implemented strict mode for the project (broken tests, hundreds of @ts-ignore and new errors are included) [skip ci] 2020-05-20 19:59:43 +03:00
ErickSkrauch
10e8b77acf Reimplement scripts with TS 2020-05-20 19:59:43 +03:00
SleepWalker
3608a53a95 Integrate storybook-addon-intl 2020-01-20 12:46:59 +02: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
SleepWalker
3cd2d21fce Disable dll plugin in storybook 2020-01-02 16:45:55 +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
f72c880ad1 Bump deps to the latest versions 2019-12-13 09:53:09 +02:00
SleepWalker
71833c1033 Switch Profile to new Context API 2019-12-12 09:26:23 +02:00
SleepWalker
9ef65920fe Fix build cmd 2019-12-11 09:57:50 +02:00
SleepWalker
2a2a473e39 Enable linting for /tsx?/ files 2019-12-10 09:17:44 +02:00
SleepWalker
c93a1368f7 Configure storybook 2019-12-09 09:47:51 +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
85a535430e Add husky and lint-staged 2019-11-27 11:10:37 +02:00
SleepWalker
d795ec164f Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
SleepWalker
991031f211 Migrate from karma+mocha to jest 2019-11-27 10:09:51 +02:00
SleepWalker
06597c482a Bump deps 2019-11-26 20:14:46 +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
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
627d503d43 Major deps updates: router, redux, intl, react-transition-group, flow-type, testing deps 2019-06-30 16:32:50 +03:00
ErickSkrauch
9ee96473c2
Upgrade node-sass to be compatible with Node.js 12 2019-05-20 16:09:38 +03:00
ErickSkrauch
2cf86dc5d7 Prepare project to OpenSource 2019-03-10 21:30:42 +03:00
ErickSkrauch
9f49bebc3b Replace OneSkyApp with Crowdin API. Remove unused strings from password component 2019-03-09 03:10:06 +03:00