rsnext/examples/with-typescript-eslint-jest
Nick Babcock 5629223407
Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.

```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": ".*"/"react": "^17.0.2"/
fd -g 'package.json' | xargs sed -r -i 's/"react-dom": ".*"/"react-dom": "^17.0.2"/'

# exclude experimental react version
git checkout with-reason-relay/package.json
```
2021-06-16 16:43:26 +00:00
..
pages Upgrade packages for example/with-typescript-eslint-jest (#21963) 2021-02-08 21:08:26 -06:00
public [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
test Upgrade packages for example/with-typescript-eslint-jest (#21963) 2021-02-08 21:08:26 -06:00
.babelrc [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
.eslintignore [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
.eslintrc.json Fix typescript-eslint-jest example to remove Prettier package causing errors (#22452) 2021-03-01 02:43:23 +00:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
.prettierignore [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
.prettierrc [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
jest.config.js Follow the breaking change of jest-config (#26082) 2021-06-16 15:51:58 +00:00
next-env.d.ts [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00
package.json Update examples to use React 17 (#26133) 2021-06-16 16:43:26 +00:00
README.md docs: add 'Open in StackBlitz' buttons to various examples (#25853) 2021-06-08 20:45:02 +00:00
tsconfig.json [examples] with-ts-eslint-jest example app (#12025) 2020-05-25 13:16:06 -05:00

NextJS Typescript Boilerplate

Bootstrap a developer-friendly NextJS app configured with:

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-typescript-eslint-jest with-typescript-eslint-jest-app
# or
yarn create next-app --example with-typescript-eslint-jest with-typescript-eslint-jest-app

Deploy it to the cloud with Vercel (Documentation).