1. 01 Feb, 2018 2 commits
    • bradfordlemley's avatar
    • 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
  2. 23 Jan, 2018 1 commit
  3. 22 Jan, 2018 1 commit
  4. 21 Jan, 2018 3 commits
  5. 20 Jan, 2018 2 commits
  6. 19 Jan, 2018 2 commits
    • 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
    • Ian Sutherland's avatar
      Disable service worker by default (#3817) · 0e51eef6
      Ian Sutherland authored
      * WIP disable service worker by default (#2554)
      
      * Updated service worker registration
      
      * Readd default export in registerServiceWorker.js
      
      * Updated comments about using Service Worker
      
      * Call it serviceWorker
      
      * Nits
      0e51eef6
  7. 18 Jan, 2018 3 commits
  8. 17 Jan, 2018 9 commits
  9. 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
  10. 15 Jan, 2018 16 commits
    • Dan Abramov's avatar
      Support Jest --watchAll flag (#3804) · 19e0bb18
      Dan Abramov authored
      * Support Jest --watchAll flag
      
      * Use clearer condition
      
      * Add comma
      19e0bb18
    • Gary Meehan's avatar
      f5708c67
    • Joe Haddad's avatar
      Offer to set default browsers (#3792) · 2e59c541
      Joe Haddad authored
      * Offer to set browser defaults
      
      * Catch error on no
      
      * Add ending newlines
      
      * Ensure we re-check to prevent defaults from leaking
      
      * Reduce nesting
      
      * Add defaults message
      
      * More explicit
      2e59c541
    • Dan Abramov's avatar
      Add regression test for #3055 (#3791) · 0ff23494
      Dan Abramov authored
      0ff23494
    • Joe Haddad's avatar
      Tell user what browser support their application was built with (#3782) · 5d1710ae
      Joe Haddad authored
      * Warn about browsers during build
      
      * Better message
      5d1710ae
    • Dan Abramov's avatar
      Bump dependencies (#3785) · ea46cf4f
      Dan Abramov authored
      * Bump dependencies
      
      * Use a more sensible way to compile error overlay
      
      * Keep old chalk for global CLI
      ea46cf4f
    • Joe Haddad's avatar
      Allow parsing of ecma 8 · 1013927a
      Joe Haddad authored
      1013927a
    • Joe Haddad's avatar
      Compile code in parallel (#3778) · 2ed4a703
      Joe Haddad authored
      * Cheap perf gains
      
      * Whoopsie
      2ed4a703
    • Dan Abramov's avatar
      3d444081
    • Dan Abramov's avatar
      Add preflight check to guard against wrong versions of webpack/eslint/jest... · 11db9af4
      Dan Abramov authored
      Add preflight check to guard against wrong versions of webpack/eslint/jest higher up the tree (#3771)
      
      * Run real scripts in local development
      
      * Add preflight check warning
      
      * I know what I am doing
      
      * Move preflight check into individual scripts
      
      This ensures we don't try to filter NODE_PATH twice, accidentally removing the now-absolute path.
      
      * Slightly tweak the wording
      
      * Fix lint
      11db9af4
    • Joe Haddad's avatar
      Loosen Babel preset to use browserslist (#3770) · aa67a4f7
      Joe Haddad authored
      * Provide better defaults
      
      * Let babel determine features to compile
      
      * meh
      
      * Remove setting of BABEL_ENV
      
      * Revert "Remove setting of BABEL_ENV"
      
      This reverts commit ee2db707.
      
      * Set browsers to ie9
      aa67a4f7
    • Chris Laughlin's avatar
      Enable `getter-return` rule as a warning (#3723) · f6c37300
      Chris Laughlin authored
      * Updating ESlint to ^4.15.0 and adding new rules to config
      
      * remoning style rule and auto fixing breakages from new rules
      
      * Removing implicit-arrow-linebreak style rule
      
      * adding new rule to eslint config project
      
      * updating react scripts eslint version
      
      * Pinning version.
      
      * Changing getter-return to warn
      
      * Update package.json
      
      * Update .eslintrc
      f6c37300
    • Dan Abramov's avatar
      Bump eslint-plugin-jsx-a11y version (#2690) · bf02edbe
      Dan Abramov authored
      * Bump eslint-plugin-jsx-a11y
      
      * Update index.js
      
      * Update index.js
      
      * Update package.json
      
      * Don't use links for non-linky things
      bf02edbe
    • 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:
      1552949a
    • Dan Abramov's avatar
      Bump Jest to 22.0.6 (#3751) · 590df7ee
      Dan Abramov authored
      590df7ee
    • aisensiy's avatar
      Update jest to 22 and support watchPathIgnorePatterns configuration (#3124) · 776d2d60
      aisensiy authored
      * update jest to 21.0.2 to support watchPathIgnorePatterns configuration
      
      * update jest to 21.1.0
      
      * Try bumping Jest
      
      * Bump babel-jest
      
      * Try to debug weird CI failure
      
      * Remove debug code
      
      * Bump other Jest packages
      
      * ffs
      
      * temp
      
      * Revert "temp"
      
      This reverts commit 62aec9ac.
      776d2d60