MCPcopy Index your code
hub / github.com/dendronhq/dendron / generateBootstrapScript

Function generateBootstrapScript

genScripts.js:112–125  ·  view source on GitHub ↗
({ scope, group, standalone })

Source from the content-addressed store, hash-verified

110];
111
112function generateBootstrapScript({ scope, group, standalone }) {
113 const standaloneSection = `
114lerna bootstrap --scope ${standalone}
115`;
116
117 const script = `
118#!/usr/bin/env sh
119
120${standalone ? standaloneSection : ""}
121
122lerna bootstrap --scope ${scope}
123`;
124 writeScript(`./scripts/bootstrap-${group}.sh`, script);
125}
126
127function generateBuildScript({ scope, group, standalone }) {
128 const standaloneSection = `

Callers 4

generateClientScriptsFunction · 0.85
generateFrontendScriptsFunction · 0.85

Calls 1

writeScriptFunction · 0.85

Tested by

no test coverage detected