Tim Neutkens
6e84c0c12a
Add dependencies used by compiled files ( #11699 )
...
* Add dependencies used by compiled files
* Update utils.ts
2020-04-06 11:52:19 +02:00
Shu Uesugi
7b0802eb40
Use function for function components ( #11695 )
2020-04-06 10:44:40 +02:00
Nathan Sculli
fa39b311ec
A little bit of maintenance on the ReasonML examples ( #11662 )
...
* 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.
2020-04-06 10:44:01 +02:00
Luis Alvarez D
e3a35b2a3e
Update Automatic Static Optimization docs ( #11618 )
2020-04-06 09:46:19 +02:00
Sriram Thiagarajan
eec18ecafe
[create-next-app] update logic for shouldUseYarn function ( #11683 )
...
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-06 09:32:20 +02:00
Jaga Santagostino
b91ee110b7
add links to sections in data fetching documentation ( #11666 )
2020-04-05 13:52:43 +02:00
Tal Ater
89b69865fb
Fix documentation link in Basic API routes example ( #11671 )
...
Link to description of API Routes in the main README of the repo is broken. Replaced with a link to the documentation.
2020-04-05 13:46:48 +02:00
Alejandro
d46a0aef0f
Integrate with-atlaskit ( #11269 )
...
* Add with-atlaskit
* Fix
* Fix
* Add babel
2020-04-05 13:27:49 +02:00
Janicklas Ralph
52f9e911ec
Updating native-url version ( #11670 )
...
* Updating native-url version
* Bump version
2020-04-05 13:20:05 +02:00
JJ Kasper
1cdc607968
Warn when user has pages/_error but no pages/404 ( #11603 )
...
* 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>
2020-04-05 13:19:14 +02:00
JJ Kasper
9baa103bb8
v9.3.5-canary.2
2020-04-04 12:39:57 -05:00
JJ Kasper
7f8f149f99
Add error when GSSP methods are added as page component members ( #11645 )
2020-04-03 19:08:17 -04:00
David Janda
d093dd5786
Updated with-shallow-routing to use getServerSideProps ( #11585 )
...
* Replaced getInitialProps with getServerSideProps
* Updated page and readme
* Removed unrequired props
* Mention getStaticProps too
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-03 14:59:39 -05:00
Jan Sepke
2bfbfea635
Update FAQ link ( #11636 )
...
to new Data fetching documentation
2020-04-03 19:20:19 +02:00
Joe Haddad
ed1aba0dbb
v9.3.5-canary.1
2020-04-03 13:18:26 -04:00
Joe Haddad
b747a366ab
Fix Preview Mode in <iframe>
( #11638 )
2020-04-03 13:18:04 -04:00
noejon
d97ac9ff82
[fix:typo] - Fixing a typo in the typescript example ( #11630 )
2020-04-03 11:44:57 +02:00
Jan Piotrowski
845f2a98fb
make providers headlines so they become linkable ( #11613 )
...
(hopefully)
2020-04-03 09:51:46 +02:00
Luis Alvarez D
9a7f29c981
[Docs] Remove concepts folder ( #11621 )
2020-04-03 09:45:00 +02:00
David Janda
641976a471
Replace getInitialProps with getServerSideProps ( #11586 )
2020-04-02 16:36:18 -05:00
JJ Kasper
97a6b64f83
Rename unstable GSP field ( #11602 )
...
* 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>
2020-04-02 14:29:41 -04:00
JJ Kasper
bf96337c6c
Update minimum required node version to be more specific ( #11604 )
2020-04-02 14:06:36 -04:00
Sriram Thiagarajan
892794b013
[docs] Remove broken link to example api-routes-micro ( #11597 )
2020-04-02 17:22:12 +02:00
JJ Kasper
ef1bfc962b
v9.3.5-canary.0
2020-04-02 10:12:50 -05:00
swyx
4adab3d4b0
[docs] document how root routes coexist with dynamic api routes ( #11591 )
...
* 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>
2020-04-02 11:05:01 +02:00
kvoncode
b48db989bb
add: jsx
to list of supported files in docs ( #11579 )
2020-04-02 10:21:13 +02:00
JJ Kasper
56118439b7
Update to make sure to respond with 400 for invalid URLs ( #11561 )
...
* Update to make sure to respond with 400 for invalid URLs
* Update response text for 400 API error
2020-04-02 09:24:32 +02:00
Gerald Monaco
139da5ade2
Prevent extraneous re-renders with next/dynamic ( #11587 )
...
* Prevent extraneous rerenders with loadables
* Don't try to spread undefined
* Allow ref to be memoized
2020-04-02 09:22:04 +02:00
Matt Carlotta
5db180b221
Fix styled-components example README notes ( #11548 )
...
* Add notes to styled-components example README
* Adjust notes to styled-components example README
* Fix styled-components README notes
* Update README
2020-04-01 14:00:13 -05:00
Tim Neutkens
8c899ee5e4
v9.3.4
2020-04-01 16:05:04 +02:00
Tim Neutkens
e000d843b2
v9.3.4-canary.4
2020-04-01 16:04:03 +02:00
James Mosier
7b546a92c8
Update hello-world example React version & name for CodeSandbox ( #11550 )
2020-04-01 15:56:38 +02:00
Matt Carlotta
a37ad0ae07
Add notes to styled-components example README ( #11540 )
...
* Add notes to styled-components example README
* Adjust notes to styled-components example README
2020-04-01 12:21:04 +02:00
Tim Neutkens
a99244402e
v9.3.4-canary.3
2020-04-01 12:14:38 +02:00
JJ Kasper
3f6bd47dfb
Update build output with renamed column ( #11401 )
...
* Update build output with renamed column
* Update build output test
* Update naming of column
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-01 11:39:25 +02:00
Luis Alvarez D
1992e2a96e
Example/update unstated ( #11534 )
...
* Updated components and deps
* Updated readme
2020-04-01 11:36:02 +02:00
JJ Kasper
d61eced9a6
Update to make sure AMP only bundles are always removed in pro… ( #11527 )
2020-04-01 10:24:44 +02:00
Vincent Voyer
fa5da6d220
Remove passing of NODE_OPTIONS='--inspect' to subprocesses ( #11041 )
...
* 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>
2020-04-01 10:12:38 +02:00
JJ Kasper
f9cd7c581f
v9.3.4-canary.2
2020-03-31 14:30:10 -05:00
Jane Manchun Wong
c17ee73db7
Generic Type for GetStaticPaths ( #11430 )
...
* Generic Type for GetStaticPaths
* Add generic typing for params to GSSP and GSP too
* Added basic tests
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-03-31 14:11:09 -05:00
Hugo Morosini
226387694b
added "with-route-as-modal" example ( #11473 )
...
* 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>
2020-03-31 14:10:55 -05:00
Freddy Jimenez
f2315ffc8f
update auth0 example with getServerSideProps ( #11051 )
...
* 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>
2020-03-31 13:08:01 -05:00
JJ Kasper
b307ed9186
Update checking for existing dotenv usage ( #11496 )
...
* Update checking for existing dotenv usage
* Check for package-lock.json also
2020-03-31 11:27:46 -05:00
Tim Neutkens
b8d075ef0e
Update environment support ( #11524 )
...
* Remove req.env
* Rename NEXT_APP_ to NEXT_PUBLIC_
* Remove key exposing env config
* Update tests
* Update NEXT_APP_ test to NEXT_PUBLIC_
2020-03-31 17:53:50 +02:00
Guy Bedford
ce3f7d05b3
Drop url dependency ( #11503 )
2020-03-31 10:00:17 +02:00
Joe Haddad
0bfc0b3f18
v9.3.4-canary.1
2020-03-30 16:29:38 -04:00
Joe Haddad
b88f20c90b
Fix lockfile
2020-03-30 16:26:25 -04:00
Guy Bedford
d7f9a5270e
correct babel dev dependency
2020-03-30 16:26:25 -04:00
Guy Bedford
755dc40969
postcss loaders
2020-03-30 16:26:25 -04:00
Guy Bedford
a3ec26d30a
ignore-loader
2020-03-30 16:26:25 -04:00