support for settings package

This commit is contained in:
Peli de Halleux 2019-10-09 08:12:22 -07:00
parent fb5776ec41
commit b653e54917
4 changed files with 11 additions and 2 deletions

View File

@ -23,7 +23,8 @@
"touch-sensor": "file:../touch-sensor",
"ultrasonic-sensor": "file:../ultrasonic-sensor",
"gyro-sensor": "file:../gyro-sensor",
"infrared-sensor": "file:../infrared-sensor"
"infrared-sensor": "file:../infrared-sensor",
"settings": "file:../settings---files"
},
"palette": [
"#ffffff",

View File

@ -0,0 +1,3 @@
{
"additionalFilePath": "../../node_modules/pxt-common-packages/libs/settings---files"
}

3
libs/settings/pxt.json Normal file
View File

@ -0,0 +1,3 @@
{
"additionalFilePath": "../../node_modules/pxt-common-packages/libs/settings"
}

View File

@ -18,7 +18,9 @@
"libs/screen",
"libs/ev3",
"libs/storage",
"libs/broadcast"
"libs/broadcast",
"libs/settings",
"libs/settings---files"
],
"simulator": {
"autoRun": true,