diff --git a/.alexignore b/.alexignore new file mode 100644 index 00000000000..0167c31e931 --- /dev/null +++ b/.alexignore @@ -0,0 +1,4 @@ +build + +CHANGELOG* +CODE_OF_CONDUCT.md diff --git a/.alexrc b/.alexrc new file mode 100644 index 00000000000..8cda2010b9d --- /dev/null +++ b/.alexrc @@ -0,0 +1,18 @@ +{ + "allow": [ + "attacks", + "colors", + "conservative", + "crashes", + "executed", + "executes", + "execution", + "failed", + "hook", + "host-hostess", + "hostesses-hosts", + "invalid", + "remain", + "watchman-watchwoman" + ] +} diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ebb18e94002..2308496a692 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ -packages/ @amyrlam @bugzpodder @gaearon @ianschmitz @iansu @mrmckeb @petetnt @timer +packages/ @bugzpodder @ianschmitz @iansu @mrmckeb @petetnt docusaurus/ @amyrlam @iansu diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 91% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug_report.md index 2d4f8c8ae01..8153cffe3e2 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,30 +1,26 @@ - - -### Is this a bug report? - -(write your answer here) - +--- +name: Bug report +about: Create a report to help us improve +labels: 'issue: bug report, needs triage' +--- +### Describe the bug + +(Write your answer here.) + ### Did you try recovering your dependencies? -(paste the output of the command here) - +(paste the output of the command here.) -### Steps to Reproduce +### Steps to reproduce + +(Write your answer here.) + +### Describe the solution you'd like + + + +(Describe your proposed solution here.) + +### Describe alternatives you've considered + + + +(Write your answer here.) + +### Additional context + + + +(Write your answer here.) diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000000..147ea1dc458 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,13 @@ +--- +name: Question +about: Get help with Create React App +labels: 'needs triage' +--- + +If you have a general question about Create React App or about building an app with Create React App we encourage you to post on our Spectrum community instead of this issue tracker. The maintainers and other community members can provide help and answer your questions there: https://spectrum.chat/create-react-app + +If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html + +If you've discovered a bug or would like to propose a change please use one of the other issue templates. + +Thanks! diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000000..7b94526e804 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,13 @@ +name: Build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install + run: yarn --no-progress --non-interactive --no-lockfile + - name: Build + run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000000..a2e7567d1e1 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,13 @@ +name: Lint + +on: [push] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install + run: yarn --no-progress --non-interactive --no-lockfile + - name: Alex + run: yarn alex diff --git a/.gitignore b/.gitignore index ffa71fafc6d..a3e7a11d130 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ yarn-debug.log* yarn-error.log* /.changelog .npm/ +yarn.lock diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dda58096f90..00000000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -dist: trusty -language: node_js -node_js: - - 8 - - 10 -cache: - yarn: true - directories: - - .npm -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s - - export PATH="$HOME/.yarn/bin:$PATH" -install: true -script: - - 'if [ $TEST_SUITE = "simple" ]; then tasks/e2e-simple.sh; fi' - - 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi' - - 'if [ $TEST_SUITE = "kitchensink" ]; then tasks/e2e-kitchensink.sh; fi' - - 'if [ $TEST_SUITE = "kitchensink-eject" ]; then tasks/e2e-kitchensink-eject.sh; fi' - - 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi' - - 'if [ $TEST_SUITE = "behavior" ]; then tasks/e2e-behavior.sh; fi' -env: - matrix: - - TEST_SUITE=simple - - TEST_SUITE=installs - - TEST_SUITE=kitchensink - - TEST_SUITE=kitchensink-eject - - TEST_SUITE=behavior -matrix: - include: - - os: osx - node_js: 8 - env: TEST_SUITE=behavior - - node_js: 6 - env: TEST_SUITE=old-node diff --git a/CHANGELOG-1.x.md b/CHANGELOG-1.x.md index ae2725af297..fb1b1cc1d2c 100644 --- a/CHANGELOG-1.x.md +++ b/CHANGELOG-1.x.md @@ -1,6 +1,6 @@ ## 2.0.3 and Newer Versions -**Please refer to [CHANGELOG.md](./CHANGELOG.md) for the newer versions.** +**Please refer to [CHANGELOG-2.x.md](./CHANGELOG-2.x.md) for the 2.x range, and [CHANGELOG.md](CHANGELOG.md) for the newer versions.** ## 1.1.5 (August 24, 2018) @@ -482,7 +482,7 @@ yarn add --exact react-scripts@1.0.16 - [#3150](https://github.com/facebook/create-react-app/pull/3150) Remove an useless negation in `registerServiceWorker.js`. ([@dunglas](https://github.com/dunglas)) - [#3158](https://github.com/facebook/create-react-app/pull/3158) Remove `output.path` from dev webpack config. ([@nikolas](https://github.com/nikolas)) - - [#3281](https://github.com/facebook/create-react-app/pull/3281) Add a workaround for Uglify incompatiblity with Safari 10.0 in the future. ([@satyavh](https://github.com/satyavh)) + - [#3281](https://github.com/facebook/create-react-app/pull/3281) Add a workaround for Uglify incompatibility with Safari 10.0 in the future. ([@satyavh](https://github.com/satyavh)) - [#3146](https://github.com/facebook/create-react-app/pull/3146) Fix `reason-react` support. ([@lpalmes](https://github.com/lpalmes)) - [#3236](https://github.com/facebook/create-react-app/pull/3236) Update `style-loader` and disable inclusion of its HMR code in builds. ([@insin](https://github.com/insin)) - [#3246](https://github.com/facebook/create-react-app/pull/3246) Update `url-loader` to 0.6.2 for mime ReDoS vulnerability. ([@d3viant0ne](https://github.com/d3viant0ne)) @@ -1443,7 +1443,7 @@ yarn add --dev --exact react-scripts@1.0.1 ## 1.0.0 (May 18, 2017) -We’ve been working on this release for the past few months, and there are many big impovements, from migrating to webpack 2 to a brand new runtime error overlay and built-in support for Progressive Web Apps. +We’ve been working on this release for the past few months, and there are many big improvements, from migrating to webpack 2 to a brand new runtime error overlay and built-in support for Progressive Web Apps. So instead of just enumerating them here, we decided to write a blog post about all the new features.
Check it out: **[What’s New in Create React App](https://facebook.github.io/react/blog/2017/05/18/whats-new-in-create-react-app.html)**. @@ -1577,20 +1577,20 @@ Unhandled Promise rejections will now crash tests. You can fix them by explicitl After the regular update procedure above, add these line to `` in `public/index.html`: ```html - - - + ``` Add `