Cole
c5bbff412b
Update system font stacks on error pages ( #157 )
...
* Enhance system font stack on _error.js
`-apple-system` = SF on Safari (macOS/iOS)
`BlinkMacSystemFont` = SF on Chrome (macOS)
`Roboto` for Android
`Segoe UI` for Windows
`Fira Sans` for Firefox OS
`Avenir` for pre-SF macOS
`Helvetica Neue, Lucida Grande` for older macOS
* Enhance system font stacks on _error-debug.js
Updates fonts to use better quality system fonts where commonly available
2016-10-30 15:07:18 +09:00
Tim Oxley
5595232f58
next init: Exit non-zero when refusing to run in 'pages' dir. ( #156 )
...
Should only exit `0` if the command was successful. The command refusing to execute should be considered a failure.
Also, this condition can be detected synchronously, no need to wait on the async existence check.
2016-10-30 15:03:05 +09:00
nkzawa
4c2f381e74
Release 1.0.2
2016-10-30 02:17:26 +09:00
Michael Helvey
3fa636fa81
Expose css, link, and head in package. ( #154 )
...
* Expose next/css, next/link, and next/head.
This allows test runners like Jest and ESLint's file resolver to
be able to find exported modules within `next`.
Fixes #113
* Removed semicolons for linting and expose modules.
2016-10-30 02:12:54 +09:00
nkzawa
4ea933725d
example: add missing dependencies and babel config
2016-10-29 22:20:29 +09:00
Giang Nguyen
a636ba36a4
Add license MIT ( #93 )
...
* Add license MIT
* Fix typo
* Remove extension LICENSE
* Change copyright to Zeit, Inc.
* Remove section license in README file
* Update README.md
2016-10-29 12:56:46 +02:00
Brandon Bayer
7501e80b4b
fix: add json-loader to dependency list ( #146 )
2016-10-29 12:44:10 +02:00
Ilmari Vacklin
c69686b5fc
Use -apply-system font on error page ( #140 )
...
The CSS rule on the error page doesn't work and the text on the page isn't rendered in SF UI Text. If we want to use SF on the error page, then, at least in Safari, we can use `-apply-system` as the font family.
I also added a fallback to sans-serif, just to be explicit.
2016-10-28 20:00:41 +02:00
nkzawa
ca161c375f
set babel plugins using absolute paths
2016-10-29 00:50:31 +09:00
nkzawa
990e39b13e
replace babel-plugin-module-alias with babel-plugin-module-resolver
2016-10-29 00:48:14 +09:00
nkzawa
e2a7c5f0e8
Release 1.0.1
2016-10-28 23:47:07 +09:00
Naoyuki Kanezawa
037e2d9c26
batch update head contents ( #129 )
...
* head-manager: batch update
* side-effect: remove redundant rendering cycle checks
2016-10-28 23:39:20 +09:00
Naoyuki Kanezawa
93d856706b
add cdn config ( #111 )
2016-10-28 23:38:24 +09:00
Tim Oxley
da1cdcb843
next init: create package.json with empty description ( #135 )
2016-10-28 12:05:30 +01:00
Tim Oxley
cab1f48d1e
next init: Inherit project name from directory. ( #134 )
2016-10-28 12:05:11 +01:00
Tryggvi Gylfason
9ad0e57e6e
Update readme.md ( #128 )
2016-10-28 16:58:41 +09:00
Siddharth Kshetrapal
27fa4e958e
Freezing version for standard ( #108 )
...
Added in https://github.com/zeit/next.js/pull/27
2016-10-27 17:57:47 +09:00
nodegin
e763dc731b
Fix #85 ( #97 )
2016-10-27 08:49:05 +09:00
nkzawa
dbc125f7e3
README: fix instruction
2016-10-27 08:07:33 +09:00
nkzawa
9a78dd8d1c
fix jest example styles
2016-10-26 19:28:41 +09:00
Nathan Agrin
06b8e5e676
Fix userAgent reference in getInitialProps example ( #81 )
...
The getInitialProps example references `req.header.userAgent`, which does not exist. `req.headers['user-agent']` does.
2016-10-26 19:19:28 +09:00
Pavithra Kodmad
95719c956e
Adds jest configuration npm run test shows failed results ( #60 )
2016-10-26 19:17:02 +09:00
nkzawa
eb74ff4bf9
README: fix missing links
2016-10-26 19:04:01 +09:00
Jeff Bowen
844b62f57e
README: Typo & grammar suggestion ( #69 )
...
* Replace _specially_ with _especially_
* Parens around that clause
2016-10-26 18:49:48 +09:00
Andrew Van Slaars
1602a45b11
Updated readme to reflect proper name of url.pathname property ( #66 )
2016-10-26 18:49:05 +09:00
nkzawa
b287d70fd1
README: grammer fix
2016-10-26 18:47:41 +09:00
nkzawa
5558aa45f5
README: fix a link
2016-10-26 18:42:39 +09:00
Pascal Borreli
b5f8f5054f
Fixed typos ( #74 )
2016-10-26 09:19:05 +02:00
nkzawa
d9ea4ce312
readme: fix the instruction of running next
2016-10-26 10:46:58 +09:00
Leo Lamprecht
3d44b58d5d
Subtle fixes for package file
2016-10-25 20:47:03 +02:00
Leo Lamprecht
6cfd1a5fc2
Improved repository field in package file
2016-10-25 20:45:35 +02:00
Leo Lamprecht
9ad5414ce3
Commented on ignored files and dirs
2016-10-25 20:44:56 +02:00
Leo Lamprecht
6482e8f7b2
Capitalized important files
2016-10-25 20:43:56 +02:00
Mati Tucci
a908b64761
Update Readme.md ( #57 )
2016-10-25 20:42:57 +02:00
Naoyuki Kanezawa
8e633d1af3
Merge pull request #52 from jisaacks/patch-1
...
Fix typo
2016-10-26 02:11:18 +09:00
Dan Zajdband
5840437fa5
Merge pull request #53 from latentflip/patch-1
...
Fix cowsay example so that it compiles
2016-10-25 18:07:38 +01:00
Philip Roberts
d4856810d4
Fix cowsay example so that it compiles
2016-10-25 18:03:20 +01:00
JD Isaacks
2d917ecab1
Fix typo
2016-10-25 12:58:31 -04:00
nkzawa
6afacbbc7d
Merge branch 'master' of https://github.com/zeit/next.js
2016-10-26 01:27:24 +09:00
nkzawa
767bcfdfc8
package.json: remove ^
2016-10-26 01:27:02 +09:00
Tony Kovanen
8e7f9973b2
Fix minor typo in README
2016-10-25 19:26:27 +03:00
Tony Kovanen
d856ebdca3
Merge pull request #49 from siddharthkp/patch-1
...
Added sample app link to README
2016-10-25 19:24:10 +03:00
Siddharth Kshetrapal
aea49d426e
Added sample app link to README
2016-10-25 21:48:57 +05:30
nkzawa
4b74c70cc9
Release 1.0.0
2016-10-26 00:10:10 +09:00
Naoyuki Kanezawa
cab1e90aad
Merge pull request #46 from zeit/add/error-pages-dir
...
Error instead of warning on missing pages dir
2016-10-26 00:04:08 +09:00
Dan Zajdband
38efb9f96e
Using process.exit instead of exit
2016-10-25 16:03:24 +01:00
Dan Zajdband
0bae38ae16
It was process.exit
2016-10-25 16:01:36 +01:00
Naoyuki Kanezawa
049d2fe949
Merge pull request #44 from zeit/fix/meta
...
package.json: add some fields
2016-10-25 23:59:52 +09:00
nkzawa
c698b32ac8
Merge branch 'master' into fix/meta
2016-10-25 23:59:13 +09:00
nkzawa
333eb959cc
0.9.11
2016-10-25 23:43:07 +09:00