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

2053 commits

Author SHA1 Message Date
Tim Neutkens b970e25e6f Add source-map module to dependencies
Fixes #4268
2018-05-05 17:43:22 +02:00
Tim Neutkens 8ac67a00db 6.0.1-canary.0 2018-05-05 14:55:37 +02:00
Tim Neutkens 3da0049424
Catch errors from update-check (#4276)
Makes sure that Next.js can be started in development mode while being offline.
2018-05-05 05:49:21 -07:00
Tim Neutkens 6bc363e615
Fix with-jest example (#4278)
Fixes #4263
2018-05-05 05:36:59 -07:00
Tim Neutkens 22005080bc
Upgrade react-hot-loader (#4277)
Fixes zeit/styled-jsx#425
Fixes #4246
Fixes #4273
2018-05-05 05:34:28 -07:00
Tim Neutkens 3685c30fb4 Merge branch 'master' into canary 2018-05-05 14:23:05 +02:00
Michael Hsu 738376c812 Add docker example (#4261)
* Add docker example

* fix lint
2018-05-05 04:12:56 -07:00
Tim Phillips 08965008c6 Prevent now-env from running in production (#4259) 2018-05-04 22:14:59 -07:00
Tim Neutkens 02bcfb21c8
Add export of homepage when exporting without exportPathMap (#4253) 2018-05-02 10:37:52 -07:00
Tim Neutkens 62f9736ca3 Add basic export example 2018-05-01 19:06:06 -07:00
Tim Neutkens 2435798479
Upgrade update-check (#4247) 2018-05-01 14:43:20 -07:00
Gökay Gürcan 121f6c2801 docs: add missing fat arrow (#4245) 2018-05-01 13:12:16 -07:00
Tim Neutkens 7e3d464912 6.0.0 2018-04-29 12:05:40 -07:00
Tim Neutkens f1b9577210 Merge branch 'canary'
# Conflicts:
#	package.json
#	yarn.lock
2018-04-29 11:43:37 -07:00
Raven 9578e9f9d8 Update link to new learning page (#4223) 2018-04-29 10:55:19 -07:00
Tony Kovanen 6158243339 with-reasonml: better setup (#4218)
With this setup we're compiling the .re/.ml files directly to source
directories with a .bs.js extension, and enabling next.js to pick up
that extension for pages.
2018-04-27 08:24:46 -07:00
Tony Kovanen f378448b79 with-reasonml: use default exports (#4217) 2018-04-26 20:35:30 -07:00
Tim Neutkens 4d9eb200d9 6.0.0-canary.7 2018-04-26 11:27:11 -07:00
Tim Neutkens 737f6cfce0
Set babelrc true (#4215) 2018-04-26 11:26:42 -07:00
Tony Kovanen 2457df5d06 examples/with-reasonml: use bs-next for Next.Link (#4214)
Fixes #4028
2018-04-26 10:05:04 -07:00
Iago Dahlem Lorensini a0019b3dc9 Update broken link on with-redux-reselect-recompose example (#4209) 2018-04-25 09:29:48 -07:00
Tim Neutkens 30b0e36c71 Don’t use caps for node_env check 2018-04-25 09:23:39 -07:00
Tim Neutkens fe24333edc Only show deprecation message in development (#4206) 2018-04-24 15:25:45 -07:00
Tim Neutkens 0daf9beedc Add _app layout example 2018-04-24 12:31:26 -07:00
Tim Neutkens e6b5567b20 Update url for componentDidCatch 2018-04-23 15:16:30 -07:00
Tim Neutkens 326c84a730 Add readme for componentDidCatch example 2018-04-23 15:07:48 -07:00
Tim Neutkens 65c0014ad1 Add componentDidCatch example 2018-04-23 14:22:36 -07:00
Tim Neutkens f48b67d535 6.0.0-canary.6 2018-04-23 13:28:36 -07:00
Tim Neutkens 0f2c8f5eb1
Exclude _app.js since it’s not a normal page (#4201) 2018-04-23 13:27:53 -07:00
ninesalt 23716d4487 Fix grammatical errors in readme.md (#4199) 2018-04-23 11:17:27 -07:00
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
Edheltur fe2c0cf256 react-hot-loader: 4.0.0 -> 4.0.1 (#4167) 2018-04-18 11:48:57 +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