Changelog
*Sourced from [react-scripts's changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md).*
> ## 3.0.0 (April 22, 2019)
>
> Create React App 3.0 brings some exciting new features including support for [Hooks](https://reactjs.org/docs/hooks-intro.html)!
>
> Thanks to all the maintainers and contributors who worked so hard on this release! :tada:
>
> # Highlights
>
> - Jest 24: [#6278](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6278)
> - Hooks support: [#5997](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/5997)
> - TypeScript linting: [#6513](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6513)
> - `browserslist` support in @babel/preset-env: [#6608](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6608)
> - Absolute imports using `jsconfig.json`/`tsconfig.json`: [#6656](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6656)
>
> # Migrating from 2.1.x to 3.0.0
>
> Inside any created project that has not been ejected, run:
>
> ```bash
> npm install --save --save-exact react-scripts@3.0.0
> ```
>
> or
>
> ```
> yarn add --exact react-scripts@3.0.0
> ```
>
> If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again. It’s also possible that the feature you ejected for is now supported out of the box.
>
> ## Breaking Changes
>
> Like any major release, `react-scripts@3.0.0` contains a few breaking changes. We expect that they won't affect every user, but we recommend you look over this section to see if something is relevant to you. If we missed something, please file a new issue.
>
> ### Jest 24
>
> We've updated from Jest 23 to get the latest improvements in Jest 24. We've noticed some differences in snapshot serialization in Jest 24, so you may need to adjust your tests slightly once you update. You can read more about what's changed in the [Jest 24 blog post](https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly).
>
> ### Hooks support
>
> We now enforce [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) with `eslint-plugin-react-hooks`. If you are breaking any of the rules of Hooks this will cause your build to fail.
>
> ### TypeScript linting
>
> We now lint TypeScript files. You can see the list of [rules we enforce](https://github.com/facebook/create-react-app/blob/eee8491d57d67dd76f0806a7512eaba2ce9c36f0/packages/eslint-config-react-app/index.js#L89:L98) to check if your project is compatible. If you're using Visual Studio Code you can follow our guide to [setup up your editor to display lint warnings](https://facebook.github.io/create-react-app/docs/setting-up-your-editor#displaying-lint-output-in-the-editor).
>
> ### `browserslist` support in @babel/preset-env
>
> The `browserslist` config in your `package.json` is now used to control the output of your JavaScript files. You can use separate configuration for `development` and `production`. See [here](https://github.com/facebook/create-react-app/blob/b0cbf2caa18ee8267855b14578ebc3dee826f552/packages/react-scripts/package.json#L83-L94) for a good starting point which gives a good development experience, especially when using language features such as async/await, but still provides high compatibility with many browsers in production
>
> ... (truncated)
Commits
- [`265c159`](https://github.com/facebook/create-react-app/commit/265c1592dcf3853122dcdd50e1bfc1e43f697fbe) Publish
- [`e11ebfa`](https://github.com/facebook/create-react-app/commit/e11ebfa0e871e591b1e7d668face325d35532044) Update fsevents dependency version ([#6843](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6843))
- [`200b98b`](https://github.com/facebook/create-react-app/commit/200b98b81a00671ac99d093c9978df8662344c57) Remove no-watch flag in favor of watchAll=false ([#6848](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6848))
- [`022b984`](https://github.com/facebook/create-react-app/commit/022b98418ebc03bd157b6056ce919ae72872fb7a) Change Create React App version in `react-scripts` eject warning ([#6845](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6845))
- [`f5b0aac`](https://github.com/facebook/create-react-app/commit/f5b0aac4116fe58694db7c8996c4fd7da4821b9a) Relax ESLint version range ([#6840](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6840))
- [`e7a2d61`](https://github.com/facebook/create-react-app/commit/e7a2d6168a3a93ea58bafdc851eb2bbda20d5ce6) Set baseUrl from jsconfig.json/tsconfig.json ([#6656](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6656))
- [`ced3fd4`](https://github.com/facebook/create-react-app/commit/ced3fd49ca1b224d9a5cb282acf7314e527b8a96) Add directory details to packages/* package.json ([#6826](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6826))
- [`207d931`](https://github.com/facebook/create-react-app/commit/207d9315b138fc6c830da5295342d0f034dbeab3) Update testMatch to also be compatible with Jest 24 ([#6313](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6313))
- [`9048dd6`](https://github.com/facebook/create-react-app/commit/9048dd66a0a6f7ec4a877abe917b51287d66da75) Move list of files under `files` key in asset manifest ([#6821](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6821))
- [`50c1884`](https://github.com/facebook/create-react-app/commit/50c1884e628001ab3d78c63e9871568f2fbe5cc4) Fix react-scripts peer dependencies link local issue ([#6579](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6579)) ([#6580](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6580))
- Additional commits viewable in [compare view](https://github.com/facebook/create-react-app/commits/react-scripts@3.0.0/packages/react-scripts)
Maintainer changes
This version was pushed to npm by [iansu](https://www.npmjs.com/~iansu), a new releaser for react-scripts since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps react-scripts from 1.1.5 to 3.0.0.
Changelog
*Sourced from [react-scripts's changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md).* > ## 3.0.0 (April 22, 2019) > > Create React App 3.0 brings some exciting new features including support for [Hooks](https://reactjs.org/docs/hooks-intro.html)! > > Thanks to all the maintainers and contributors who worked so hard on this release! :tada: > > # Highlights > > - Jest 24: [#6278](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6278) > - Hooks support: [#5997](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/5997) > - TypeScript linting: [#6513](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6513) > - `browserslist` support in @babel/preset-env: [#6608](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6608) > - Absolute imports using `jsconfig.json`/`tsconfig.json`: [#6656](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6656) > > # Migrating from 2.1.x to 3.0.0 > > Inside any created project that has not been ejected, run: > > ```bash > npm install --save --save-exact react-scripts@3.0.0 > ``` > > or > > ``` > yarn add --exact react-scripts@3.0.0 > ``` > > If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again. It’s also possible that the feature you ejected for is now supported out of the box. > > ## Breaking Changes > > Like any major release, `react-scripts@3.0.0` contains a few breaking changes. We expect that they won't affect every user, but we recommend you look over this section to see if something is relevant to you. If we missed something, please file a new issue. > > ### Jest 24 > > We've updated from Jest 23 to get the latest improvements in Jest 24. We've noticed some differences in snapshot serialization in Jest 24, so you may need to adjust your tests slightly once you update. You can read more about what's changed in the [Jest 24 blog post](https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly). > > ### Hooks support > > We now enforce [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) with `eslint-plugin-react-hooks`. If you are breaking any of the rules of Hooks this will cause your build to fail. > > ### TypeScript linting > > We now lint TypeScript files. You can see the list of [rules we enforce](https://github.com/facebook/create-react-app/blob/eee8491d57d67dd76f0806a7512eaba2ce9c36f0/packages/eslint-config-react-app/index.js#L89:L98) to check if your project is compatible. If you're using Visual Studio Code you can follow our guide to [setup up your editor to display lint warnings](https://facebook.github.io/create-react-app/docs/setting-up-your-editor#displaying-lint-output-in-the-editor). > > ### `browserslist` support in @babel/preset-env > > The `browserslist` config in your `package.json` is now used to control the output of your JavaScript files. You can use separate configuration for `development` and `production`. See [here](https://github.com/facebook/create-react-app/blob/b0cbf2caa18ee8267855b14578ebc3dee826f552/packages/react-scripts/package.json#L83-L94) for a good starting point which gives a good development experience, especially when using language features such as async/await, but still provides high compatibility with many browsers in production > > ... (truncated)Commits
- [`265c159`](https://github.com/facebook/create-react-app/commit/265c1592dcf3853122dcdd50e1bfc1e43f697fbe) Publish - [`e11ebfa`](https://github.com/facebook/create-react-app/commit/e11ebfa0e871e591b1e7d668face325d35532044) Update fsevents dependency version ([#6843](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6843)) - [`200b98b`](https://github.com/facebook/create-react-app/commit/200b98b81a00671ac99d093c9978df8662344c57) Remove no-watch flag in favor of watchAll=false ([#6848](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6848)) - [`022b984`](https://github.com/facebook/create-react-app/commit/022b98418ebc03bd157b6056ce919ae72872fb7a) Change Create React App version in `react-scripts` eject warning ([#6845](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6845)) - [`f5b0aac`](https://github.com/facebook/create-react-app/commit/f5b0aac4116fe58694db7c8996c4fd7da4821b9a) Relax ESLint version range ([#6840](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6840)) - [`e7a2d61`](https://github.com/facebook/create-react-app/commit/e7a2d6168a3a93ea58bafdc851eb2bbda20d5ce6) Set baseUrl from jsconfig.json/tsconfig.json ([#6656](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6656)) - [`ced3fd4`](https://github.com/facebook/create-react-app/commit/ced3fd49ca1b224d9a5cb282acf7314e527b8a96) Add directory details to packages/* package.json ([#6826](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6826)) - [`207d931`](https://github.com/facebook/create-react-app/commit/207d9315b138fc6c830da5295342d0f034dbeab3) Update testMatch to also be compatible with Jest 24 ([#6313](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6313)) - [`9048dd6`](https://github.com/facebook/create-react-app/commit/9048dd66a0a6f7ec4a877abe917b51287d66da75) Move list of files under `files` key in asset manifest ([#6821](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6821)) - [`50c1884`](https://github.com/facebook/create-react-app/commit/50c1884e628001ab3d78c63e9871568f2fbe5cc4) Fix react-scripts peer dependencies link local issue ([#6579](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6579)) ([#6580](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts/issues/6580)) - Additional commits viewable in [compare view](https://github.com/facebook/create-react-app/commits/react-scripts@3.0.0/packages/react-scripts)Maintainer changes
This version was pushed to npm by [iansu](https://www.npmjs.com/~iansu), a new releaser for react-scripts since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.