Skip to content

Commit ae62aac

Browse files
committed
update: add details about deployment
1 parent 07ae854 commit ae62aac

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.cursorrules

+29
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,34 @@ module.exports = {
9696
'COMMITS_SOURCE',
9797
'GAMES_SOURCE'
9898
]
99+
},
100+
101+
// Deployment configurations
102+
deployment: {
103+
platforms: ['netlify', 'vercel'],
104+
netlify: {
105+
buildCommand: 'pnpm run netlify-build',
106+
publishDir: 'dist/',
107+
functions: {
108+
directory: 'dist/functions',
109+
bundler: 'esbuild'
110+
},
111+
environment: {
112+
NPM_FLAGS: '--no-optional',
113+
CI: '1'
114+
}
115+
},
116+
vercel: {
117+
buildCommand: 'pnpm run vercel-build',
118+
distDir: 'static',
119+
buildSteps: [
120+
'test-prebuild',
121+
'build-lists-and-api',
122+
'test-postbuild-api'
123+
],
124+
github: {
125+
silent: true
126+
}
127+
}
99128
}
100129
}

0 commit comments

Comments
 (0)