1. 13 Apr, 2018 1 commit
  2. 02 Apr, 2018 2 commits
  3. 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
  4. 09 Feb, 2018 1 commit
  5. 07 Feb, 2018 1 commit
    • Ade Viankakrisna Fadlil's avatar
      Ensure workspaces key exists in parent package.json (#3989) · 47d2d941
      Ade Viankakrisna Fadlil authored
      * add default value for globPatterns
      
      without this, the latest alpha broke on start
      ```
      /Users/adeviankakrisnafadlil/Projects/eurecah/node_modules/react-scripts/config/paths.js:130
          .reduce(
           ^
      
      TypeError: Cannot read property 'reduce' of undefined
          at findPkgs (/Users/adeviankakrisnafadlil/Projects/eurecah/node_modules/react-scripts/config/paths.js:130:6)
          at getMonorepoPkgPaths (/Users/adeviankakrisnafadlil/Projects/eurecah/node_modules/react-scripts/config/paths.js:143:22)
          at Object.<anonymous> (/Users/adeviankakrisnafadlil/Projects/eurecah/node_modules/react-scripts/config/paths.js:155:55)
          at Module._compile (module.js:643:30)
          at Object.Module._extensions..js (module.js:654:10)
          at Module.load (module.js:556:32)
          at tryModuleLoad (module.js:499:12)
          at Function.Module._load (module.js:491:3)
          at Module.require (module.js:587:17)
          at require (internal/module.js:11:18)
      error Command failed with exit code 1.
      ```
      
      * also check for pkgPatterns for null
      
      * Update paths.js
      47d2d941
  6. 03 Feb, 2018 1 commit
  7. 02 Feb, 2018 1 commit
    • Ian Sutherland's avatar
      Named asset import for SVG files (#3907) · d0e17316
      Ian Sutherland authored
      * Add named asset import for svg files via babel plugin and webpack loader.
      
      * Fix failing e2e test
      
      * Switched to svgr loader
      
      * Updated SVG component test
      
      * Disable named asset import plugin in test environment
      
      * Added tests for including SVG in CSS
      
      * Update tests
      
      * Moved babel plugin config into webpack config
      Unverified
      d0e17316
  8. 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
  9. 22 Jan, 2018 1 commit
  10. 21 Jan, 2018 1 commit
  11. 18 Jan, 2018 1 commit
  12. 17 Jan, 2018 4 commits
  13. 15 Jan, 2018 10 commits
  14. 09 Jan, 2018 1 commit
  15. 15 Dec, 2017 1 commit
  16. 07 Dec, 2017 1 commit
  17. 15 Nov, 2017 1 commit
  18. 04 Nov, 2017 1 commit
  19. 03 Nov, 2017 1 commit
  20. 28 Oct, 2017 4 commits
  21. 06 Oct, 2017 1 commit
  22. 03 Oct, 2017 2 commits
  23. 26 Sep, 2017 1 commit