From 164896503cd5667309647972646b583111f64f54 Mon Sep 17 00:00:00 2001 From: Jens Meindertsma Date: Sun, 12 Jul 2020 21:24:52 +0200 Subject: [PATCH 1/3] Update dependencies for `with-iron-session` example (#15065) Co-authored-by: Joe Haddad Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Joe Haddad --- examples/with-iron-session/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-iron-session/package.json b/examples/with-iron-session/package.json index 0474668cafb54..7d1fe5dbe8ce6 100644 --- a/examples/with-iron-session/package.json +++ b/examples/with-iron-session/package.json @@ -8,11 +8,11 @@ "start": "next start" }, "dependencies": { - "next": "9.3.6", - "next-iron-session": "4.0.0", + "next": "^9.4.4", + "next-iron-session": "4.1.7", "prop-types": "15.7.2", "react": "16.13.1", "react-dom": "16.13.1", - "swr": "0.2.0" + "swr": "0.2.3" } } From 9b711883cfebfce0997cd9fe188a33cd433e9981 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Sun, 12 Jul 2020 21:44:37 +0200 Subject: [PATCH 2/3] Update docs about type checking (#15103) Related to #14997 --- docs/basic-features/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/typescript.md b/docs/basic-features/typescript.md index 3086fd470263b..99191121e969c 100644 --- a/docs/basic-features/typescript.md +++ b/docs/basic-features/typescript.md @@ -43,7 +43,7 @@ You're now ready to start converting files from `.js` to `.tsx` and leveraging t > Next.js `strict` mode is turned off by default. When you feel comfortable with TypeScript, it's recommended to turn it on in your `tsconfig.json`. -By default, Next.js reports TypeScript errors during development for pages you are actively working on. TypeScript errors for inactive pages **do not** block the development process. +By default, Next.js will do type checking as part of `next build`. We recommend using code editor type checking during development. If you want to silence the error reports, refer to the documentation for [Ignoring TypeScript errors](/docs/api-reference/next.config.js/ignoring-typescript-errors.md). From 5460abf2d43888fa5444f57ae47ed172fe92c79c Mon Sep 17 00:00:00 2001 From: Anthony Morris Date: Sun, 12 Jul 2020 13:01:59 -0700 Subject: [PATCH 3/3] [Examples] Add .next to .gitignore (#15088) The TypeScript blog starter didn't have `.next` in the `.gitignore` file. --- examples/blog-starter-typescript/.gitignore | 33 +++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/examples/blog-starter-typescript/.gitignore b/examples/blog-starter-typescript/.gitignore index 5900fa96e8d3e..a970b8cd314e2 100644 --- a/examples/blog-starter-typescript/.gitignore +++ b/examples/blog-starter-typescript/.gitignore @@ -1,2 +1,31 @@ -.env -.now \ No newline at end of file +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules + +# testing +/coverage + +# Next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# Vercel +.vercel \ No newline at end of file