1. 10 Oct, 2018 1 commit
    • Joe Haddad's avatar
      Clean up the behavior tests (#5365) · 5fecfee2
      Joe Haddad authored
      * Speed up installs with pnp
      
      * Move to a better relative path test
      
      * Continue work on new test organization
      
      * Move mjs test to new enhanced tests
      
      * Move over last legacy test
      
      * Update behavior e2e script
      
      * Add first iteration of instructions to test readme
      
      * Add some more bad instructions
      
      * Split test command into multiple lines
      
      * Use two workers (do not run in band)
      
      * Bump install timeout
      
      * No global pollution
      
      * Fix PnP support via standard run mechanism
      
      * Prevent circular serve command
      
      * Silent yarn execs
      
      * Fix common commands by using a shell
      
      * Run with npx instead of Yarn
      
      * Remove unused scripts
      
      * Wait for localhost and fix script booting with PnP
      
      * Don't pnp locally because links will cause module resolution to whine
      
      * lint-staged is annoying
      
      * Strip Yarn out of execa runs
      
      * Set default license if none specified
      
      * Don't impose worker limit
      
      * Disable pnp for webpack messages
      
      * Add missing dependency
      
      * Disable timeout and rely on Jest
      
      * Only use 2 jest workers
      
      * Add missing dependency
      Unverified
      5fecfee2
  2. 03 Oct, 2018 2 commits
  3. 01 Oct, 2018 1 commit
    • Maël Nison's avatar
      Plug'n'Play support (#5136) · 9e074bbf
      Maël Nison authored
      * Adds the PnP plugin for Webpack to find dependencies when working under PnP
      
      * Adds configuration for jest
      
      * Adds an e2e test for when using PnP
      
      * Avoids cra from crashing at the engine check
      
      * Avoids cra from crashing when initializing react-scripts
      
      * Makes the ownPath portable
      
      * Fixes linting
      
      * Bumps to pnp-webpack-plugin@1.1.0, removes symlinks: false
      
      * Adds a --use-pnp option
      
      * Pin version
      9e074bbf
  4. 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
      Unverified
      7b1a32be
  5. 28 Sep, 2018 1 commit
    • Joe Haddad's avatar
      Run behavioral smoke tests with Jest, add output tests (#5150) · 2a7346e0
      Joe Haddad authored
      * Run smoke tests with Jest
      
      * Get a unique port for smoke test
      
      * Upgrade verdaccio across the board
      
      * Drop unneeded step
      
      * Try latest instead
      
      * Boot registry in home directory
      
      * Correct config path
      
      * Add mutex
      
      * Test webpack message formatting
      
      * Strip color
      
      * Add browserslist to default
      
      * Disable another broken feature
      Unverified
      2a7346e0
  6. 27 Sep, 2018 1 commit
  7. 26 Sep, 2018 1 commit
  8. 25 Sep, 2018 1 commit
    • Joe Haddad's avatar
      Turn on Babel `helpers` (#5093) · adfb20c4
      Joe Haddad authored
      * Turn on helpers and test importing something with async/await works
      
      * Compiling babel runtime breaks itself
      
      * Add helpers option to babel plugin with defaults
      
      * Make helpers off by default and on in our configuration
      
      * Hit eject and e2e
      
      * meh
      
      * copy'n'paste
      
      * change again
      
      * Turn off helpers by default in /prod, /dev, /test
      
      * oops
      
      * Spread undefined
      
      * Use object assign not object spread
      
      * Put preset in template since it's needed
      
      * Fix e2e tests
      Unverified
      adfb20c4
  9. 21 Sep, 2018 1 commit
    • Jack Zhao's avatar
      Convert test suite to Jest (#4550) · d0ed8450
      Jack Zhao authored
      * convert mocha tests to jest
      
      * jest 23
      
      * add jest configs
      
      * use material css
      
      * fix windows
      
      * forceExit jest test
      
      * force exit eject
      
      * test
      
      * test
      
      * retrigger test
      
      * remove appveyor comment
      
      * try to remove pretendToBeVisual option
      
      * use jsdom env
      
      * test environment
      
      * no cache
      
      * test no close
      
      * bring back raf
      
      * test revert all broken changes
      
      * add back jsdom
      
      * remove jsdom
      
      * node test environment
      
      * use latest change
      
      * runInBand
      
      * runInBand
      
      * comment test run
      
      * try different jest option
      
      * standardize jest test options
      
      * increase heap size
      
      * remove heap size config
      
      * support scoped packages for cra --scripts-version option
      
      * upgrade jest version
      
      * fix windows
      
      * fix windows again
      
      * jest 23.4.1
      
      * babel-jest
      
      * babel-jest
      
      * split out kitchhensink
      
      * travis node 6
      
      * travis node 6 config
      
      * node 6 travis eject
      
      * cache yarn
      
      * only cache yarn
      
      * remove unrelated changes
      
      * typo
      d0ed8450
  10. 18 Sep, 2018 1 commit
  11. 16 Jul, 2018 1 commit
    • Ian Sutherland's avatar
      Add Node 10 to CI config and remove Node 6 (#4383) · 92d9c5ad
      Ian Sutherland authored
      * Add Node 10 to Travis config. Remove Node 6.
      
      * Add Node 10 to Appveyor config. Remove Node 6.
      
      * Remove node 9 from travis config.
      
      * Increase mocha timeout.
      
      * Update minimum Node version to 8.
      
      * Update yarn to latest on Travis.
      
      * Update old-node test to use Node 4.
      
      * Increase mocha timeout in kitchensink-eject tests.
      
      * Update yarn to latest on Appveyor.
      Unverified
      92d9c5ad
  12. 15 Jul, 2018 1 commit
  13. 18 Jun, 2018 1 commit
  14. 20 May, 2018 1 commit
    • Jack Zhao's avatar
      Webpack4 (#4490) · d1454feb
      Jack Zhao authored
      * - [x] Upgrade to webpack 4.8.X
      - [x] Utilize webpack 4 development and production modes
      - [x] Upgrade webpack dev server
      - [x] Webpack 4 compatible release of thread-loader
      - [x] Webpack 4 compatible release of HtmlWebpackPlugin
      - [x] Webpack 4 compatible release of SwPrecacheWebpackPlugin
      - [x] Webpack 4 compatible release of WebpackManifestPlugin
      - [x] Update README
      - [x] Update WebpackDevServerUtils
      - [x] Update InterpolateHtmlPlugin
      - [x] Update ModuleScopePlugin
      - [x] Update WatchMissingNodeModulesPlugin
      - [x] Move UglifyJS options to webpack 4 optimize
      - [x] Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin
      - [x] vendor splitting via splitChunks.splitChunks (https://twitter.com/wSokra/status/969633336732905474)
      - [x] long term caching via splitChunks.runtimeChunk (https://twitter.com/wSokra/status/969679223278505985)
      - [x] Make sure process.env.NODE_ENV is proxied correctly to `react-error-overlay`
      - [x] Implicit webpack.NamedModulesPlugin in dev ...
      d1454feb
  15. 14 May, 2018 1 commit
  16. 27 Apr, 2018 1 commit
    • Mikhail Osher's avatar
      Support package distribution tags (#4350) · da4a87f6
      Mikhail Osher authored
      * Support package distribution tags (#4348)
      
      * Remove redundand variable check in `getInstallPackage`
      
      * Simplify react-scripts version using `--scripts-version=@tagname` notation
      
      * Add dist-tag tests to e2e-installs
      da4a87f6
  17. 19 Apr, 2018 1 commit
  18. 21 Mar, 2018 1 commit
  19. 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
  20. 28 Jan, 2018 1 commit
  21. 22 Jan, 2018 2 commits
  22. 21 Jan, 2018 2 commits
  23. 20 Jan, 2018 2 commits
  24. 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
  25. 16 Jan, 2018 1 commit
    • Mario Nebl's avatar
      Add screencast task (#3816) · 70ef42c3
      Mario Nebl authored
      * Automate screencast recordings
      * **screencast.js**: Automate screencast.sh, asciinema, svg-term-cli. Removes progress-bar, npm tree data from cast
      * **screencast.sh**: Simulate user input, trigger demoed commands
      * **screencast-start.js**: Start a shell command and end the process log patterns have been observed
      70ef42c3
  26. 15 Jan, 2018 3 commits
    • Siddharth Doshi's avatar
      Add restricted globals package (#2286) · c36d1a00
      Siddharth Doshi authored
      * Add restricted globals package
      
      * Use new package in eslint-config
      
      * Add eslint-restricted-globals dependency
      
      * Fixes
      
      * Update dependencies
      
      * Update test and README
      
      * Use jest
      
      * tweaks
      
      * Add lint/test to CI
      
      * Fix lint
      Unverified
      c36d1a00
    • 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
      Unverified
      aa67a4f7
    • 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:
      Unverified
      1552949a
  27. 12 Jan, 2018 1 commit
    • Dan Abramov's avatar
      Switch to Yarn Workspaces (#3755) · 0aeffe62
      Dan Abramov authored
      * Switch to Yarn Workspaces
      
      * Feedback
      
      * Move flowconfig
      
      * Use publish script
      
      * Keep git status check
      
      * Fix Flow without perf penalty
      
      * Remove Flow from package.json "test"
      
      * Try running it from script directly (?)
      
      * Try magic incantations
      
      * lol flow COME ON
      
      * Try to skip Flow on AppVeyor
      
      * -df
      
      * -df
      
      * -df
      
      * Try to fix CI
      
      * Revert unrelated changes
      
      * Update CONTRIBUTING.md
      Unverified
      0aeffe62
  28. 11 Jan, 2018 7 commits