* Update mkdirp to a version that no longer has a dependency on minimist: https://npmjs.com/advisories/1179
* Update webpack to the most recent minor version to remove minimist vulnerability.
* Update deps
Co-authored-by: Tim Neutkens <timneutkens@me.com>
* Update postcss.config.js
Return empty array if the condition is not met to avoid a null/undefined PostCSS plugin.
* Update postcss.config.js
Fix array spread
* Update postcss.config.js
remove extra operator
* Fix linting
Co-authored-by: Tim Neutkens <timneutkens@me.com>
This change updates the README of the `react-intl` example to show how to use
the FormattedHTMLMessage component from `react-intl` in Node environments when
using pre-v4 versions.
* Add babel-types package
`next dev` was failing with:
```
Error: Cannot find module 'babel-types'
```
* Upgrade to the latest bs-platform
Also add the `babel-types` package to stop the `next dev` command from complaining.
* Remove extraneous babel-plugin-bucklescript dependency.
Seems the dependency has been deprecated, and it doesn't seem to be required
anyways.
* Warn when user has pages/_error but no pages/404
* Update test
* Update custom-error-no-custom-404.md
* Apply suggestions from code review
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
* Rename unstable GSP revalidate field
* Update error message
* Tweak error message some more
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
* document how root routes coexist with dynamic api routes
document how root routes coexist with dynamic api routes - related to https://github.com/zeit/next.js/issues/11542
* Update dynamic-api-routes.md
* Update dynamic-api-routes.md
* Run prettier
Co-authored-by: Tim Neutkens <timneutkens@me.com>
* fix(debugging): do not pass NODE_OPTIONS='--inspect' to subprocesses
fixes#11030
* fix(debugger): use a regex to remove bad NODE_OPTIONS flags
Co-authored-by: Alec Larson <alec.stanford.larson@gmail.com>
* added "with-route-as-modal" exemple
extra space missing in style.css
oops
linted
* Use Link and removed unrequired imports
Co-authored-by: Luis Alvarez <luis@zeit.co>
* example improved
* put user cache back
* .env.template is back
* .env.template sorting back
* Header component calls fixed
* Context API removed
* Context API related text removed from README
* put everything back but getServerSideProps
* client side code removed from GSSP
* Updated comments
Co-authored-by: Luis Alvarez <luis@zeit.co>