Seth Etter
769d8e3a84
Update next-typescript version in custom-typescript-server example ( #4130 )
2018-04-09 18:41:41 +02:00
Odin Ugedal
c486682b44
Relay modern example fixes ( #4120 )
...
* Fix with-relay-modern example
Starting with react-relay 1.5.0 the schema canno't be in the same dir as
the src. This can be fixed by excluding the schema dir. Globs should
also be inside quotation marks, to avoid non-deterministic behavior of
different shells.
* Add missing key on BlogPosts
2018-04-07 12:41:26 +02:00
Tim Neutkens
dac2f39a25
Add support for exportPathMap in development ( #4094 )
...
* Add support for exportPathMap in development
* Add comment about what it does
2018-04-05 07:18:11 +05:30
Tobias Timm
b393833aea
Update doc for @zeit/next-stylus ( #4107 )
2018-04-04 13:18:28 +02:00
Olivier Tassinari
cb566bd6f0
Redo #4090 ( #4104 )
2018-04-03 22:08:04 +02:00
Tim Neutkens
4e8d075383
Speed up tests ( #4102 )
2018-04-03 14:43:56 +02:00
James Hegedus
f2e56609cd
Examples: stabalise README format and create-next-app usage ( #4009 )
...
* Examples: clarify language around Yarn create & npx
* add missing READMEs and create-next-app usage
* suggest people tag jthegedus in firebase related issues
* add yarn alt instructions
* cerebraljs example readme & fixes
2018-04-03 14:19:05 +02:00
Tim Neutkens
746a6c083f
6.0.0-canary.3
2018-04-03 09:55:12 +02:00
Tim Neutkens
af2fa8ee57
Bring back 6.0.0-canary.2
2018-04-03 09:50:03 +02:00
Tim Neutkens
09989f56ef
5.0.1-canary.18
2018-04-03 09:39:35 +02:00
Tim Neutkens
2d8c19a450
Upgrade Babel 6 to Babel 7 (major) ( #4050 )
...
Upgrade Babel 6 to Babel 7 (major)
2018-04-03 09:34:07 +02:00
Tim Neutkens
9d4891f295
Check if matched before reading value ( #4096 )
2018-04-02 21:18:33 +02:00
Tim Neutkens
2fa49d70b7
6.0.0-canary.2
2018-04-01 00:06:18 +02:00
Tim Neutkens
c3318d8ef6
Make sure hot-self-accept-loader cleans up the route correctly ( #4092 )
2018-03-31 23:19:06 +02:00
Craig McNamara
7f335cb032
Allow BUILD_ID to be set using generateBuildId
(minor) ( #3873 )
...
* Allow BUILD_ID to be set in the environment
This makes multi server deploys with Capistrano possible.
* next.config.js generateBuildId support
enable customising the build id via config
* Provide default for generateBuildId
* This is not used
2018-03-31 16:34:52 +02:00
George Pantazis
085b2f806a
Add Router method to execute custom logic before popstate events ( #3956 )
...
* Add router method to inject code before popstate events
* Default _beforePopState, return true
* Fix link in README
* Re-order `if` statements per feedback
2018-03-31 16:21:51 +02:00
Tim Neutkens
a785f303f4
Match externals ending in .js not everything with .js ( #4091 )
...
Makes sure highlight.js/styles/dark.css doesn’t get caught by externals.
2018-03-31 16:08:16 +02:00
Tim Neutkens
43fe9ace54
Merge branch 'canary' of github.com:zeit/next.js into canary
2018-03-31 16:07:16 +02:00
Tim Neutkens
c07cf5e83f
Upgrade Next in with-firebase-hosting
2018-03-31 16:06:12 +02:00
Jonathan James
b39958e780
Fix serve command ( #3989 )
...
* Fix serve command
From the Firebase docs, you must use --only in order to run the local function emulator.
See https://firebase.google.com/docs/functions/local-emulator
* Add production env for firebase serve
Doesn't work without this
* Update text as suggested by @jthegedus
2018-03-31 15:59:24 +02:00
Olivier Tassinari
bd50a7c74a
Better support React 16.3.0 ( #4090 )
...
* Better support React 16.3.0
https://github.com/mridgway/hoist-non-react-statics/pull/43
* Lock version
2018-03-31 15:11:34 +02:00
Tim Neutkens
a48dc31e80
Release 6.0.0-canary.1
2018-03-31 14:58:10 +02:00
Tim Neutkens
0b9b902a89
Get pages before entry function ( #4089 )
2018-03-31 17:30:56 +05:30
Tim Teeling
9ec81c00fa
Fix #3900 return 404 on asset hash mismatch in prod ( #3941 )
...
* Fix #3900 return 404 on asset hash mismatch in prod
* Make INVALID_BUILD_ID return 404
2018-03-31 09:01:46 +02:00
Luis Fernando Alvarez D
b43af823dd
Updated example with-now-env ( #4081 )
...
* New example: with-now-env
* updated the example with-now-env
2018-03-31 08:17:21 +02:00
Tim Phillips
7e67152232
clarify .next in .gitignore text ( #4087 )
2018-03-31 08:14:54 +02:00
Tage A. L. K
b321e6e942
Remove deprected and refactor with-apollo-auth ( #4070 )
...
* Remove deprected use of apollo-client-preset, and refactor
Changes
* Remove deprected use of apollo-client-preset in favor of apollo-boost
* Refactor for usage of react-apollo@2.1
* Use standard
Just ran standard --fix
2018-03-31 08:11:36 +02:00
Tim Neutkens
812db745f8
Use printAndExit with error ( #4086 )
2018-03-31 00:00:41 +02:00
Tim Neutkens
9711f74db7
Update yarn.lock
2018-03-30 21:00:26 +02:00
Samatar
56998a6193
Remove mz-fs and glob-promise ( #4026 )
...
* Remove mz and add promisify util
* Remove glob-promise and promisify glob
* Use access instead of exists
* Use promisify for access
2018-03-30 20:29:42 +05:30
Tim Neutkens
b6b88e5f81
Merge branch 'canary' of github.com:zeit/next.js into canary
2018-03-30 16:09:40 +02:00
Tim Neutkens
e90f89633c
Add flow, pages-manifest.json, defaultPathMap for export (minor) ( #4066 )
...
* Initial implementation of next export without exportPathMap
* Shorter message
* Set up flow
* Create pages manifest
* Use pagesManifest for next export
* Fix tests
* Document defaultPathMap
* Replacing the path is no longer needed
* Use posix normalize for consistent behaviour
* Remove second instance of examples
* Add comment about what pages-manifest does
* Make windows path a route
2018-03-30 15:08:09 +02:00
Carlo Palinckx
136dabc51d
fixed small readme typo ( #4083 )
2018-03-30 14:02:36 +02:00
Tim Neutkens
69ca73ca56
Upgrade @zeit/next-typescript in with-typescript example (patch)
2018-03-30 00:07:33 +02:00
Tim Neutkens
069f45d74e
Upgrade @zeit/next-typescript in custom-server-typescript example (patch) fixes #4071
2018-03-29 21:06:53 +02:00
Wes Bos
3949c82bdf
Add missing url prop ( #4078 )
...
This was causing react-apollo to crash on any SSR page that needed the page's query to make the GraphQL queries.
It's magically passed on the client, but we have to manually pass it to the composed component here
2018-03-29 18:01:12 +02:00
Pavel Prichodko
2ba8ad9760
Add with-google-analytics example ( #4036 )
...
* Rename example with-analytics to with-segment-analytics
* Add with-google-analytics example
2018-03-29 17:03:28 +02:00
Tim Neutkens
341c34d4bf
Move getConfig message to the line above in readme
2018-03-29 10:19:21 +02:00
Tim Neutkens
cfe748d4b5
Add note about getConfig
2018-03-29 10:17:44 +02:00
Luis Fernando Alvarez D
9f4e707682
New example: with-now-env ( #4073 )
2018-03-29 00:11:40 +02:00
Will Meier
4570f2d050
Update with-apollo examples ( #4067 )
...
* Update with-apollo examples to include note about top-level withData HOC
* Update with-apollo examples to include note about top-level withData HOC
2018-03-28 22:30:42 +02:00
Tim Neutkens
ebf0c47c25
Upgrade standard.js ( #4064 )
...
* Upgrade standard.js
# Conflicts:
# yarn.lock
* Upgrade babel-eslint
2018-03-27 20:11:03 +02:00
Tim Neutkens
e3a9c95023
5.1.0
2018-03-26 18:45:16 +02:00
Tim Neutkens
3c97f9664b
Merge branch 'canary'
2018-03-26 18:44:50 +02:00
Rasool Dastoori
603b90ce02
Fix loading and rendering GraphQL data on the server in the with-apollo-and-redux
example ( #4054 )
2018-03-25 17:40:25 +02:00
moondef
7cf9199a5f
Add alt attributes to examples in readme.md ( #4053 )
2018-03-25 12:43:36 +02:00
Tim Neutkens
14a16924c5
Make sourcemap paths relative in production
2018-03-23 17:10:23 +01:00
Gianmarco
7bef864a6f
Fixes install command in with-absolute-imports
example. ( #4049 )
...
Fixes installation command for `with-absolute-imports` example.
2018-03-23 14:00:18 +01:00
Tim Neutkens
e1a0f18a92
Add note about _document being only server side
2018-03-23 13:50:52 +01:00
Luke Plaster
a6af11c6ae
Improved with-ant-design example ( #4034 )
...
* Improved with-ant-design example
* standardjs fix maybe
2018-03-23 12:52:34 +01:00