Socket
Socket
Sign inDemoInstall

@misk/cli

Package Overview
Dependencies
Maintainers
2
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@misk/cli - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

40

lib/web/@misk/cli/utils/changelog.d.ts
export declare enum MiskVersion {
"v0_1_1_alpha_0_5" = "0.1.1-alpha-0.5"
"latest" = "0.1.1",
"alpha" = "0.1.2-alpha-0.1",
"v012alpha01" = "0.1.2-alpha-0.1",
"v011" = "0.1.1",
"v011alpha06" = "0.1.1-alpha-0.6",
"v011alpha05" = "0.1.1-alpha-0.5",
"v011alpha04" = "0.1.1-alpha-0.4",
"v011alpha03" = "0.1.1-alpha-0.3",
"v011alpha01" = "0.1.1-alpha-0.1",
"v010" = "0.1.0",
"v0012" = "0.0.12",
"v0011" = "0.0.11",
"v0010" = "0.0.10",
"v0009" = "0.0.09",
"v0008" = "0.0.08",
"v0007" = "0.0.07",
"v0006" = "0.0.06",
"v0005" = "0.0.05",
"v0004" = "0.0.04",
"v0003" = "0.0.03",
"v0002" = "0.0.02",
"v0001" = "0.0.01"
}
export declare enum MiskPkg {
"cli" = "@misk/cli",
"common" = "@misk/common",
"core" = "@misk/core",
"dev" = "@misk/dev",
"tslint" = "@misk/tslint"
}
export interface IMiskTabVersion {
date: string;
"@misk/cli": string;
"@misk/common": string;
"@misk/core": string;
"@misk/dev": string;
"@misk/tslint": string;
[MiskPkg.cli]: string;
[MiskPkg.common]: string;
[MiskPkg.core]: string;
[MiskPkg.dev]: string;
[MiskPkg.tslint]: string;
notes?: string;

@@ -12,0 +40,0 @@ }

416

lib/web/@misk/cli/utils/changelog.js
"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;
var MiskVersion;
(function (MiskVersion) {
MiskVersion["v0_1_1_alpha_0_5"] = "0.1.1-alpha-0.5";
MiskVersion["latest"] = "0.1.1";
MiskVersion["alpha"] = "0.1.2-alpha-0.1";
MiskVersion["v012alpha01"] = "0.1.2-alpha-0.1";
MiskVersion["v011"] = "0.1.1";
MiskVersion["v011alpha06"] = "0.1.1-alpha-0.6";
MiskVersion["v011alpha05"] = "0.1.1-alpha-0.5";
MiskVersion["v011alpha04"] = "0.1.1-alpha-0.4";
MiskVersion["v011alpha03"] = "0.1.1-alpha-0.3";
MiskVersion["v011alpha01"] = "0.1.1-alpha-0.1";
MiskVersion["v010"] = "0.1.0";
MiskVersion["v0012"] = "0.0.12";
MiskVersion["v0011"] = "0.0.11";
MiskVersion["v0010"] = "0.0.10";
MiskVersion["v0009"] = "0.0.09";
MiskVersion["v0008"] = "0.0.08";
MiskVersion["v0007"] = "0.0.07";
MiskVersion["v0006"] = "0.0.06";
MiskVersion["v0005"] = "0.0.05";
MiskVersion["v0004"] = "0.0.04";
MiskVersion["v0003"] = "0.0.03";
MiskVersion["v0002"] = "0.0.02";
MiskVersion["v0001"] = "0.0.01";
})(MiskVersion = exports.MiskVersion || (exports.MiskVersion = {}));
// const MiskTabVersionTemplate: IMiskTabVersions = {
// "0.1.1-alpha-*": {
// "@misk/cli": "0.0.*",
// "@misk/common": "0.1.1-*",
// "@misk/core": "0.1.1-*",
// "@misk/dev": "0.1.1-*",
// "@misk/tslint": "0.1.1-*",
// date: "2018-12-* ",
// notes: "Alpha"
// }
// }
exports.MiskTabVersions = {
latest: {
"@misk/cli": "0.0.5",
"@misk/common": "0.1.1",
"@misk/core": "0.1.1",
"@misk/dev": "0.1.1",
"@misk/tslint": "0.1.1",
date: "2018-12-7",
notes: "Stable release before CLI adoption."
},
"0.1.2-alpha-0.1": {
"@misk/cli": "0.0.5",
"@misk/common": "0.1.1",
"@misk/core": "0.1.1",
"@misk/dev": "0.1.1",
"@misk/tslint": "0.1.1",
date: "2018-12-7 ",
notes: "CLI adoption."
},
"0.1.1": {
"@misk/cli": "0.0.5",
"@misk/common": "0.1.1",
"@misk/core": "0.1.1",
"@misk/dev": "0.1.1",
"@misk/tslint": "0.1.1",
date: "2018-12-7 ",
notes: "Stable release before CLI adoption."
},
"0.1.1-alpha-0.6": {
"@misk/cli": "0.0.3",
"@misk/common": "0.1.1-alpha-0.3",
"@misk/core": "0.1.1-alpha-0.17",
"@misk/dev": "0.1.1-alpha-0.4",
"@misk/tslint": "0.1.1-alpha-0.1",
date: "2018-12-6 ",
notes: "Initial CLI work."
},
"0.1.1-alpha-0.5": {
"@misk/cli": " ",
"@misk/common": "0.1.1-alpha-0.3",
"@misk/core": "0.1.1-alpha-0.17",
"@misk/dev": "0.1.1-alpha-0.4",
"@misk/tslint": "0.1.1-alpha-0.1",
date: "2018-12-6 ",
notes: "Revert changes in 0.1.1-alpha-0.4. Remove `noUnusedParameters` from tsconfig base in `@misk/dev`"
},
"0.1.1-alpha-0.4": {
"@misk/cli": " ",
"@misk/common": "0.1.1-alpha-0.3",
"@misk/core": "0.1.1-alpha-0.14",
"@misk/dev": "0.1.1-alpha-0.3",
"@misk/tslint": "0.1.1-alpha-0.1",
date: "2018-12-5 ",
notes: "[DEPRECATED] D"
},
"0.1.1-alpha-0.3": {
"@misk/cli": " ",
"@misk/common": "0.1.1-alpha-0.3",
"@misk/core": "0.1.1-alpha-0.9",
"@misk/dev": "0.1.1-alpha-0.3",
"@misk/tslint": "0.1.1-alpha-0.1",
date: "2018-12-4 ",
notes: "SimpleNetwork Ducks with S"
},
"0.1.1-alpha-0.1": {
"@misk/cli": " ",
"@misk/common": "0.1.1-alpha-0.1",
"@misk/core": "0.1.1-alpha-0.1",
"@misk/dev": "0.1.1-alpha-0.2",
"@misk/tslint": "0.1.1-alpha-0.1",
date: "2018-11-30 ",
notes: "Rename @misk/core to @misk/core."
},
"0.1.0": {
"@misk/cli": " ",
"@misk/common": "0.1.0",
"@misk/core": "0.1.0",
"@misk/dev": "0.1.0",
"@misk/tslint": "0.1.0",
date: "2018-11-30 ",
notes: "Stable Release 0.1.0. Migrate from awesome-typescript-loader to ts-loader. Rename @misk/core to @misk/core."
},
"0.0.12": {
"@misk/cli": " ",
"@misk/common": "0.1.0-alpha-0.6",
"@misk/core": "0.1.0-alpha-0.16",
"@misk/dev": "0.1.0-alpha-0.3",
"@misk/tslint": "0.1.0-alpha-0.1",
date: "2018-11-29 ",
notes: "Added `reselect` l"
},
"0.0.11": {
"@misk/cli": " ",
"@misk/common": "0.1.0-alpha-0.5",
"@misk/core": "0.1.0-alpha-0.16",
"@misk/dev": "0.1.0-alpha-0.2",
"@misk/tslint": "0.1.0-alpha-0.1",
date: "2018-11-28 ",
notes: "[DEPRECATED] Added `reselect` library."
},
"0.0.10": {
"@misk/cli": " ",
"@misk/common": "0.1.0-alpha-0.3",
"@misk/core": "0.1.0-alpha-0.15",
"@misk/dev": "0.1.0-alpha-0.1",
"@misk/tslint": "0.1.0-alpha-0.1",
date: "2018-11-27 ",
notes: "Robust ErrorCalloutComponent, async network r"
},
"0.0.9": {
"@misk/cli": " ",
"@misk/common": "0.1.0-alpha-0.3",
"@misk/core": "0.1.0-alpha-0.7",
"@misk/dev": "0.1.0-alpha-0.1",
"@misk/tslint": "0.1.0-alpha-0.1",
date: "2018-11-26 ",
notes: "Fixed refreshNodeModules command."
},
"0.0.8": {
"@misk/cli": " ",
"@misk/common": "0.0.70",
"@misk/core": "0.0.90",
"@misk/dev": "0.0.69",
"@misk/tslint": "0.0.10",
date: "2018-11-20 ",
notes: "0.0.5 misk-web runtime. Large changes to Topbar Component, color Enum added with standard colors."
},
"0.0.7": {
"@misk/cli": " ",
"@misk/common": "0.0.70",
"@misk/core": "0.0.90",
"@misk/dev": "0.0.69",
"@misk/tslint": "0.0.10",
date: "2018-11-19 ",
notes: "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors."
},
"0.0.6": {
"@misk/cli": " ",
"@misk/common": "0.0.70",
"@misk/core": "0.0.90",
"@misk/dev": "0.0.69",
"@misk/tslint": "0.0.10",
date: "2018-11-16 ",
notes: "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors."
},
"0.0.5": {
"@misk/cli": " ",
"@misk/common": "0.0.61",
"@misk/core": "0.0.79",
"@misk/dev": "0.0.64",
"@misk/tslint": "0.0.10",
date: "2018-11-07 ",
notes: "Includes CSS to support all `@blueprintjs` packages."
},
"0.0.4": {
"@misk/cli": " ",
"@misk/common": "0.0.60",
"@misk/core": "0.0.76",
"@misk/dev": "0.0.61",
"@misk/tslint": "0.0.10",
date: "2018-11-06 ",
notes: "Includes all `@blueprintjs` packages."
},
"0.0.3": {
"@misk/cli": " ",
"@misk/common": "0.0.59",
"@misk/core": "0.0.76",
"@misk/dev": "0.0.60",
"@misk/tslint": "0.0.10",
date: "2018-11-05 ",
notes: "Assumes `node_modules` installed centrally in `web/node_modules`. This will involve updating `tsconfig.json` in each tab."
},
"0.0.2": {
"@misk/cli": " ",
"@misk/common": "0.0.55",
"@misk/core": "0.0.71",
"@misk/dev": "0.0.57",
"@misk/tslint": "0.0.8",
date: "2018-11-02 ",
notes: ""
},
"0.0.1": {
"@misk/cli": " ",
"@misk/common": "0.0.52",
"@misk/core": "0.0.68",
"@misk/dev": "0.0.46",
"@misk/tslint": "0.0.7",
date: "2018-10-26 ",
notes: ""
}
};
var MiskPkg;
(function (MiskPkg) {
MiskPkg["cli"] = "@misk/cli";
MiskPkg["common"] = "@misk/common";
MiskPkg["core"] = "@misk/core";
MiskPkg["dev"] = "@misk/dev";
MiskPkg["tslint"] = "@misk/tslint";
})(MiskPkg = exports.MiskPkg || (exports.MiskPkg = {}));
exports.MiskTabVersions = (_a = {},
_a[MiskVersion.v012alpha01] = (_b = {},
_b[MiskPkg.cli] = "0.0.5",
_b[MiskPkg.common] = "0.1.1",
_b[MiskPkg.core] = "0.1.1",
_b[MiskPkg.dev] = "0.1.1",
_b[MiskPkg.tslint] = "0.1.1",
_b.date = "2018-12-7 ",
_b.notes = "CLI adoption.",
_b),
_a[MiskVersion.v011] = (_c = {},
_c[MiskPkg.cli] = "0.0.5",
_c[MiskPkg.common] = "0.1.1",
_c[MiskPkg.core] = "0.1.1",
_c[MiskPkg.dev] = "0.1.1",
_c[MiskPkg.tslint] = "0.1.1",
_c.date = "2018-12-7 ",
_c.notes = "Stable release before CLI adoption.",
_c),
_a[MiskVersion.v011alpha06] = (_d = {},
_d[MiskPkg.cli] = "0.0.3",
_d[MiskPkg.common] = "0.1.1-alpha-0.3",
_d[MiskPkg.core] = "0.1.1-alpha-0.17",
_d[MiskPkg.dev] = "0.1.1-alpha-0.4",
_d[MiskPkg.tslint] = "0.1.1-alpha-0.1",
_d.date = "2018-12-6 ",
_d.notes = "Initial CLI work.",
_d),
_a[MiskVersion.v011alpha05] = (_e = {},
_e[MiskPkg.cli] = " ",
_e[MiskPkg.common] = "0.1.1-alpha-0.3",
_e[MiskPkg.core] = "0.1.1-alpha-0.17",
_e[MiskPkg.dev] = "0.1.1-alpha-0.4",
_e[MiskPkg.tslint] = "0.1.1-alpha-0.1",
_e.date = "2018-12-6 ",
_e.notes = "Revert changes in 0.1.1-alpha-0.4. Remove `noUnusedParameters` from tsconfig base in `@misk/dev`",
_e),
_a[MiskVersion.v011alpha04] = (_f = {},
_f[MiskPkg.cli] = " ",
_f[MiskPkg.common] = "0.1.1-alpha-0.3",
_f[MiskPkg.core] = "0.1.1-alpha-0.14",
_f[MiskPkg.dev] = "0.1.1-alpha-0.3",
_f[MiskPkg.tslint] = "0.1.1-alpha-0.1",
_f.date = "2018-12-5 ",
_f.notes = "[DEPRECATED]",
_f),
_a[MiskVersion.v011alpha03] = (_g = {},
_g[MiskPkg.cli] = " ",
_g[MiskPkg.common] = "0.1.1-alpha-0.3",
_g[MiskPkg.core] = "0.1.1-alpha-0.9",
_g[MiskPkg.dev] = "0.1.1-alpha-0.3",
_g[MiskPkg.tslint] = "0.1.1-alpha-0.1",
_g.date = "2018-12-4 ",
_g.notes = "SimpleNetwork Ducks with S",
_g),
_a[MiskVersion.v011alpha01] = (_h = {},
_h[MiskPkg.cli] = " ",
_h[MiskPkg.common] = "0.1.1-alpha-0.1",
_h[MiskPkg.core] = "0.1.1-alpha-0.1",
_h[MiskPkg.dev] = "0.1.1-alpha-0.2",
_h[MiskPkg.tslint] = "0.1.1-alpha-0.1",
_h.date = "2018-11-30 ",
_h.notes = "Rename @misk/core to @misk/core.",
_h),
_a[MiskVersion.v010] = (_j = {},
_j[MiskPkg.cli] = " ",
_j[MiskPkg.common] = "0.1.0",
_j[MiskPkg.core] = "0.1.0",
_j[MiskPkg.dev] = "0.1.0",
_j[MiskPkg.tslint] = "0.1.0",
_j.date = "2018-11-30 ",
_j.notes = "Stable Release 0.1.0. Migrate from awesome-typescript-loader to ts-loader. Rename @misk/core to @misk/core.",
_j),
_a[MiskVersion.v0012] = (_k = {},
_k[MiskPkg.cli] = " ",
_k[MiskPkg.common] = "0.1.0-alpha-0.6",
_k[MiskPkg.core] = "0.1.0-alpha-0.16",
_k[MiskPkg.dev] = "0.1.0-alpha-0.3",
_k[MiskPkg.tslint] = "0.1.0-alpha-0.1",
_k.date = "2018-11-29 ",
_k.notes = "Added `reselect` l",
_k),
_a[MiskVersion.v0011] = (_l = {},
_l[MiskPkg.cli] = " ",
_l[MiskPkg.common] = "0.1.0-alpha-0.5",
_l[MiskPkg.core] = "0.1.0-alpha-0.16",
_l[MiskPkg.dev] = "0.1.0-alpha-0.2",
_l[MiskPkg.tslint] = "0.1.0-alpha-0.1",
_l.date = "2018-11-28 ",
_l.notes = "[DEPRECATED] Added `reselect` library.",
_l),
_a[MiskVersion.v0010] = (_m = {},
_m[MiskPkg.cli] = " ",
_m[MiskPkg.common] = "0.1.0-alpha-0.3",
_m[MiskPkg.core] = "0.1.0-alpha-0.15",
_m[MiskPkg.dev] = "0.1.0-alpha-0.1",
_m[MiskPkg.tslint] = "0.1.0-alpha-0.1",
_m.date = "2018-11-27 ",
_m.notes = "Robust ErrorCalloutComponent, async network r",
_m),
_a[MiskVersion.v0009] = (_o = {},
_o[MiskPkg.cli] = " ",
_o[MiskPkg.common] = "0.1.0-alpha-0.3",
_o[MiskPkg.core] = "0.1.0-alpha-0.7",
_o[MiskPkg.dev] = "0.1.0-alpha-0.1",
_o[MiskPkg.tslint] = "0.1.0-alpha-0.1",
_o.date = "2018-11-26 ",
_o.notes = "Fixed refreshNodeModules command.",
_o),
_a[MiskVersion.v0008] = (_p = {},
_p[MiskPkg.cli] = " ",
_p[MiskPkg.common] = "0.0.70",
_p[MiskPkg.core] = "0.0.90",
_p[MiskPkg.dev] = "0.0.69",
_p[MiskPkg.tslint] = "0.0.10",
_p.date = "2018-11-20 ",
_p.notes = "0.0.5 misk-web runtime. Large changes to Topbar Component, color Enum added with standard colors.",
_p),
_a[MiskVersion.v0007] = (_q = {},
_q[MiskPkg.cli] = " ",
_q[MiskPkg.common] = "0.0.70",
_q[MiskPkg.core] = "0.0.90",
_q[MiskPkg.dev] = "0.0.69",
_q[MiskPkg.tslint] = "0.0.10",
_q.date = "2018-11-19 ",
_q.notes = "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors.",
_q),
_a[MiskVersion.v0006] = (_r = {},
_r[MiskPkg.cli] = " ",
_r[MiskPkg.common] = "0.0.70",
_r[MiskPkg.core] = "0.0.90",
_r[MiskPkg.dev] = "0.0.69",
_r[MiskPkg.tslint] = "0.0.10",
_r.date = "2018-11-16 ",
_r.notes = "[DEPRECATED] Large changes to Topbar Component, color Enum added with standard colors.",
_r),
_a[MiskVersion.v0005] = (_s = {},
_s[MiskPkg.cli] = " ",
_s[MiskPkg.common] = "0.0.61",
_s[MiskPkg.core] = "0.0.79",
_s[MiskPkg.dev] = "0.0.64",
_s[MiskPkg.tslint] = "0.0.10",
_s.date = "2018-11-07 ",
_s.notes = "Includes CSS to support all `@blueprintjs` packages.",
_s),
_a[MiskVersion.v0004] = (_t = {},
_t[MiskPkg.cli] = " ",
_t[MiskPkg.common] = "0.0.60",
_t[MiskPkg.core] = "0.0.76",
_t[MiskPkg.dev] = "0.0.61",
_t[MiskPkg.tslint] = "0.0.10",
_t.date = "2018-11-06 ",
_t.notes = "Includes all `@blueprintjs` packages.",
_t),
_a[MiskVersion.v0003] = (_u = {},
_u[MiskPkg.cli] = " ",
_u[MiskPkg.common] = "0.0.59",
_u[MiskPkg.core] = "0.0.76",
_u[MiskPkg.dev] = "0.0.60",
_u[MiskPkg.tslint] = "0.0.10",
_u.date = "2018-11-05 ",
_u.notes = "Assumes `node_modules` installed centrally in `web/node_modules`. This will involve updating `tsconfig.json` in each tab.",
_u),
_a[MiskVersion.v0002] = (_v = {},
_v[MiskPkg.cli] = " ",
_v[MiskPkg.common] = "0.0.55",
_v[MiskPkg.core] = "0.0.71",
_v[MiskPkg.dev] = "0.0.57",
_v[MiskPkg.tslint] = "0.0.8",
_v.date = "2018-11-02 ",
_v.notes = "",
_v),
_a[MiskVersion.v0001] = (_w = {},
_w[MiskPkg.cli] = " ",
_w[MiskPkg.common] = "0.0.52",
_w[MiskPkg.core] = "0.0.68",
_w[MiskPkg.dev] = "0.0.46",
_w[MiskPkg.tslint] = "0.0.7",
_w.date = "2018-10-26 ",
_w.notes = "",
_w),
_a);
//# sourceMappingURL=changelog.js.map

@@ -22,4 +22,4 @@ "use strict";

fs.writeFile(utils_1.Files.gitignore, templates_1.gitignore);
fs.writeJson(utils_1.Files.package, templates_1.createPackage(miskTab.slug, miskTab.zipOnBuild, pkg), utils_1.JsonOptions);
fs.writeJson(utils_1.Files.tsconfig, templates_1.createTsconfig(miskTab.outDir ? miskTab.outDir : "lib/web/_tab/" + miskTab.slug), utils_1.JsonOptions);
fs.writeJson(utils_1.Files.package, templates_1.createPackage(miskTab, pkg), utils_1.JsonOptions);
fs.writeJson(utils_1.Files.tsconfig, templates_1.createTsconfig(miskTab), utils_1.JsonOptions);
fs.writeJson(utils_1.Files.tslint, templates_1.tslint, utils_1.JsonOptions);

@@ -26,0 +26,0 @@ fs.writeFile(utils_1.Files.webpack, templates_1.webpack);

@@ -0,1 +1,2 @@

import { MiskVersion } from "./changelog";
export * from "./changelog";

@@ -6,7 +7,8 @@ export * from "./generate";

name: string;
outDir: string;
output_path: string;
port: number;
relative_path_prefix: string;
slug: string;
version: string;
tsconfigCompilerOptions: any;
version: MiskVersion;
zipOnBuild: boolean;

@@ -13,0 +15,0 @@ }

@@ -10,4 +10,5 @@ "use strict";

var utils_1 = require("../utils");
var changelog_1 = require("./changelog");
exports.migrate = function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {
var pkgMiskTab, pkg, _a, _b, _c, _d;
var pkgMiskTab, pkg, _a, _b, _c, normalizedMiskTab, _d;
return tslib_1.__generator(this, function (_e) {

@@ -60,4 +61,4 @@ switch (_e.label) {

if (!_c) return [3 /*break*/, 21];
// TODO Add type enforcement that it is valid IMiskTabJSON
fs.writeJson(utils_1.Files.miskTab, pkgMiskTab, utils_1.JsonOptions);
normalizedMiskTab = tslib_1.__assign({ output_path: "lib/web/_tab/" + pkgMiskTab.slug, port: 4242, version: changelog_1.MiskVersion.latest }, pkgMiskTab);
fs.writeJson(utils_1.Files.miskTab, normalizedMiskTab, utils_1.JsonOptions);
// move all build files to an .old-build-files folder

@@ -64,0 +65,0 @@ console.log("[MIGRATE] Stashing old build files in ./" + utils_1.Files.old);

@@ -1,2 +0,3 @@

export declare const createPackage: (slug: string, zipOnBuild: boolean, pkg: any) => {
import { IMiskTabJSON } from "../../utils";
export declare const createPackage: (miskTab: IMiskTabJSON, pkg: any) => {
generated: string;

@@ -3,0 +4,0 @@ prettier: {

@@ -10,3 +10,3 @@ "use strict";

};
var scripts = function (slug, zipOnBuild) { return ({
var scripts = function (miskTab) { return ({
engines: {

@@ -16,3 +16,3 @@ yarn: "YARN NO LONGER USED - use npm instead."

scripts: {
build: zipOnBuild
build: miskTab.zipOnBuild
? "npm run-script ci-build && npm run-script zip"

@@ -28,15 +28,12 @@ : "npm run-script ci-build",

test: "echo no test",
zip: "tar --exclude='.DS_Store' --exclude='.old_build_files' --exclude='demo' --exclude='lib' --exclude='node_modules' --exclude='package-lock.json' --exclude='" + slug + ".tgz' -czvf " + slug + ".tgz ./lib/"
zip: "tar --exclude='.DS_Store' --exclude='.old_build_files' --exclude='demo' --exclude='lib' --exclude='node_modules' --exclude='package-lock.json' --exclude='" + miskTab.slug + ".tgz' -czvf " + miskTab.slug + ".tgz ./"
}
}); };
var dependencies = function (pkg) { return ({
dependencies: tslib_1.__assign({}, pkg.dependencies, { "@misk/common": "^" + utils_1.MiskTabVersions.latest["@misk/common"], "@misk/core": "^" + utils_1.MiskTabVersions.latest["@misk/core"] })
var dependencies = function (miskTab, pkg) { return ({
dependencies: tslib_1.__assign({}, pkg.dependencies, { "@misk/common": "^" + utils_1.MiskTabVersions[miskTab.version]["@misk/common"], "@misk/core": "^" + utils_1.MiskTabVersions[miskTab.version]["@misk/core"] })
}); };
var devDependencies = function (pkg) { return ({
devDependencies: tslib_1.__assign({}, pkg.devDependencies, { "@misk/dev": "^" + utils_1.MiskTabVersions.latest["@misk/dev"], "@misk/tslint": "^" + utils_1.MiskTabVersions.latest["@misk/tslint"] })
var devDependencies = function (miskTab, pkg) { return ({
devDependencies: tslib_1.__assign({}, pkg.devDependencies, { "@misk/dev": "^" + utils_1.MiskTabVersions[miskTab.version]["@misk/dev"], "@misk/tslint": "^" + utils_1.MiskTabVersions[miskTab.version]["@misk/tslint"] })
}); };
exports.createPackage = function (slug, zipOnBuild, pkg) {
if (zipOnBuild === void 0) { zipOnBuild = false; }
return (tslib_1.__assign({ name: "misk-web-tab-" + slug, version: pkg.version }, header, scripts(slug, zipOnBuild), dependencies(pkg), devDependencies(pkg), templates_1.prettier, { generated: templates_1.generatedByCLI }));
};
exports.createPackage = function (miskTab, pkg) { return (tslib_1.__assign({ name: "misk-web-tab-" + miskTab.slug, version: pkg.version }, header, scripts(miskTab), dependencies(miskTab, pkg), devDependencies(miskTab, pkg), templates_1.prettier, { generated: templates_1.generatedByCLI })); };
//# sourceMappingURL=package.js.map

@@ -1,27 +0,5 @@

export declare const createTsconfig: (output_path: string, otherCompilerOptions?: object) => {
import { IMiskTabJSON } from "../index";
export declare const createTsconfig: (miskTab: IMiskTabJSON) => {
compileOnSave: boolean;
compilerOptions: {
allowSyntheticDefaultImports: boolean;
baseUrl: string;
declaration: boolean;
esModuleInterop: boolean;
experimentalDecorators: boolean;
importHelpers: boolean;
jsx: string;
lib: string[];
module: string;
moduleResolution: string;
noFallthroughCasesInSwitch: boolean;
noImplicitAny: boolean;
noImplicitReturns: boolean;
noUnusedLocals: boolean;
outDir: string;
pretty: boolean;
removeComments: boolean;
sourceMap: boolean;
stripInternal: boolean;
target: string;
typeRoots: string[];
types: string[];
};
compilerOptions: any;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
exports.createTsconfig = function (output_path, otherCompilerOptions) {
if (otherCompilerOptions === void 0) { otherCompilerOptions = {}; }
return ({
compileOnSave: true,
compilerOptions: tslib_1.__assign({ allowSyntheticDefaultImports: true, baseUrl: ".", declaration: true, esModuleInterop: true, experimentalDecorators: true, importHelpers: true, jsx: "react", lib: [
"dom",
"dom.iterable",
"es5",
"es2015.collection",
"es2015.iterable",
"es6",
"es2017"
], module: "commonjs", moduleResolution: "node", noFallthroughCasesInSwitch: true, noImplicitAny: true, noImplicitReturns: true, noUnusedLocals: true, outDir: output_path, pretty: true, removeComments: false, sourceMap: true, stripInternal: true, target: "es5", typeRoots: ["../node_modules/@types"], types: ["node"] }, otherCompilerOptions)
});
};
exports.createTsconfig = function (miskTab) { return ({
compileOnSave: true,
compilerOptions: tslib_1.__assign({ allowSyntheticDefaultImports: true, baseUrl: ".", declaration: true, esModuleInterop: true, experimentalDecorators: true, importHelpers: true, jsx: "react", lib: [
"dom",
"dom.iterable",
"es5",
"es2015.collection",
"es2015.iterable",
"es6",
"es2017"
], module: "commonjs", moduleResolution: "node", noFallthroughCasesInSwitch: true, noImplicitAny: true, noImplicitReturns: true, noUnusedLocals: true, outDir: miskTab.output_path, pretty: true, removeComments: false, sourceMap: true, stripInternal: true, target: "es5", typeRoots: ["../node_modules/@types"], types: ["node"] }, miskTab.tsconfigCompilerOptions)
}); };
//# sourceMappingURL=tsconfig.js.map
{
"name": "@misk/cli",
"version": "0.0.16",
"version": "0.0.17",
"license": "SEE LICENSE IN https://github.com/square/misk-web",

@@ -5,0 +5,0 @@ "description": "Misk-Web CLI Build Tool",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc