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: ed958938f642007645dd5ac3466db36202f8754e
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 Oct 26, 2020

  1. fix: slow recompile time (#9911)

    fixes #9886
    FezVrasta authored Oct 26, 2020
    Copy the full SHA
    ceeb654 View commit details
  2. Copy the full SHA
    c06f16c View commit details
  3. Copy the full SHA
    b5fdadd View commit details
  4. fix: page doesn't get refreshed when FAST_REFRESH=false (#9884)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    n3tr and ianschmitz authored Oct 26, 2020
    Copy the full SHA
    7e48117 View commit details
  5. Copy the full SHA
    027b03b View commit details

Commits on Oct 28, 2020

  1. Fix react-jsx error (#9869)

    benneq authored Oct 28, 2020
    Copy the full SHA
    545d460 View commit details

Commits on Oct 30, 2020

  1. Fix noFallthroughCasesInSwitch/jsx object is not extensible (#9921)

    Co-authored-by: Konstantin Simeonov <kon.simeonov@protonmail.com>
    ryota-murakami and KonstantinSimeonov authored Oct 30, 2020
    Copy the full SHA
    3a98ed1 View commit details

Commits on Nov 1, 2020

  1. Add logo license to README

    iansu authored Nov 1, 2020
    Copy the full SHA
    aec42e2 View commit details

Commits on Nov 10, 2020

  1. Copy the full SHA
    4e97dc7 View commit details
  2. docs: add React Testing Library as a library requiring jsdom (#10052)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    anyulled and ianschmitz authored Nov 10, 2020
    Copy the full SHA
    aafe8af View commit details
  3. Copy the full SHA
    5867170 View commit details

Commits on Nov 11, 2020

  1. Create FUNDING.yml

    iansu authored Nov 11, 2020
    Copy the full SHA
    8f03b91 View commit details

Commits on Nov 17, 2020

  1. replace inquirer with prompts (#10083)

    - remove `react-dev-utils/inquirer` public import
    EvanBacon authored Nov 17, 2020
    Copy the full SHA
    8bf050a View commit details

Commits on Nov 23, 2020

  1. Prepare 4.0.1 release

    iansu committed Nov 23, 2020
    Copy the full SHA
    90a0898 View commit details
  2. Prepare 4.0.1 release

    iansu committed Nov 23, 2020
    Copy the full SHA
    98a886d View commit details
  3. Publish

     - cra-template-typescript@1.1.1
     - cra-template@1.1.1
     - create-react-app@4.0.1
     - react-dev-utils@11.0.1
     - react-scripts@4.0.1
    iansu committed Nov 23, 2020
    Copy the full SHA
    de8b2b3 View commit details

Commits on Nov 25, 2020

  1. chore: bump web-vital dependency version (#10143)

    Sahil Purav authored Nov 25, 2020
    Copy the full SHA
    9a79df2 View commit details
  2. chore: bump typescript version (#10141)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    trainto and ianschmitz authored Nov 25, 2020
    Copy the full SHA
    be6c193 View commit details

Commits on Nov 26, 2020

  1. Copy the full SHA
    9b08e3c View commit details

Commits on Dec 4, 2020

  1. Copy the full SHA
    91e28a4 View commit details

Commits on Dec 8, 2020

  1. Upgrade @svgr/webpack to fix build error (#10213)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    jabranr and ianschmitz authored Dec 8, 2020
    Copy the full SHA
    723224f View commit details
  2. Copy the full SHA
    8f2413e View commit details
  3. Update postcss packages (#10003)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    raix and ianschmitz authored Dec 8, 2020
    Copy the full SHA
    580ed5d View commit details
  4. 1
    Copy the full SHA
    54ad467 View commit details
  5. Copy the full SHA
    6dce3f4 View commit details
  6. Move ESLint cache file into node_modules (#9977)

    Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
    ehsankhfr and ianschmitz authored Dec 8, 2020
    Copy the full SHA
    e039ad3 View commit details
  7. Revert "Update postcss packages" (#10216)

    This reverts commit 580ed5d.
    ianschmitz authored Dec 8, 2020
    3
    Copy the full SHA
    3968923 View commit details

Commits on Dec 14, 2020

  1. 1
    Copy the full SHA
    282c03f View commit details

Commits on Jan 13, 2021

  1. fix(react-scripts): add missing peer dependency react and update reac…

    …t-refresh-webpack-plugin (#9872)
    merceyz authored Jan 13, 2021
    Copy the full SHA
    a504e9d View commit details

Commits on Jan 14, 2021

  1. Update using-the-public-folder.md (#10314)

    Some library --> Some libraries
    Avivhdr authored Jan 14, 2021
    Copy the full SHA
    0f6fc2b View commit details

Commits on Feb 3, 2021

  1. Copy the full SHA
    c9a24db View commit details
  2. Fix CI tests (#10217)

    ianschmitz authored Feb 3, 2021
    Copy the full SHA
    d229676 View commit details
  3. appTsConfig immutability handling by immer (#10027)

    Co-authored-by: mad-jose <joset@yeswearemad.com>
    josezone and mad-jose authored Feb 3, 2021
    Copy the full SHA
    6a39607 View commit details
  4. Copy the full SHA
    8fa0a26 View commit details
  5. Copy the full SHA
    b9963ab View commit details
  6. Prepare 4.0.2 release

    iansu committed Feb 3, 2021
    Copy the full SHA
    32c06e6 View commit details
  7. Publish

     - cra-template-typescript@1.1.2
     - cra-template@1.1.2
     - create-react-app@4.0.2
     - react-dev-utils@11.0.2
     - react-error-overlay@6.0.9
     - react-scripts@4.0.2
    iansu committed Feb 3, 2021
    Copy the full SHA
    9c75260 View commit details
  8. 1
    Copy the full SHA
    3f5dea9 View commit details

Commits on Feb 18, 2021

  1. Bump webpack-dev-server 3.11.0 -> 3.11.1 (#10312)

    Resolves #10084 security vulnerability in websocket-driver library version 0.5.6, imported transitively by sockjs
    Awarua- authored Feb 18, 2021
    Copy the full SHA
    9722ef1 View commit details

Commits on Feb 22, 2021

  1. Copy the full SHA
    18b5962 View commit details
  2. update immer to 8.0.1 to address vulnerability (#10412)

    Resolves #10411
    
    Bumps immer version to 8.0.1 to address the prototype pollution
    vulnerability with the current 7.0.9 version.
    wclem4 authored Feb 22, 2021
    Copy the full SHA
    6947896 View commit details
  3. Prepare 4.0.3 release

    iansu committed Feb 22, 2021
    Copy the full SHA
    f710976 View commit details
  4. Update CHANGELOG

    iansu committed Feb 22, 2021
    Copy the full SHA
    cce32fa View commit details
  5. Publish

     - create-react-app@4.0.3
     - react-dev-utils@11.0.3
     - react-scripts@4.0.3
    iansu committed Feb 22, 2021
    Copy the full SHA
    f92c37a View commit details

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
Showing with 47,575 additions and 23,595 deletions.
  1. +2 −1 .eslintrc.json
  2. +2 −2 .github/CODEOWNERS
  3. +1 −0 .github/FUNDING.yml
  4. +1 −1 .github/ISSUE_TEMPLATE/bug_report.md
  5. +9 −3 .github/workflows/build.yml
  6. +32 −0 .github/workflows/integration.yml
  7. +9 −3 .github/workflows/lint.yml
  8. +0 −1 .gitignore
  9. +0 −1 .prettierrc
  10. +19 −19 CHANGELOG-0.x.md
  11. +4 −6 CHANGELOG-1.x.md
  12. +5 −5 CHANGELOG-2.x.md
  13. +1 −1 CHANGELOG-3.x.md
  14. +179 −0 CHANGELOG.md
  15. +23 −15 CONTRIBUTING.md
  16. +3 −3 README.md
  17. +7 −4 azure-pipelines-test-job.yml
  18. +16 −16 azure-pipelines.yml
  19. +23 −18 docusaurus/docs/adding-a-sass-stylesheet.md
  20. +6 −6 docusaurus/docs/adding-bootstrap.md
  21. +1 −1 docusaurus/docs/adding-css-reset.md
  22. +5 −2 docusaurus/docs/advanced-configuration.md
  23. +1 −1 docusaurus/docs/code-splitting.md
  24. +3 −3 docusaurus/docs/custom-templates.md
  25. +0 −2 docusaurus/docs/debugging-tests.md
  26. +3 −3 docusaurus/docs/deployment.md
  27. +1 −1 docusaurus/docs/documentation-intro.md
  28. +1 −1 docusaurus/docs/fetching-data-with-ajax-requests.md
  29. +6 −3 docusaurus/docs/getting-started.md
  30. +2 −2 docusaurus/docs/importing-a-component.md
  31. +6 −6 docusaurus/docs/making-a-progressive-web-app.md
  32. +6 −2 docusaurus/docs/running-tests.md
  33. +3 −3 docusaurus/docs/supported-browsers-features.md
  34. +5 −4 docusaurus/docs/updating-to-new-releases.md
  35. +2 −2 docusaurus/docs/using-the-public-folder.md
  36. +4 −4 docusaurus/website/README.md
  37. +1 −1 docusaurus/website/docusaurus.config.js
  38. +1 −1 docusaurus/website/static/img/docusaurus.svg
  39. BIN docusaurus/website/static/img/logo-og.png
  40. +1 −1 docusaurus/website/static/img/logo.svg
  41. BIN docusaurus/website/static/img/update.png
  42. +0 −10,309 docusaurus/website/yarn.lock
  43. +1 −1 netlify.toml
  44. +45,872 −0 package-lock.json
  45. +22 −22 package.json
  46. +3 −3 packages/babel-plugin-named-asset-import/package.json
  47. +1 −1 packages/babel-preset-react-app/README.md
  48. +18 −0 packages/babel-preset-react-app/create.js
  49. +17 −16 packages/babel-preset-react-app/package.json
  50. +1 −1 packages/confusing-browser-globals/README.md
  51. +2 −2 packages/confusing-browser-globals/package.json
  52. +2 −2 packages/cra-template-typescript/package.json
  53. +9 −9 packages/cra-template-typescript/template.json
  54. +1 −7 packages/cra-template-typescript/template/src/logo.svg
  55. +2 −2 packages/cra-template-typescript/template/src/reportWebVitals.ts
  56. +2 −2 packages/cra-template/package.json
  57. +4 −4 packages/cra-template/template.json
  58. +7 −7 packages/cra-template/template/README.md
  59. +1 −7 packages/cra-template/template/src/logo.svg
  60. +10 −10 packages/create-react-app/__tests__/getTemplateInstallPackage.test.js
  61. +30 −53 packages/create-react-app/createReactApp.js
  62. +5 −5 packages/create-react-app/index.js
  63. +16 −17 packages/create-react-app/package.json
  64. +0 −11,473 packages/create-react-app/yarn.lock.cached
  65. +4 −10 packages/eslint-config-react-app/README.md
  66. +7 −4 packages/eslint-config-react-app/base.js
  67. +1 −1 packages/eslint-config-react-app/index.js
  68. +18 −2 packages/eslint-config-react-app/jest.js
  69. +17 −22 packages/eslint-config-react-app/package.json
  70. +5 −5 packages/react-app-polyfill/package.json
  71. +25 −0 packages/react-dev-utils/ForkTsCheckerWarningWebpackPlugin.js
  72. +1 −3 packages/react-dev-utils/ModuleNotFoundPlugin.js
  73. +6 −0 packages/react-dev-utils/ModuleScopePlugin.js
  74. +2 −29 packages/react-dev-utils/README.md
  75. +0 −33 packages/react-dev-utils/WatchMissingNodeModulesPlugin.js
  76. +10 −67 packages/react-dev-utils/WebpackDevServerUtils.js
  77. +4 −4 packages/react-dev-utils/__tests__/getCSSModuleLocalIdent.test.js
  78. +3 −3 packages/react-dev-utils/browsersHelper.js
  79. +5 −1 packages/react-dev-utils/eslintFormatter.js
  80. +3 −1 packages/react-dev-utils/evalSourceMapMiddleware.js
  81. +16 −7 packages/react-dev-utils/formatWebpackMessages.js
  82. +2 −1 packages/react-dev-utils/getProcessForPort.js
  83. +0 −12 packages/react-dev-utils/inquirer.js
  84. +29 −30 packages/react-dev-utils/package.json
  85. +0 −45 packages/react-dev-utils/typescriptFormatter.js
  86. +20 −5 packages/react-dev-utils/webpackHotDevClient.js
  87. +25 −33 packages/react-error-overlay/package.json
  88. +3 −3 packages/react-error-overlay/src/__tests__/extract-source-map.js
  89. +8 −4 packages/react-error-overlay/src/__tests__/get-source-map.js
  90. +10 −8 packages/react-error-overlay/src/__tests__/parser/generic.js
  91. +2 −4 packages/react-error-overlay/src/utils/generateAnsiHTML.js
  92. +4 −4 packages/react-error-overlay/webpack.config.js
  93. +0 −2 packages/react-scripts/config/env.js
  94. +3 −2 packages/react-scripts/config/jest/babelTransform.js
  95. +11 −3 packages/react-scripts/config/paths.js
  96. +0 −43 packages/react-scripts/config/pnpTs.js
  97. +219 −209 packages/react-scripts/config/webpack.config.js
  98. +9 −0 packages/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js
  99. +65 −68 packages/react-scripts/config/webpackDevServer.config.js
  100. +2 −2 packages/react-scripts/fixtures/kitchensink/template.json
  101. +2 −2 packages/react-scripts/fixtures/kitchensink/template/README.md
  102. +6 −5 packages/react-scripts/fixtures/kitchensink/template/integration/webpack.test.js
  103. +3 −1 packages/react-scripts/fixtures/kitchensink/template/jest.transform.js
  104. +3 −1 packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.js
  105. +1 −7 packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/assets/logo.svg
  106. BIN packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/assets/tiniest-cat.jpg
  107. +53 −62 packages/react-scripts/package.json
  108. +12 −15 packages/react-scripts/scripts/build.js
  109. +239 −243 packages/react-scripts/scripts/eject.js
  110. +10 −12 packages/react-scripts/scripts/init.js
  111. +7 −27 packages/react-scripts/scripts/start.js
  112. +0 −9 packages/react-scripts/scripts/test.js
  113. +3 −4 packages/react-scripts/scripts/utils/createJestConfig.js
  114. +0 −163 packages/react-scripts/scripts/utils/verifyPackageTree.js
  115. +10 −4 packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
  116. +1 −1 packages/react-scripts/template-typescript/README.md
  117. +1 −1 packages/react-scripts/template/README.md
  118. +1 −1 screencast.svg
  119. +0 −49 tasks/compile-lockfile.js
  120. +1 −5 tasks/cra.js
  121. +0 −8 tasks/e2e-behavior.sh
  122. +21 −31 tasks/e2e-installs.sh
  123. +4 −22 tasks/e2e-kitchensink-eject.sh
  124. +4 −15 tasks/e2e-kitchensink.sh
  125. +21 −40 tasks/e2e-simple.sh
  126. +15 −13 tasks/local-test.sh
  127. +2 −8 tasks/publish.sh
  128. +6 −6 tasks/screencast-start.js
  129. +1 −1 test/README.md
  130. +12 −35 test/fixtures/__shared__/util/scripts.js
  131. +5 −16 test/fixtures/__shared__/util/setup.js
  132. 0 test/fixtures/boostrap-sass/.disable-pnp
  133. +2 −2 test/fixtures/boostrap-sass/package.json
  134. +3 −3 test/fixtures/builds-with-multiple-runtimes/package.json
  135. 0 test/fixtures/global-scss-asset-resolution/.disable-pnp
  136. +1 −1 test/fixtures/global-scss-asset-resolution/package.json
  137. 0 test/fixtures/jsconfig/.disable-pnp
  138. +2 −2 test/fixtures/mjs-support/package.json
  139. +1 −8 test/fixtures/relative-paths/src/logo.svg
  140. 0 test/fixtures/typescript-advanced/.disable-pnp
  141. 0 test/fixtures/typescript-typecheck/.disable-pnp
  142. 0 test/fixtures/typescript/.disable-pnp
  143. 0 test/fixtures/webpack-message-formatting/.disable-pnp
  144. +1 −1 test/fixtures/webpack-message-formatting/index.test.js
  145. +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
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: create-react-app
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
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"arrowParens": "avoid",
"trailingComma": "es5",
"singleQuote": true,
"semi": true
}
Loading