Commit graph

1412 commits

Author SHA1 Message Date
Timothy
9cb75d556d
Add contentful as a related example link to each CMS example (#12796) 2020-05-12 14:15:53 -05:00
Tomas Dabašinskas
c0edf06d8f
sort posts by date in descending order (#12303)
* sort posts by date in descending order

Hi, I'm extending getAllPosts function to sort posts array by date in descending order. 
Any feedback is appreciated

* sort posts by date timestamp in descending order

* Lint fix

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-12 12:40:51 -05:00
dpyzo0o
29b110009a
fix logout in with-iron-session example (#12704) 2020-05-11 08:54:50 -04:00
Luis Alvarez D
f0220e6a9d
[Examples] Update firebase authentication (#12687) 2020-05-10 21:32:20 -04:00
Shu Uesugi
cc139b8d89
More renaming ZEIT → Vercel (#12649) 2020-05-09 17:21:53 +02:00
Luis Alvarez D
5d70b2a06f
[Examples] Update data-fetch example (#12617) 2020-05-08 11:53:47 -04:00
liwenzhi
4a8b896122
[Examples]: With react bootstrap (#12421)
* add new example with-react-bootstrap

* use vanilla react-bootstrap components to implement index page

* clear unnecessary comments

* remove private property in package.json

* Updates

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 17:13:59 -05:00
Ty Mick
a7b0e8a786
Fix DatePicker Day.js bug in Ant Design example (#12580)
* Fix DatePicker Day.js bug in Ant Design example

* Lint fix

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 16:29:42 -05:00
Juan Silupu Maza
63bfbfff54
Add cross-env package (#12581)
* add notes

* add cross-env package, for stability in different SO

* fix: move cross-env package from Dependencies at devDependicies
2020-05-07 11:16:36 +02:00
Max Schmitt
71a5b5803e
example: added Ant Design Pro Layout less (#12408) 2020-05-06 18:00:48 -05:00
AlexanderVishnevsky
960368eed5
Resolve bug with Prismic Locales (#12132)
* Resolve bug with Prismic Locales

add configuration for not default locale

* Resolve bug with Prismic Locales

Add configuration for Prismic locale.
More information about bug:

* Fixes and removed unrequired changes

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-05-06 13:30:23 -05:00
Jiachi
1fdadbb18b
fix: hello world missing default exports (#12551) 2020-05-06 11:33:41 +02:00
Matthias Lorthiois
c81cabeae8
Update blog-starter to use Tailwind CSS v1.4's new built-in purge option (#12452) 2020-05-06 11:27:21 +02:00
Amandeep Singh
1aa2e0cfe6
Fixed typo (#12497) 2020-05-05 00:06:55 -04:00
Soichi Takamura
790800305b
[examples/with-typescript-graphql] Add "createResolverContext" hook, etc. (#11681)
* Update deps

* Run "node-check-update -u"
* "graphql" keeps ^14 since other libs expect it
* Install apollo-link and apollo-cache because @apollo/react-common
wants it as peer-deps

* Add graphql-let/schema/loader

* This enables HMR from modifying *.graphqls.

* Add resolver context

* Remove JSDoc, respect TypeScript defs

* ncu -u

* Keep using graphql@^14.6.0 for the other deps

* fix: Migrate to graphql-let@0.10.0

* Removed duplicated deps

* Updated check

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-05-04 17:09:39 -05:00
Taylor Bryant
5e80999c04
Clean up styles in with-tailwindcss example (#12458) 2020-05-03 19:45:57 -04:00
Vincent Voyer
f38eb70207
docs(examples): with-iron-session update (#12418) 2020-05-02 23:18:23 -04:00
Taylor Bryant
96f8455a03
Add names to components in amp example (#12415) 2020-05-02 15:09:21 -04:00
Taylor Bryant
f13ca3055c
Add names to components in hello-world example (#12416) 2020-05-02 15:08:56 -04:00
Taylor Bryant
a59a15dd78
Add name to component in with-tailwindcss example (#12417) 2020-05-02 15:08:23 -04:00
Marko Djordjevic
a2b9f2484c
Fix 'user undefined' error with ssr profile in auth0 example (#11934) 2020-05-02 01:25:34 -04:00
Joe McCann
2e0f52acba
upgrade from deprecated url.parse() since Node 11 (#11825)
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
2020-05-02 01:24:58 -04:00
Jon Espen Kvisler
b516c4ea23
Transpile packages in react-intl example (#11849) 2020-05-02 01:22:25 -04:00
Ronie
a7bd2db963
Example: update netlify-cms to use SSG (#12072) 2020-05-02 01:18:04 -04:00
David Sally
945c1fac9f
Update with-emotion-11 example to use functional _app component (#12183) 2020-05-02 01:15:02 -04:00
Connor Mcgarty-Wood
daa7f821a9
Docs: Add req.body to custom express server example (#12211) 2020-05-02 01:14:04 -04:00
Marcus Koh
6a8aef71fe
Updated with-firebase-authentication to fix errors (#12204) 2020-05-02 01:13:08 -04:00
lncls
ae1857ef33
#12314 add auth to with-sentry-simple example (#12316) 2020-05-02 01:07:31 -04:00
Robin Weser
b5b8cd8642
[example-with-fela] CSS imports compatibility (#12237) 2020-05-02 01:04:42 -04:00
mit123suki
2dcd4e9509
example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04:00
Hossam Magdy
e19023d672
Update with-firebase-hosting[-and-typescript] examples (#11685) 2020-05-02 00:56:40 -04:00
Stefan Judis
98233b914e
[Examples] Improve Contentful example starter and docs (#12351) 2020-05-02 00:52:39 -04:00
dalibor-123
5808221f0d
gitignore graphql-let generated .d.ts files (#12381) 2020-05-02 00:48:28 -04:00
Christian Alfoni
a6791abf9c
example: new with-stitches (#11924) 2020-05-02 00:30:39 -04:00
Luis Alvarez D
82596124c6
Add cors example and update API routes docs (#12390) 2020-05-02 00:06:23 -04:00
Vincent Voyer
9590a8a977
docs(examples): upgrade next-iron-session to v4 (#12398) 2020-05-02 00:04:03 -04:00
Amandeep Singh
6dc28cff6d
Rectified typo (#12366) 2020-05-01 10:52:07 +02:00
Joe Haddad
fbea795ad9
[Fast Refresh] Redesigned Runtime Error Experience (#12222) 2020-04-30 10:50:25 -04:00
Taylor Bryant
0050432690
Update with-tailwindcss to use Tailwind CSS v1.4.0's new built-in purge option (#12327) 2020-04-30 09:51:37 +02:00
Aemiro Allison
c1aeaa482b
Fix typo (#12224) 2020-04-29 15:08:33 -05:00
Luis Alvarez D
1a7a14e5e2
[Examples] add Contentful example (#12323)
* Added example

* Readme fixes

* Preview mode fix

* Added rich test post content

* Added demo

* Apply suggestions from code review

* Update examples/cms-contentful/README.md

* Apply suggestions from code review

* Apply suggestions from code review

* Now → Vercel

Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-04-29 13:19:49 -05:00
Tim Neutkens
5d8968f64a
Remove launched experimental options (#12197) 2020-04-25 21:00:41 +02:00
Arthur Petrie
e97cf15d58
[Example] update with-tailwindcss-emotion to tailwind 1.3.3 and emotion 11 + tailwind-ui plugin (#11611)
* [Example] update to tailwind 1.2.0 and emotion 11

* fix lint error

* Used different ways to style components

* update @tailwindcssinjs/macro package
remove clear cache script
update component comments

* update tailwindcss package to 1.3.3

* update dependencies

* update dependencies

* Updated readme, package.json, and removed unrequired imports

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-24 18:27:43 -05:00
Johan Nilsson
f3e6545bf5
Remove unnecessary export to make usage clearer. (#12167)
The method initializeStore is only being used locally by useStore.
By having this exported I initially thought the consumer would have to call this as setup globally and then call useStore as well for each consuming component.

Downloading the sample I saw it's only useStore that is being used by the consuming app and this could be made clear by not exporting initializeStore.
2020-04-24 11:31:03 +02:00
Aleksander
f42055ccb0
Update snapshot in with-jest example (#12157) 2020-04-24 11:21:48 +02:00
Shania
c601c9413d
Added a link to the next.config.js docs for the with-env-next-… (#12153) 2020-04-24 11:20:13 +02:00
Allen Hai
0c6ee2c760
Add userbase example (#12150)
* add userbase example

* update readme and add now.json with build.env

* update deploy button import path for testing

* update readme

* update readme with canary tree path for deploy button

* remove prepopulated test username + password

* Apply lint-fix

* add deployed demo link

* remove merge conflict arrows

* fix lint errors

* run yarn lint-fix

* add .env.example and update readme with config steps

* add dotenv and update next.config.js

Co-authored-by: Matthew Sweeney <mail@msweeneydev.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-04-23 19:56:42 -05:00
Sean Li
91adb8661d
Add example with Magic authentication (#11810)
* Add example with Magic and Passport.js

* Tweaked wording on README

* Fixed lint error

* Fixed prettier error

* Update examples/magic/README.md

Removed Download manually section from README

Co-Authored-By: Joe Haddad <timer150@gmail.com>

* Removed dependency on passport and express + cleanup

* Changed ZEIT brand to Vercel

* Updated readme instructions and secrets

* Renamed example

* Changed db comment

Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-22 18:15:12 -05:00
Oxicode
7d2ff81207
fix variable (#12114) 2020-04-22 20:32:41 +02:00
Vania Kucher
39d9476992
Avoid bugs with native Date class (#12098) 2020-04-22 11:43:07 +02:00