1. 05 Dec, 2016 2 commits
    • Stephen John Sorensen's avatar
      Add testURL to jest config (#1120) · aaa615f6
      Stephen John Sorensen authored
      In my tests, jsdom was throwing a "SecurityError" at HistoryImpl._sharedPushAndReplaceState (node_modules/react-scripts/node_modules/jsdom/lib/jsdom/living/window/History-impl.js:87:15)
      
      This happens because document.URL defaults to "about:blank". Unfortunately, if you interact with the History object it tries and fails to parse the URL, causing a "SecurityError" to be thrown. Setting the default URL to "http://localhost" fixes this issue.
      aaa615f6
    • Brian Ng's avatar
      Make jsx-no-undef rule an error (#1159) · 15f65a0a
      Brian Ng authored
      15f65a0a
  2. 04 Dec, 2016 4 commits
  3. 03 Dec, 2016 6 commits
  4. 01 Dec, 2016 1 commit
  5. 28 Nov, 2016 2 commits
  6. 23 Nov, 2016 4 commits
  7. 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
  8. 21 Nov, 2016 6 commits
  9. 20 Nov, 2016 14 commits