Socket
Socket
Sign inDemoInstall

makecode

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makecode - npm Package Compare versions

Comparing version 0.8.3 to 0.9.0

29

built/cli.js

@@ -20,2 +20,3 @@ "use strict";

const chalk = require("chalk");
const glob_1 = require("glob");
function downloadProjectAsync(id) {

@@ -86,3 +87,3 @@ return __awaiter(this, void 0, void 0, function* () {

.parse(process.argv);
const opts = commander_1.program;
const opts = commander_1.program.opts();
if (opts.noColors)

@@ -169,16 +170,16 @@ chalk.level = 0;

if (success && opts.monoRepo) {
for (const dir of fs.readdirSync(prj.directory)) {
const fulldir = path.join(prj.directory, dir);
if (fs.existsSync(path.join(fulldir, "pxt.json"))) {
info("build subfolder: " + fulldir);
const prj0 = prj.mkChildProject(fulldir);
const cfg = yield prj0.readPxtConfig();
if (cfg.supportedTargets && cfg.supportedTargets.indexOf(targetId) < 0) {
info(`skipping due to supportedTargets`);
continue;
}
const ok = yield buildOnePrj(opts, prj0);
if (!ok)
success = false;
const dirs = glob_1.glob.sync("**/pxt.json");
info(`mono-repo: building ${dirs.length} projects`);
for (const fullpxtjson of dirs) {
const fulldir = path.dirname(fullpxtjson);
info(`build ${fulldir}`);
const prj0 = prj.mkChildProject(fulldir);
const cfg = yield prj0.readPxtConfig();
if (cfg.supportedTargets && cfg.supportedTargets.indexOf(targetId) < 0) {
info(`skipping due to supportedTargets`);
continue;
}
const ok = yield buildOnePrj(opts, prj0);
if (!ok)
success = false;
}

@@ -185,0 +186,0 @@ }

{
"name": "makecode",
"version": "0.8.3",
"version": "0.9.0",
"description": "MakeCode (PXT) - web-cached build tool",

@@ -41,12 +41,14 @@ "keywords": [

"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.0.9",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/node": "^12.7.5",
"semantic-release": "^17.3.0",
"typescript": "^4.1.3"
"@semantic-release/github": "^7.2.1",
"@semantic-release/npm": "^7.1.1",
"@semantic-release/release-notes-generator": "^9.0.2",
"@types/node": "^14.14.37",
"semantic-release": "^17.4.2",
"typescript": "^4.2.4"
},
"dependencies": {
"@types/glob": "^7.1.3",
"chalk": "^4.1.0",
"commander": "^5.1.0"
"commander": "^7.2.0",
"glob": "^7.1.6"
},

@@ -53,0 +55,0 @@ "release": {

@@ -11,2 +11,4 @@ # MKC - command line tool for MakeCode editors

Make sure to install [node.js](https://nodejs.org/).
To install globally, run

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

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