1. 24 Feb, 2017 3 commits
  2. 23 Feb, 2017 1 commit
    • Jirat Ki's avatar
      Install react, react-dom, and react-scripts at the same time (#1253) · a82896c3
      Jirat Ki authored
      * Install react and react-dom along with react-scripts
      
      - Install react, react-dom and react-script in a same time
      - Move react-scripts to devDependencies.
      
      * Check if react, react-dom has been already installed
      
      - To backward compatibility with old CRA’s cli
      - In case old CRA doesn’t install react, react-don along with
      react-scripts
      
      * Use packageName to find script dependency
      
      - use packageName to find dependency
      - fix pathExists.sync
      
      * Check dependencies.react in package.json instead of actual files
      
      * Process exit when dependencies not found
      
      - Show error and exit when dependencies not found.
      - Log install show custom package name
      
      * Remove template string
      
      * Install dependencies if template is preseted
      
      * Remove dangling comma
      
      Resolves #1239
      a82896c3
  3. 18 Feb, 2017 1 commit
  4. 15 Feb, 2017 1 commit
  5. 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
  6. 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
  7. 09 Feb, 2017 1 commit
  8. 08 Feb, 2017 1 commit
  9. 27 Jan, 2017 1 commit
  10. 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
  11. 09 Jan, 2017 2 commits
    • Ville Immonen's avatar
      Use yarnpkg alias to run Yarn (#1365) · 24abc5e1
      Ville Immonen authored
      There’s a common tool included in Hadoop that also has a `yarn` command,
      which created issues for users who had Hadoop installed:
      * #1257
      * #1363
      
      Yarn also installs the command under `yarnpkg` alias (added in
      https://github.com/yarnpkg/yarn/commit/cefa9a368dd3df1a1f1ecd9e50de9c5fabefbc92)
      so we can use `yarnpkg` instead of `yarn` to make it more reliable.
      
      This has no effect on users who don't have Hadoop installed, but those
      who have won't see errors from falsely detecting Hadoop Yarn as Yarn
      the package manager, and they can now also install Yarn to make use of
      our Yarn support without the Hadoop Yarn interfering.
      24abc5e1
    • Ville Immonen's avatar
      Use yarnpkg alias to run Yarn (#1365) · 1b645e2c
      Ville Immonen authored
      There’s a common tool included in Hadoop that also has a `yarn` command,
      which created issues for users who had Hadoop installed:
      * #1257
      * #1363
      
      Yarn also installs the command under `yarnpkg` alias (added in
      https://github.com/yarnpkg/yarn/commit/cefa9a368dd3df1a1f1ecd9e50de9c5fabefbc92)
      so we can use `yarnpkg` instead of `yarn` to make it more reliable.
      
      This has no effect on users who don't have Hadoop installed, but those
      who have won't see errors from falsely detecting Hadoop Yarn as Yarn
      the package manager, and they can now also install Yarn to make use of
      our Yarn support without the Hadoop Yarn interfering.
      1b645e2c
  12. 30 Dec, 2016 1 commit
  13. 23 Dec, 2016 1 commit
  14. 18 Dec, 2016 1 commit
  15. 13 Dec, 2016 1 commit
  16. 11 Dec, 2016 3 commits
  17. 09 Dec, 2016 1 commit
  18. 07 Dec, 2016 1 commit
    • Dan Abramov's avatar
      Let Jest handle all file types (#1197) · 5456ffff
      Dan Abramov authored
      * Let Jest handle all file types
      
      * Update regexes
      
      * Fix exclusion regex to also exclude files without extension
      * Be over-cautious with Windows paths because I'm not sure how Jest handles them
      
      * There is no automatic babel-jest discovery now that we use transsform
      5456ffff
  19. 03 Dec, 2016 1 commit
  20. 23 Nov, 2016 2 commits
  21. 22 Nov, 2016 1 commit
    • Ian McNally's avatar
      add logging of existing default port process on start (#816) · 05c3b55c
      Ian McNally authored
      * add logging of existing port process on start
      
      * Move port process wording in start command on to next line
      
      * Color the named processes as cyan in terminal output
      
      * Add handling for multiple processes on a part
      
      - With the currently process filtering, if multiple processes are returned as running on port 3000, this command would fail. This splits apart the process IDing and the process naming, to support multiple processes.
      - One curious thing about the bash command to get processes, is that it'll include browsers with a window open on localhost:3000. May want to reconsider that.
      
      * Add process directory to existing port warning
      
      - also moved terminal coloring up, when getting the process, to be able to distinguish the process command from the directory
      
      * Change output color to all cyan, except "in"
      
      * Rename getProcessNameOnPort -> getProcessForPort
      
      - better reflects its broadened scope (both command and directory)
      
      * Add checking if process is a CRA instance, to customize port running message
      
      - moved from using package.json to a regex, for reliability
      
      * Move getProcessForPort to react-dev-utils
      
      - also allowed for breakdown of commands into helper methods
      
      * Add documentation for getProcessForPort
      
      * Add getProcessForPort to list of dev-scripts files
      
      * Use app's package name when CRA app is running on another port
      
      * Filter port process by those listening
      
      - Removed the handling of multiple process IDs since you can filtering by listening process (and not have the browser in the list of processes)
      - Trimmed the terminal outputs for better matching (process id) and better terminal output (directory of process)
      
      * Update README on port helpers, to specify only one port returned
      
      * Add ignore of stderr when executing process commands
      
      - Make sure any potential errors don't leak to the user
      05c3b55c
  22. 21 Nov, 2016 1 commit
  23. 20 Nov, 2016 2 commits
  24. 17 Nov, 2016 1 commit
    • Ville Immonen's avatar
      Support Yarn (#898) · bcc469c9
      Ville Immonen authored
      In the `create-react-app` command, try to install packages using Yarn.
      If Yarn is not installed, use npm instead.
      
      In `react-scripts`, detect if the project is using Yarn by checking if
      a `yarn.lock` file exists. If the project is using Yarn, display all
      the instructions with Yarn commands and use Yarn to install packages
      in `init` and `eject` scripts.
      bcc469c9
  25. 28 Oct, 2016 2 commits
  26. 07 Oct, 2016 1 commit
  27. 04 Oct, 2016 1 commit
  28. 03 Oct, 2016 1 commit
  29. 01 Oct, 2016 1 commit
  30. 30 Sep, 2016 1 commit
    • Andrew Zakordonets's avatar
      Beaufity output of eject.js script (#769) · 27e76beb
      Andrew Zakordonets authored
      * Beaufity output of eject.js script
      
      * change formatting of the eject.js output and move colors to cyan
      
      * change message about file copy
      
      * add missing three dots to some statements in eject.js script
      
      * change color of "copying files" line and do not repeat copy path anymore in log
      
      * fix merge conflict
      
      * Remove yellow color from "Removing dependency" line
      
      * changing color to "Adding dependency" line
      
      * Add line that outputs which react script is getting replaced by similar node script
      
      * remove not used anymore colors
      
      * add console line about updating Jest configs
      
      * fix typo
      
      * change formatting of replacing script output in eject.js
      
      * remove "Writing package.json" file console output
      
      * make quotes cyan in "Replacing script" console output
      
      * update console log output for Jest, Babel, ESLint update and group them under one statement
      
      * Style nits
      27e76beb
  31. 27 Sep, 2016 1 commit
  32. 26 Sep, 2016 1 commit