rename "microbit" package to "core" #414 (#270)

* 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:
Sam El-Husseini 2016-10-10 16:21:50 -07:00 committed by Peli de Halleux
parent 80131f2928
commit 277d5a721c
65 changed files with 45 additions and 29 deletions

View File

@ -1,5 +1,5 @@
{
"name": "microbit-bluetooth",
"name": "bluetooth",
"description": "Bluetooth services",
"files": [
"README.md",
@ -10,7 +10,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
},
"yotta": {
"config": {

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,5 +1,5 @@
{
"name": "microbit",
"name": "core",
"description": "The microbit core library",
"installedVersion": "tsmdvf",
"files": [

View File

@ -1,5 +1,5 @@
{
"name": "microbit-devices",
"name": "devices",
"description": "The BLE specific services",
"files": [
"README.md",
@ -9,7 +9,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
},
"yotta": {
"config": {

View File

@ -6,7 +6,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit",
"microbit-radio": "file:../microbit-radio"
"core": "file:../core",
"radio": "file:../radio"
}
}

View File

@ -8,6 +8,6 @@
"public": true,
"additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0",
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
}
}

View File

@ -7,6 +7,6 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
}
}

View File

@ -1,5 +1,5 @@
{
"name": "microbit-radio",
"name": "radio",
"description": "The radio services",
"files": [
"README.md",
@ -10,7 +10,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
},
"yotta": {
"config": {

View File

@ -7,7 +7,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit",
"microbit-radio": "file:../microbit-radio"
"core": "file:../core",
"radio": "file:../radio"
}
}

View File

@ -29,6 +29,6 @@
"typescript": "^1.8.7"
},
"dependencies": {
"pxt-core": "0.4.48"
"pxt-core": "0.4.49"
}
}

View File

@ -4,12 +4,12 @@
"name": "code the micro:bit",
"title": "code the micro:bit - Blocks / Javascript editor",
"description": "A Blocks / JavaScript code editor for the micro:bit.",
"corepkg": "microbit",
"corepkg": "core",
"bundleddirs": [
"libs/microbit",
"libs/microbit-radio",
"libs/microbit-devices",
"libs/microbit-bluetooth"
"libs/core",
"libs/radio",
"libs/devices",
"libs/bluetooth"
],
"cloud": {
"workspace": false,
@ -29,8 +29,8 @@
"config": {
"name": "{0} block",
"dependencies": {
"microbit": "*",
"microbit-radio": "*"
"core": "*",
"radio": "*"
},
"description": "",
"files": [
@ -50,8 +50,8 @@
"config": {
"name": "{0} bit",
"dependencies": {
"microbit": "*",
"microbit-radio": "*"
"core": "*",
"radio": "*"
},
"description": "",
"files": [
@ -69,7 +69,23 @@
"hasHex": true,
"deployDrives": "(MICROBIT|MBED)",
"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": {
"mathBlocks": true,

View File

@ -1,7 +1,7 @@
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
/// <reference path="../../libs/microbit/dal.d.ts"/>
/// <reference path="../../libs/microbit/shims.d.ts"/>
/// <reference path="../../libs/microbit/enums.d.ts"/>
/// <reference path="../../libs/core/dal.d.ts"/>
/// <reference path="../../libs/core/shims.d.ts"/>
/// <reference path="../../libs/core/enums.d.ts"/>
namespace pxsim.visuals {
const PIXEL_SPACING = PIN_DIST * 3;

View File

@ -6,8 +6,8 @@
],
"public": true,
"dependencies": {
"microbit": "*",
"microbit-radio": "*"
"core": "*",
"radio": "*"
},
"installedVersion": "file:."
}