MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / buildProject

Function buildProject

packages/release/src/index.js:171–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169};
170
171const buildProject = () => {
172 console.log("Building project...");
173
174 if (isFrontend && !isBackend) {
175 runProjectRootCommand(
176 "NODE_ENV=production SENTRY=1 npx turbo lint test check-assets build --filter @monkeytype/frontend --force",
177 );
178 } else if (isBackend && !isFrontend) {
179 runProjectRootCommand(
180 "NODE_ENV=production SENTRY=1 npx turbo lint test build --filter @monkeytype/backend --force",
181 );
182 } else {
183 runProjectRootCommand(
184 "NODE_ENV=production SENTRY=1 npx turbo lint test check-assets build --force",
185 );
186 }
187};
188
189const deployBackend = () => {
190 console.log("Deploying backend...");

Callers 1

mainFunction · 0.85

Calls 1

runProjectRootCommandFunction · 0.85

Tested by

no test coverage detected