Commit Graph

67 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
930a272cd0 Fix crowdin's branch selection for non-tty environment, add support for CI-provided branch name [skip ci]
Show crowdin's error at any depth

Show branch name on i18n:push

Unpack git .pack objects to fix automatic branch detect (seems like a workaround for a workaround 🙃)

Detect git branch from CI if available.
Replace git-repo-info with git-rev-sync (maintained)

Fix accidentally removed git installation for Yarn job
2020-07-23 23:06:21 +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
82abe0a746
Extract general popups markup to its own component
Split popups controllers into separate components
Implemented storybooks for all project's popups
2020-07-06 19:29:56 +03:00
ErickSkrauch
5f6c11dddb Pin inquirer to the version, when it throws an exception on unavailable TTY 2020-06-10 00:21:36 +03:00
ErickSkrauch
7b74d7820c
Cleanup dependencies 2020-06-09 21:07:21 +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
5e62c930b1
Cleanup the crowdin integration script, completely migrate it to API v2 2020-05-27 18:52:06 +03:00
ErickSkrauch
e47eaf720f
Reimplement the pull command of the crowdin script 2020-05-26 19:22:21 +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
SleepWalker
a5404002fd Bump deps 2020-05-21 21:52:58 +03:00
SleepWalker
97d2841eda Add @testing-library/cypress 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
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
925a3a868e Some more minor fixes 2019-12-30 10:57:52 +02:00
SleepWalker
b3f1268950 Replace react-helmet with react-helmet-async 2019-12-30 09:52:22 +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
c93a1368f7 Configure storybook 2019-12-09 09:47:51 +02:00
SleepWalker
8734956c79 Upgrade cypress to the latest version and configure it to support ts 2019-12-07 23:18:30 +02:00
SleepWalker
c638c1566e Replace classnames with clsx 2019-12-07 21:43:08 +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