diff --git a/.eslintignore b/.eslintignore index 4eaf46c6d7d..27c694cea55 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,3 +3,4 @@ build my-app* packages/react-scripts/template packages/react-scripts/fixtures +fixtures/ diff --git a/.eslintrc b/.eslintrc.json similarity index 91% rename from .eslintrc rename to .eslintrc.json index 44a504e4080..b642bbc5c14 100644 --- a/.eslintrc +++ b/.eslintrc.json @@ -7,7 +7,7 @@ "es6": true }, "parserOptions": { - "ecmaVersion": 6 + "ecmaVersion": 2018 }, "rules": { "no-console": "off", diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000000..ebb18e94002 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +packages/ @amyrlam @bugzpodder @gaearon @ianschmitz @iansu @mrmckeb @petetnt @timer +docusaurus/ @amyrlam @iansu diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index ca97a668bab..2d4f8c8ae01 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -6,12 +6,13 @@ (write your answer here) + - -### Can you also reproduce the problem with npm 4.x? +### Did you try recovering your dependencies? (Write your answer here.) @@ -59,13 +70,13 @@ There are a few common documented problems, such as watcher not detecting changes, or build failing. They are described in the Troubleshooting section of the User Guide: - https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#troubleshooting + https://facebook.github.io/create-react-app/docs/troubleshooting Please scan these few sections for common problems. Additionally, you can search the User Guide itself for something you're having issues with: - - https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md - + + https://facebook.github.io/create-react-app/ + If you didn't find the solution, please share which words you searched for. This helps us improve documentation for future readers who might encounter the same problem. --> @@ -76,18 +87,18 @@ ### Environment + To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required. + This enables the maintainers quickly reproduce the issue and give feedback. + + Run the following command in your React app's folder in terminal. + Note: The result is copied to your clipboard directly. -1. `node -v`: -2. `npm -v`: -3. `yarn --version` (if you use Yarn): -4. `npm ls react-scripts` (if you haven’t ejected): + `npx create-react-app --info` -Then, specify: + Paste the output of the command in the section below. +--> -1. Operating system: -2. Browser and version (if relevant): +(paste the output of the command here) ### Steps to Reproduce @@ -146,13 +157,14 @@ Then, specify: (Paste the link to an example project and exact instructions to reproduce the issue.) + + +``` + +Add `