shenanigans-manager
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -1,2 +0,2 @@ | ||
import "color"; | ||
import "colors"; | ||
import { Command, ICommandArgs } from "../command"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -10,3 +10,3 @@ "use strict"; | ||
}; | ||
require("color"); | ||
require("colors"); | ||
const fs = require("fs"); | ||
@@ -59,2 +59,2 @@ const path = require("path"); | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tYW5kcy9oZWxwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLGlCQUFlO0FBQ2YseUJBQXlCO0FBQ3pCLDZCQUE2QjtBQUU3Qix3Q0FBbUQ7QUFDbkQsd0RBQXFEO0FBRXJEOztHQUVHO0FBQ0gsVUFBa0IsU0FBUSxpQkFBMkI7SUFBckQ7O1FBQ0k7O1dBRUc7UUFDYyxvQkFBZSxHQUFvQixJQUFJLGlDQUFlLEVBQUUsQ0FBQztJQW9DOUUsQ0FBQztJQWxDRzs7OztPQUlHO0lBQ1UsT0FBTzs7WUFDaEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQ1gscUJBQXFCLENBQUMsSUFBSSxDQUFDLElBQUksRUFDL0IsMEVBQTBFLENBQUMsQ0FBQztZQUVoRixJQUFJLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO1lBRXZDLE1BQU0sSUFBSSxPQUFPLENBQU8sQ0FBQyxPQUFPLEVBQUUsTUFBTTtnQkFDcEMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxvQkFBb0IsQ0FBQyxFQUFFLENBQUMsS0FBVSxFQUFFLEtBQWU7b0JBQy9FLEVBQUUsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLEN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yKHBhdGguam9pbihfX2Rpcm5hbWUsIFwiLi4vLi4vc3JjL2NvbW1hbmRzXCIpLCAoZXJyb3I6IGFueSwgZmlsZXM6IHN0cmluZ1tdKTogdm9pZCA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoZXJyb3IpIHtcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVqZWN0KGVycm9yKTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBjb25zdCBjb21tYW5kczogc3RyaW5nW10gPSBmaWxlc1xyXG4gICAgICAgICAgICAgICAgICAgIC5maWx0ZXIoKGZpbGVOYW1lOiBzdHJpbmcpOiBib29sZWFuID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZpbGVOYW1lLmluZGV4T2YoXCIudHNcIikgIT09IC0xO1xyXG4gICAgICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgICAgICAgLm1hcCgoZmlsZU5hbWU6IHN0cmluZyk6IHN0cmluZyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmaWxlTmFtZS5zdWJzdHJpbmcoMCwgZmlsZU5hbWUubGVuZ3RoIC0gXCIudHNcIi5sZW5ndGgpO1xyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG5cclxuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgZmlsZSBvZiBjb21tYW5kcykge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nZ2VyLmxvZyhgICAgICR7dGhpcy5uYW1lVHJhbnNmb3JtZXIudG9EYXNoZWRDYXNlKGZpbGUpfWApO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHJlc29sdmUoKTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbn1cclxuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9u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W5nW10gPSBmaWxlc1xyXG4gICAgICAgICAgICAgICAgICAgIC5maWx0ZXIoKGZpbGVOYW1lOiBzdHJpbmcpOiBib29sZWFuID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZpbGVOYW1lLmluZGV4T2YoXCIudHNcIikgIT09IC0xO1xyXG4gICAgICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgICAgICAgLm1hcCgoZmlsZU5hbWU6IHN0cmluZyk6IHN0cmluZyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmaWxlTmFtZS5zdWJzdHJpbmcoMCwgZmlsZU5hbWUubGVuZ3RoIC0gXCIudHNcIi5sZW5ndGgpO1xyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG5cclxuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgZmlsZSBvZiBjb21tYW5kcykge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nZ2VyLmxvZyhgICAgICR7dGhpcy5uYW1lVHJhbnNmb3JtZXIudG9EYXNoZWRDYXNlKGZpbGUpfWApO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHJlc29sdmUoKTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbn1cclxuIl19 |
{ | ||
"name": "shenanigans-manager", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Manages large-scale operations on FullScreenShenanigans project.", | ||
@@ -26,3 +26,3 @@ "bin": { | ||
"dependencies": { | ||
"color": "^1.0.3", | ||
"colors": "^1.1.2", | ||
"minimist": "^1.2.0", | ||
@@ -29,0 +29,0 @@ "moment": "^2.17.1", |
@@ -7,2 +7,17 @@ # shenanigans-manager | ||
```cmd | ||
npm install -g shenanigans-manager | ||
shenanigans-manager --help | ||
``` | ||
The full list of commands is in `src/commands`. | ||
### Configuration | ||
For now, `src/settings.ts`/`lib/settings.js` stores the default directory and repository names that will be manipulated. | ||
## Development | ||
Set the project up locally to be run via Gulp: | ||
@@ -15,13 +30,1 @@ | ||
``` | ||
You'll then be able to run via `lib/cli.js`. | ||
The CLI takes in `--command <command-name>` and arguments that will be parsed from `snake-case` to `camelCase`. | ||
The full list of commands is in `src/commands`. | ||
```cmd | ||
node lib/cli --command run-gulp-in-all | ||
``` | ||
## Configuration | ||
For now, `src/settings.ts`/`lib/settings.js` stores the root directory and repository names that will be manipulated. |
@@ -1,2 +0,2 @@ | ||
import "color"; | ||
import "colors"; | ||
import * as fs from "fs"; | ||
@@ -3,0 +3,0 @@ import * as path from "path"; |
@@ -1,2 +0,2 @@ | ||
import "color"; | ||
import "colors"; | ||
@@ -3,0 +3,0 @@ import { |
29
168952
+ Addedcolors@^1.1.2
+ Addedcolors@1.4.0(transitive)
- Removedcolor@^1.0.3
- Removedcolor@1.0.3(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcolor-string@1.9.1(transitive)
- Removedis-arrayish@0.3.2(transitive)
- Removedsimple-swizzle@0.2.2(transitive)