1. 01 Oct, 2018 6 commits
  2. 30 Sep, 2018 1 commit
    • Joe Haddad's avatar
      Polish webpack message output (#5174) · 7b1a32be
      Joe Haddad authored
      * Only install react-scripts in CI mode
      
      * Link locally
      
      * Re-enable all output tests
      
      * :lipstick: Polish webpack output
      
      * Test sass support message
      
      * Add more tests, but disabled
      
      * Format missing default export error
      
      * Format aliased import
      
      * Why was node-sass required? Odd
      
      * Format webpack rejection error
      
      * Re-enable unknown package test
      
      * Format file not found error and catch module scope plugin error
      
      * Re-disable case sensitive paths
      
      * Intercept and format case sensitive path errors
      
      * Test out of scope message formatting
      
      * Run behavior on macOS
      
      * Run behavior on Node 8 and 10, only Node 8 for macOS
      
      * Add some debugging
      
      * Update matcher
      
      * Only check stderr
      
      * Remove old snapshot
      
      * More debug
      
      * Remove debug
      
      * Add new debug
      
      * Disable test on linux
      
      * Add comment for future
      7b1a32be
  3. 25 Sep, 2018 1 commit
  4. 24 Sep, 2018 3 commits
  5. 22 Sep, 2018 1 commit
  6. 21 Sep, 2018 2 commits
  7. 20 Sep, 2018 1 commit
  8. 18 Sep, 2018 3 commits
  9. 31 May, 2018 1 commit
    • Joshua Comeau's avatar
      Create a `--stats` flag for react-scripts `build`. Update README. · 7c859384
      Joshua Comeau authored
      To analyze Webpack bundles, a "stats" JSON is required.
      
      This PR allows that file to be created and saved to the `build`
      directory, so that users can use it with Webpack-specific insight
      tools like `webpack-bundle-analyzer` without ejecting their
      application.
      
      Updated the README to include details for how to do this.
      7c859384
  10. 20 May, 2018 1 commit
    • Craig Mulligan's avatar
      `.mjs` should not resolve before .js files (#4085) (#4318) · 0e0f260e
      Craig Mulligan authored
      Support for .mjs files added in #3239 did not account for npm libraries which ship native mjs files alongside js files. This accounts for this by ensuring .js files resolve before their accompanying .mjs file. Note that this is not an ideal end state since selecting a .mjs over a .js extension should be the result of whether `import` was used instead of `require()` in a node environment with native ESM support (currently via `--experimental-modules`). Instead, this change just *always* selects a .js extension before the .mjs extension if it exists.
      
      This unbreaks support for using GraphQL (relay, apollo, etc) within create-react-app projects.
      0e0f260e
  11. 16 May, 2018 1 commit
  12. 03 Apr, 2018 2 commits
  13. 22 Mar, 2018 1 commit
    • Lee Byron's avatar
      `.mjs` should not resolve before .js files (#4085) · c6375edc
      Lee Byron authored
      Support for .mjs files added in #3239 did not account for npm libraries which ship native mjs files alongside js files. This accounts for this by ensuring .js files resolve before their accompanying .mjs file. Note that this is not an ideal end state since selecting a .mjs over a .js extension should be the result of whether `import` was used instead of `require()` in a node environment with native ESM support (currently via `--experimental-modules`). Instead, this change just *always* selects a .js extension before the .mjs extension if it exists.
      
      This unbreaks support for using GraphQL (relay, apollo, etc) within create-react-app projects.
      c6375edc
  14. 10 Feb, 2018 1 commit
    • bradfordlemley's avatar
      Use yarn when running inside yarn workspace. (#3997) · 2c34d5b6
      bradfordlemley authored
      * Run yarn after ejecting.
      
      * On eject, choose to run yarn instead of npm if yarn is available.
      
      * Move monorepo to react-dev-utils.
      
      * Fix lint.
      
      * Rename monorepo to workspaceUtils.
      
      * Add react-dev-utils dep for create-react-app.
      
      * getMonorepo -> findMonorepo
      2c34d5b6
  15. 04 Feb, 2018 1 commit
  16. 03 Feb, 2018 1 commit
  17. 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
  18. 22 Jan, 2018 1 commit
  19. 21 Jan, 2018 1 commit
  20. 20 Jan, 2018 1 commit
  21. 19 Jan, 2018 1 commit
    • Maurice de Beijer's avatar
      Create git repository with initial commit (#1288) · 247e5c90
      Maurice de Beijer authored
      * Create git repo with initial commit
      
      * Fixe commit message
      
      * Added the git repo to the docs
      
      * Bail if we are in a mercurial repository
      
      * Removed Chore from commit mesage
      
      * Create repo after installing react and react-dom
      
      * Removed docs
      
      * Commit changes when ejecting
      
      * Update after review
      
      * git add -A instead of git add . after code review
      247e5c90
  22. 18 Jan, 2018 1 commit
    • Bond's avatar
      Use custom bit.ly links (#3836) · 9d67605a
      Bond authored
      * change link to advanced deployment
      
      * Use custom CRA link for deployment
      
      * use custom link for minification failure
      
      * update link for deployment
      
      * feedback
      9d67605a
  23. 17 Jan, 2018 2 commits
    • Ro Savage's avatar
      Add support for CSS Modules with explicit filename (#2285) · fc7c9915
      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
      fc7c9915
    • Jack Franklin's avatar
      Enhance Jest config error for `setupTestFrameworkScriptFile` (#3512) · 7969b48c
      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
      7969b48c
  24. 16 Jan, 2018 1 commit
    • Dan Abramov's avatar
      Try to fix CI (#3806) · 72c3d4eb
      Dan Abramov authored
      * Try to fix CI
      
      * Bump Jest elsewhere
      
      * Bump Babel elsewhere
      
      * Fix CI on Windows by writing .cmd file back
      72c3d4eb
  25. 15 Jan, 2018 4 commits