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

2929 commits

Author SHA1 Message Date
Frederick Fogerty a13c6ccb11 Allow the pages directory to be in node_modules (#318) 2016-12-01 20:30:36 +09:00
Ian Mitchell 7a66870af9 Add Polling for Bash on Windows (#302)
* Add Polling for Bash on Windows

Fixes #166

* Add Windows Bash Dependency
2016-11-28 09:04:59 -05:00
Jonas Windey 10b815b9c9 Add react-require to avoid importing React (#295)
* Add react-require

* Add babel-plugin-react-require
2016-11-28 06:46:42 -05:00
Arunoda Susiripala fcd59adea1 Add support for webpack's CommonsChunkPlugin and remove next bundle (#301)
* Add example app which demonstrate the problem.

* Add the first working version.

* Fix lint issues.

* Add README.md

* Use /_next/main.js as the main file URI

* Add the support for loading the core next bundle.

* Optimize the output by removing Next modules from pages.

* Use the same package.json as master use.

* Change the example repo's README for simpler instructions.

* Change example projects package.json to support next build and start.

* Change main.js into commons.js.

* Add support for hot core reload and errors.

* Introduce require based on eval-script.

* Add error reporting support with hot reloading.

* Update README.md
2016-11-28 09:15:56 +09:00
Naoyuki Kanezawa c7ba914f52 Handle runtime errors (#268)
* display runtime errors by error-debug

* server: fix status

* render Error component on client error

* server: render runtime errors of error template

* server: handle errors of error template on render404

* server: add a comment

* server: refactor renderJSON

* recover from runtime errors

* _error: check if xhr exists

* _error: improve client error

* _error: improve error message
2016-11-24 23:03:16 +09:00
Naoyuki Kanezawa a14cc66720 Remove webpack-dev-server (#276)
* remove webpack-dev-server

* webpack: fix publicPath
2016-11-23 10:32:49 -08:00
Leo Lamprecht 3a6dd325a1 Rename LICENSE to LICENSE.md 2016-11-23 16:57:47 +01:00
Timothy 89850322df Remove developers from LICENSE file (#290) 2016-11-23 16:56:47 +01:00
Benjamin Coe 0f34b9b568
fix: address merge conflict 2016-11-22 10:20:18 -08:00
Benjamin Coe 5e2b426d33
fix: switch to using the handy gulp-process-env plugin 2016-11-22 10:11:24 -08:00
Benjamin Coe 12003f307b
feat: run individual tests with ava script 2016-11-22 10:11:24 -08:00
Benjamin Coe 564b01cf73
fix: use babel-core/register rather than babel-register 2016-11-22 10:11:24 -08:00
Benjamin Coe c56fde89c3
chore: add test coverage 2016-11-22 10:11:23 -08:00
nkzawa 462c12ba06 gulp: add watch-pages 2016-11-22 02:38:11 +09:00
Jonas Windey 960f50a019 Upgrade packages & React v15.4.0 (#283)
* Upgrade packages & React v15.4.0

* Update package.json

* no message
2016-11-21 20:46:49 +09:00
nkzawa fc23d34a40 Release 1.1.2 2016-11-18 23:25:51 +09:00
Chris Cunniff 880b71047b fixes #175, no longer sets process.env.NODE_ENV='production' or runs uglify in next dev mode (#274) 2016-11-18 16:26:17 +09:00
zpnk e0455823a0 Add default utf-8 charset. (#270) 2016-11-17 15:06:54 -08:00
Ivan Storck 3af5a0188a Instructions for images and static assets (#235)
* Instructions for images and static assets

Helpful pointer in the README about `/static` directory

* Update README.md

* remove reference to components directory

* Update README.md
2016-11-17 08:03:04 -08:00
mattcass 6a4da38d6b issue #254 vertically center default error (#258)
* issue #254 vertically center default error

* add ie responsive support
2016-11-16 16:29:58 -08:00
Jonathan Chan 1efd6b2f73 fix loader-utils spelling (#265) 2016-11-16 16:04:57 +09:00
Florian Didron 825d1878ff Removes unecessary and undisplayed default message 2016-11-16 13:05:19 +09:00
Florian Didron becf2f2a62 Adds friendly error plugin 2016-11-16 11:46:58 +09:00
nkzawa 512067bb0a fix error-debug style 2016-11-15 02:31:42 +09:00
nkzawa d88f40a001 remove babel settings for ava 2016-11-14 16:01:15 +09:00
nkzawa a1337320ea remove unused code 2016-11-14 13:56:29 +09:00
Naoyuki Kanezawa c60ed0b730 webpack: load modules from NODE_PATH too (#233)
* webpack: load modules from NODE_PATH too

* fix splitting NODE_PATH
2016-11-14 13:43:31 +09:00
Guillermo Rauch 03db7d78a6 Update README.md 2016-11-13 08:50:10 -08:00
Sébastien Dubois c5887281fb Update glamor (#228) 2016-11-09 19:15:58 +09:00
Andrew McCloud 7f0f3ae940 Upgrade babel-plugin-module-resolver to 2.3.0 to fix #202 (#218) 2016-11-07 11:11:54 +09:00
nkzawa 64b6e335e4 gulp: make sure to copy files before testing 2016-11-07 02:20:10 +09:00
nkzawa c70e0026ec travis: remove sudo setting (it's default) 2016-11-06 21:00:02 +09:00
nkzawa b9d6a59415 Release 1.1.1 2016-11-06 17:52:17 +09:00
nkzawa 5383ad7ed9 fix getInitialProps doesn't get called when only url query was changed 2016-11-06 17:34:51 +09:00
nkzawa efbf0efc98 fix query for getInitialProps is not parsed as an object 2016-11-06 15:09:37 +09:00
nkzawa 027622f646 add ava as a devDependencies for npm@2.x 2016-11-06 14:47:13 +09:00
nkzawa fe9e72ac16 README: add travis badge 2016-11-06 03:21:32 +09:00
nkzawa fd52ddfdc9 travis: set sudo false 2016-11-06 03:20:04 +09:00
Siddharth Kshetrapal 18ab55bc73 Added travis file (#205)
* Added travis file

* Dropping node 5

* Added os field as well

* Removed os, fails on both osx and linux

* Adding ava and sockjs-client as devDeps

* Shouldn't need ava 🤔

* Moved sockjs-client to dependency
2016-11-06 03:04:59 +09:00
nkzawa b56428529d new color scheme for debug error page 2016-11-06 02:02:57 +09:00
nkzawa e81de708b8 resolve dependency of pages/_error-debug from next root dir 2016-11-06 01:12:21 +09:00
nkzawa ef409af453 Revert "Revert "Add syntax highlighting to debug error page" (#197)"
This reverts commit f4ae99fc54.
2016-11-06 00:15:54 +09:00
Guillermo Rauch 0c27e3ab16 package: bump version for release 2016-11-05 09:18:04 +08:00
Naoyuki Kanezawa f4ae99fc54 Revert "Add syntax highlighting to debug error page" (#197) 2016-11-04 21:23:00 +09:00
nkzawa 060480f212 Merge branch 'patch-3' of https://github.com/timoxley/next.js into timoxley-patch-3 2016-11-04 20:37:36 +09:00
nkzawa 27c5632b1d add strip-ansi again 2016-11-04 19:29:39 +09:00
David Street bce4434db9 Add syntax highlighting to debug error page (#195) 2016-11-04 17:16:29 +09:00
Naoyuki Kanezawa d1a0309af9 Add pathname and query to the argument of getInitialProps (#194)
* pass pathname and query to getInitialProps on both server and client

* README: describe about the contet object of getInitialProps
2016-11-04 01:05:03 -07:00
Naoyuki Kanezawa e775721f34 Hot reload error page (#190)
* add detach-plugin

* detach-plugin: remove unused property

* watch-pages-plugin: replace _error.js when user defined one was added/removed

* dynamic-entry-plugin: delete cache

* fix HMR settings for _error.js

* render: pass error only on dev

* hot-reload: enable to hot-reload error page

* server: check if /_error has compilation errors

* webapck-dev-client: fix reloading /_error
2016-11-04 00:12:37 +09:00
David Street 7186fe8b7e Only update history state if url differs. (#172) 2016-11-03 19:15:03 +09:00