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", "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": {

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", "description": "The microbit core library",
"installedVersion": "tsmdvf", "installedVersion": "tsmdvf",
"files": [ "files": [

View File

@ -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": {

View File

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

View File

@ -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"
} }
} }

View File

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

View File

@ -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": {

View File

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

View File

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

View File

@ -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,

View File

@ -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;

View File

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