forked from facebook/create-react-app
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from sharetribe/update-from-upstream
v6.0.0 Update from upstream (CRA v4.0.2 > v5.0.1)
- Loading branch information
Showing
144 changed files
with
56,166 additions
and
23,373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,3 @@ yarn-debug.log* | |
yarn-error.log* | ||
/.changelog | ||
.npm/ | ||
yarn.lock |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1365,7 +1365,7 @@ or | |
yarn add --dev --exact [email protected] | ||
``` | ||
|
||
If you previously had issues with an `Invalid Host Header` error, [follow these new instructions](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#invalid-host-header-errors-after-configuring-proxy) to fix it. | ||
If you previously had issues with an `Invalid Host Header` error, [follow these new instructions](https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#invalid-host-header-errors-after-configuring-proxy) to fix it. | ||
|
||
## 1.0.1 (May 19, 2017) | ||
|
||
|
@@ -1547,7 +1547,7 @@ You can automatically convert your project to fix them by running the [correspon | |
|
||
#### How do I make my tests work with Jest 20? | ||
|
||
Please refer to the [Jest 19](https://facebook.github.io/jest/blog/2017/02/21/jest-19-immersive-watch-mode-test-platform-improvements.html#breaking-changes) and [Jest 20](http://facebook.github.io/jest/blog/2017/05/06/jest-20-delightful-testing-multi-project-runner.html#breaking-changes) breaking changes for migration instructions. | ||
Please refer to the [Jest 19](https://facebook.github.io/jest/blog/2017/02/21/jest-19-immersive-watch-mode-test-platform-improvements.html#breaking-changes) and [Jest 20](https://facebook.github.io/jest/blog/2017/05/06/jest-20-delightful-testing-multi-project-runner.html#breaking-changes) breaking changes for migration instructions. | ||
|
||
If you use snapshots, you will likely need to update them once because of the change in format. | ||
|
||
|
@@ -1572,7 +1572,7 @@ If you still have the problem please file an issue. | |
|
||
Unhandled Promise rejections will now crash tests. You can fix them by explicitly catching the errors you don’t care about. | ||
|
||
#### How to turn my app into a [Progressive Web App](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app)? | ||
#### How to turn my app into a [Progressive Web App](https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#making-a-progressive-web-app)? | ||
|
||
After the regular update procedure above, add these line to `<head>` in `public/index.html`: | ||
|
||
|
@@ -1588,9 +1588,7 @@ After the regular update procedure above, add these line to `<head>` in `public/ | |
Add `<noscript>` to `<body>` in `public/index.html`: | ||
|
||
```html | ||
<noscript> | ||
You need to enable JavaScript to run this app. | ||
</noscript> | ||
<noscript> You need to enable JavaScript to run this app. </noscript> | ||
``` | ||
|
||
Then create a file called `public/manifest.json` that looks like this: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.