From cfb84b532804a7280154d0bd98cea5ba09d7ca6a Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 27 May 2020 23:19:15 +0200 Subject: [PATCH] [api] Fix filename and update .vercelignore and vercel.json (#4511) - Fix a filename in the examples API - Rename .nowignore to .vercelignore - Rename now.json to vercel.json --- .gitignore | 1 + .nowignore => .vercelignore | 0 api/examples/list.ts | 2 +- now.json => vercel.json | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename .nowignore => .vercelignore (100%) rename now.json => vercel.json (100%) diff --git a/.gitignore b/.gitignore index 8dbf46fa1c65..e3178b94f6dc 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ test/lib/deployment/failed-page.txt /.env /public __pycache__ +.vercel diff --git a/.nowignore b/.vercelignore similarity index 100% rename from .nowignore rename to .vercelignore diff --git a/api/examples/list.ts b/api/examples/list.ts index 2f255a911e4e..ef15702e86d6 100644 --- a/api/examples/list.ts +++ b/api/examples/list.ts @@ -9,7 +9,7 @@ export default withApiHandler(async function( res: NowResponse ) { await extract('https://github.com/vercel/vercel/archive/master.zip', '/tmp'); - const exampleList = summary('/tmp/now-master/examples'); + const exampleList = summary('/tmp/vercel-master/examples'); const existingExamples = Array.from(exampleList).map(key => ({ name: key, diff --git a/now.json b/vercel.json similarity index 100% rename from now.json rename to vercel.json