Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
This package includes a tool that can compile MakeCode (PXT) projects by downloading parts of a released MakeCode web app and running them in node.js.
This is different than pxt
command line tool, which is used primarily during
development of MakeCode editors.
Make sure to install node.js.
To install globally, run
npm install -g makecode
To update the client,
npm install -u -g makecode
In a folder with pxt.json
file, run:
> makecode
You can also pass --hw f4
, --hw d5
etc. Try --hw help
to get a list.
Use makecode -j
to build JavaScript (it defaults to native).
The tool is configured with optional mkc.json
file. Example:
{
"targetWebsite": "https://arcade.makecode.com/beta",
"hwVariant": "samd51",
"links": {
"jacdac": "../../pxt-jacdac"
},
"overrides": {
"testDependencies": {}
}
}
All fields are optional.
pxt.json
;
you can point this to a live or beta version of the editor, as well as to a specific version (including SHA-indexed uploads
generated during PXT target builds)--hw help
command line option to list variantspxt.json
You can use --config-path
to build for a different configuration, eg. makecode -c mkc-arcade.json
.
This section describes how to build mkc itself.
yarn install
yarn watch
node path/to/pxt-mkc/makecode
in your project folderIf you want to test out changes in pxt, first run the build as usual, and then replace
$HOME/.pxt/mkc-cache/https_58__47__47_<your-editor>-pxtworker.js
with pxt/built/web/pxtworker.js
.
Make sure to run makecode
tool without the -u
option.
A new release will be automatically generated by the build system based on these commit naming guidelines.
shims.d.ts
/enums.d.ts
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
FAQs
MakeCode (PXT) - web-cached build tool
The npm package makecode receives a total of 7 weekly downloads. As such, makecode popularity was classified as not popular.
We found that makecode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.