Commit Graph
180 Commits
Author SHA1 Message Date
Paul Kaplan d1014d299d Add audio effects and container test 2017-08-04 12:21:45 -04:00
greenkeeper[bot] d36ff47bb9 chore(package): update html-webpack-plugin to version 2.30.0 2017-07-31 09:19:59 +00:00
Paul Kaplan 788aec02e6 Merge pull request #552 from paulkaplan/eslint-import
Add import/export rules and fix lint errors
2017-07-21 09:43:23 -04:00
Ray Schamp 6c9c72dff8 Merge pull request #471 from LLK/greenkeeper/html-webpack-plugin-2.29.0
Update html-webpack-plugin to the latest version 🚀
2017-07-21 09:30:48 -04:00
Paul Kaplan 60f00edeed Add config for eslint import as well 2017-07-21 08:58:24 -04:00
Paul Kaplan 8a10c04f42 Add import/export rules and fix lint errors 2017-07-21 08:58:24 -04:00
Paul Kaplan 846eed5c66 Merge branch 'develop' into feature/jest-setup 2017-07-21 08:46:50 -04:00
chrisgarrity c68653a38e Merge pull request #551 from chrisgarrity/feature/gh511-language-selector
Add language selection widget to menubar
2017-07-20 09:53:16 -04:00
Paul Kaplan c11d90ec4b Merge branch 'develop' into feature/jest-setup 2017-07-20 08:39:00 -04:00
chrisgarrity 2dd3782746 handle messages better
Dynamic import didn’t do what we wanted, so just added `npm run i18n:msgs` to the start command. This is just temporary. Other changes as requested:
* exports in one place
* loc=> locale

Also fixed use of require for localeData to use dynamic import (this one works), so the babelrc changes are needed, otherwise import as a function is not recognized.
2017-07-19 17:06:56 -04:00
Paul Kaplan 19a007ab62 Update package.json 2017-07-19 11:12:07 -04:00
Paul Kaplan 65a94643a0 Update package.json 2017-07-19 11:11:54 -04:00
Paul Kaplan a6c2e0df6c Merge branch 'develop' into greenkeeper/react-modal-2.2.2 2017-07-19 08:48:51 -04:00
chrisgarrity 1225d38763 Integrate react-intl with redux
Using react-intl-redux package.

This just sets up the default English. Language switching in another PR. Requires locale/messages.json to exist, `{}` is ok.
2017-07-18 10:00:22 -04:00
chrisgarrity 0d4fcf1165 Generate messages json from available translations
Generate `locale/messages.json` from available languages in `translations`.  If there are no translations for a given language (from `languages.json`) it just skips it, react-intl will use the default english strings.

Just using English, French and Spanish for testing right now.
2017-07-18 09:47:58 -04:00
Paul Kaplan 85b499289d Merge branch 'develop' into greenkeeper/react-modal-2.2.2 2017-07-17 15:27:07 -04:00
chrisgarrity 7e64c8972e Generate i18n source separate from build step
Generating the localization source to update the translation system (transifex) is really separate from building. When building we want to be using the current state of translations from transifex, and the english default strings are not needed.

Uses the babel-cli to run the babel-plugin-react-intl separately from  webpack.
2017-07-17 09:16:35 -04:00
chrisgarrity ba53b1c720 Parameterize script
Making the script easier to reuse later.
2017-07-17 09:16:35 -04:00
chrisgarrity 8817111063 Generate en.json from translation messages
Using babel-plugin-react intl to extract messages from sources that use react-intl. It creates one file per component, that’s not ideal for translators.

Transifex supports several different json formats. We picked the chrome i18n json format because it includes the ‘description’ and displays that to translators as instructions in the transifex UI.
2017-07-17 09:16:35 -04:00
Paul Kaplan fc614a68a5 Merge branch 'develop' into greenkeeper/redux-3.7.0 2017-07-17 08:18:29 -04:00
greenkeeper[bot] 2046bdf2d3 chore(package): update react-modal to version 2.2.2 2017-07-11 17:21:04 +00:00
Paul Kaplan be5941d7cd Merge branch 'develop' into greenkeeper/react-dom-15.6.0 2017-07-11 10:39:15 -04:00
Paul Kaplan c991864f45 Merge branch 'develop' into greenkeeper/react-modal-2.2.1 2017-07-11 09:14:43 -04:00
Paul Kaplan 60e0654299 Merge pull request #456 from LLK/greenkeeper/react-15.6.0
Update react to the latest version 🚀
2017-07-11 08:49:30 -04:00
Paul Kaplan 6a409fdef1 Merge pull request #475 from LLK/greenkeeper/svg-url-loader-2.1.0
Update svg-url-loader to the latest version 🚀
2017-07-10 10:40:13 -04:00
Paul Kaplan 8465f8c8dd Merge pull request #506 from LLK/greenkeeper/autoprefixer-7.1.2
Update autoprefixer to the latest version 🚀
2017-07-10 10:38:56 -04:00
Paul Kaplan 49174da4f0 Merge pull request #454 from LLK/greenkeeper/react-tabs-1.1.0
Update react-tabs to the latest version 🚀
2017-07-10 10:15:53 -04:00
greenkeeper[bot] 899610bb92 chore(package): update autoprefixer to version 7.1.2 2017-07-06 15:49:10 +00:00
chrisgarrity de25ddefff Localize first elements
Costumes and Sound tab strings.
2017-06-30 14:55:14 -04:00
greenkeeper[bot] f4b95f3661 chore(package): update react-modal to version 2.2.1
Closes #429
2017-06-30 12:23:23 +00:00
Susie Sahim 10b579e9e2 Add unit tests for sprite selector item component and sprite selector item container 2017-06-29 20:33:48 -07:00
Susie Sahim 6a5540ed9d Merge branch 'develop' into feature/jest-setup 2017-06-29 18:55:13 -07:00
greenkeeper[bot] c8248799c2 chore(package): update svg-url-loader to version 2.1.0 2017-06-28 07:56:57 +00:00
Paul Kaplan c0f998ee4a Pin to specific version 2017-06-26 17:07:39 -04:00
greenkeeper[bot] 02a005a96f chore(package): update html-webpack-plugin to version 2.29.0 2017-06-24 22:42:28 +00:00
Paul Kaplan dca9e70ced Add recorder and playback 2017-06-22 15:07:41 -04:00
greenkeeper[bot] 8e9d0e5f1f chore(package): update redux to version 3.7.0 2017-06-17 02:49:30 +00:00
greenkeeper[bot] 7c9f60313b chore(package): update react-dom to version 15.6.0 2017-06-15 04:06:49 +00:00
greenkeeper[bot] 0fcf7cb544 chore(package): update react to version 15.6.0 2017-06-15 02:09:25 +00:00
greenkeeper[bot] 69f4090c78 chore(package): update react-tabs to version 1.1.0 2017-06-14 22:39:34 +00:00
Ray Schamp 776db9da9d Merge branch 'develop' into bugfix/npm-install 2017-06-14 17:02:51 -04:00
Ray Schamp 975d764e22 Use personal fork for gh-pages
In case the remote one gets deleted for some reason. I already had a fork of gh-pages, which is why I'm using rschamp rather than LLK. This is intended to be temporary.
2017-06-14 15:57:16 -04:00
Susie Sahim 222f601ddf Remove unused babel plugin. 2017-06-13 14:41:04 -07:00
Susie Sahim 83475bb565 Configure Jest to mock svgs and css so that it doesn't throw syntax errors. This is also per recommendation in the Jest docs:
https://facebook.github.io/jest/docs/webpack.html
2017-06-13 13:47:34 -07:00
Susie Sahim ad2ab75d6e WIP getting a react test working. Throws syntax error on svgs so need to maybe configure jest to use existing webpack config instead which probably properly handles svgs.
- added additional plugins to get tests working
2017-06-13 13:44:34 -07:00
Susie Sahim ea6d5d6766 \o/ Successfully got hello world of jest working on windows (in windows cmd line). For some reason git bash doesn't work. 2017-06-10 13:20:45 -07:00
Susie Sahim d62e13a1e3 Try going to more basic jest setup to see if we can get it working. 2017-06-10 12:54:10 -07:00
Susie Sahim b909f05d3f Setup jest. Tried following instructions for webpack. jest not working at this point. 2017-06-10 12:42:08 -07:00
Susie Sahim 42e9a7e49d Add deps for jest. 2017-06-10 10:07:55 -07:00
Ray Schamp ba6f6a9758 Don't need stages with only one Node version... 2017-06-09 18:07:06 -04:00