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

2524 commits

Author SHA1 Message Date
Tim Neutkens de6d394d73 Use correct server path since main was changed 2018-10-02 23:11:01 +02:00
Tim Neutkens d2cbabbae4 Make next-server expose the same handler function as next 2018-10-02 19:08:30 +02:00
Tim Neutkens e3ef917077 v7.0.2-canary.5 2018-10-02 17:11:00 +02:00
Tim Neutkens 8db40b644f Add npmClient for publish command 2018-10-02 17:10:07 +02:00
Tim Neutkens 3246c32f63 v7.0.2-canary.4 2018-10-02 16:55:08 +02:00
Tim Neutkens 57c61cde3a Use yarn to correctly pass through arguments 2018-10-02 16:54:36 +02:00
Tim Neutkens b1d8d775ee v7.0.2-canary.3 2018-10-02 16:16:22 +02:00
Tim Neutkens f9d54c1336 Add yes to publish command 2018-10-02 16:16:03 +02:00
Tim Neutkens 3f5524abd3 Disable publish on branch builds 2018-10-02 16:06:49 +02:00
Tim Neutkens 85b1c1a6b6 v7.0.2-canary.2 2018-10-02 16:02:57 +02:00
Tim Neutkens 61b93e5291 Install deps to publish 2018-10-02 15:54:20 +02:00
Tim Neutkens 41a570f59a v7.0.2-canary.1 2018-10-02 15:38:22 +02:00
Tim Neutkens 2e01b3d34a Add files key to next-server 2018-10-02 15:24:46 +02:00
Tim Neutkens be5dbe3cfd Persist dist directory under packages 2018-10-02 15:12:28 +02:00
Tim Neutkens b91d4975aa Add circleci publish 2018-10-02 14:49:39 +02:00
Tim Neutkens 1643165e9d v7.0.2-canary.0 2018-10-02 14:27:19 +02:00
Tim Neutkens 841eafc55e Remove deploy from travis 2018-10-02 14:17:49 +02:00
Andy b041fa4782 Support for wasm (#5316)
* Set a default path for wasm modules

* Added the mimetype "application/wasm" for wasm files

* Upgrade write-file-webpack-plugin to 4.4.1

* Made dynamic(import()) in test to dynamic(() => import())
2018-10-02 13:10:07 +02:00
Tim Neutkens e994159e38 Remove version prefix 2018-10-02 01:35:56 +02:00
Tim Neutkens 4cf5ffb7a5 Update lerna.json to have a version 2018-10-02 01:25:36 +02:00
Tim Neutkens 82d56e063a
next-server (#5357) 2018-10-02 00:55:31 +02:00
Martin Beierling-Mutz 532351ebcf Replace all relative links with absolute links in README (#5356)
fixes #5355
2018-10-02 00:41:35 +02:00
Tim Neutkens 3d94ae0a7d
Drop prepare requirement from production server (#5351)
As prepare is only needed to boot up the hot reloader + exportPathMap routes in development, it's not longer a requirement in the production server.
2018-10-01 16:31:47 +02:00
Tim Neutkens 0b6ecf1fe4 Set up CI with Azure Pipelines 2018-10-01 13:31:00 +02:00
Tim Neutkens b9461824ec
Remove unused prefetch.js (#5344) 2018-10-01 11:15:52 +02:00
Evil Rabbit 9c287f3c32
Update repo banner 2018-09-30 23:32:43 -03:00
Tim Neutkens b18840b0ea
Update homepage (#5345) 2018-10-01 01:34:54 +02:00
Carlos 334b46e8d9 Add analyze bundles example (#5332)
* Add analyze-bundles example

* housekeeping: with-webpack-bundle-analyzer example

* analyze-bundles example: revert the version of faker library

* analyze-bundles add analyze:server and analyze:browser to scripts

* with-webpack-bundle-analyzer example: fix typo
2018-10-01 01:24:27 +02:00
Tim Neutkens b1c4f3aec4
Monorepo (#5341)
- Implements Lerna
- Moves all source code into `packages/next`
- Keeps integration tests in the root directory
2018-10-01 01:02:10 +02:00
Tim Neutkens 08c71a4403 Merge branch 'canary' of github.com:zeit/next.js into canary 2018-09-29 16:46:19 +02:00
Shu Ding ae805a0bcf Improve README.md (#5331)
- `<details>` and `<ul>` cannot be inside `<p>` and it will not be parsed correctly by the MDX tokenizer.
- `sh` is not a valid language name for syntax highlighting libs (e.g. [highlight.js](https://github.com/highlightjs/highlight.js/tree/master/src/languages)).
2018-09-29 16:16:49 +02:00
Tim Neutkens ae56c7847f 7.0.1 2018-09-29 13:00:49 +02:00
Tim Neutkens c0945392f4
Upgrade webpack (#5330) 2018-09-29 12:43:55 +02:00
Tim Neutkens 8fb6f7d5b6 Use new import syntax in readme examples 2018-09-29 11:41:03 +02:00
Tim Neutkens 7f9d244d1f 7.0.1-canary.6 2018-09-29 10:15:27 +02:00
Tim Neutkens 2f618581cf Remove disabled plugin 2018-09-29 07:53:08 +02:00
Tim Neutkens 6c0ea2d424 7.0.1-canary.5 2018-09-29 07:25:47 +02:00
Henrik Wenz b065dafa52 Refactor head keys (#5326)
We don't need to `React.cloneElement`, twice.
2018-09-29 06:52:36 +02:00
Henrik Wenz df41997d50 Remove _containerProps context (#5327)
This PR removes the obsolete `_containerProps` context.
2018-09-29 05:24:27 +02:00
Tim Neutkens 30924ea1be 7.0.1-canary.4 2018-09-28 21:37:37 +02:00
Carlos 565b026e7b Added with-ts-node with Next js 7 example (#5204)
### Next js 7+ and Typescript 3+ Example

No babel, tsc, pure typescript usage
Made by [next-with-typescript plugin](https://github.com/echoulen/next-with-typescript)
2018-09-28 21:18:50 +02:00
Tim Neutkens 70c4b3d11c
Rename index.js to next-server.js (#5323) 2018-09-28 20:30:06 +02:00
Mert Can 2c6206d66c Package.json comma removed (#5322) 2018-09-28 15:37:19 +02:00
Tim Neutkens 0461413348
Don't require package.json at runtime (#5321)
* Remove obsolete check in dev-server

* Don’t require package.json at runtime

Inline the Next.js version at publish time, so that there’s no runtime dependency for this
2018-09-28 14:53:28 +02:00
Tim Neutkens 7f39aef912
Remove obsolete check in dev-server (#5320)
Remove `if(this.hotReloader)` as it's always guaranteed to be there.

https://github.com/zeit/next.js/pull/5317#discussion_r221233064
2018-09-28 14:32:26 +02:00
Tim Neutkens 881e5426e5 7.0.1-canary.3 2018-09-28 14:07:08 +02:00
Tim Neutkens 3f47a87c79
Initial dev server (#5317)
* Initial dev server

* Remove obsolete check

* Move hotReloader to dev-server

* Use parent renderErrorToHTML to remove dep on render.js

* Remove dev option from server itself
2018-09-28 14:05:23 +02:00
Luc f8dfe026ec Show warning if there is a title in _document.js's Head (#5160)
* show warning if there is a title in _document.js Head

* dont loop through children in production

* only 1 loop through this.props.children 💪

* also raise warning in test env

* check for null childs
2018-09-28 00:24:12 +02:00
Yuri Yakovlev ad93ff4b3e Remove transform-decorators plugin & Bump deps (#5232) 2018-09-27 23:42:06 +02:00
Tim Neutkens fb0b485299
Move out start method from server (#5315)
- This makes sure the Next.js renderer / server doesn't have a dependency on the `http` module.
- Splits out util functions for SSR only
- Removes obsolete methods / methods that weren't being tree-shaken
2018-09-27 21:10:53 +02:00