1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

2021 commits

Author SHA1 Message Date
Tim Neutkens 59ff251bca 6.0.0-canary.5 2018-04-22 16:39:34 -07:00
Leo Lamprecht f5fa8a160d Replaced NPM token (#4193)
* 6.0.0-canary.5

* Replaced NPM token

* Fixed version
2018-04-22 16:39:05 -07:00
Tim Neutkens bc03c59f57
Upgrade react hot loader (#4171)
* Upgrade react hot loader

* Upgrade to 4.1.1
2018-04-22 16:11:17 -07:00
Tim Neutkens f373d25c0d
Replaced update checker (#4192)
* Use update-check

* Check for tty
2018-04-22 15:43:24 -07:00
Tim Neutkens 1d884efe78
Fix url prop override (#4191)
* Fix url prop override

* Remove console.log
2018-04-22 13:20:24 -07:00
Tim Neutkens a691dd06cf State is no longer used since #4156 2018-04-18 21:39:57 +02:00
Tim Neutkens 65a9a63af1 6.0.0-canary.4 2018-04-18 21:32:50 +02:00
Tim Neutkens 467ec85572 Merge branch 'canary' of github.com:zeit/next.js into canary 2018-04-18 21:32:01 +02:00
Tim Neutkens 68626c5147 Improved stacktraces (minor) (#4156)
* Handle production errors correctly

* Improved source map support

* Make react-hot-loader hold state again

* Remove console.log

* Load modules on demand

* Catch errors in rewriteErrorTrace

* Update comment

* Update comment

* Remove source-map-support

* Load modules in next-dev

* Make sure error logged has sourcemaps too

* Add tests for production runtime errors

* Add tests for development runtime errors. Fix issue with client side errors in development

* Move functionality back to renderError now that error handling is consistent

* Rename to applySourcemaps
2018-04-18 21:48:06 +05:30
Edheltur 925d79ef33 react-hot-loader: 4.0.0 -> 4.0.1 (#4167)
# Conflicts:
#	yarn.lock
2018-04-18 14:03:40 +02:00
Bhargav Ponnapalli 5187d142ea Added example for usage with rematch (#4095)
* Usage with rematch

* Run lint fix

* Add counter-display example and readme
2018-04-18 14:03:24 +02:00
Tim Neutkens 05b7286454
Use object directly since webpack doesn’t parse the string (#4140) 2018-04-14 10:18:41 +02:00
Fouad Matin 676d82abf9 fix(examples/using-preact): use latest next-preact (#4152) 2018-04-14 07:49:06 +02:00
Harun Đulić c5c5564dbf Added with-jest-typescript example (#4124)
* Added with-jest-typescript example with files and readme

* Updated package.json

As per the comment, updated the package.json so the info is same as in other examples.

* Proper name in package.json
2018-04-13 16:53:59 +02:00
Tim Phillips f6949349c1 Link to popstate doc on MDN (#4150) 2018-04-13 12:29:35 +02:00
Prateek Rastogi fbd023c032 added example of integration with videojs (#4139)
* added videojs integration example

* added videojs example

* lint fix

* Revert "lint fix"

This reverts commit 39010fa0b58a66d06b91987a5bef46c044181470.

* removed unexpected lint fix
2018-04-12 12:22:37 +02:00
Christian Nwamba 09e5064821 Fixed typo (#4144)
which allows you can -> which allows you to
2018-04-12 10:40:32 +02:00
Tim Neutkens eca8e8f64b
Expose app.js (#4129)
* Expose pages/_app.js

* Add tests for _app and _document

* Uncomment deprecation warnings

* Add documentation for _app, improve documentation of _document

* Update docs / test for _document

* Add _document to client compiler in development

* Add missing app.js to comment

* Only warn once

* Add url-deprecated error page

* Combine tests

* Yse same message for all methods of ‘props.url’

* Update docs around _app

* Update documentation

* Quotes

* Update table of contents
2018-04-12 10:33:22 +02:00
Tim Neutkens 15dde33794
Add build manifest (#4119)
* Add build manifest

* Split out css since they don’t have exact name

* Remove pages map

* Fix locations test

* Re-run tests

* Get consistent open ports

* Fix static tests

* Add comment about Cache-Control header
2018-04-12 09:47:42 +02:00
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