@misk/cli
Advanced tools
Comparing version 0.1.3-4 to 0.1.3-5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "build"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[BUILD]"); | ||
utils_1.runCmd("sh -c 'npm run-script build'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[BUILD]"); | ||
utils_1.runCmd("sh -c 'npm run-script build'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "ci-build"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[CI-BUILD]"); | ||
utils_1.runCmd("sh -c 'npm run-script ci-build'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[CI-BUILD]"); | ||
utils_1.runCmd("sh -c 'npm run-script ci-build'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "clean"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[CLEAN]"); | ||
utils_1.runCmd("sh -c 'npm run-script clean'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[CLEAN]"); | ||
utils_1.runCmd("sh -c 'npm run-script clean'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "lint"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[LINT]"); | ||
utils_1.runCmd("sh -c 'npm run-script lint'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[LINT]"); | ||
utils_1.runCmd("sh -c 'npm run-script lint'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "new"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[NEW]"); | ||
utils_1.runCmd("sh -c 'curl -s https://raw.githubusercontent.com/square/misk-web/master/new-tab/get-new-tab.sh | bash -s && ./new-tab.sh'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[NEW]"); | ||
utils_1.runCmd("sh -c 'curl -s https://raw.githubusercontent.com/square/misk-web/master/new-tab/get-new-tab.sh | bash -s && ./new-tab.sh'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
@@ -13,6 +13,6 @@ "use strict"; | ||
case 0: | ||
_a.trys.push([0, 2, , 3]); | ||
_a.trys.push([0, 3, , 4]); | ||
console.log("[PREBUILD]"); | ||
return [4 /*yield*/, utils_1.migrate().catch(function (e) { | ||
return console.log("[ERROR] Migrating miskTab failed. " + e); | ||
throw new Error("Migrating miskTab failed. " + e); | ||
})]; | ||
@@ -22,11 +22,13 @@ case 1: | ||
console.log("[PREBUILD] Generating up to date build files"); | ||
utils_1.generateBuildFiles().catch(function (e) { | ||
return console.log("[ERROR] Generating up to date build files failed. " + e); | ||
}); | ||
return [3 /*break*/, 3]; | ||
return [4 /*yield*/, utils_1.generateBuildFiles().catch(function (e) { | ||
throw new Error("Generating up to date build files failed. " + e); | ||
})]; | ||
case 2: | ||
_a.sent(); | ||
return [3 /*break*/, 4]; | ||
case 3: | ||
e_1 = _a.sent(); | ||
console.log("[ERROR] Generating up to date build files failed. " + e_1); | ||
return [3 /*break*/, 3]; | ||
case 3: return [2 /*return*/]; | ||
return [3 /*break*/, 4]; | ||
case 4: return [2 /*return*/]; | ||
} | ||
@@ -33,0 +35,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "start"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[START]"); | ||
utils_1.runCmd("sh -c 'npm run-script start'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[START]"); | ||
utils_1.runCmd("sh -c 'npm run-script start'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var _1 = require("./"); | ||
var utils_1 = require("../utils"); | ||
@@ -10,5 +11,10 @@ exports.command = "zip"; | ||
return tslib_1.__generator(this, function (_a) { | ||
console.log("[ZIP]"); | ||
utils_1.runCmd("sh -c 'npm run-script zip'"); | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, _1.prebuild()]; | ||
case 1: | ||
_a.sent(); | ||
console.log("[ZIP]"); | ||
utils_1.runCmd("sh -c 'npm run-script zip'"); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }); |
export declare enum MiskVersion { | ||
"latest" = "0.1.3-3", | ||
"alpha" = "0.1.3-3", | ||
"latest" = "0.1.3-5", | ||
"alpha" = "0.1.3-5", | ||
"v013_5" = "0.1.3-5", | ||
"v013_4" = "0.1.3-4", | ||
@@ -49,3 +50,4 @@ "v013_3" = "0.1.3-3", | ||
} | ||
export declare const getPackageVersion: (pkg: MiskPkg, miskWebVersion: string) => string; | ||
export declare const getVersion: (version: string) => string; | ||
export declare const getPackageVersion: (miskWebPackage: MiskPkg, miskWebVersion: string) => string; | ||
export declare const MiskTabVersions: IMiskTabVersions; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2; | ||
var MiskVersion; | ||
(function (MiskVersion) { | ||
MiskVersion["latest"] = "0.1.3-3"; | ||
MiskVersion["alpha"] = "0.1.3-3"; | ||
MiskVersion["latest"] = "0.1.3-5"; | ||
MiskVersion["alpha"] = "0.1.3-5"; | ||
MiskVersion["v013_5"] = "0.1.3-5"; | ||
MiskVersion["v013_4"] = "0.1.3-4"; | ||
@@ -42,16 +43,21 @@ MiskVersion["v013_3"] = "0.1.3-3"; | ||
})(MiskPkg = exports.MiskPkg || (exports.MiskPkg = {})); | ||
exports.getPackageVersion = function (pkg, miskWebVersion) { | ||
var version = miskWebVersion; | ||
if (miskWebVersion == "latest") { | ||
version = MiskVersion.latest; | ||
exports.getVersion = function (version) { | ||
if (version == "latest") { | ||
return MiskVersion.latest; | ||
} | ||
else if (miskWebVersion == "alpha") { | ||
version = MiskVersion.alpha; | ||
else if (version == "alpha") { | ||
return MiskVersion.alpha; | ||
} | ||
else { | ||
return version; | ||
} | ||
}; | ||
exports.getPackageVersion = function (miskWebPackage, miskWebVersion) { | ||
var version = exports.getVersion(miskWebVersion); | ||
if (version in exports.MiskTabVersions) { | ||
if (pkg in exports.MiskTabVersions[version]) { | ||
return exports.MiskTabVersions[version][pkg]; | ||
if (miskWebPackage in exports.MiskTabVersions[version]) { | ||
return exports.MiskTabVersions[version][miskWebPackage]; | ||
} | ||
else { | ||
throw new Error("No " + pkg + " version found in Misk-Web@" + version + ", " + Object.values(MiskPkg).toString()); | ||
throw new Error("No " + miskWebPackage + " version found in Misk-Web@" + version + ", " + Object.values(MiskPkg).toString()); | ||
} | ||
@@ -64,46 +70,46 @@ } | ||
exports.MiskTabVersions = (_a = {}, | ||
_a[MiskVersion.v013_4] = (_b = {}, | ||
_b[MiskPkg.cli] = "" + [MiskVersion.v013_4], | ||
_b[MiskPkg.common] = "" + [MiskVersion.v013_4], | ||
_b[MiskPkg.core] = "" + [MiskVersion.v013_4], | ||
_b[MiskPkg.dev] = "" + [MiskVersion.v013_4], | ||
_b[MiskPkg.tslint] = "" + [MiskVersion.v013_4], | ||
_a[MiskVersion.v013_5] = (_b = {}, | ||
_b[MiskPkg.cli] = "" + [MiskVersion.v013_5], | ||
_b[MiskPkg.common] = "" + [MiskVersion.v013_5], | ||
_b[MiskPkg.core] = "" + [MiskVersion.v013_5], | ||
_b[MiskPkg.dev] = "" + [MiskVersion.v013_5], | ||
_b[MiskPkg.tslint] = "" + [MiskVersion.v013_5], | ||
_b.date = "2019-01-09", | ||
_b.notes = "Updated releasing documentation and changelog object in CLI.", | ||
_b.notes = "Added prebuild with better error handling back into critical path for all CLI commands.", | ||
_b), | ||
_a[MiskVersion.v013_3] = (_c = {}, | ||
_c[MiskPkg.cli] = "" + [MiskVersion.v013_3], | ||
_c[MiskPkg.common] = "" + [MiskVersion.v013_3], | ||
_c[MiskPkg.core] = "" + [MiskVersion.v013_3], | ||
_c[MiskPkg.dev] = "" + [MiskVersion.v013_3], | ||
_c[MiskPkg.tslint] = "" + [MiskVersion.v013_3], | ||
_a[MiskVersion.v013_4] = (_c = {}, | ||
_c[MiskPkg.cli] = "" + [MiskVersion.v013_4], | ||
_c[MiskPkg.common] = "" + [MiskVersion.v013_4], | ||
_c[MiskPkg.core] = "" + [MiskVersion.v013_4], | ||
_c[MiskPkg.dev] = "" + [MiskVersion.v013_4], | ||
_c[MiskPkg.tslint] = "" + [MiskVersion.v013_4], | ||
_c.date = "2019-01-09", | ||
_c.notes = "Better error handling in CLI for miskTab.json:version", | ||
_c.notes = "Updated releasing documentation and changelog object in CLI.", | ||
_c), | ||
_a[MiskVersion.v013_2] = (_d = {}, | ||
_d[MiskPkg.cli] = "" + [MiskVersion.v013_2], | ||
_d[MiskPkg.common] = "" + [MiskVersion.v013_2], | ||
_d[MiskPkg.core] = "" + [MiskVersion.v013_2], | ||
_d[MiskPkg.dev] = "" + [MiskVersion.v013_2], | ||
_d[MiskPkg.tslint] = "" + [MiskVersion.v013_2], | ||
_d.date = "2019-01-08", | ||
_d.notes = "Updated CLI", | ||
_a[MiskVersion.v013_3] = (_d = {}, | ||
_d[MiskPkg.cli] = "" + [MiskVersion.v013_3], | ||
_d[MiskPkg.common] = "" + [MiskVersion.v013_3], | ||
_d[MiskPkg.core] = "" + [MiskVersion.v013_3], | ||
_d[MiskPkg.dev] = "" + [MiskVersion.v013_3], | ||
_d[MiskPkg.tslint] = "" + [MiskVersion.v013_3], | ||
_d.date = "2019-01-09", | ||
_d.notes = "Better error handling in CLI for miskTab.json:version", | ||
_d), | ||
_a[MiskVersion.v013_1] = (_e = {}, | ||
_e[MiskPkg.cli] = "" + [MiskVersion.v013_1], | ||
_e[MiskPkg.common] = "" + [MiskVersion.v013_1], | ||
_e[MiskPkg.core] = "" + [MiskVersion.v013_1], | ||
_e[MiskPkg.dev] = "" + [MiskVersion.v013_1], | ||
_e[MiskPkg.tslint] = "" + [MiskVersion.v013_1], | ||
_a[MiskVersion.v013_2] = (_e = {}, | ||
_e[MiskPkg.cli] = "" + [MiskVersion.v013_2], | ||
_e[MiskPkg.common] = "" + [MiskVersion.v013_2], | ||
_e[MiskPkg.core] = "" + [MiskVersion.v013_2], | ||
_e[MiskPkg.dev] = "" + [MiskVersion.v013_2], | ||
_e[MiskPkg.tslint] = "" + [MiskVersion.v013_2], | ||
_e.date = "2019-01-08", | ||
_e.notes = "Fresh release of all using Rush", | ||
_e.notes = "Updated CLI", | ||
_e), | ||
_a[MiskVersion.v012alpha01] = (_f = {}, | ||
_f[MiskPkg.cli] = "0.0.24", | ||
_f[MiskPkg.common] = "0.1.1", | ||
_f[MiskPkg.core] = "0.1.1", | ||
_f[MiskPkg.dev] = "0.1.1", | ||
_f[MiskPkg.tslint] = "0.1.1", | ||
_f.date = "2019-01-07", | ||
_f.notes = "Change Docker base image to use 10-alpine for Microsoft Rush support", | ||
_a[MiskVersion.v013_1] = (_f = {}, | ||
_f[MiskPkg.cli] = "" + [MiskVersion.v013_1], | ||
_f[MiskPkg.common] = "" + [MiskVersion.v013_1], | ||
_f[MiskPkg.core] = "" + [MiskVersion.v013_1], | ||
_f[MiskPkg.dev] = "" + [MiskVersion.v013_1], | ||
_f[MiskPkg.tslint] = "" + [MiskVersion.v013_1], | ||
_f.date = "2019-01-08", | ||
_f.notes = "Fresh release of all using Rush", | ||
_f), | ||
@@ -116,6 +122,6 @@ _a[MiskVersion.v012alpha01] = (_g = {}, | ||
_g[MiskPkg.tslint] = "0.1.1", | ||
_g.date = "2018-12-7 ", | ||
_g.notes = "Use CLI in Docker misk-web script.", | ||
_g.date = "2019-01-07", | ||
_g.notes = "Change Docker base image to use 10-alpine for Microsoft Rush support", | ||
_g), | ||
_a[MiskVersion.v011] = (_h = {}, | ||
_a[MiskVersion.v012alpha01] = (_h = {}, | ||
_h[MiskPkg.cli] = "0.0.24", | ||
@@ -127,15 +133,15 @@ _h[MiskPkg.common] = "0.1.1", | ||
_h.date = "2018-12-7 ", | ||
_h.notes = "Stable release before CLI adoption.", | ||
_h.notes = "Use CLI in Docker misk-web script.", | ||
_h), | ||
_a[MiskVersion.v011alpha06] = (_j = {}, | ||
_j[MiskPkg.cli] = "0.0.3", | ||
_j[MiskPkg.common] = "0.1.1-alpha-0.3", | ||
_j[MiskPkg.core] = "0.1.1-alpha-0.17", | ||
_j[MiskPkg.dev] = "0.1.1-alpha-0.4", | ||
_j[MiskPkg.tslint] = "0.1.1-alpha-0.1", | ||
_j.date = "2018-12-6 ", | ||
_j.notes = "Initial CLI work.", | ||
_a[MiskVersion.v011] = (_j = {}, | ||
_j[MiskPkg.cli] = "0.0.24", | ||
_j[MiskPkg.common] = "0.1.1", | ||
_j[MiskPkg.core] = "0.1.1", | ||
_j[MiskPkg.dev] = "0.1.1", | ||
_j[MiskPkg.tslint] = "0.1.1", | ||
_j.date = "2018-12-7 ", | ||
_j.notes = "Stable release before CLI adoption.", | ||
_j), | ||
_a[MiskVersion.v011alpha05] = (_k = {}, | ||
_k[MiskPkg.cli] = " ", | ||
_a[MiskVersion.v011alpha06] = (_k = {}, | ||
_k[MiskPkg.cli] = "0.0.3", | ||
_k[MiskPkg.common] = "0.1.1-alpha-0.3", | ||
@@ -146,86 +152,86 @@ _k[MiskPkg.core] = "0.1.1-alpha-0.17", | ||
_k.date = "2018-12-6 ", | ||
_k.notes = "Revert changes in 0.1.1-alpha-0.4. Remove `noUnusedParameters` from tsconfig base in `@misk/dev`", | ||
_k.notes = "Initial CLI work.", | ||
_k), | ||
_a[MiskVersion.v011alpha04] = (_l = {}, | ||
_a[MiskVersion.v011alpha05] = (_l = {}, | ||
_l[MiskPkg.cli] = " ", | ||
_l[MiskPkg.common] = "0.1.1-alpha-0.3", | ||
_l[MiskPkg.core] = "0.1.1-alpha-0.14", | ||
_l[MiskPkg.dev] = "0.1.1-alpha-0.3", | ||
_l[MiskPkg.core] = "0.1.1-alpha-0.17", | ||
_l[MiskPkg.dev] = "0.1.1-alpha-0.4", | ||
_l[MiskPkg.tslint] = "0.1.1-alpha-0.1", | ||
_l.date = "2018-12-5 ", | ||
_l.notes = "[DEPRECATED]", | ||
_l.date = "2018-12-6 ", | ||
_l.notes = "Revert changes in 0.1.1-alpha-0.4. Remove `noUnusedParameters` from tsconfig base in `@misk/dev`", | ||
_l), | ||
_a[MiskVersion.v011alpha03] = (_m = {}, | ||
_a[MiskVersion.v011alpha04] = (_m = {}, | ||
_m[MiskPkg.cli] = " ", | ||
_m[MiskPkg.common] = "0.1.1-alpha-0.3", | ||
_m[MiskPkg.core] = "0.1.1-alpha-0.9", | ||
_m[MiskPkg.core] = "0.1.1-alpha-0.14", | ||
_m[MiskPkg.dev] = "0.1.1-alpha-0.3", | ||
_m[MiskPkg.tslint] = "0.1.1-alpha-0.1", | ||
_m.date = "2018-12-4 ", | ||
_m.notes = "SimpleNetwork Ducks with S", | ||
_m.date = "2018-12-5 ", | ||
_m.notes = "[DEPRECATED]", | ||
_m), | ||
_a[MiskVersion.v011alpha01] = (_o = {}, | ||
_a[MiskVersion.v011alpha03] = (_o = {}, | ||
_o[MiskPkg.cli] = " ", | ||
_o[MiskPkg.common] = "0.1.1-alpha-0.1", | ||
_o[MiskPkg.core] = "0.1.1-alpha-0.1", | ||
_o[MiskPkg.dev] = "0.1.1-alpha-0.2", | ||
_o[MiskPkg.common] = "0.1.1-alpha-0.3", | ||
_o[MiskPkg.core] = "0.1.1-alpha-0.9", | ||
_o[MiskPkg.dev] = "0.1.1-alpha-0.3", | ||
_o[MiskPkg.tslint] = "0.1.1-alpha-0.1", | ||
_o.date = "2018-11-30 ", | ||
_o.notes = "Rename @misk/core to @misk/core.", | ||
_o.date = "2018-12-4 ", | ||
_o.notes = "SimpleNetwork Ducks with S", | ||
_o), | ||
_a[MiskVersion.v010] = (_p = {}, | ||
_a[MiskVersion.v011alpha01] = (_p = {}, | ||
_p[MiskPkg.cli] = " ", | ||
_p[MiskPkg.common] = "0.1.0", | ||
_p[MiskPkg.core] = "0.1.0", | ||
_p[MiskPkg.dev] = "0.1.0", | ||
_p[MiskPkg.tslint] = "0.1.0", | ||
_p[MiskPkg.common] = "0.1.1-alpha-0.1", | ||
_p[MiskPkg.core] = "0.1.1-alpha-0.1", | ||
_p[MiskPkg.dev] = "0.1.1-alpha-0.2", | ||
_p[MiskPkg.tslint] = "0.1.1-alpha-0.1", | ||
_p.date = "2018-11-30 ", | ||
_p.notes = "Stable Release 0.1.0. Migrate from awesome-typescript-loader to ts-loader. Rename @misk/core to @misk/core.", | ||
_p.notes = "Rename @misk/core to @misk/core.", | ||
_p), | ||
_a[MiskVersion.v0012] = (_q = {}, | ||
_a[MiskVersion.v010] = (_q = {}, | ||
_q[MiskPkg.cli] = " ", | ||
_q[MiskPkg.common] = "0.1.0-alpha-0.6", | ||
_q[MiskPkg.core] = "0.1.0-alpha-0.16", | ||
_q[MiskPkg.dev] = "0.1.0-alpha-0.3", | ||
_q[MiskPkg.tslint] = "0.1.0-alpha-0.1", | ||
_q.date = "2018-11-29 ", | ||
_q.notes = "Added `reselect` l", | ||
_q[MiskPkg.common] = "0.1.0", | ||
_q[MiskPkg.core] = "0.1.0", | ||
_q[MiskPkg.dev] = "0.1.0", | ||
_q[MiskPkg.tslint] = "0.1.0", | ||
_q.date = "2018-11-30 ", | ||
_q.notes = "Stable Release 0.1.0. Migrate from awesome-typescript-loader to ts-loader. Rename @misk/core to @misk/core.", | ||
_q), | ||
_a[MiskVersion.v0011] = (_r = {}, | ||
_a[MiskVersion.v0012] = (_r = {}, | ||
_r[MiskPkg.cli] = " ", | ||
_r[MiskPkg.common] = "0.1.0-alpha-0.5", | ||
_r[MiskPkg.common] = "0.1.0-alpha-0.6", | ||
_r[MiskPkg.core] = "0.1.0-alpha-0.16", | ||
_r[MiskPkg.dev] = "0.1.0-alpha-0.2", | ||
_r[MiskPkg.dev] = "0.1.0-alpha-0.3", | ||
_r[MiskPkg.tslint] = "0.1.0-alpha-0.1", | ||
_r.date = "2018-11-28 ", | ||
_r.notes = "[DEPRECATED] Added `reselect` library.", | ||
_r.date = "2018-11-29 ", | ||
_r.notes = "Added `reselect` l", | ||
_r), | ||
_a[MiskVersion.v0010] = (_s = {}, | ||
_a[MiskVersion.v0011] = (_s = {}, | ||
_s[MiskPkg.cli] = " ", | ||
_s[MiskPkg.common] = "0.1.0-alpha-0.3", | ||
_s[MiskPkg.core] = "0.1.0-alpha-0.15", | ||
_s[MiskPkg.dev] = "0.1.0-alpha-0.1", | ||
_s[MiskPkg.common] = "0.1.0-alpha-0.5", | ||
_s[MiskPkg.core] = "0.1.0-alpha-0.16", | ||
_s[MiskPkg.dev] = "0.1.0-alpha-0.2", | ||
_s[MiskPkg.tslint] = "0.1.0-alpha-0.1", | ||
_s.date = "2018-11-27 ", | ||
_s.notes = "Robust ErrorCalloutComponent, async network r", | ||
_s.date = "2018-11-28 ", | ||
_s.notes = "[DEPRECATED] Added `reselect` library.", | ||
_s), | ||
_a[MiskVersion.v0009] = (_t = {}, | ||
_a[MiskVersion.v0010] = (_t = {}, | ||
_t[MiskPkg.cli] = " ", | ||
_t[MiskPkg.common] = "0.1.0-alpha-0.3", | ||
_t[MiskPkg.core] = "0.1.0-alpha-0.7", | ||
_t[MiskPkg.core] = "0.1.0-alpha-0.15", | ||
_t[MiskPkg.dev] = "0.1.0-alpha-0.1", | ||
_t[MiskPkg.tslint] = "0.1.0-alpha-0.1", | ||
_t.date = "2018-11-26 ", | ||
_t.notes = "Fixed refreshNodeModules command.", | ||
_t.date = "2018-11-27 ", | ||
_t.notes = "Robust ErrorCalloutComponent, async network r", | ||
_t), | ||
_a[MiskVersion.v0008] = (_u = {}, | ||
_a[MiskVersion.v0009] = (_u = {}, | ||
_u[MiskPkg.cli] = " ", | ||
_u[MiskPkg.common] = "0.0.70", | ||
_u[MiskPkg.core] = "0.0.90", | ||
_u[MiskPkg.dev] = "0.0.69", | ||
_u[MiskPkg.tslint] = "0.0.10", | ||
_u.date = "2018-11-20 ", | ||
_u.notes = "0.0.5 misk-web runtime. Large changes to Topbar Component, color Enum added with standard colors.", | ||
_u[MiskPkg.common] = "0.1.0-alpha-0.3", | ||
_u[MiskPkg.core] = "0.1.0-alpha-0.7", | ||
_u[MiskPkg.dev] = "0.1.0-alpha-0.1", | ||
_u[MiskPkg.tslint] = "0.1.0-alpha-0.1", | ||
_u.date = "2018-11-26 ", | ||
_u.notes = "Fixed refreshNodeModules command.", | ||
_u), | ||
_a[MiskVersion.v0007] = (_v = {}, | ||
_a[MiskVersion.v0008] = (_v = {}, | ||
_v[MiskPkg.cli] = " ", | ||
@@ -236,6 +242,6 @@ _v[MiskPkg.common] = "0.0.70", | ||
_v[MiskPkg.tslint] = "0.0.10", | ||
_v.date = "2018-11-19 ", | ||
_v.notes = "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors.", | ||
_v.date = "2018-11-20 ", | ||
_v.notes = "0.0.5 misk-web runtime. Large changes to Topbar Component, color Enum added with standard colors.", | ||
_v), | ||
_a[MiskVersion.v0006] = (_w = {}, | ||
_a[MiskVersion.v0007] = (_w = {}, | ||
_w[MiskPkg.cli] = " ", | ||
@@ -246,51 +252,60 @@ _w[MiskPkg.common] = "0.0.70", | ||
_w[MiskPkg.tslint] = "0.0.10", | ||
_w.date = "2018-11-16 ", | ||
_w.date = "2018-11-19 ", | ||
_w.notes = "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors.", | ||
_w), | ||
_a[MiskVersion.v0005] = (_x = {}, | ||
_a[MiskVersion.v0006] = (_x = {}, | ||
_x[MiskPkg.cli] = " ", | ||
_x[MiskPkg.common] = "0.0.61", | ||
_x[MiskPkg.core] = "0.0.79", | ||
_x[MiskPkg.dev] = "0.0.64", | ||
_x[MiskPkg.common] = "0.0.70", | ||
_x[MiskPkg.core] = "0.0.90", | ||
_x[MiskPkg.dev] = "0.0.69", | ||
_x[MiskPkg.tslint] = "0.0.10", | ||
_x.date = "2018-11-07 ", | ||
_x.notes = "Includes CSS to support all `@blueprintjs` packages.", | ||
_x.date = "2018-11-16 ", | ||
_x.notes = "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors.", | ||
_x), | ||
_a[MiskVersion.v0004] = (_y = {}, | ||
_a[MiskVersion.v0005] = (_y = {}, | ||
_y[MiskPkg.cli] = " ", | ||
_y[MiskPkg.common] = "0.0.60", | ||
_y[MiskPkg.core] = "0.0.76", | ||
_y[MiskPkg.dev] = "0.0.61", | ||
_y[MiskPkg.common] = "0.0.61", | ||
_y[MiskPkg.core] = "0.0.79", | ||
_y[MiskPkg.dev] = "0.0.64", | ||
_y[MiskPkg.tslint] = "0.0.10", | ||
_y.date = "2018-11-06 ", | ||
_y.notes = "Includes all `@blueprintjs` packages.", | ||
_y.date = "2018-11-07 ", | ||
_y.notes = "Includes CSS to support all `@blueprintjs` packages.", | ||
_y), | ||
_a[MiskVersion.v0003] = (_z = {}, | ||
_a[MiskVersion.v0004] = (_z = {}, | ||
_z[MiskPkg.cli] = " ", | ||
_z[MiskPkg.common] = "0.0.59", | ||
_z[MiskPkg.common] = "0.0.60", | ||
_z[MiskPkg.core] = "0.0.76", | ||
_z[MiskPkg.dev] = "0.0.60", | ||
_z[MiskPkg.dev] = "0.0.61", | ||
_z[MiskPkg.tslint] = "0.0.10", | ||
_z.date = "2018-11-05 ", | ||
_z.notes = "Assumes `node_modules` installed centrally in `web/node_modules`. This will involve updating `tsconfig.json` in each tab.", | ||
_z.date = "2018-11-06 ", | ||
_z.notes = "Includes all `@blueprintjs` packages.", | ||
_z), | ||
_a[MiskVersion.v0002] = (_0 = {}, | ||
_a[MiskVersion.v0003] = (_0 = {}, | ||
_0[MiskPkg.cli] = " ", | ||
_0[MiskPkg.common] = "0.0.55", | ||
_0[MiskPkg.core] = "0.0.71", | ||
_0[MiskPkg.dev] = "0.0.57", | ||
_0[MiskPkg.tslint] = "0.0.8", | ||
_0.date = "2018-11-02 ", | ||
_0.notes = "", | ||
_0[MiskPkg.common] = "0.0.59", | ||
_0[MiskPkg.core] = "0.0.76", | ||
_0[MiskPkg.dev] = "0.0.60", | ||
_0[MiskPkg.tslint] = "0.0.10", | ||
_0.date = "2018-11-05 ", | ||
_0.notes = "Assumes `node_modules` installed centrally in `web/node_modules`. This will involve updating `tsconfig.json` in each tab.", | ||
_0), | ||
_a[MiskVersion.v0001] = (_1 = {}, | ||
_a[MiskVersion.v0002] = (_1 = {}, | ||
_1[MiskPkg.cli] = " ", | ||
_1[MiskPkg.common] = "0.0.52", | ||
_1[MiskPkg.core] = "0.0.68", | ||
_1[MiskPkg.dev] = "0.0.46", | ||
_1[MiskPkg.tslint] = "0.0.7", | ||
_1.date = "2018-10-26 ", | ||
_1[MiskPkg.common] = "0.0.55", | ||
_1[MiskPkg.core] = "0.0.71", | ||
_1[MiskPkg.dev] = "0.0.57", | ||
_1[MiskPkg.tslint] = "0.0.8", | ||
_1.date = "2018-11-02 ", | ||
_1.notes = "", | ||
_1), | ||
_a[MiskVersion.v0001] = (_2 = {}, | ||
_2[MiskPkg.cli] = " ", | ||
_2[MiskPkg.common] = "0.0.52", | ||
_2[MiskPkg.core] = "0.0.68", | ||
_2[MiskPkg.dev] = "0.0.46", | ||
_2[MiskPkg.tslint] = "0.0.7", | ||
_2.date = "2018-10-26 ", | ||
_2.notes = "", | ||
_2), | ||
_a); | ||
//# sourceMappingURL=changelog.js.map |
@@ -8,2 +8,3 @@ "use strict"; | ||
var templates_1 = require("./templates"); | ||
var changelog_1 = require("./changelog"); | ||
exports.generateBuildFiles = function () { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
@@ -42,3 +43,3 @@ var pkg, miskTab; | ||
_a.sent(); | ||
console.log("[GENERATE] Up to date build files generated using Misk Web version " + miskTab.version); | ||
console.log("[GENERATE] Up to date build files generated using Misk Web version " + changelog_1.getVersion(miskTab.version)); | ||
return [2 /*return*/]; | ||
@@ -45,0 +46,0 @@ } |
@@ -40,3 +40,3 @@ "use strict"; | ||
case 0: | ||
console.log("[MIGRATE] Migrate if necessary old build files to new generated build files"); | ||
console.log("[MIGRATE] Verify valid build files or migrate old build files to new miskweb generated build files"); | ||
return [4 /*yield*/, fs.existsSync(utils_1.Files.package)]; | ||
@@ -49,3 +49,3 @@ case 1: | ||
if (pkg.name.startsWith("@misk/")) { | ||
throw Error("misk-web CLI should not be used on @misk/ packages which have custom build tools."); | ||
throw Error("miskweb CLI build file generation will not be done on @misk/ packages which have custom build tools."); | ||
} | ||
@@ -113,3 +113,3 @@ pkgMiskTab = pkg.miskTab ? pkg.miskTab : null; | ||
if (_d) { | ||
throw Error("[MIGRATE] No miskTab block found in existing package.json."); | ||
throw Error("[MIGRATE] No miskTab.json present and no miskTab block in existing package.json. miskweb CLI build file generation will not be attempted."); | ||
} | ||
@@ -116,0 +116,0 @@ _e.label = 17; |
{ | ||
"name": "@misk/cli", | ||
"version": "0.1.3-4", | ||
"version": "0.1.3-5", | ||
"license": "SEE LICENSE IN https://github.com/square/misk-web", | ||
@@ -31,4 +31,4 @@ "description": "Misk-Web CLI Build Tool", | ||
"devDependencies": { | ||
"@misk/dev": "^0.1.3-4", | ||
"@misk/tslint": "^0.1.3-4", | ||
"@misk/dev": "^0.1.3-5", | ||
"@misk/tslint": "^0.1.3-5", | ||
"@types/node": "^10.12.18", | ||
@@ -35,0 +35,0 @@ "prettier": "^1.15.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65663
1015