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

600 commits

Author SHA1 Message Date
Greenkeeper 21a22b9791 chore(package): update babel-runtime to version 6.22.0 (#840) 2017-01-20 07:41:22 +01:00
Greenkeeper cfb1c0fbd5 chore(package): update babel-core to version 6.22.1 (#842) 2017-01-20 07:41:11 +01:00
alex newman c21531151f Move nextdata into nextScript and make Main return a single el (#831) 2017-01-19 16:14:05 -08:00
Ryuichi Okumura 5be9c04007 Custom server example with Hapi in README (#825) 2017-01-19 14:22:21 +01:00
jagreehal 1e77568657 added example with flow (#814)
* added  example with flow

* Fixed linting errors
2017-01-19 01:48:55 -08:00
Naoyuki Kanezawa 43149bdb08 fix not to overwrite the ignored option on Windows (#824) 2017-01-19 08:09:40 +01:00
Greenkeeper 011914906b chore(package): update styled-jsx to version 0.4.4 (#817) 2017-01-18 19:56:23 +01:00
Arunoda Susiripala 2efabde215 Fix koa-404 issue by adding res.statusCode to 200 (#815) 2017-01-18 00:45:29 -03:00
Greenkeeper c1f2b92a27 chore(package): update source-map-support to version 0.4.10 (#809) 2017-01-18 00:25:40 +09:00
Dan Zajdband 2c2d961844 Added Koa example (#800)
* Added Koa example

* Linted koa example
2017-01-17 08:23:06 +01:00
Greenkeeper 0627378bc2 chore(package): update glamor to version 2.20.22 (#804) 2017-01-17 08:20:43 +01:00
张俊锋 606d89c9f5 Update README.md (#802)
fix quotation mark
2017-01-16 20:26:23 -08:00
Dan Zajdband e28f80cd99 Updated <Link> in repo, always wrapping an anchor. (#798) 2017-01-16 22:27:55 +01:00
Sébastien Dubois a66ff658f4 Fix link (#789)
* Fix link

* Fix links
2017-01-16 18:23:24 -03:00
Dan Zajdband 70b92e6b65 Added deprecation message when adding an extra anchor in behalf of the user. (#797) 2017-01-16 22:02:11 +01:00
Dan Zajdband 7cc554c67a Fixed hapi example (#795) 2017-01-16 11:27:07 -08:00
Sébastien Dubois ffeeb682af Remove useless config override (#790) 2017-01-16 14:24:33 -03:00
Greenkeeper 807d4be9ff chore(package): update styled-jsx to version 0.4.3 (#792) 2017-01-17 00:23:03 +09:00
Sébastien Dubois 8fa630d855 Add dynamic routing keyword (#788)
I was looking for "dynamic routing" in the examples and didn't find it because that keyword isn't used.
2017-01-16 23:33:11 +09:00
Mike Bannister 789edb87b7 Fix typo in README (#787) 2017-01-16 02:41:46 -08:00
nkzawa da8395883c bump webpack 2017-01-16 19:17:01 +09:00
Arunoda Susiripala 60ec4def1e Add NODE_PATH support for resolveLoaders as well. (#778)
* Add NODE_PATH support for resolveLoaders as well.

* Remove unwanted code.
2017-01-16 14:40:14 +09:00
Giuseppe 0d6ceec8db Add styled-jsx-postcss example (#781)
* Add styled-jsx-postcss example

* Remove commented code
2017-01-15 19:59:22 -08:00
Greenkeeper 782807bb8b chore(package): update friendly-errors-webpack-plugin to version 1.1.3 (#783) 2017-01-15 19:59:02 -08:00
Arunoda Susiripala 6f117ecf77 Set default NODE_ENV value. (#768) 2017-01-15 19:58:45 -08:00
Greenkeeper 876716569c chore(package): update styled-jsx to version 0.4.2 (#784) 2017-01-15 17:55:11 -08:00
Tim Neutkens b6e72f59e5 Use UTC time to avoid time differences (#782) 2017-01-15 16:14:40 -08:00
Tim Neutkens 8318f5b8de Add cross browser stacktrace (#776)
* Add cross browser stacktrace

* Remove unused stack variable
2017-01-16 01:17:29 +09:00
Greenkeeper 6fd5cfd87d chore(package): update source-map-support to version 0.4.9 (#777) 2017-01-15 23:50:20 +09:00
Arunoda Susiripala fae2305f46 Add correct sync version of error handling with existSync. (#769)
* Add correct sync version of error handling with existSync.

* Update utils.js
2017-01-15 21:15:06 +09:00
Greenkeeper cebed46014 chore(package): update mime-types to version 2.1.14 (#772) 2017-01-15 00:19:36 -08:00
davidrossjones 60918eeb36 Fix typo for --help messages in /bin (#770) 2017-01-14 17:31:09 -08:00
nkzawa 8a06c7b092 example: fix style 2017-01-15 00:30:39 +09:00
Shawn Kelly 5ef34c6dd8 update styletron example to support multiple stylesheets (#763) 2017-01-13 15:49:35 -08:00
Tim Neutkens 23cddda9cf Only show deprecation when using next/css (#762) 2017-01-13 14:46:21 -08:00
Arunoda Susiripala 7be5797cc2 Use the preact-compat dist version. (#760) 2017-01-13 11:40:07 -03:00
Tim Neutkens 3b3353f821 Revert "Dont' override glamor methods, use a new object instead (#754)" (#755)
This reverts commit 86516629cf.
2017-01-12 14:52:19 -08:00
Tim Neutkens 86516629cf Dont' override glamor methods, use a new object instead (#754) 2017-01-12 12:50:21 -08:00
Guillermo Rauch 0b2b56f174 Release 2.0.0-beta.17 2017-01-12 08:36:29 -08:00
Guillermo Rauch 31ada10279 bump the test timeout for macbook 12 users :D 2017-01-12 08:15:38 -08:00
Naoyuki Kanezawa dbecc2a701 Use dynamic entry feature of webpack (#750)
* update webpack version and use dynamic entry feature of it

* fix typo
2017-01-12 07:39:04 -08:00
Naoyuki Kanezawa e3e0a68b9a Fix handling http methods (#748)
* support HEAD method

* respond with 501 if method is not GET or HEAD
2017-01-12 07:38:43 -08:00
Arunoda Susiripala 1dc52dbc6c New test setup (#640)
* Use jest-cli instead of gulp plugin.

* Use jest-cli instead of gulp plugin.

* Move fixtures into the examples dir.

* Move test code of example app to the basic example.

* Add isolated tests for server/resolve

* Allow tests to use cheerio.

* Use portfinder to get a unique port.

* Move back integration tests into the example dir.

* Introduce next-test-utils.

* Remove gulp-jest

* Add coveralls support.

* Use transpiled version of code in dist.
This is to make sure same file gets covered
by both unit/isolated tests and integration tests.

* Add support for source maps.

* Use code from dist always.

* Use nyc to stop instrument.

* Add integration test suite for production usage.

* Use jest-cli.

* Add support for running e2e tests.

* Check gzipPath with fs.stat before serving
Otherwise, serve package might throw issues other than ENOENT

* Install chromedriver with npm install.

* Install chrome on travis-ci.

* Add --forceExit to Jest.

* Run tests only on Node v6.
That's because selenium-webdriver only supports
Node 6 LTS.

* Use chromedriver NPM module to install chromedriver.

* Use wd as the webdriver client.

* Run chromedriver before tests.

* Run travis for both node 4 and 6

* Remove unwanted npm install script.

* Move some common text utilities to next-test-utils

* Add lint checks and testing in npm prepublish hook.

* Use npm on travis-ci.
We are having some caching issues with yarn and chromedriver.

* Make tests work on windows.\n But chromedriver doesn't work.

* Clean up dependencies.

* Run chromedriver in background without any tools.

* Fix a typo in the code.

* Use ES6 features used in node4 inside the gulpfile.

* Add some comments.

* Add support for running in windows.

* Stop chromedriver properly on windows.

* Fix typos.
2017-01-12 13:14:49 +09:00
nkzawa 4c32dd96b7 remove unused module alias 2017-01-12 12:39:07 +09:00
Naoyuki Kanezawa 0ef28ab128 Don't discard component state on error (#741)
* render debug page as overlay

* handle errors occurrred on rendering cycle for HMR

* retrieve props if required on HMR
2017-01-11 17:58:20 -08:00
Arunoda Susiripala 8811a334f4 Remove default next pages compilation from the main babel-loader. (#731)
* Remove default next pages compilation from the main babel-loader.
This will fix the issue when the user ignore node_modules
via our .babelrc option.

* Change babel-loaders 'query' to 'options'.
That's what's supported/recommended in webpack 2
2017-01-11 17:57:33 -08:00
Arunoda Susiripala b7e57f9347 Implement "Immutable build artifacts" feature (#745)
* Write BUILD_ID when building.
It's a random id (uuid.v4())

* Add buildId to the core JS files.

* Add immutable cache-control header.
Only if the buildId is matched.

* Set '-' as the dev buildId always.

* Add buildId handling for JSON pages.
2017-01-11 12:16:18 -08:00
Marvin Mieth 23d5ea9164 Add warning when running start without build (#736)
* add warning when running start without build

* run build before start

* Revert "run build before start"

This reverts commit 171b54489df7b6c3ebd0d9d65578acf89d4daa12.

* exit code & dir

* dont update yarn.lock

* use existsSync

* Add some style changes.
2017-01-11 23:11:37 +09:00
Guillermo Rauch 4fcc551fb4 adding @timneutkens 2017-01-10 12:55:48 -08:00
Greenkeeper ab5c69ba9d chore(package): update babel-preset-env to version 1.1.8 (#726) 2017-01-10 11:42:24 -08:00