Skip to content

Commit

Permalink
πŸ› fix for nuxt in normal deps - and no more forcing public for ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Feb 21, 2024
1 parent 005b586 commit e407451
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/lib/deploytasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,14 @@ exports.handler = async (event, context) => {
pkg?.devDependencies?.nuxt?.includes('3')
)
) return true

if (
pkg.dependencies &&
(pkg.dependencies.nuxt3 ||
pkg?.dependencies?.nuxt?.includes('^3') ||
pkg?.dependencies?.nuxt?.includes('3')
)
) return true
return Boolean(pkg.devDependencies && pkg.devDependencies['@nuxt/bridge'])
}

Expand Down Expand Up @@ -539,7 +547,7 @@ exports.handler = async (event, context) => {
deleteRemoved: deleteRemoved,
s3Params: {
Bucket: bucket,
ACL: 'public-read',
ACL: 'private',
Prefix: prefix,
},
})
Expand Down

0 comments on commit e407451

Please sign in to comment.