Commit Graph

99 Commits

Author SHA1 Message Date
Jeff Avallone 0a9b0f6bfb Running tests in production environment to remove spurious warnings
This gets rid of the warnings from React due to jsdom not recognizing
SVG elements. Looks like there's a PR against jsdom that might fix this,
so once that's in this change can be reverted
2018-02-18 16:11:25 -05:00
Jeff Avallone 6e8d7c297a Moving to using a decorator mixin instead of base class for SVGs 2018-02-17 16:58:49 -05:00
Jeff Avallone d2651c585f Turn off modules in babel build (webpack handles it) 2018-02-17 15:20:23 -05:00
Jeff Avallone dea6d92272 Reorganizing the rendering flow 2018-02-17 10:45:03 -05:00
Jeff Avallone 06a90429ff Getting Download links working 2018-02-16 22:47:53 -05:00
Jeff Avallone 82b780e9c3 First cut of SVG rendering components
These still need work, but they're functional enough to render a diagram
2018-02-16 19:16:30 -05:00
Jeff Avallone 3fdc74bdf2 Adding color output to prerender script and relocating to script 2018-02-16 17:16:23 -05:00
Jeff Avallone d69ab00ad5 Updating i18n:scrub command with better output 2018-02-16 17:15:45 -05:00
Jeff Avallone 5218906385 Adding script to scrub locale files
For any keys in en/translation.yaml and missing in
<lang>/translation.yaml, this tool will add the key to
<lang>/missing.yaml. This is to facilitate translation of keys that have
been added to the app.

This also serves as a lint-like tool for translation files since they
will all be re-written when running.
2018-02-15 21:19:25 -05:00
Jeff Avallone adba2999bf Updating prerender script to use async/await 2018-02-15 20:26:03 -05:00
Jeff Avallone 9adaa6041d Formatting 2018-02-15 20:03:04 -05:00
Jeff Avallone 74f1513311 Moving configs into package.json 2018-02-15 18:17:40 -05:00
Jeff Avallone 7a8a9836aa Adding to i18n mocks 2018-02-15 17:35:12 -05:00
Jeff Avallone d9af19ca63 Cleanup setup modules 2018-02-15 17:33:14 -05:00
Jeff Avallone fcba4b75ec Moving Jest setup and consolidating 2018-02-15 17:27:15 -05:00
Jeff Avallone eb384831fe Tweaking Jest config 2018-02-15 17:22:25 -05:00
Jeff Avallone 8817b5f027 Setting up webpack resolve root 2018-02-13 20:09:52 -05:00
Jeff Avallone d8a8177f41 Setting NODE_ENV for builds 2018-02-13 17:54:14 -05:00
Jeff Avallone 888336cbec Adding loader for i18next translation files 2018-02-13 17:46:44 -05:00
Jeff Avallone 1fd797f52a Adding identity-obj-proxy for CSS module mocks 2018-02-13 17:15:33 -05:00
Jeff Avallone 20adf55c11 Breaking up main stylesheet into per-component styles 2018-02-13 17:12:02 -05:00
Jeff Avallone 7238643740 Reworking static page generation
Including styles in components wasn't working with the old system.
2018-02-13 17:10:32 -05:00
Jeff Avallone 21146549f7 Adding language detection 2018-02-11 18:43:11 -05:00
Jeff Avallone 355ef79d20 Adding i18next 2018-02-11 18:37:07 -05:00
Jeff Avallone 63e56c5df7 Setting browserslist 2018-02-11 14:56:39 -05:00
Jeff Avallone eda8daf8dd Switching to use cssnext 2018-02-11 14:51:17 -05:00
Jeff Avallone ca41d2015a Adding test coverage 2018-02-11 13:10:24 -05:00
Jeff Avallone edf4ecd081 Removing react-test-renderer 2018-02-11 11:58:03 -05:00
Jeff Avallone cabc2adc1f Adding enzyme 2018-02-11 11:49:50 -05:00
Jeff Avallone 8b86ddc14c Updating babel and eslint configs
Adding support for class properties amongst other things
2018-02-11 11:16:07 -05:00
Jeff Avallone b009d078b6 Adding Sentry.io 2018-02-11 10:41:03 -05:00
Jeff Avallone fd5a8786d0 Adding Google Analytics 2018-02-11 10:27:43 -05:00
Jeff Avallone 70455ea2b8 Moving build-time deps out of devDependencies 2018-02-11 09:41:03 -05:00
Jeff Avallone bdf54945fe Keeping description consistent across app 2018-02-11 07:11:16 -05:00
Jeff Avallone 49a236bf89 Switching back to SVG components for icons
No longer need the hack to only use them in components while URLs are
used in styles since I don't need icons in the styles anymore. Embedding
the markup also provides the option to restyle the icons
2018-02-11 06:58:59 -05:00
Jeff Avallone 1de5079aa9 Rendering page template using React
Allows for using components (like Message) when rendering the base page
template
2018-02-11 06:53:34 -05:00
Jeff Avallone 810b37aa47 Removing SVG components
Sticking with importing data URIs for now
2018-02-11 06:51:54 -05:00
Jeff Avallone c38a9ddb3b Reworking test commands to include lint with unit tests
Also adding a test:watch command
2018-02-10 19:23:56 -05:00
Jeff Avallone ef4259908c Using gitignore for eslint 2018-02-10 18:31:16 -05:00
Jeff Avallone 3e729b2a34 Adding Jest 2018-02-10 18:30:07 -05:00
Jeff Avallone 916b38c6c5 Moving webpack-dev-server to dev dependencies 2018-02-10 18:14:22 -05:00
Jeff Avallone 738902d0ce Adding precommit hook 2018-02-10 18:11:30 -05:00
Jeff Avallone cca35117f5 Adding eslint 2018-02-10 18:03:21 -05:00
Jeff Avallone 74d622c7a4 Getting icon loading in the root styles working 2018-02-10 17:55:48 -05:00
Jeff Avallone 8eb4b450ca Adding SVG icons 2018-02-10 16:32:52 -05:00
Jeff Avallone e52103a516 Integrating React 2018-02-10 16:22:59 -05:00
Jeff Avallone 40d08ddef8 Adding service worker cache 2018-02-10 16:08:42 -05:00
Jeff Avallone 97a61dc0f3 Adding prod and dev webpack configs 2018-02-10 16:05:25 -05:00
Jeff Avallone d78f4efd16 Base webpack config 2018-02-10 15:58:54 -05:00
Jeff Avallone ae2b7c74dd Clearing out old site code 2018-02-10 13:33:13 -05:00