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

1046 commits

Author SHA1 Message Date
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
Arunoda Susiripala 8268905d2f Use cheap module inline source map (#1894)
* Fix the page-loader-normalization issue on '/index' page.

* Use cheap-module-inline-source-map as the default devtool.
2017-05-05 23:54:47 -07:00
Tim de Koning 9fb7987c69 #1874 - A warning when using _document.js (#1884) 2017-05-04 16:44:28 -07:00
greenkeeper[bot] 96b5e4a7ce fix(package): update webpack to version 2.5.0 (#1871) 2017-05-04 16:41:46 -07:00
Guillermo Rauch f4e6c51985 Release 2.3.1 2017-05-04 13:06:32 -07:00
Arunoda Susiripala 0edee47d07 Fix the page-loader-normalization issue on '/index' page. (#1882) 2017-05-04 13:05:47 -07:00
greenkeeper[bot] 68880bc9f8 fix(package): update pkg-up to version 2.0.0 (#1876) 2017-05-04 10:21:34 -07:00
Trevor D. Miller 93a1b73efe Removing unneeded dev dependency (#1869)
babel-jest is included automatically by jest when a babel config is present, so including it manually here doesn't do anything.

> "Note: babel-jest is automatically installed when installing Jest and will automatically transform files if a babel configuration exists in your project."
http://facebook.github.io/jest/docs/en/getting-started.html#using-babel
2017-05-04 10:06:58 -07:00
Guillermo Rauch 9a2edfd040 Release 2.3.0 2017-05-04 07:22:17 -07:00
Arunoda Susiripala 383eec3604 We are using some divs to wrap some script tags. (#1867)
We don't need them.
So, this change will remove them.
2017-05-03 15:03:39 -07:00
greenkeeper[bot] 5e393b14cd chore(package): update fly to version 2.0.6 (#1866) 2017-05-03 14:08:30 -07:00
Arunoda Susiripala ee9dba9ea7 React react-dom/server minified alias. (#1862)
That's simply because it has no effect since we don't run webpack on the server.
And for the server, file size difference doesn't matter a lot.
2017-05-03 13:59:21 -07:00