1. 02 Feb, 2018 1 commit
    • Ian Sutherland's avatar
      Named asset import for SVG files (#3907) · d0e17316
      Ian Sutherland authored
      * Add named asset import for svg files via babel plugin and webpack loader.
      
      * Fix failing e2e test
      
      * Switched to svgr loader
      
      * Updated SVG component test
      
      * Disable named asset import plugin in test environment
      
      * Added tests for including SVG in CSS
      
      * Update tests
      
      * Moved babel plugin config into webpack config
      Unverified
      d0e17316
  2. 01 Feb, 2018 1 commit
    • bradfordlemley's avatar
      Add support for yarn and lerna monorepos. (#3741) · b43ad04b
      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.
      b43ad04b
  3. 22 Jan, 2018 1 commit
  4. 17 Jan, 2018 2 commits
  5. 15 Jan, 2018 2 commits
    • Dan Abramov's avatar
      Add regression test for #3055 (#3791) · 0ff23494
      Dan Abramov authored
      Unverified
      0ff23494
    • Clement Hoang's avatar
      Switch to Babel 7 (#3522) · 1552949a
      Clement Hoang authored
      * Update dependencies in react-scripts
      
      * Add first pass of working dependencies for babel-preset-react-app and react-scripts
      
      * Bump more dependency versions
      
      * Adjust more versions and edit fix options
      
      * Restore functionality of old preset
      
      * Disable Uglify in iframe webpack
      
      * Apply prettier
      
      * Re-enable cache in dev and clean deps
      
      * Lock packages and move babel/core to dep in preset
      
      * Bump babel-jest
      
      * Re-enable uglify
      
      * Nest forceAllTransforms correctly in webpack config
      
      * Install babel-core bridge for jest
      
      * Add jest-cli and babel-core bridge to make tests in react-error-overlay pass
      
      * Re-enable transform-dynamic-import
      
      * Add dynamic import syntax support back
      
      * Use new babel in kitchensink
      
      * Transform modules in test
      
      * Revert "Transform modules in test"
      
      This reverts commit 539e46a1.
      
      * Attempt fix for ejected tests
      
      * try this
      
      * Add regenerator back
      
      * Bump babel deps to beta.34
      
      * Remove bad files
      
      * Use default when requiring babel transform plugin
      
      * Bump deps
      
      * Try the fix?
      
      * Oopsie
      
      * Remove some weird things
      
      * Run Babel on react-error-overlay tests
      
      * Try fixing kitchensink
      
      * Use new API for codeFrame
      
      * Add missing (?) babelrc
      
      * Maybe this helps?
      
      * Maybe fix mocha
      
      * I shouldn't have deleted this :face_palm:
      Unverified
      1552949a
  6. 14 Jan, 2018 1 commit
  7. 09 Jan, 2018 1 commit
  8. 26 Sep, 2017 1 commit
  9. 10 Sep, 2017 1 commit
  10. 29 Jun, 2017 1 commit
  11. 28 Jun, 2017 2 commits
  12. 26 Jun, 2017 1 commit
    • Fabrizio Castellarin's avatar
      E2E testing enhancements (#2408) · 1f91848d
      Fabrizio Castellarin authored
      * Local testing with docker
      
      * Docs on e2e testing
      
      * `bash` callback after docker
      
      * Add a TL;DR in the CONTRIBUTING section
      
      * Local e2e testing with modified files
      
      * Remove the N.B. from the README
      
      * Fixed a fixme in e2e doc
      1f91848d
  13. 14 May, 2017 1 commit
  14. 12 May, 2017 1 commit
  15. 08 May, 2017 1 commit
  16. 05 May, 2017 1 commit
  17. 25 Apr, 2017 1 commit
  18. 15 Apr, 2017 1 commit
  19. 07 Mar, 2017 2 commits
    • Valerii Sorokobatko's avatar
      update to modern code style (#1738) · fe7b5c21
      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
      fe7b5c21
    • Rory Hunter's avatar
      Whitelist files that can be embedded through url-loader (#1305) · 2ac1b38e
      Rory Hunter authored
      * Whitelist files that can be embedded through url-loader
      
      Change the current catch-all loader to use file-loader instead of
      url-loader, and exclude common image file extensons. Add another url-loader
      for images, configured identically to the original catch-all loader.
      
      Part of issue #1293.
      
      * Update tests to reflect change in loader config
      
      * Integration test fix
      
      * More CI fixes
      
      * Work around broken loader-utils behaviour in integration tests
      
      * Revise the documentation around file loading
      
      * Documentation tweaks
      
      * Docs tweak
      
      * Update test now that webpack/loader-utils has been updated
      
      * Update react-scripts to depend on babel-loader@7.0.0-alpha.2
      
      * Bump deps
      2ac1b38e
  20. 06 Mar, 2017 1 commit
  21. 05 Mar, 2017 1 commit
  22. 25 Feb, 2017 1 commit
  23. 15 Feb, 2017 1 commit
  24. 11 Feb, 2017 1 commit
    • Joe Haddad's avatar
      Upgrade webpack (#1291) · 12288836
      Joe Haddad authored
      * Upgrade webpack
      
      * Address more webpack v2 ...
      
      * Update html-webpack-plugin
      
      * Remove LoaderOptionsPlugin from dev config
      
      * ExtractTextPlugin still uses webpack 1 syntax
      ... and doesn't support complex options (yet)
      
      * Grammar nit
      
      * Update extract text webpack plugin
      
      * - Remove webpack.LoaderOptionsPlugin
      - Update deps
      
      * Lerna hoists packages
      
      * Update extract-text-webpack-plugin
      
      * Update webpack-dev-server
      
      * Remove imports for the tests
      
      * stop removing babelrc
      12288836
  25. 10 Feb, 2017 1 commit
    • Joe Haddad's avatar
      Add `PUBLIC_URL` env variable for advanced use (#937) (#1504) · 613b584f
      Joe Haddad authored
      * Add `PUBLIC_URL` env variable for advanced use (#937)
      * Add support for `PUBLIC_URL` env variable
      * Remove unnecessary duplications
      * Simplify served path choice logic
      * Honor PUBLIC_URL in development
      * Add e2e tests
      
      Enables serving static assets from specified host.
      613b584f
  26. 08 Feb, 2017 1 commit
  27. 30 Jan, 2017 2 commits
  28. 23 Jan, 2017 1 commit
    • Fabrizio Castellarin's avatar
      Use a more sophisticated template for end-to-end testing. (#1187) · 9099570b
      Fabrizio Castellarin authored
      * Use a more sophisticated template for end-to-end testing.
      
      * Not publish integration tests to npm
      
      * Use "commander" for  cli argv handling
      
      * Handle different scripts version forms and exits without a name given
      
      * Prepare the commands for testing with a template
      
      * Fix dev "template" path
      
      * Add various features to test
      
      * Test various features separately
      
      * Test language features
      
      * Comment unused e2e.sh lines
      
      * Add "development" tests
      
      * Test environment variables
      
      * Test webpack plugins
      
      * Replace kitchensink README
      
      * Switch integration tests from jest to mocha
      
      * Use `fs-extra`
      
      * Use the correct folders
      
      * Do some cleanup
      
      * Print a better message for `--template`
      
      * Test `npm start` with and without https
      
      * Separate fast e2e testing from kitchensink testing
      
      * Hide `--internal-testing-template` (former `--template`) CLI option
      9099570b