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