feat: 11ty buildpack
This commit is contained in:
		| @@ -136,6 +136,16 @@ export function findBuildPack(pack, packageManager = 'npm') { | ||||
| 			port: 80 | ||||
| 		}; | ||||
| 	} | ||||
| 	if (pack === 'eleventy') { | ||||
| 		return { | ||||
| 			...metaData, | ||||
| 			installCommand: `yarn install`, | ||||
| 			buildCommand: `yarn build`, | ||||
| 			startCommand: null, | ||||
| 			publishDirectory: `_site`, | ||||
| 			port: 80 | ||||
| 		}; | ||||
| 	} | ||||
| 	return { | ||||
| 		name: 'node', | ||||
| 		fancyName: 'Node.js', | ||||
| @@ -191,6 +201,12 @@ export const buildPacks = [ | ||||
| 		hoverColor: 'hover:bg-green-700', | ||||
| 		color: 'bg-green-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'gatsby', | ||||
| 		fancyName: 'Gatsby', | ||||
| 		hoverColor: 'hover:bg-blue-700', | ||||
| 		color: 'bg-blue-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'astro', | ||||
| 		fancyName: 'Astro', | ||||
| @@ -198,11 +214,12 @@ export const buildPacks = [ | ||||
| 		color: 'bg-pink-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'gatsby', | ||||
| 		fancyName: 'Gatsby', | ||||
| 		hoverColor: 'hover:bg-blue-700', | ||||
| 		color: 'bg-blue-700' | ||||
| 		name: 'eleventy', | ||||
| 		fancyName: 'Eleventy', | ||||
| 		hoverColor: 'hover:bg-red-700', | ||||
| 		color: 'bg-red-700' | ||||
| 	}, | ||||
|  | ||||
| 	{ | ||||
| 		name: 'react', | ||||
| 		fancyName: 'React', | ||||
| @@ -215,18 +232,18 @@ export const buildPacks = [ | ||||
| 		hoverColor: 'hover:bg-blue-700', | ||||
| 		color: 'bg-blue-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'nestjs', | ||||
| 		fancyName: 'NestJS', | ||||
| 		hoverColor: 'hover:bg-red-700', | ||||
| 		color: 'bg-red-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'nextjs', | ||||
| 		fancyName: 'NextJS', | ||||
| 		hoverColor: 'hover:bg-blue-700', | ||||
| 		color: 'bg-blue-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'nestjs', | ||||
| 		fancyName: 'NestJS', | ||||
| 		hoverColor: 'hover:bg-red-700', | ||||
| 		color: 'bg-red-700' | ||||
| 	}, | ||||
| 	{ | ||||
| 		name: 'rust', | ||||
| 		fancyName: 'Rust', | ||||
| @@ -238,6 +255,9 @@ export const scanningTemplates = { | ||||
| 	astro: { | ||||
| 		buildPack: 'astro' | ||||
| 	}, | ||||
| 	'@11ty/eleventy': { | ||||
| 		buildPack: 'eleventy' | ||||
| 	}, | ||||
| 	svelte: { | ||||
| 		buildPack: 'svelte' | ||||
| 	}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai