1. 24 Apr, 2017 1 commit
  2. 22 Apr, 2017 1 commit
  3. 19 Apr, 2017 1 commit
  4. 23 Mar, 2017 1 commit
  5. 14 Mar, 2017 1 commit
  6. 07 Mar, 2017 3 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
    • Joe Haddad's avatar
      Add runtime error overlay (#1101) · ed5c016d
      Joe Haddad authored
      * Add red box prototype
      
      * Unmount fail node when hot-reloaded (future proofing)
      
      * Slightly improve error reason
      
      * Add Chrome unhandledrejection listener
      
      * Close red box when Escape is pressed
      
      * Construct our own source if not available
      
      * Resolve sourcemaps for friendlier traces
      
      * Allow error to be scrolled
      
      * Only utilize sourcemaps, not the magic. :(
      
      * Make view similar to React Native
      
      * Fix an uncaught syntax error
      
      * Add workaround for Firefox 50
      
      * Add a hint for closing the prompt
      
      * Multiple error support
      When there's multiple errors, simply state that there are more instead of re-rendering
      
      * Log any renderer error
      
      * Dim node_modules in display
      
      * Override chrome stack trace limit
      
      * Magic: show me some source!
      
      * Add ability to toggle internal calls
      
      * Switch text from show -> hide
      
      * Change color scheme to something easier on the eyes
      
      * Change UI to be friendlier (thanks @nicinabox)
      https://github.com/facebookincubator/create-react-app/pull/1101#issuecomment-263621057
      https://github.com/facebookincubator/create-react-app/pull/1101#issuecomment-263636171
      
      * Update styles
      
      * Add container inside overlay
      
      * Apply pre style
      
      * Add line highlight
      
      * Add omitted frames ui
      
      * Move yellow to var
      
      * Do all function names in black
      
      * Adapt container based on screen size
      
      * Extract ansiHTML
      
      Use base16-github theme
      
      * Linting
      
      * Add syntax highlighting of errors
      
      * Linting
      
      * Remove white background
      
      * Append new files to package.json
      
      * Target exact version
      
      * White is a little harsh, use same color as red box.
      
      * Fix a bug where omitted frames would never be rendered
      (under certain circumstances)
      
      * Show local file path instead of confusing webpack://
      
      * Do not require the entire file
      
      * Remove css file
      
      * Use context size, not a magic variable.
      
      * Fix title regression
      
      * Update dependency
      
      * Do not center text for internal calls
      
      * Temporarily disable links
      
      * Switch internal toggle to 'i'
      
      * Remove unnecessary rules from container style
      
      * Reduce omitted frames font size
      
      * Fix font family in pre > code
      
      * Re-introduce line highlighting
      
      * Object.<anonymous> -> (anonymous function)
      
      * Add ability to see script source
      
      * Add missing ansi mappings
      
      * Remove SIAF
      
      * Skip native functions
      
      * Extract hints div function
      
      * Extract renderers
      
      * Refacor var names
      
      * If source is disabled, don't use the line.
      
      * Allow toggle between source
      
      * Allow bundles to be expanded
      
      * Wow, how did I let this one slip?
      
      * Toggle text for UX/DX
      
      * Make it so clicking Close unmounts the error component
      
      * Do not allow hot reloading once an error is thrown
      
      * Do not wrap lines for small displays
      
      * Fix toggle when additional errors happen
      
      * Make the close a button
      
      * Capture and store errors
      
      * Dispose on render; move additional logic
      
      * Only make code not wrap
      
      * Switch to a view-by-index method
      
      * Allow user to switch between errors with arrow keys
      
      * Fix text while switching between errors
      
      * Update close button style
      
      * Render additional errors at top
      
      * Add left and right arrows
      
      * Make frames pointy
      
      * UTF-8 arrows
      
      * Don't mount unneeded DOM node
      
      * Switch to single changing text for compiled <-> source
      
      * Don't display arrows with only one error.
      
      * Collapsed and expanded
      
      * Make sure the last collapse toggle is appended
      
      * Do not show the stack trace if it doesn't resolve to a file we wrote
      
      * Style container with media queries
      
      * Do not allow x overflow; break words by default.
      
      * Trim off whitespace of lines
      
      * Remove padding since it's not outer-most
      
      * Add footer message
      
      * Extract css file to JS
      
      * Only inject the css when the overlay is up
      
      * Extract red variable
      
      * Remove env
      
      * Update babel-code-frame
      
      * Set force color to true
      
      * Extract out collapse div logic
      
      * Remove arrow field
      
      * Insert a top collapse
      
      * Make browser friendlier
      
      * Absolutify ^
      
      * Make arrows buttons
      
      * Accessify
      
      * Let there be ES5
      
      * Pretty css
      
      * Use forEach where we can ...
      
      * Remove extracted loop
      
      * Fix IE compatibility
      
      * Capture React warnings
      
      * Add source override via React output parsing
      
      * Whoops, fix arguments to crash.
      
      * es5-ify
      
      * Re-enable e2e-install directory test
      
      * Only rewrite line number if it was resolved and leaves a line at bottom
      
      * Rename failFast to crashOverlay
      
      * Disable console proxy
      
      * Appease linter
      
      * Appease more
      ed5c016d
  7. 06 Mar, 2017 2 commits
  8. 05 Mar, 2017 1 commit
    • Dan Abramov's avatar
      Fix ejecting from a scoped fork (#1727) · 23dc4226
      Dan Abramov authored
      * Read script names from own bin instead of guessing
      
      This fixes ejecting from a fork that uses a different bin script name.
      
      * Fix ejecting for a scoped react-scripts fork
      
      We shouldn't hardcode react-scripts because fork name might differ.
      We also shouldn't rely on it being an immediate child because scoped packages are a level deeper.
      
      * Clarify that own* properties only exist before ejecting
      23dc4226
  9. 04 Mar, 2017 2 commits
    • pd4d10's avatar
      Remove unneeded `url` lib (#1715) · 72695a1c
      pd4d10 authored
      Remove unused `url` import in Webpack config
      72695a1c
    • Daniel Grant's avatar
      Modularise scripts (#1433) · b88d6655
      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
      b88d6655
  10. 28 Feb, 2017 1 commit
  11. 24 Feb, 2017 2 commits
    • Ade Viankakrisna Fadlil's avatar
      Enable eslint caching in development (#1578) · 8d413283
      Ade Viankakrisna Fadlil authored
      * Enable eslint caching in development
      
      POC for https://github.com/facebookincubator/create-react-app/issues/740. Haven't found any problem, build times improved about 1s on my project and machine.
      
      * Bump eslint-loader to 1.6.3
      
      * move @remove-on-eject block to persist cache config on eject
      8d413283
    • Valerii Sorokobatko's avatar
      Fix workflow if react-scripts package is linked via npm-link (#1356) · bec009ce
      Valerii Sorokobatko authored
      * add npm-link support
      
      * - remove extra veriable
      - simplify condition
      
      * update code after review:
      - remove utils/isReactScriptsLinked
      - add appPath and ownPath to paths.js (but only for "before eject" export case)
      
      * update code after review:
      - remove utils/isReactScriptsLinked
      - add appPath and ownPath to paths.js (but only for "before eject" export case)
      
      * update code after review:
      - remove utils/isReactScriptsLinked
      - add appPath and ownPath to paths.js (but only for "before eject" export case)
      - remove "if" block for fs.removeSync(ownPath) at ejec.tjs
      
      * change ownPath value
      bec009ce
  12. 15 Feb, 2017 1 commit
  13. 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
  14. 10 Feb, 2017 3 commits
    • Thibault Derousseaux's avatar
      Support relative asset paths for special case (#1489) · 8e127aaa
      Thibault Derousseaux authored
      * Fix paths in CSS files when homepage is set to "./"
      
      In the production build, ExtractTextPlugin is used to generate a separate CSS file instead of injecting style through JavaScript. This plugin does not work well by default with nested output structure. To fix it, we give it a relative publicPath pointing to the build folder.
      
      * Add section in README to explain how to make builds deployable anywhere
      
      * Apply review requested change
      
      * Apply review changes 2
      8e127aaa
    • 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
    • Jih-Chi Lee's avatar
      Make all react app vars accessible in index.html (#1440) · 1d9159de
      Jih-Chi Lee authored
      * Make all vars accessiable in index.html
      
      * Fix wrong env provieded to DefinePlugin
      
      * Separate results from getClientEnvironment
      
      * The `string` should be object instead of string
      
      * Fix accessing wrong field
      
      * Changed variables naming to `raw` and `stringified`
      
      * Remove trailing commas
      1d9159de
  15. 08 Feb, 2017 1 commit
  16. 11 Dec, 2016 1 commit
  17. 07 Dec, 2016 3 commits
  18. 06 Dec, 2016 3 commits
  19. 21 Nov, 2016 2 commits
  20. 20 Nov, 2016 5 commits
  21. 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
  22. 29 Oct, 2016 1 commit
    • Ville Immonen's avatar
      Remove custom babel-loader cache dir config (#983) · 6bda4b97
      Ville Immonen authored
      Upgrade `babel-loader` and remove the cache directory configuration
      that was added in #620. `babel-loader` now uses the
      `./node_modules/.cache/babel-loader` directory by default, so the
      custom config is no longer needed.
      6bda4b97
  23. 19 Oct, 2016 1 commit
  24. 11 Oct, 2016 1 commit
    • Kanitkorn Sujautra's avatar
      Create asset filenames mapping on the build output (#891) · 88c15d09
      Kanitkorn Sujautra authored
      * Create asset filenames mapping on the build output
      
      I use danethurber/webpack-manifest-plugin on Webpack production
      configuration to create a file named `asset-manifest.json` which contain a
      mapping of all asset filenames to their corresponding output file.
      
      `asset-manifest.json` will be located at the root of output folder.
      
      This'll resolve #600
      
      * Add an explanation for ManifestPlugin
      
      * Make webpack-manifest-plugin's version exact
      88c15d09