- 01 Oct, 2018 6 commits
-
-
Dan Abramov authored
-
Dan Abramov authored
-
Joe Haddad authored
-
Dan Abramov authored
-
Dan Abramov authored
-
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
-
- 30 Sep, 2018 1 commit
-
-
Joe Haddad authored
* Only install react-scripts in CI mode * Link locally * Re-enable all output tests *
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
-
- 25 Sep, 2018 1 commit
-
-
Joe Haddad authored
* Drop ie 11 support and move polyfills to a new package * More useful directions for what entry point to use https://github.com/facebook/create-react-app/pull/5090#discussion_r220313783 * Clear up what file this polyfill goes in https://github.com/facebook/create-react-app/pull/5090#discussion_r220313980 * Polyfill `window`, not `global` * Remove proxy polyfill file
-
- 24 Sep, 2018 3 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
-
- 22 Sep, 2018 1 commit
-
-
Joe Haddad authored
Derived from https://github.com/facebook/create-react-app/issues/4492#issuecomment-421959548
-
- 21 Sep, 2018 2 commits
-
-
Joe Haddad authored
-
Aaron Reisman authored
-
- 20 Sep, 2018 1 commit
-
-
Joe Haddad authored
Adjust the default browsers to be a single list and remove it from the build output; it only affects CSS now
-
- 18 Sep, 2018 3 commits
-
-
Joe Haddad authored
* Revert Lerna dependency, there's too many bugs in v3 * Remove `mjs` support
-
Joe Haddad authored
This reverts commit b43ad04b.
-
Joe Haddad authored
This reverts commit 2c34d5b6.
-
- 31 May, 2018 1 commit
-
-
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.
-
- 20 May, 2018 1 commit
-
-
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.
-
- 16 May, 2018 1 commit
-
-
Mike Kusold authored
-
- 03 Apr, 2018 2 commits
-
-
Dan Abramov authored
-
Dan Abramov authored
-
- 22 Mar, 2018 1 commit
-
-
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.
-
- 10 Feb, 2018 1 commit
-
-
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
-
- 04 Feb, 2018 1 commit
-
-
Andrew Ho authored
sever => server
-
- 03 Feb, 2018 1 commit
-
-
Pete Nykänen authored
* Add graphql loader to webpack config Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update react-scripts README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add integration tests, pin versions in package.json Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Tests expect regexp matchers Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use strict equal test instead Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Escaping is hard Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add comment for signifying a different file * Update docs * Fix jest config * Remove node_modules exclusion * Update README.md * Inline graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update copyright header Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use .graphql extension only Signed-off-by:
petetnt <pete.a.nykanen@gmail.com>
-
- 01 Feb, 2018 1 commit
-
-
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.
-
- 22 Jan, 2018 1 commit
-
-
Michaël De Boey authored
-
- 21 Jan, 2018 1 commit
-
-
Dan Abramov authored
* Fix the E2E script * Delete .git if committing failed
-
- 20 Jan, 2018 1 commit
-
-
Dan Abramov authored
-
- 19 Jan, 2018 1 commit
-
-
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
-
- 18 Jan, 2018 1 commit
-
-
Bond authored
* change link to advanced deployment * Use custom CRA link for deployment * use custom link for minification failure * update link for deployment * feedback
-
- 17 Jan, 2018 2 commits
-
-
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
-
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
-
- 16 Jan, 2018 1 commit
-
-
Dan Abramov authored
* Try to fix CI * Bump Jest elsewhere * Bump Babel elsewhere * Fix CI on Windows by writing .cmd file back
-
- 15 Jan, 2018 4 commits
-
-
Dan Abramov authored
* Support Jest --watchAll flag * Use clearer condition * Add comma
-
Gary Meehan authored
-
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
-
Joe Haddad authored
* Warn about browsers during build * Better message
-