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.19 to 0.0.20

13

lib/web/@misk/cli/commands/build.js

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[BUILD]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script build'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[BUILD]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script build'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[CI-BUILD]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script ci-build'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[CI-BUILD]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script ci-build'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[CLEAN]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script clean'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[CLEAN]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script clean'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[LINT]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script lint'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[LINT]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script lint'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -12,9 +12,8 @@ "use strict";

case 0:
console.log("[PREBUILD] Migrate if necessary old build files to new generated build files");
console.log("[PREBUILD]");
return [4 /*yield*/, utils_1.migrate()];
case 1:
_a.sent();
console.log("[PREBUILD] Generate up to date build files");
console.log("[PREBUILD] Generating up to date build files");
utils_1.generateBuildFiles();
console.log("[PREBUILD] Necessary build files generated");
return [2 /*return*/];

@@ -21,0 +20,0 @@ }

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[START]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script start'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[START]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script start'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -11,6 +11,11 @@ "use strict";

return tslib_1.__generator(this, function (_a) {
console.log("[ZIP]");
commands_1.prebuild();
utils_1.runCmd("sh -c 'npm run-script zip'");
return [2 /*return*/];
switch (_a.label) {
case 0:
console.log("[ZIP]");
return [4 /*yield*/, commands_1.prebuild()];
case 1:
_a.sent();
utils_1.runCmd("sh -c 'npm run-script zip'");
return [2 /*return*/];
}
});

@@ -17,0 +22,0 @@ });

@@ -37,4 +37,3 @@ "use strict";

try {
var result = child_process_1.execSync(cmd, { stdio: "inherit", encoding: "utf-8" });
console.log(result);
child_process_1.execSync(cmd, { stdio: "inherit", encoding: "utf-8" });
}

@@ -41,0 +40,0 @@ catch (e) {

@@ -39,3 +39,5 @@ "use strict";

switch (_e.label) {
case 0: return [4 /*yield*/, fs.existsSync(utils_1.Files.package)];
case 0:
console.log("[MIGRATE] Migrate if necessary old build files to new generated build files");
return [4 /*yield*/, fs.existsSync(utils_1.Files.package)];
case 1:

@@ -42,0 +44,0 @@ if (!_e.sent()) return [3 /*break*/, 3];

{
"name": "@misk/cli",
"version": "0.0.19",
"version": "0.0.20",
"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

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