fix: default packagemanager

This commit is contained in:
Andras Bacsai
2022-05-09 09:12:21 +02:00
parent 650409dde3
commit e69e32f6c7
2 changed files with 24 additions and 28 deletions

View File

@@ -128,9 +128,7 @@ export function findBuildPack(pack, packageManager = 'npm') {
if (pack === 'astro') {
return {
...metaData,
installCommand: `yarn install`,
buildCommand: `yarn build`,
startCommand: null,
...defaultBuildAndDeploy(packageManager),
publishDirectory: `dist`,
port: 80
};
@@ -138,9 +136,7 @@ export function findBuildPack(pack, packageManager = 'npm') {
if (pack === 'eleventy') {
return {
...metaData,
installCommand: `yarn install`,
buildCommand: `yarn build`,
startCommand: null,
...defaultBuildAndDeploy(packageManager),
publishDirectory: `_site`,
port: 80
};