mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
update: add details about deployment
This commit is contained in:
parent
07ae854dbb
commit
ae62aacbd6
1 changed files with 29 additions and 0 deletions
29
.cursorrules
29
.cursorrules
|
|
@ -96,5 +96,34 @@ module.exports = {
|
||||||
'COMMITS_SOURCE',
|
'COMMITS_SOURCE',
|
||||||
'GAMES_SOURCE'
|
'GAMES_SOURCE'
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
// Deployment configurations
|
||||||
|
deployment: {
|
||||||
|
platforms: ['netlify', 'vercel'],
|
||||||
|
netlify: {
|
||||||
|
buildCommand: 'pnpm run netlify-build',
|
||||||
|
publishDir: 'dist/',
|
||||||
|
functions: {
|
||||||
|
directory: 'dist/functions',
|
||||||
|
bundler: 'esbuild'
|
||||||
|
},
|
||||||
|
environment: {
|
||||||
|
NPM_FLAGS: '--no-optional',
|
||||||
|
CI: '1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
vercel: {
|
||||||
|
buildCommand: 'pnpm run vercel-build',
|
||||||
|
distDir: 'static',
|
||||||
|
buildSteps: [
|
||||||
|
'test-prebuild',
|
||||||
|
'build-lists-and-api',
|
||||||
|
'test-postbuild-api'
|
||||||
|
],
|
||||||
|
github: {
|
||||||
|
silent: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue