-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from akd-io/feature/247-add-support-for-netlify
Add support for Vercel and Netlify
- Loading branch information
Showing
16 changed files
with
143 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { createPlugin } from "../plugin" | ||
|
||
export const netlifyPlugin = createPlugin({ | ||
id: "netlify", | ||
name: "Netlify", | ||
description: "Adds support for Netlify", | ||
active: ({ flags }) => Boolean(flags["netlify"]), | ||
devDependencies: { | ||
"netlify-cli": { | ||
name: "netlify-cli", | ||
version: "^15.6.0", | ||
}, | ||
}, | ||
scripts: [ | ||
{ | ||
name: "deploy:netlify", | ||
command: "netlify deploy", | ||
description: "Deploy a preview deployment to Netlify", | ||
}, | ||
], | ||
technologies: [ | ||
{ | ||
id: "netlify", | ||
name: "Netlify", | ||
description: | ||
"Netlify is a modern hosting platform for websites and web apps. With zero configuration, it will build and deploy your site globally and serverlessly with a single command. It can also be set up to do continuous deployments by integrating it with your repository host.", | ||
links: [ | ||
{ title: "Website", url: "https://www.netlify.com/" }, | ||
{ title: "Docs", url: "https://docs.netlify.com/" }, | ||
{ title: "CLI Docs", url: "https://cli.netlify.com/" }, | ||
], | ||
}, | ||
], | ||
todos: [ | ||
"Integrate Netlify with your repository host for continuous deployments at https://app.netlify.com/start. The Netlify CLI, mainly used for preview deployments, won't auto-detect Next.js until you do.", | ||
], | ||
} as const) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { createPlugin } from "../plugin" | ||
|
||
export const vercelPlugin = createPlugin({ | ||
id: "vercel", | ||
name: "Vercel", | ||
description: "Adds support for Vercel", | ||
active: ({ flags }) => Boolean(flags["vercel"]), | ||
devDependencies: { | ||
vercel: { | ||
name: "vercel", | ||
version: "^30.2.2", | ||
}, | ||
}, | ||
scripts: [ | ||
{ | ||
name: "deploy:vercel", | ||
command: "vercel", | ||
description: "Deploy a preview deployment to Vercel", | ||
}, | ||
], | ||
technologies: [ | ||
{ | ||
id: "vercel", | ||
name: "Vercel", | ||
description: | ||
"Vercel is a modern hosting platform for websites and web apps. With zero configuration, it will build and deploy your site globally and serverlessly with a single command. It can also be set up to do continuous deployments by integrating it with your repository host.", | ||
links: [ | ||
{ title: "Website", url: "https://vercel.com/" }, | ||
{ title: "Docs", url: "https://vercel.com/docs" }, | ||
{ title: "CLI Docs", url: "https://vercel.com/docs/cli" }, | ||
], | ||
}, | ||
], | ||
todos: [ | ||
"Integrate Vercel with your repository host for continuous deployments at https://vercel.com/new", | ||
], | ||
} as const) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ test( | |
"--react-icons", | ||
"--react-query", | ||
"--plausible", | ||
"--vercel", | ||
"--netlify", | ||
".", | ||
]) | ||
|
||
|