Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/create-react-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f92c37a6e6636ed1650ffd976c6881f59b1be803
Choose a base ref
...
head repository: facebook/create-react-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 221e511730ca51c036c6954a9d2ee7659ff860f9
Choose a head ref

Commits on Mar 2, 2021

  1. Update IMAGE_INLINE_SIZE_LIMIT docs (#10631)

    The variable is also used in dev.
    ianschmitz authored Mar 2, 2021
    Copy the full SHA
    22f46a8 View commit details

Commits on Mar 8, 2021

  1. Security Fix for Command Injection - huntr.dev (#10644)

    * Update getProcessForPort.js
    
    * Update getProcessForPort.js
    
    Co-authored-by: Zhou Peng <zpbrent@gmail.com>
    Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
    3 people authored Mar 8, 2021
    Copy the full SHA
    f5e415f View commit details
  2. react-dev-utils@11.0.4

    gaearon authored Mar 8, 2021
    Copy the full SHA
    3c02ca7 View commit details

Commits on Mar 17, 2021

  1. Copy the full SHA
    7b56cf7 View commit details
  2. Update WebpackManifestPlugin (#10204)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    raix and ianschmitz authored Mar 17, 2021
    Copy the full SHA
    48d7ffe View commit details
  3. Copy the full SHA
    5fc8350 View commit details

Commits on Mar 31, 2021

  1. Bump y18n from 4.0.0 to 4.0.1 in /docusaurus/website (#10765)

    Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
    - [Release notes](https://github.com/yargs/y18n/releases)
    - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/yargs/y18n/commits)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 31, 2021
    Copy the full SHA
    09ac3d4 View commit details
  2. 1
    Copy the full SHA
    2d1829e View commit details

Commits on Apr 12, 2021

  1. Copy the full SHA
    4d3bbe0 View commit details
  2. Copy the full SHA
    ea4002e View commit details
  3. Copy the full SHA
    007a028 View commit details
  4. Copy the full SHA
    71cbe59 View commit details
  5. Remove outdated comments on react-refresh (#10784)

    Luke Kang authored Apr 12, 2021
    1
    Copy the full SHA
    fddce8a View commit details

Commits on May 12, 2021

  1. eslint-config-react-app typo fix (#10317)

    This just fixes a shell snippet in the readme file for this plugin
    Spacerat authored May 12, 2021
    Copy the full SHA
    651d0db View commit details
  2. Fix link address (#10907)

    Replace the Github home link with a link to the repo's main page or a link to the source (https://github.com/CodeByZach/pace/blob/master/pace.js)
    e-w-h authored May 12, 2021
    Copy the full SHA
    b680ee7 View commit details
  3. Bump immer version for fixing security issue (#10791)

    Bump immer minor version to fix `Prototype Pollution` Security issue.
    shamprasadrh authored May 12, 2021
    Copy the full SHA
    281a868 View commit details
  4. Copy the full SHA
    7bdeced View commit details

Commits on May 30, 2021

  1. Add support for Webpack 5 message objects (#10121)

    Co-authored-by: Brody McKee <mrmckeb@gmail.com>
    jasonwilliams and mrmckeb authored May 30, 2021
    2
    Copy the full SHA
    b172b5e View commit details
  2. Copy the full SHA
    93241a0 View commit details

Commits on Jun 2, 2021

  1. Copy the full SHA
    0415189 View commit details
  2. Add source-map-loader for debugging into original source of node_modu…

    …les libraries that contain sourcemaps (#8227)
    justingrant authored Jun 2, 2021
    1
    Copy the full SHA
    382ba21 View commit details

Commits on Jun 8, 2021

  1. 3
    Copy the full SHA
    0ee4765 View commit details

Commits on Jun 22, 2021

  1. 1
    Copy the full SHA
    64df135 View commit details

Commits on Jul 4, 2021

  1. 1
    Copy the full SHA
    78d86f6 View commit details

Commits on Jul 7, 2021

  1. Switch branch name

    gaearon committed Jul 7, 2021
    2
    Copy the full SHA
    bb64e31 View commit details

Commits on Jul 14, 2021

  1. 1
    Copy the full SHA
    9358f50 View commit details
  2. 1
    Copy the full SHA
    369fccf View commit details
  3. chore: migrate to @babel/eslint-parser (#10761)

    Co-authored-by: Brody McKee <mrmckeb@gmail.com>
    JLHwung and mrmckeb authored Jul 14, 2021
    1
    Copy the full SHA
    bbd5a60 View commit details

Commits on Jul 28, 2021

  1. Update CODEOWNERS

    iansu authored Jul 28, 2021
    1
    Copy the full SHA
    e0f8563 View commit details
  2. Copy the full SHA
    a179b05 View commit details

Commits on Aug 4, 2021

  1. Webpack 5 (#11201)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    Co-authored-by: jasonwilliams <jase.williams@gmail.com>
    Co-authored-by: Joseph Atkins-Turkish <spacerat3004@gmail.com>
    Co-authored-by: e-w-h <46170930+e-w-h@users.noreply.github.com>
    Co-authored-by: Shamprasad RH <shamprasad.rh@mail.weir>
    Co-authored-by: James George <jamesgeorge998001@gmail.com>
    7 people authored Aug 4, 2021
    Copy the full SHA
    f0a837c View commit details
  2. Prepare 5.0.0 alpha release

    iansu committed Aug 4, 2021
    3
    Copy the full SHA
    749a76d View commit details

Commits on Aug 17, 2021

  1. Update package.json

    hasanayan authored Aug 17, 2021
    Copy the full SHA
    9e5a58c View commit details

Commits on Aug 18, 2021

  1. Bump webpack-dev-server to 4.0.0-rc.1

    Konrad Stepniak committed Aug 18, 2021
    Copy the full SHA
    4310f22 View commit details
  2. fix: dependency issue after workbox-webpack-plugin 6.2 release (#11292)

    * fix: Sub-dependency of workbox-webpack-plugin failed to yeild the correct version
    
    * chore: Bump workbox-webpack-plugin to 6.2.4 to address regressions
    fguitton authored Aug 18, 2021
    Copy the full SHA
    498c0cf View commit details
  3. Bump webpack-dev-server to 4.0.0 and add babel preset

    Konrad Stepniak committed Aug 18, 2021
    Copy the full SHA
    14fbd1d View commit details
  4. Copy the full SHA
    e9c69a7 View commit details
  5. Copy the full SHA
    380fa91 View commit details

Commits on Aug 19, 2021

  1. yarn compile:lockfile

    Konrad Stepniak committed Aug 19, 2021
    Copy the full SHA
    45f7db1 View commit details
  2. Copy the full SHA
    5ed5db4 View commit details
  3. Copy the full SHA
    3cca085 View commit details
  4. Copy the full SHA
    08dc7ab View commit details

Commits on Sep 1, 2021

  1. 1
    Copy the full SHA
    ece4dbf View commit details
  2. Copy the full SHA
    04482a6 View commit details
  3. Prepare 5.0.0 alpha release

    iansu committed Sep 1, 2021
    Copy the full SHA
    25f516f View commit details

Commits on Sep 2, 2021

  1. Update CONTRIBUTING.md

    iansu authored Sep 2, 2021
    1
    Copy the full SHA
    b45ae3c View commit details

Commits on Sep 22, 2021

  1. Copy the full SHA
    134cd3c View commit details
  2. Copy the full SHA
    960b21e View commit details
  3. Upgrade jest and related packages from 26.6.0 to 27.1.0 (#11338)

    * Upgrade jest and related packages from 26.6.0 to 27.1.0
    
    * adds the latest yarn.lock.cached file
    
    * runs yarn compile:lockfile
    
    * resolve conflicts with the main branch
    
    * adds the package-lock : npm ci with npm7
    
    * adds the package-lock : npm ci with npm7
    
    * Revert yarn.lock.cached
    
    * update postcss-normalize to 10.0.1 to resolve smoke test failures
    
    Co-authored-by: reetkr <reetesh.kumar@blazeclan.com>
    krreet and reetkr authored Sep 22, 2021
    Copy the full SHA
    63bba07 View commit details
  4. allow CORS on webpack-dev-server (#11325)

    * allow CORS on webpack-dev-server
    
    * re-position header config on webpackDevServer config
    hasanayan authored Sep 22, 2021
    Copy the full SHA
    50ea5ad View commit details
Showing with 47,042 additions and 22,936 deletions.
  1. +2 −1 .eslintrc.json
  2. +2 −2 .github/CODEOWNERS
  3. +1 −1 .github/ISSUE_TEMPLATE/bug_report.md
  4. +9 −3 .github/workflows/build.yml
  5. +32 −0 .github/workflows/integration.yml
  6. +9 −3 .github/workflows/lint.yml
  7. +0 −1 .gitignore
  8. +19 −19 CHANGELOG-0.x.md
  9. +4 −6 CHANGELOG-1.x.md
  10. +5 −5 CHANGELOG-2.x.md
  11. +1 −1 CHANGELOG-3.x.md
  12. +23 −15 CONTRIBUTING.md
  13. +3 −3 README.md
  14. +7 −4 azure-pipelines-test-job.yml
  15. +16 −16 azure-pipelines.yml
  16. +23 −18 docusaurus/docs/adding-a-sass-stylesheet.md
  17. +6 −6 docusaurus/docs/adding-bootstrap.md
  18. +1 −1 docusaurus/docs/adding-css-reset.md
  19. +2 −2 docusaurus/docs/advanced-configuration.md
  20. +1 −1 docusaurus/docs/code-splitting.md
  21. +3 −3 docusaurus/docs/custom-templates.md
  22. +3 −3 docusaurus/docs/deployment.md
  23. +1 −1 docusaurus/docs/documentation-intro.md
  24. +1 −1 docusaurus/docs/fetching-data-with-ajax-requests.md
  25. +6 −3 docusaurus/docs/getting-started.md
  26. +2 −2 docusaurus/docs/importing-a-component.md
  27. +6 −6 docusaurus/docs/making-a-progressive-web-app.md
  28. +2 −2 docusaurus/docs/running-tests.md
  29. +3 −3 docusaurus/docs/supported-browsers-features.md
  30. +5 −4 docusaurus/docs/updating-to-new-releases.md
  31. +1 −1 docusaurus/docs/using-the-public-folder.md
  32. +4 −4 docusaurus/website/README.md
  33. +1 −1 docusaurus/website/docusaurus.config.js
  34. +0 −10,309 docusaurus/website/yarn.lock
  35. +1 −1 netlify.toml
  36. +45,872 −0 package-lock.json
  37. +22 −22 package.json
  38. +3 −3 packages/babel-plugin-named-asset-import/package.json
  39. +1 −1 packages/babel-preset-react-app/README.md
  40. +18 −0 packages/babel-preset-react-app/create.js
  41. +17 −16 packages/babel-preset-react-app/package.json
  42. +1 −1 packages/confusing-browser-globals/README.md
  43. +2 −2 packages/confusing-browser-globals/package.json
  44. +2 −2 packages/cra-template-typescript/package.json
  45. +9 −9 packages/cra-template-typescript/template.json
  46. +2 −2 packages/cra-template/package.json
  47. +4 −4 packages/cra-template/template.json
  48. +7 −7 packages/cra-template/template/README.md
  49. +9 −9 packages/create-react-app/__tests__/getTemplateInstallPackage.test.js
  50. +18 −39 packages/create-react-app/createReactApp.js
  51. +5 −5 packages/create-react-app/index.js
  52. +16 −17 packages/create-react-app/package.json
  53. +0 −11,172 packages/create-react-app/yarn.lock.cached
  54. +4 −10 packages/eslint-config-react-app/README.md
  55. +7 −4 packages/eslint-config-react-app/base.js
  56. +1 −1 packages/eslint-config-react-app/index.js
  57. +18 −2 packages/eslint-config-react-app/jest.js
  58. +17 −22 packages/eslint-config-react-app/package.json
  59. +5 −5 packages/react-app-polyfill/package.json
  60. +25 −0 packages/react-dev-utils/ForkTsCheckerWarningWebpackPlugin.js
  61. +1 −3 packages/react-dev-utils/ModuleNotFoundPlugin.js
  62. +6 −0 packages/react-dev-utils/ModuleScopePlugin.js
  63. +2 −29 packages/react-dev-utils/README.md
  64. +0 −33 packages/react-dev-utils/WatchMissingNodeModulesPlugin.js
  65. +7 −64 packages/react-dev-utils/WebpackDevServerUtils.js
  66. +4 −4 packages/react-dev-utils/__tests__/getCSSModuleLocalIdent.test.js
  67. +3 −1 packages/react-dev-utils/evalSourceMapMiddleware.js
  68. +16 −4 packages/react-dev-utils/formatWebpackMessages.js
  69. +2 −1 packages/react-dev-utils/getProcessForPort.js
  70. +29 −29 packages/react-dev-utils/package.json
  71. +0 −45 packages/react-dev-utils/typescriptFormatter.js
  72. +20 −6 packages/react-dev-utils/webpackHotDevClient.js
  73. +25 −33 packages/react-error-overlay/package.json
  74. +2 −0 packages/react-error-overlay/src/__tests__/get-source-map.js
  75. +2 −4 packages/react-error-overlay/src/utils/generateAnsiHTML.js
  76. +4 −4 packages/react-error-overlay/webpack.config.js
  77. +0 −2 packages/react-scripts/config/env.js
  78. +1 −1 packages/react-scripts/config/jest/babelTransform.js
  79. +6 −0 packages/react-scripts/config/paths.js
  80. +0 −43 packages/react-scripts/config/pnpTs.js
  81. +185 −189 packages/react-scripts/config/webpack.config.js
  82. +9 −0 packages/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js
  83. +65 −68 packages/react-scripts/config/webpackDevServer.config.js
  84. +2 −2 packages/react-scripts/fixtures/kitchensink/template.json
  85. +2 −2 packages/react-scripts/fixtures/kitchensink/template/README.md
  86. +5 −4 packages/react-scripts/fixtures/kitchensink/template/integration/webpack.test.js
  87. +3 −1 packages/react-scripts/fixtures/kitchensink/template/jest.transform.js
  88. +3 −1 packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.js
  89. +51 −62 packages/react-scripts/package.json
  90. +12 −15 packages/react-scripts/scripts/build.js
  91. +2 −2 packages/react-scripts/scripts/eject.js
  92. +10 −12 packages/react-scripts/scripts/init.js
  93. +7 −27 packages/react-scripts/scripts/start.js
  94. +0 −9 packages/react-scripts/scripts/test.js
  95. +0 −1 packages/react-scripts/scripts/utils/createJestConfig.js
  96. +0 −163 packages/react-scripts/scripts/utils/verifyPackageTree.js
  97. +1 −1 packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
  98. +1 −1 packages/react-scripts/template-typescript/README.md
  99. +1 −1 packages/react-scripts/template/README.md
  100. +0 −49 tasks/compile-lockfile.js
  101. +1 −5 tasks/cra.js
  102. +0 −8 tasks/e2e-behavior.sh
  103. +21 −31 tasks/e2e-installs.sh
  104. +4 −22 tasks/e2e-kitchensink-eject.sh
  105. +4 −15 tasks/e2e-kitchensink.sh
  106. +21 −44 tasks/e2e-simple.sh
  107. +15 −13 tasks/local-test.sh
  108. +2 −8 tasks/publish.sh
  109. +6 −6 tasks/screencast-start.js
  110. +1 −1 test/README.md
  111. +12 −35 test/fixtures/__shared__/util/scripts.js
  112. +5 −16 test/fixtures/__shared__/util/setup.js
  113. 0 test/fixtures/boostrap-sass/.disable-pnp
  114. +2 −2 test/fixtures/boostrap-sass/package.json
  115. +3 −3 test/fixtures/builds-with-multiple-runtimes/package.json
  116. 0 test/fixtures/global-scss-asset-resolution/.disable-pnp
  117. +1 −1 test/fixtures/global-scss-asset-resolution/package.json
  118. 0 test/fixtures/jsconfig/.disable-pnp
  119. +2 −2 test/fixtures/mjs-support/package.json
  120. 0 test/fixtures/typescript-advanced/.disable-pnp
  121. 0 test/fixtures/typescript-typecheck/.disable-pnp
  122. 0 test/fixtures/typescript/.disable-pnp
  123. 0 test/fixtures/webpack-message-formatting/.disable-pnp
  124. +1 −1 test/fixtures/webpack-message-formatting/index.test.js
  125. +162 −0 test/integration/create-react-app/index.test.js
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@
"browser": true,
"commonjs": true,
"node": true,
"es6": true
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2018
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
packages/ @ianschmitz @iansu @mrmckeb @petetnt
docusaurus/ @ianschmitz @iansu @mrmckeb
packages/ @iansu @mrmckeb
docusaurus/ @iansu @mrmckeb
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ labels: 'issue: bug report, needs triage'
* yarn.lock
Then you need to decide which package manager you prefer to use.
We support both npm (https://npmjs.com) and yarn (http://yarnpkg.com/).
We support both npm (https://npmjs.com) and yarn (https://yarnpkg.com/).
However, **they can't be used together in one project** so you need to pick one.
If you decided to use npm, run this in your project directory:
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -6,8 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
- name: Install npm@8
run: npm i -g npm@8
- name: Install
run: yarn --no-progress --non-interactive --no-lockfile
run: npm ci --prefer-offline
- name: Build
run: yarn build
run: npm run build
32 changes: 32 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Integration Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
job:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node: ['14', '16']
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install npm@8
run: npm i -g npm@8
- name: Install yarn
run: npm i -g yarn
- name: Install packages
run: npm ci --prefer-offline
- name: Run integration tests
run: npm run test:integration
12 changes: 9 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -6,8 +6,14 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
- name: Install npm@8
run: npm i -g npm@8
- name: Install
run: yarn --no-progress --non-interactive --no-lockfile
run: npm ci --prefer-offline
- name: Alex
run: yarn alex
run: npm run alex
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -12,4 +12,3 @@ yarn-debug.log*
yarn-error.log*
/.changelog
.npm/
yarn.lock
Loading