Skip to content
forked from microsoft/pxt

Fork of PXT (underlying MakeCode library)

License

Notifications You must be signed in to change notification settings

chibitronics/pxt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chibitronics fork of pxt

Build notes

We're using this fork to make changes to the pxt library, but instead of hosting our own npm package that chibitronics/pxt-microbit pulls in, we are going to use patch-package to manage the changes to the pxt library within chibitronics/pxt-microbit.

So to update pxt in chibitronics/pxt-microbit, clone this repo, and then run this command:

  • npm run build

Then go back to the chibitronics/pxt-microbit directory and run these commands:

  • cp ../pxt/built/pxt.js node_modules/pxt-core/built/pxt.js
  • cp ../pxt/built/pxtsim.js node_modules/pxt-core/built/pxtsim.js
  • cp ../pxt/built/web/pxtsim.js node_modules/pxt-core/built/web/pxtsim.js

Then run:

  • npx patch-package pxt-core

This will generate a patches/pxt-core+10.3.4.patch file.

In chibitronics/pxt-microbit, package.json runs patch-package on postinstall, which will apply the patched changes after installing the pxt-core node module.

About

Fork of PXT (underlying MakeCode library)

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.4%
  • JavaScript 38.3%
  • Less 2.9%
  • HTML 1.4%
  • CSS 0.5%
  • SCSS 0.4%
  • Other 0.1%