shenanigans-manager
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -15,3 +15,2 @@ "use strict"; | ||
const runGulpInAll_1 = require("./runGulpInAll"); | ||
const updateGulpShenanigansInAll_1 = require("./updateGulpShenanigansInAll"); | ||
/** | ||
@@ -35,3 +34,2 @@ * Clones, links, installs, and builds all repositories locally. | ||
yield this.subroutine(linkAllRepositories_1.LinkAllRepositories, {}); | ||
yield this.subroutine(updateGulpShenanigansInAll_1.UpdateGulpShenanigansInAll, {}); | ||
yield this.subroutine(runGulpInAll_1.RunGulpInAll, {}); | ||
@@ -38,0 +36,0 @@ }); |
@@ -25,10 +25,7 @@ "use strict"; | ||
for (const target of this.settings.allRepositories) { | ||
for (const external of this.settings.allRepositories) { | ||
if (target === external) { | ||
continue; | ||
} | ||
yield shell | ||
.setCwd(this.settings.codeDir, target) | ||
.execute(`npm link ${external}`); | ||
} | ||
const linked = this.settings.allRepositories | ||
.filter((repository) => repository !== target); | ||
yield shell | ||
.setCwd(this.settings.codeDir, target) | ||
.execute(`npm link ${linked.join(" ")}`); | ||
} | ||
@@ -35,0 +32,0 @@ }); |
{ | ||
"name": "shenanigans-manager", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Manages large-scale operations on FullScreenShenanigans project.", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -7,3 +7,2 @@ import * as fs from "fs"; | ||
import { RunGulpInAll } from "./runGulpInAll"; | ||
import { UpdateGulpShenanigansInAll } from "./updateGulpShenanigansInAll"; | ||
@@ -31,5 +30,4 @@ /** | ||
await this.subroutine(LinkAllRepositories, {}); | ||
await this.subroutine(UpdateGulpShenanigansInAll, {}); | ||
await this.subroutine(RunGulpInAll, {}); | ||
} | ||
} |
@@ -17,13 +17,10 @@ import { Command } from "../command"; | ||
for (const target of this.settings.allRepositories) { | ||
for (const external of this.settings.allRepositories) { | ||
if (target === external) { | ||
continue; | ||
} | ||
const linked: string[] = this.settings.allRepositories | ||
.filter((repository: string): boolean => repository !== target); | ||
await shell | ||
.setCwd(this.settings.codeDir, target) | ||
.execute(`npm link ${external}`); | ||
} | ||
await shell | ||
.setCwd(this.settings.codeDir, target) | ||
.execute (`npm link ${linked.join(" ")}`); | ||
} | ||
} | ||
} |
82561
2542