MCPcopy
hub / github.com/obytes/react-native-template-obytes / installDeps

Function installDeps

cli/setup-project.js:10–16  ·  view source on GitHub ↗
(projectName)

Source from the content-addressed store, hash-verified

8};
9
10const installDeps = async (projectName) => {
11 await runCommand(`cd ${projectName} && pnpm install`, {
12 loading: 'Installing project dependencies',
13 success: 'Dependencies installed',
14 error: 'Failed to install dependencies, Make sure you have pnpm installed',
15 });
16};
17
18// remove unnecessary files, such us .git, ios, android, docs, cli, LICENSE
19const removeFiles = async (projectName) => {

Callers 1

createObytesAppFunction · 0.85

Calls 1

runCommandFunction · 0.85

Tested by

no test coverage detected