* rename "microbit" package to "core" #414 * shouldn't edit the package id. * updating package.json * updated the wrong version * missed updating pxt.json of tests
This commit is contained in:
parent
80131f2928
commit
277d5a721c
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "microbit-bluetooth",
|
"name": "bluetooth",
|
||||||
"description": "Bluetooth services",
|
"description": "Bluetooth services",
|
||||||
"files": [
|
"files": [
|
||||||
"README.md",
|
"README.md",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"core": "file:../core"
|
||||||
},
|
},
|
||||||
"yotta": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "microbit",
|
"name": "core",
|
||||||
"description": "The microbit core library",
|
"description": "The microbit core library",
|
||||||
"installedVersion": "tsmdvf",
|
"installedVersion": "tsmdvf",
|
||||||
"files": [
|
"files": [
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "microbit-devices",
|
"name": "devices",
|
||||||
"description": "The BLE specific services",
|
"description": "The BLE specific services",
|
||||||
"files": [
|
"files": [
|
||||||
"README.md",
|
"README.md",
|
||||||
@ -9,7 +9,7 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"core": "file:../core"
|
||||||
},
|
},
|
||||||
"yotta": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
@ -6,7 +6,7 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit",
|
"core": "file:../core",
|
||||||
"microbit-radio": "file:../microbit-radio"
|
"radio": "file:../radio"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
"public": true,
|
"public": true,
|
||||||
"additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0",
|
"additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"core": "file:../core"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"core": "file:../core"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "microbit-radio",
|
"name": "radio",
|
||||||
"description": "The radio services",
|
"description": "The radio services",
|
||||||
"files": [
|
"files": [
|
||||||
"README.md",
|
"README.md",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"core": "file:../core"
|
||||||
},
|
},
|
||||||
"yotta": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
@ -7,7 +7,7 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit",
|
"core": "file:../core",
|
||||||
"microbit-radio": "file:../microbit-radio"
|
"radio": "file:../radio"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,6 @@
|
|||||||
"typescript": "^1.8.7"
|
"typescript": "^1.8.7"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pxt-core": "0.4.48"
|
"pxt-core": "0.4.49"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
"name": "code the micro:bit",
|
"name": "code the micro:bit",
|
||||||
"title": "code the micro:bit - Blocks / Javascript editor",
|
"title": "code the micro:bit - Blocks / Javascript editor",
|
||||||
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
||||||
"corepkg": "microbit",
|
"corepkg": "core",
|
||||||
"bundleddirs": [
|
"bundleddirs": [
|
||||||
"libs/microbit",
|
"libs/core",
|
||||||
"libs/microbit-radio",
|
"libs/radio",
|
||||||
"libs/microbit-devices",
|
"libs/devices",
|
||||||
"libs/microbit-bluetooth"
|
"libs/bluetooth"
|
||||||
],
|
],
|
||||||
"cloud": {
|
"cloud": {
|
||||||
"workspace": false,
|
"workspace": false,
|
||||||
@ -29,8 +29,8 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"name": "{0} block",
|
"name": "{0} block",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "*",
|
"core": "*",
|
||||||
"microbit-radio": "*"
|
"radio": "*"
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"files": [
|
"files": [
|
||||||
@ -50,8 +50,8 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"name": "{0} bit",
|
"name": "{0} bit",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "*",
|
"core": "*",
|
||||||
"microbit-radio": "*"
|
"radio": "*"
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"files": [
|
"files": [
|
||||||
@ -69,7 +69,23 @@
|
|||||||
"hasHex": true,
|
"hasHex": true,
|
||||||
"deployDrives": "(MICROBIT|MBED)",
|
"deployDrives": "(MICROBIT|MBED)",
|
||||||
"driveName": "MICROBIT",
|
"driveName": "MICROBIT",
|
||||||
"hexMimeType": "application/x-microbit-hex"
|
"hexMimeType": "application/x-microbit-hex",
|
||||||
|
"upgrades": [
|
||||||
|
{
|
||||||
|
"type": "package",
|
||||||
|
"map": {
|
||||||
|
"microbit": "core",
|
||||||
|
"microbit-bluetooth": "bluetooth",
|
||||||
|
"microbit-radio": "radio",
|
||||||
|
"microbit-devices": "devices",
|
||||||
|
"microbit-led": "",
|
||||||
|
"microbit-music": "",
|
||||||
|
"microbit-game": "",
|
||||||
|
"microbit-pins": "",
|
||||||
|
"microbit-serial": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"mathBlocks": true,
|
"mathBlocks": true,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||||
/// <reference path="../../libs/microbit/dal.d.ts"/>
|
/// <reference path="../../libs/core/dal.d.ts"/>
|
||||||
/// <reference path="../../libs/microbit/shims.d.ts"/>
|
/// <reference path="../../libs/core/shims.d.ts"/>
|
||||||
/// <reference path="../../libs/microbit/enums.d.ts"/>
|
/// <reference path="../../libs/core/enums.d.ts"/>
|
||||||
|
|
||||||
namespace pxsim.visuals {
|
namespace pxsim.visuals {
|
||||||
const PIXEL_SPACING = PIN_DIST * 3;
|
const PIXEL_SPACING = PIN_DIST * 3;
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "*",
|
"core": "*",
|
||||||
"microbit-radio": "*"
|
"radio": "*"
|
||||||
},
|
},
|
||||||
"installedVersion": "file:."
|
"installedVersion": "file:."
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user