diff --git a/kindtarget.json b/kindtarget.json index 3ae6fa0c..e6fb58a8 100644 --- a/kindtarget.json +++ b/kindtarget.json @@ -1,7 +1,100 @@ { + "id": "microbit", + "name": "BBC micro:bit", + "title": "JavaScript for BBC micro:bit", "corepkg": "microbit", "bundleddirs": [ "libs/microbit", "libs/microbit-radio" - ] -} + ], + "cloud": { + "workspace": false, + "packages": true + }, + "blocksprj": { + "id": "blocksprj", + "config": { + "name": "{0} block", + "dependencies": { + "microbit": "*", + "microbit-radio": "*" + }, + "description": "", + "files": [ + "main.blocks", + "main.blocks.ts", + "README.md" + ] + }, + "files": { + "main.blocks": "Hello!", + "main.blocks.ts": "\n", + "README.md": "Describe your project here!" + } + }, + "tsprj": { + "id": "tsprj", + "config": { + "name": "{0} bit", + "dependencies": { + "microbit": "*", + "microbit-radio": "*" + }, + "description": "", + "files": [ + "main.ts", + "README.md" + ] + }, + "files": { + "main.ts": "basic.showString('Hello!')\n", + "README.md": "Describe your project here!" + } + }, + "compile": { + "isNative": false, + "hasHex": true + }, + "simulator": { + "autoRun": true + }, + "compileService": { + "gittag": "v0.1.5", + "serviceId": "ws" + }, + "serial": { + "manufacturerFilter": "^mbed$", + "log": true + }, + "appTheme": { + "logoUrl": "https://www.microbit.co.uk/", + "logo": "BBC micro:bitLayer 1", + "footerLogo": "image/svg+xml", + "homeUrl": "https://codemicrobit.com/", + "embedUrl": "https://codemicrobit.com/", + "koduUrl": "https://www.kodugamelab.com/bbc-microbit/", + "visualStudioCode": true, + "docMenu": [ + { + "name": "About", + "path": "/about" + }, + { + "name": "Docs", + "path": "/docs" + }, + { + "name": "Lessons", + "path": "/lessons" + }, + { + "name": "Reference", + "path": "/reference" + }, + { + "name": "Device", + "path": "/device" + } + ] + } +} \ No newline at end of file diff --git a/kindtheme.json b/kindtheme.json deleted file mode 100644 index 6485028c..00000000 --- a/kindtheme.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "id": "microbit", - "name": "BBC micro:bit", - "title": "JavaScript for BBC micro:bit", - "logoUrl": "https://www.microbit.co.uk/", - "logo":"BBC micro:bitLayer 1", - "footerLogo": "image/svg+xml", - "homeUrl": "https://codemicrobit.com/", - "embedUrl": "https://codemicrobit.com/", - "koduUrl": "https://www.kodugamelab.com/bbc-microbit/", - "visualStudioCode": true, - "docMenu": [ - { "name": "About", "path": "/about" }, - { "name": "Docs", "path": "/docs" }, - { "name": "Lessons", "path": "/lessons" }, - { "name": "Reference", "path": "/reference" }, - { "name": "Device", "path": "/device" } - ] -} diff --git a/libs/microbit/kind.json b/libs/microbit/kind.json index b6024527..9f9986a8 100644 --- a/libs/microbit/kind.json +++ b/libs/microbit/kind.json @@ -32,69 +32,5 @@ "config": { "MESSAGE_BUS_LISTENER_DEFAULT_FLAGS": "MESSAGE_BUS_LISTENER_QUEUE_IF_BUSY" } - }, - "target": { - "id": "microbit", - "name": "BBC micro:bit", - "title": "JavaScript for BBC micro:bit", - "cloud": { - "workspace": false, - "packages": true - }, - "blocksprj": { - "id": "blocksprj", - "config": { - "name": "{0} block", - "dependencies": { - "microbit": "*", - "microbit-radio": "*" - }, - "description": "", - "files": [ - "main.blocks", - "main.blocks.ts", - "README.md" - ] - }, - "files": { - "main.blocks": "Hello!", - "main.blocks.ts": "\n", - "README.md": "Describe your project here!" - } - }, - "tsprj": { - "id": "tsprj", - "config": { - "name": "{0} bit", - "dependencies": { - "microbit": "*", - "microbit-radio": "*" - }, - "description": "", - "files": [ - "main.ts", - "README.md" - ] - }, - "files": { - "main.ts": "basic.showString('Hello!')\n", - "README.md": "Describe your project here!" - } - }, - "compile": { - "isNative": false, - "hasHex": true - }, - "simulator": { - "autoRun": true - }, - "compileService": { - "gittag": "v0.1.5", - "serviceId": "ws" - }, - "serial": { - "manufacturerFilter": "^mbed$", - "log": true - } } } diff --git a/package.json b/package.json index 88bcd2da..61eb0a7b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "files": [ "README.md", "kindtarget.json", - "kindtheme.json", "built/*.js", "built/*.json", "built/*.d.ts",