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

1057 commits

Author SHA1 Message Date
Felix-Antoine Paradis 442c611d49 Add next configuration as an option for custom servers (#2058)
* Add a configuration parameter to custom server startup

* Adding related documentation

* Do not access filesystem if configuration is supplied

* Make the configuration log clearer

* Make the conf default value to `null`
2017-05-31 13:36:07 +05:30
Dmitry Rybin e6f3651763 Fix broken link at readme (#2103)
Fixed broken readme link and make it short by removing unnecessary invitation.
2017-05-31 12:44:34 +05:30
Tim Neutkens 57b2aefe30 Pin styled-jsx dependency 2017-05-31 07:57:46 +02:00
Ademola Adegbuyi 18bb8774c7 Fix with-glamorous example (#2117)
* Fixed all unsupported style properties
2017-05-31 07:56:50 +02:00
Tim Neutkens 25afe27211 Update styled jsx to 1.x (#2119) 2017-05-31 07:43:17 +02:00
偏右 9ce12a03c5 Upgrade deps and fix old usage (#2084)
Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
2017-05-27 18:02:53 +02:00
George Pantazis 2953a01c43 Make file-system based routes optional for custom servers (#914) 2017-05-27 21:10:15 +05:30
Colder Xihk 56cf8ad0a3 Add ant design mobile example (#1793)
* add antd-mobile example

* update antd-mobile@1.1.2

remove unsupported page

add menu to trick page
2017-05-27 14:22:13 +02:00
偏右 bd96b69049 Add ant design example (#1817)
* Add ant design example

* Reduce bundle size by importing modularized antd

* lock react version for warning
2017-05-27 14:21:01 +02:00
Victor Nahuel Chaves 5187fcdb80 add postcss after sass compilation to with-external-scoped-css example (#1640)
* add postcss after sass compilation

* Fix indent

* Fixed mixed tab indent with spaces
2017-05-27 14:18:50 +02:00
Thomas Lindstrøm 0d0ab77db7 Update example with-scoped-stylesheets-and-postcss (#1606)
Fixes #1191
2017-05-27 14:12:37 +02:00
Arunoda Susiripala 787a110b75 Fix issue related to 404 and no default exports. (#2063)
Just after a 404 page, if we created a page with
no default exports. It'll throw an error.
And it'll crash internal webpack state.
So, once we have it we need to do a hard reload to recover it.
2017-05-25 18:29:03 +02:00
Arunoda Susiripala 9121a9d22e Never cache assets and HTML in the dev mode. (#2045)
* Never cache assets and HTML in the dev mode.

* Move etags test to the production.

Now it won't work in dev because of no-cache settings.
2017-05-25 18:28:08 +02:00
Arunoda Susiripala 3c95f21d8c Do not try to server unnessesary files in either dev or prod. (#2048) 2017-05-23 10:30:14 -07:00
Xuezheng Ma d36118ab02 Check if _document.js returns a react element before using (#2013)
* Check if _document.js returns a react element before using

* Use capital letter R in 'React'
2017-05-20 00:02:01 +02:00
Olivier Tassinari 23a480964e Update layout.js (#2018) 2017-05-19 14:02:11 +02:00
Arunoda Susiripala 9346c96b39 Update react-hot-loader to 3.0.0-beta.7 (#2004) 2017-05-18 12:00:39 +05:30
Ardani Rohman 443dceaeec improve example fallback translation and add new sample locale for lang id (#1983) 2017-05-17 19:41:54 +02:00
Guillermo Rauch 1703ad302c remove old fly task related to eval-script.js (#1997) 2017-05-17 19:40:14 +02:00
Guillermo Rauch b00525897d Release 2.4.0 2017-05-17 09:48:40 -07:00
Guillermo Rauch 0926129a86 Release 2.3.2 2017-05-16 12:46:47 -07:00
Arunoda Susiripala bcb979fdf2 Add some Appveyor customizations (#1985)
* Allow to test on Node.js v4

* Add appveyor.yml file

* Update appveyor badge to master branch.
2017-05-17 00:34:14 +05:30
Arunoda Susiripala 17cc77f00a Add appveyor.yml file (#1984) 2017-05-16 23:45:08 +05:30
Arunoda Susiripala 650bb7c51b Fix hmr failing issue. (#1968) 2017-05-15 13:47:35 +05:30
Tim Neutkens b8f336c747 Add custom webpack dev middleware config (#1931) 2017-05-13 16:44:21 -07:00
greenkeeper[bot] 3306262bae chore(package): update jest-cli to version 20.0.1 (#1941) 2017-05-13 13:02:15 +02:00
greenkeeper[bot] 85af828048 chore(package): update babel-jest to version 20.0.1 (#1940) 2017-05-13 13:02:04 +02:00
Tim Neutkens bc71b89b45 Remove stage-0 from example (#1959) 2017-05-13 13:01:29 +02:00
Tim Neutkens 2ea619658b Fix react-md example 2017-05-13 00:42:39 +02:00
greenkeeper[bot] 9754395426 chore(package): update cross-env to version 5.0.0 (#1944) 2017-05-12 23:52:53 +02:00
greenkeeper[bot] e53bcdbce3 fix(package): update prop-types to version 15.5.10 (#1954) 2017-05-12 23:40:51 +02:00
Roland Warmerdam f4d6cbfc19 Many improvements to the Apollo examples (#1905)
* Many improvements to the Apollo examples

* Use static properties
2017-05-11 00:23:11 +02:00
Tim Neutkens 3b91355c9e Improve styled-jsx section of readme (#1932)
* Document style global jsx

* Add notice that styled-jsx docs contain more examples
2017-05-10 10:25:56 +02:00
Arunoda Susiripala 2f4a662a48 Fix windows sub-path dev rebuild failed issue. (#1930)
* Fix windows sub-path dev rebuild failed issue.

* Make sure we apply the '\' replace only on windows.
2017-05-10 08:09:48 +02:00
greenkeeper[bot] c545a89fdf fix(package): update prop-types to version 15.5.9 (#1929) 2017-05-09 18:24:10 -07:00
Arunoda Susiripala 564ae2b982 Remove the getting started section.
Just add the https://learnnextjs.com link at the top of the page.
2017-05-09 16:34:43 -07:00
Grokling 7c8d0246e2 Add rehydration to example/aphrodite (#1858)
* Add rehydration to example/aphrodite

* linting

* replaced yarn.lock
2017-05-10 00:33:39 +02:00
Ray Gesualdo 17ce04014f added recipes section to readme (#1928) 2017-05-09 11:22:14 -07:00
Brikou CARRE 9f194677ec Upgrade jest and simplify .babelrc (#1913)
* Upgrade jest and simplify .babelrc

* Fix linter
2017-05-09 09:00:25 -07:00
greenkeeper[bot] 6ff40c3c6a fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.5 (#1925) 2017-05-09 08:43:59 -07:00
Elliot Hesp 605161df8a [with-firebase] Ensure server credentials aren't bundled with client code (#1875)
* [with-firebase] Ensure server credentials aren't bundled with client code

* [with-firebase] Fix travis build failure
2017-05-08 21:53:48 +02:00
Roland Warmerdam 5c57b43e0a Fix production builds for the material-ui example (#1906)
Also remove redundant getMuiTheme() calls, handle injectTapEventPlugin()
better and use process.browser.
2017-05-07 15:51:12 +02:00
Grokling c77e80be30 Update README.MD with warning about BETA version. Remove redundant note. (#1909) 2017-05-07 14:51:32 +02:00
Grokling 1b893518bb Add SSR to examples/with-styled-components + bump styled_components v2 (#1908) 2017-05-07 14:25:33 +02:00
greenkeeper[bot] 12f423faf9 fix(package): update webpack to version 2.5.1 (#1902) 2017-05-06 23:01:50 +02:00
Paul Xu d1b47146d3 Update incorrect example reference in readme (#1901)
In the `with-refnux` eample.
2017-05-06 21:59:02 +02:00
Arana Jhonny 23574b5489 Support for cxs rehydration and removal of duplicate styles. (#1860)
* add cxs.rehydrate.

* add id='cxs-style'.
2017-05-06 11:37:47 -07:00
greenkeeper[bot] 0abfca26f7 chore(package): update nyc to version 10.3.2 (#1889) 2017-05-06 11:31:56 -07:00
Matija Marohnić 6ca1feaf98 Add link to the Glamorous example (#1887) 2017-05-06 11:31:42 -07:00
Arunoda Susiripala 5153d6958b Use development babel presets if it's we are not in production. (#1895)
Otherwise, user has to expose it's env variable as development.
Usually, that's unlikely to happen.
2017-05-06 00:07:50 -07:00