- 03 Feb, 2018 1 commit
-
-
Pete Nykänen authored
* Add graphql loader to webpack config Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update react-scripts README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add integration tests, pin versions in package.json Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Tests expect regexp matchers Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use strict equal test instead Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Escaping is hard Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add comment for signifying a different file * Update docs * Fix jest config * Remove node_modules exclusion * Update README.md * Inline graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update copyright header Signed-off-by: pe...
-
- 01 Feb, 2018 1 commit
-
-
bradfordlemley authored
* Support for multiple source paths via package.json srcPaths entry. Initial support for yarn workspace. Support lerna workspace, fix for when to use template files. Remove support for specifying srcPaths in package.json. Re-enable transpilation caching. * Clean up, use file matching (similar to original) in webpack configs instead of matching function. * Remove package lock files. * Fix for eject. Note: monorepos won't work after eject. Can be fixed easily with JEST 22.0.?+ which has file pattern matches against realpaths. * Filter tests to run only tests in monorepo components included by the app. (Not sure this is desireable, might be cool to be able to easily run all tests in monorepo from one app.) * Fix conditions for when to use template. * Fix eject. * Remove code that is not needed w/ Jest 22. * Include all cra-comp tests in monorepo instead of trying to include only tests that are dependencies of app. (tests can be easily filtered via jest cli if desired, e.g. 'npm test -- myapp comp1') * Pin find-pkg version. * Hopefully fix jest test file matching on windows by removing first slash. * E2E tests for monorepo. * Run monorepo tests in CI. * Fix and test post-eject build. * Fix e2e test. * Fix test suite names in appveyor. * Include individual package dirs as srcPaths instead of top-level monorepo root. Fixes build/start after eject. * Fix running tests after eject. * Clean up test workspace, add some verifcations. * Cleanup. * Try to fix hang when running test on appveyor. * Don't write babel or lint config to package.json when ejecting. * Incorporate review comments. * Simply monorepo pkg finder * Only include monorepo pkgs if app itself is included in monorepo * Check for specific tests in e2e * Fixes for windows. * Fix for kitchensink mocha tests compiling. * Add lerna monorepo test. * Fix lerna bootstrap on windows. * Incorporate more review comments: * remove support for lerna w/o yarn workspace * add react and react-dom as devDeps to comp1 and comp2 * Add monorepo info to user guide.
-
- 22 Jan, 2018 1 commit
-
-
Michaël De Boey authored
-
- 17 Jan, 2018 2 commits
-
-
Ro Savage authored
* Add css modules with [name].modules.css file convention * Add e2e for CSS Modules * Updated based on feedback * Change css modules class name to be deterministic and fix licences * Update css modules class naming convention
-
Jack Franklin authored
* Enhance Jest config error for `setupTestFrameworkScriptFile` I wasn't aware of the fact that users of c-r-a could just define `src/setupTests.js` and it would be configured with Jest - I nearly ejected before I found a GitHub issue that confirmed this functionality. I thought it might be a nice idea to add it to the error about Jest config overrides to stop others ejecting when they don't need to. * Change the order of Jest config errors. * Show different error for `setupTestFrameworkScriptFile` * Tweak the message
-
- 15 Jan, 2018 3 commits
-
-
Gary Meehan authored
-
Dan Abramov authored
Add preflight check to guard against wrong versions of webpack/eslint/jest higher up the tree (#3771) * Run real scripts in local development * Add preflight check warning * I know what I am doing * Move preflight check into individual scripts This ensures we don't try to filter NODE_PATH twice, accidentally removing the now-absolute path. * Slightly tweak the wording * Fix lint
-
aisensiy authored
* update jest to 21.0.2 to support watchPathIgnorePatterns configuration * update jest to 21.1.0 * Try bumping Jest * Bump babel-jest * Try to debug weird CI failure * Remove debug code * Bump other Jest packages * ffs * temp * Revert "temp" This reverts commit 62aec9ac.
-
- 28 Oct, 2017 1 commit
-
-
Joe Haddad authored
-
- 26 Sep, 2017 1 commit
-
-
Sophie Alpert authored
* File headers BSD+Patents -> MIT * BSD+Patents -> MIT
-
- 07 Jul, 2017 1 commit
-
-
Mostafa Hajizadeh authored
Jest's default value for this option is ["js", "json", "jsx", "node"]. CRA's current value is ["web.js", "js", "json", "web.jsx", "jsx"], which is missing one of default ones: "node". This change fixes that. This "node" extension is used in packages that use native code.
-
- 28 Jun, 2017 1 commit
-
-
Evan Jones authored
* Better React Native Web support * Adding better react-native-web support for jest testing
-
- 18 May, 2017 1 commit
-
-
Dan Abramov authored
* Show warnings for builds * Move WebpackDevServer helpers into react-dev-utils
-
- 16 May, 2017 3 commits
-
-
Dan Abramov authored
-
Ryan Sullivan authored
* Override Jest config collectCoverageFrom with package.json * Protect against overriding other options * Better error message * Create Jest config early on eject * Tweak wording * Dry it up
-
Tom Dunlap authored
* Only run tests in <rootDir>/src (#544) * updates Jest to 19.0.2 * removes testPathIgnorePatterns from jest config * adds testMatch to jest config to only match files in src * Bump babel-jest to 19.0.0 to match jest 19.0.2
-
- 15 May, 2017 4 commits
-
-
Rogelio Guzman authored
* Upgrade to Jest 19 * Use testMatch * Correct version
-
Dan Abramov authored
-
James Blight authored
* Change proxy handling to allow multiple proxies to be specified in package.json. * Up webpack-dev-server to 2.4.2 Webpack Dev Server version 2.4.2 handles the external websocket upgrade for all proxies * Fix the listen() call * Switch to correct default host * Remove promises and extract to react-dev-utils * oops
-
Dan Abramov authored
* Tweak error and warning output * Add a colon
-
- 14 May, 2017 2 commits
-
-
Siddharth Doshi authored
* Add custom eslint formatter * Add formatter docs * Update formatter docs * Slightly tweak it * Update README.md
-
Dan Abramov authored
* Click to view source * Update package.json * Update package.json * Fix lint
-
- 08 May, 2017 1 commit
-
-
Jeremy Morrell authored
-
- 21 Apr, 2017 1 commit
-
-
Buns Shar authored
* Change proxy localhost to I27.0.0.1 for windows * Update comment * resolve localhost IP with DNS lookup on windows * Fix CI errors * Promisify addWebpackMiddleware * Remove Node 6 syntax * Update addWebpackMiddleware.js * Actually use the resolved proxy
-
- 15 Apr, 2017 1 commit
-
- 07 Mar, 2017 1 commit
-
-
Valerii Sorokobatko authored
* mv create-react-app/index.js -> create-react-app/creteReactApp.js * update to modern code style * var -> cosnt * set trailing-coma to es5 for prettier
-
- 06 Mar, 2017 1 commit
-
-
Dan Abramov authored
-
- 04 Mar, 2017 1 commit
-
-
Daniel Grant authored
* Refactor start script into modules * Move dev server config into config file * Replace eject file whitelist with a "remove-file-on-eject" flag * Move utils into scripts folder (for inclusion in ejection) * Add missed changes * Pass showInstructions as an argument * Fix eject bug * Don't eject babelTransform
-
- 23 Sep, 2016 1 commit
-
-
Dan Abramov authored
* Extract some utilities into a separate package * Add utils dir to `files` in package.json * Do not create an empty `utils` dir on eject
-
- 22 Sep, 2016 2 commits
-
-
Dan Abramov authored
Fixes #410, #674
-
Dan Abramov authored
-
- 19 Sep, 2016 1 commit
-
-
Ville Immonen authored
-