Commit Graph

925 Commits

Author SHA1 Message Date
ErickSkrauch
cd6c5fce4c
Allow the application to work without en.json file in dev environment 2020-06-09 21:02:03 +03:00
ErickSkrauch
02e767b57c
Simplify locales preloading 2020-06-09 21:01:54 +03:00
ErickSkrauch
7c415a0d96
Crowdin's branches support 2020-06-09 21:01:38 +03:00
ErickSkrauch
0dc83a4ab1
Add git to install deps steps 2020-06-05 18:48:32 +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
e962a01a4a
Fix tests 2020-06-04 21:03:24 +03:00
ErickSkrauch
f2b4ee1b4d
Remove all locales from the repository 2020-06-04 20:10:39 +03:00
ErickSkrauch
747e21f0ae
Fix linting errors 2020-06-04 19:54:33 +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
57cf6b3776
Migrate i18n-collect to the new prompt library 2020-05-27 19:06:44 +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
ErickSkrauch
f85b9d8d35 Change prettier rules 2020-05-24 02:08:24 +03:00
ErickSkrauch
73f0c37a6a Merge branch 'improve_typings' 2020-05-24 01:58:28 +03:00
SleepWalker
0192f53932 Fix linting errors 2020-05-21 21:52:58 +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
ErickSkrauch
a0ec9574e2
Remove engine requirements completely 2020-05-20 20:37:39 +03:00
ErickSkrauch
b073ebea10
Ignore engines since yarn 1.19.1 is the only version, working with workspaces well 2020-05-20 20:31:32 +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
ErickSkrauch
649e7b8e23
Merge pull request #20 from elyby/setup-intl-for-sb
Integrate storybook-addon-intl
2020-01-20 14:06:31 +03:00
SleepWalker
d98dee018a Fix issue with Intl polyfill and RegExp caching 2020-01-20 12:47:28 +02: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
228bc048af
Add typings for Box and BoxesField classes, split BSoD view into controller and pure view, add storybook, fix support link styles 2020-01-15 23:39:53 +03:00
ErickSkrauch
32ebba63a1
Add global app styles to the StoryBook, fix casing for UI stories 2020-01-15 22:22:35 +03:00
ErickSkrauch
503687c50a
Rework FooterMenu, add vertical padding and let links break on multiple lines. Add a story for the FooterMenu 2020-01-15 22:14:35 +03:00
ErickSkrauch
0bc1c08c07
Cache all workspaces 2020-01-15 20:32:04 +03:00
ErickSkrauch
51016c971b
Migrate to simple images to speedup CI 2020-01-15 18:57:20 +03:00
ErickSkrauch
f05409c218
Pin browser's language for e2e tests 2020-01-15 17:59:56 +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
4b71e8b12e
Ignore cypress outputs 2020-01-14 15:30:07 +03:00
ErickSkrauch
7dc22019a5
Fix typo in sentry dsn naming 2020-01-14 15:29:59 +03:00
ErickSkrauch
7b85004994
Fix e2e tests 2020-01-14 15:29:51 +03:00
ErickSkrauch
438becb834
Fix e2e tests 2020-01-14 14:52:55 +03:00
ErickSkrauch
eee8f257e3
Remove old config file 2020-01-09 16:27:49 +03:00
ErickSkrauch
0f6c376456
Merge pull request #14 from elyby/deps-updates
Upgrade project
2020-01-09 13:32:12 +03:00
SleepWalker
3cd2d21fce Disable dll plugin in storybook 2020-01-02 16:45:55 +02:00
SleepWalker
925a3a868e Some more minor fixes 2019-12-30 10:57:52 +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
03e26209f4 Add some split points for routes 2019-12-30 10:33:18 +02:00
SleepWalker
5428e53a86 Minor tests improvements 2019-12-30 10:33:18 +02:00