MCPcopy Index your code
hub / github.com/bitjson/typescript-starter / getRepoInfo

Function getRepoInfo

src/cli/tasks.ts:156–168  ·  view source on GitHub ↗
(starterVersion: string)

Source from the content-addressed store, hash-verified

154 * @param starterVersion the current version of this CLI
155 */
156export const getRepoInfo = (starterVersion: string) => {
157 return process.env.TYPESCRIPT_STARTER_REPO_URL
158 ? {
159 branch: process.env.TYPESCRIPT_STARTER_REPO_BRANCH
160 ? process.env.TYPESCRIPT_STARTER_REPO_BRANCH
161 : 'master',
162 repo: process.env.TYPESCRIPT_STARTER_REPO_URL,
163 }
164 : {
165 branch: `v${starterVersion}`,
166 repo: 'https://github.com/bitjson/typescript-starter.git',
167 };
168};
169
170export type Tasks = {
171 readonly cloneRepo: (

Callers 2

cli.unit.spec.tsFile · 0.90
addInferredOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected