From 1baa63dc32b49d927216c4fb4c1148affe4deafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Thu, 20 Feb 2025 03:30:24 +0800 Subject: [PATCH] =?UTF-8?q?Update(boards):=20=E7=A7=BB=E9=99=A4default=5Fs?= =?UTF-8?q?rc=20mp=E6=9D=BF=E5=8D=A1=E4=B8=AD=E5=AF=B9lib=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E7=9A=84map.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../micropython/origin/build/lib/map.json | 940 ------------------ boards/default_src/micropython/package.json | 4 +- .../origin/build/lib/map.json | 82 -- .../micropython_educore/package.json | 4 +- .../origin/build/lib/map.json | 43 - .../micropython_esp32/package.json | 4 +- .../origin/build/lib/map.json | 82 -- .../micropython_esp32c2/package.json | 4 +- .../origin/build/lib/map.json | 77 -- .../micropython_esp32c3/package.json | 4 +- .../origin/build/lib/map.json | 30 - .../micropython_esp32s2/package.json | 4 +- .../origin/build/lib/map.json | 177 ---- .../micropython_esp32s3/package.json | 4 +- .../origin/build/lib/map.json | 243 ----- .../micropython_k210_mixgoai/package.json | 4 +- .../origin/build/lib/map.json | 91 -- .../package.json | 4 +- .../origin/build/lib/map.json | 27 - .../package.json | 4 +- .../origin/build/lib/map.json | 64 -- .../micropython_robot/package.json | 4 +- 22 files changed, 22 insertions(+), 1878 deletions(-) delete mode 100644 boards/default_src/micropython/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_educore/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_esp32/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_esp32c2/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_esp32c3/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_esp32s2/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_esp32s3/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json delete mode 100644 boards/default_src/micropython_robot/origin/build/lib/map.json diff --git a/boards/default_src/micropython/origin/build/lib/map.json b/boards/default_src/micropython/origin/build/lib/map.json deleted file mode 100644 index bad68088..00000000 --- a/boards/default_src/micropython/origin/build/lib/map.json +++ /dev/null @@ -1,940 +0,0 @@ -{ - "adxl345": { - "__require__": [ - "time", - "ustruct", - "micropython" - ], - "__file__": true, - "__size__": 1644, - "__name__": "adxl345.py" - }, - "ahtx0": { - "__require__": [ - "utime", - "micropython" - ], - "__file__": true, - "__size__": 3204, - "__name__": "ahtx0.py" - }, - "ap3216c": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 1786, - "__name__": "ap3216c.py" - }, - "apds9960": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 12718, - "__name__": "apds9960.py" - }, - "baidu_speech": { - "__require__": [ - "json", - "gc", - "urequests", - "array", - "ubinascii", - "machine" - ], - "__file__": true, - "__size__": 3703, - "__name__": "baidu_speech.py" - }, - "ble_advertising": { - "__require__": [ - "micropython", - "struct", - "bluetooth" - ], - "__file__": true, - "__size__": 2492, - "__name__": "ble_advertising.py" - }, - "ble_central": { - "__require__": [ - "time", - "gc", - "bluetooth", - "micropython", - "ubinascii", - "ble_advertising" - ], - "__file__": true, - "__size__": 7391, - "__name__": "ble_central.py" - }, - "ble_handle": { - "__require__": [ - "ble_peripheral" - ], - "__file__": true, - "__size__": 1034, - "__name__": "ble_handle.py" - }, - "ble_hid": { - "__require__": [ - "bluetooth", - "struct", - "time", - "micropython", - "ubinascii", - "ble_advertising", - "bluetooth", - "ble_hid_key" - ], - "__file__": true, - "__size__": 11263, - "__name__": "ble_hid.py" - }, - "ble_hid_keyboard": { - "__require__": [ - "bluetooth", - "struct", - "time", - "micropython", - "ubinascii", - "ble_advertising", - "bluetooth", - "ble_hid_key" - ], - "__file__": true, - "__size__": 9698, - "__name__": "ble_hid_keyboard.py" - }, - "ble_hid_mouse": { - "__require__": [ - "bluetooth", - "struct", - "time", - "micropython", - "ubinascii", - "ble_advertising", - "bluetooth", - "ble_hid_key" - ], - "__file__": true, - "__size__": 8209, - "__name__": "ble_hid_mouse.py" - }, - "ble_peripheral": { - "__require__": [ - "bluetooth", - "micropython", - "ubinascii", - "ble_advertising" - ], - "__file__": true, - "__size__": 2919, - "__name__": "ble_peripheral.py" - }, - "ble_uart_peripheral": { - "__require__": [ - "bluetooth", - "ble_advertising", - "micropython" - ], - "__file__": true, - "__size__": 2846, - "__name__": "ble_uart_peripheral.py" - }, - "ble_uart_repl": { - "__require__": [ - "io", - "os", - "machine", - "micropython", - "ble_uart_peripheral" - ], - "__file__": true, - "__size__": 1824, - "__name__": "ble_uart_repl.py" - }, - "blynklib": { - "__require__": [ - "usocket", - "utime", - "ustruct", - "uselect", - "micropython" - ], - "__file__": true, - "__size__": 14064, - "__name__": "blynklib.py" - }, - "blynktimer": { - "__require__": [ - "time", - "select", - "utime", - "uselect" - ], - "__file__": true, - "__size__": 4600, - "__name__": "blynktimer.py" - }, - "bmp280": { - "__require__": [ - "ustruct", - "utime" - ], - "__file__": true, - "__size__": 6037, - "__name__": "bmp280.py" - }, - "cbr817": { - "__require__": [ - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 3913, - "__name__": "cbr817.py" - }, - "cc_g1": { - "__require__": [ - "micropython", - "machine" - ], - "__file__": true, - "__size__": 2474, - "__name__": "cc_g1.py" - }, - "ch914x_at": { - "__require__": [ - "machine", - "time" - ], - "__file__": true, - "__size__": 4131, - "__name__": "ch914x_at.py" - }, - "ci130x": { - "__require__": [ - "time", - "struct", - "micropython" - ], - "__file__": true, - "__size__": 2484, - "__name__": "ci130x.py" - }, - "debugnet": { - "__require__": [ - "time", - "umqtt", - "ubinascii", - "machine", - "urequests", - "usocket", - "mixiot", - "ussl", - "ujson" - ], - "__file__": true, - "__size__": 5719, - "__name__": "debugnet.py" - }, - "dhtx": { - "__require__": [ - "time", - "machine", - "esp", - "machine" - ], - "__file__": true, - "__size__": 1627, - "__name__": "dhtx.py" - }, - "ds18b20": { - "__require__": [ - "onewire", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 2129, - "__name__": "ds18b20.py" - }, - "expression_picture": { - "__require__": [], - "__file__": true, - "__size__": 31406, - "__name__": "expression_picture.py" - }, - "eye_picture": { - "__require__": [], - "__file__": true, - "__size__": 82105, - "__name__": "eye_picture.py" - }, - "gnss": { - "__require__": [ - "time", - "ubinascii" - ], - "__file__": true, - "__size__": 3335, - "__name__": "gnss.py" - }, - "hp203x": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2574, - "__name__": "hp203x.py" - }, - "ht16k33": { - "__require__": [ - "uframebuf", - "micropython" - ], - "__file__": true, - "__size__": 1834, - "__name__": "ht16k33.py" - }, - "huskylens": { - "__require__": [ - "time", - "ubinascii" - ], - "__file__": true, - "__size__": 9047, - "__name__": "huskylens.py" - }, - "hx720": { - "__require__": [ - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 1794, - "__name__": "hx720.py" - }, - "i2cdevice": { - "__require__": [ - "random", - "machine" - ], - "__file__": true, - "__size__": 9852, - "__name__": "i2cdevice.py" - }, - "i2clcd": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2839, - "__name__": "i2clcd.py" - }, - "icm42670": { - "__require__": [ - "time", - "micropython", - "math" - ], - "__file__": true, - "__size__": 3049, - "__name__": "icm42670.py" - }, - "informatio_picture": { - "__require__": [], - "__file__": true, - "__size__": 39510, - "__name__": "informatio_picture.py" - }, - "irremote": { - "__require__": [ - "array", - "time", - "gc", - "esp32", - "machine" - ], - "__file__": true, - "__size__": 6243, - "__name__": "irremote.py" - }, - "ltr308al": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2049, - "__name__": "ltr308al.py" - }, - "ltr381rgb": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2344, - "__name__": "ltr381rgb.py" - }, - "ltr390uv": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2258, - "__name__": "ltr390uv.py" - }, - "ltr553als": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 3221, - "__name__": "ltr553als.py" - }, - "matcher": { - "__require__": [], - "__file__": true, - "__size__": 3336, - "__name__": "matcher.py" - }, - "matrix16x8": { - "__require__": [ - "ht16k33" - ], - "__file__": true, - "__size__": 4053, - "__name__": "matrix16x8.py" - }, - "matrix32x12": { - "__require__": [ - "tm1680" - ], - "__file__": true, - "__size__": 9947, - "__name__": "matrix32x12.py" - }, - "matrix8x5": { - "__require__": [ - "tm1652" - ], - "__file__": true, - "__size__": 1966, - "__name__": "matrix8x5.py" - }, - "max30102": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 11529, - "__name__": "max30102.py" - }, - "mixgo_ai": { - "__require__": [ - "time", - "gc" - ], - "__file__": true, - "__size__": 5845, - "__name__": "mixgo_ai.py" - }, - "mixiot": { - "__require__": [ - "time", - "usocket", - "ustruct", - "machine", - "ubinascii", - "matcher", - "network", - "urequests", - "ussl" - ], - "__file__": true, - "__size__": 11930, - "__name__": "mixiot.py" - }, - "mixpy": { - "__require__": [ - "math", - "urequests", - "json" - ], - "__file__": true, - "__size__": 2892, - "__name__": "mixpy.py" - }, - "mk_pb4023": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2079, - "__name__": "mk_pb4023.py" - }, - "mmc5603": { - "__require__": [ - "time", - "math", - "micropython", - "magnetic_cal" - ], - "__file__": true, - "__size__": 5888, - "__name__": "mmc5603.py" - }, - "mpu9250": { - "__require__": [ - "micropython", - "ustruct", - "time", - "math", - "machine", - "math", - "matrix16x8", - "os", - "compass_cfg", - "compass_cfg" - ], - "__file__": true, - "__size__": 15746, - "__name__": "mpu9250.py" - }, - "ms32006": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 3671, - "__name__": "ms32006.py" - }, - "msa301": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 1994, - "__name__": "msa301.py" - }, - "music": { - "__require__": [ - "time", - "machine" - ], - "__file__": true, - "__size__": 6726, - "__name__": "music.py" - }, - "mxc6655xa": { - "__require__": [ - "time", - "math", - "micropython", - "math" - ], - "__file__": true, - "__size__": 2818, - "__name__": "mxc6655xa.py" - }, - "ns9300": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 3593, - "__name__": "ns9300.py" - }, - "ntptime": { - "__require__": [ - "utime", - "gc", - "machine", - "usocket", - "ustruct" - ], - "__file__": true, - "__size__": 1424, - "__name__": "ntptime.py" - }, - "object_picture": { - "__require__": [], - "__file__": true, - "__size__": 35094, - "__name__": "object_picture.py" - }, - "oled128x64": { - "__require__": [ - "ssd1106" - ], - "__file__": true, - "__size__": 481, - "__name__": "oled128x64.py" - }, - "onenet": { - "__require__": [ - "ujson", - "umqtt" - ], - "__file__": true, - "__size__": 1102, - "__name__": "onenet.py" - }, - "pe_g1": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 3574, - "__name__": "pe_g1.py" - }, - "pm2_5": { - "__require__": [ - "time" - ], - "__file__": true, - "__size__": 1076, - "__name__": "pm2_5.py" - }, - "progres_picture": { - "__require__": [], - "__file__": true, - "__size__": 77320, - "__name__": "progres_picture.py" - }, - "ps2": { - "__require__": [ - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 3369, - "__name__": "ps2.py" - }, - "qmc5883l": { - "__require__": [ - "math", - "time", - "micropython" - ], - "__file__": true, - "__size__": 7226, - "__name__": "qmc5883l.py" - }, - "qmi8658": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 4410, - "__name__": "qmi8658.py" - }, - "radio": { - "__require__": [ - "ubinascii", - "network", - "esp", - "espnow" - ], - "__file__": true, - "__size__": 5454, - "__name__": "radio.py" - }, - "rc522": { - "__require__": [ - "machine", - "micropython" - ], - "__file__": true, - "__size__": 7526, - "__name__": "rc522.py" - }, - "rfm98": { - "__require__": [ - "gc", - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 8617, - "__name__": "rfm98.py" - }, - "rtctime": { - "__require__": [ - "gc", - "time", - "machine", - "usocket", - "ustruct" - ], - "__file__": true, - "__size__": 1791, - "__name__": "rtctime.py" - }, - "sc7a20": { - "__require__": [ - "time", - "math", - "micropython", - "math" - ], - "__file__": true, - "__size__": 2454, - "__name__": "sc7a20.py" - }, - "sdcard": { - "__require__": [ - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 8738, - "__name__": "sdcard.py" - }, - "seniverse_api": { - "__require__": [ - "json", - "urequests" - ], - "__file__": true, - "__size__": 7264, - "__name__": "seniverse_api.py" - }, - "servo": { - "__require__": [ - "machine" - ], - "__file__": true, - "__size__": 1338, - "__name__": "servo.py" - }, - "sht20": { - "__require__": [ - "struct", - "time" - ], - "__file__": true, - "__size__": 1155, - "__name__": "sht20.py" - }, - "shtc3": { - "__require__": [ - "time", - "micropython", - "struct" - ], - "__file__": true, - "__size__": 3837, - "__name__": "shtc3.py" - }, - "sonar": { - "__require__": [ - "time", - "machine" - ], - "__file__": true, - "__size__": 1103, - "__name__": "sonar.py" - }, - "spl06_001": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 4309, - "__name__": "spl06_001.py" - }, - "ssd1106": { - "__require__": [ - "uframebuf", - "micropython" - ], - "__file__": true, - "__size__": 4247, - "__name__": "ssd1106.py" - }, - "st7735": { - "__require__": [ - "time", - "uframebuf", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 3670, - "__name__": "st7735.py" - }, - "st7789": { - "__require__": [ - "time", - "machine", - "micropython", - "uframebuf", - "ustruct" - ], - "__file__": true, - "__size__": 10458, - "__name__": "st7789.py" - }, - "syn6288": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2622, - "__name__": "syn6288.py" - }, - "tm1650": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2008, - "__name__": "tm1650.py" - }, - "tm1652": { - "__require__": [ - "time", - "uframebuf", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 2222, - "__name__": "tm1652.py" - }, - "tm1680": { - "__require__": [ - "uframebuf", - "micropython" - ], - "__file__": true, - "__size__": 2226, - "__name__": "tm1680.py" - }, - "tm1931": { - "__require__": [ - "time", - "framebuf", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 1916, - "__name__": "tm1931.py" - }, - "uart_com": { - "__require__": [], - "__file__": true, - "__size__": 588, - "__name__": "uart_com.py" - }, - "ucs12071": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 2378, - "__name__": "ucs12071.py" - }, - "uframebuf": { - "__require__": [ - "esp", - "time", - "gc", - "framebuf" - ], - "__file__": true, - "__size__": 20872, - "__name__": "uframebuf.py" - }, - "umqtt": { - "__require__": [ - "usocket", - "ustruct", - "ussl" - ], - "__file__": true, - "__size__": 6687, - "__name__": "umqtt.py" - }, - "urequests": { - "__require__": [ - "usocket", - "ujson", - "ssl", - "ujson" - ], - "__file__": true, - "__size__": 4346, - "__name__": "urequests.py" - }, - "vl53l0x": { - "__require__": [ - "micropython", - "ustruct", - "utime" - ], - "__file__": true, - "__size__": 9639, - "__name__": "vl53l0x.py" - }, - "ws2812": { - "__require__": [ - "time", - "machine" - ], - "__file__": true, - "__size__": 2374, - "__name__": "ws2812.py" - }, - "ws_lora": { - "__require__": [ - "json", - "rfm98", - "ubinascii", - "machine", - "hp203x" - ], - "__file__": true, - "__size__": 4484, - "__name__": "ws_lora.py" - }, - "ws_solo": { - "__require__": [ - "time", - "math", - "machine" - ], - "__file__": true, - "__size__": 3247, - "__name__": "ws_solo.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython/package.json b/boards/default_src/micropython/package.json index 8efe95f6..2fa4b9b8 100644 --- a/boards/default_src/micropython/package.json +++ b/boards/default_src/micropython/package.json @@ -4,10 +4,10 @@ "description": "适用于mixly的micropython模块", "scripts": { "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_educore/origin/build/lib/map.json b/boards/default_src/micropython_educore/origin/build/lib/map.json deleted file mode 100644 index 2bbbd5c3..00000000 --- a/boards/default_src/micropython_educore/origin/build/lib/map.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "ble_central": { - "__require__": [ - "time", - "gc", - "bluetooth", - "micropython", - "ubinascii", - "ble_advertising" - ], - "__file__": true, - "__size__": 7378, - "__name__": "ble_central.py" - }, - "mini_bot": { - "__require__": [ - "time", - "math", - "esp", - "micropython", - "framebuf" - ], - "__file__": true, - "__size__": 12529, - "__name__": "mini_bot.py" - }, - "mini_g2": { - "__require__": [ - "gc", - "machine", - "rc522" - ], - "__file__": true, - "__size__": 544, - "__name__": "mini_g2.py" - }, - "mini_go": { - "__require__": [ - "time", - "gc", - "math", - "tm1931", - "machine" - ], - "__file__": true, - "__size__": 8481, - "__name__": "mini_go.py" - }, - "mixgo_mini": { - "__require__": [ - "time", - "gc", - "esp32", - "machine", - "ws2812x", - "musicx", - "sc7a20", - "ap3216c", - "mini_bot" - ], - "__file__": true, - "__size__": 4611, - "__name__": "mixgo_mini.py" - }, - "musicx": { - "__require__": [ - "time" - ], - "__file__": true, - "__size__": 3545, - "__name__": "musicx.py" - }, - "ws2812x": { - "__require__": [ - "time", - "machine" - ], - "__file__": true, - "__size__": 1881, - "__name__": "ws2812x.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_educore/package.json b/boards/default_src/micropython_educore/package.json index 85395f54..5bf4a5e2 100644 --- a/boards/default_src/micropython_educore/package.json +++ b/boards/default_src/micropython_educore/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_educore/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_esp32/origin/build/lib/map.json b/boards/default_src/micropython_esp32/origin/build/lib/map.json deleted file mode 100644 index e8224966..00000000 --- a/boards/default_src/micropython_esp32/origin/build/lib/map.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "mixgo": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "mpu9250", - "matrix16x8" - ], - "__file__": true, - "__size__": 4507, - "__name__": "mixgo.py" - }, - "mixgo_pe": { - "__require__": [ - "time", - "gc", - "machine", - "matrix8x5", - "machine" - ], - "__file__": true, - "__size__": 1328, - "__name__": "mixgo_pe.py" - }, - "mpython": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "oled128x64", - "mmc5603", - "qmi8658" - ], - "__file__": true, - "__size__": 3562, - "__name__": "mpython.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_esp32/package.json b/boards/default_src/micropython_esp32/package.json index ee57a6f3..4e1cd71f 100644 --- a/boards/default_src/micropython_esp32/package.json +++ b/boards/default_src/micropython_esp32/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_esp32/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_esp32c2/origin/build/lib/map.json b/boards/default_src/micropython_esp32c2/origin/build/lib/map.json deleted file mode 100644 index 2bbbd5c3..00000000 --- a/boards/default_src/micropython_esp32c2/origin/build/lib/map.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "ble_central": { - "__require__": [ - "time", - "gc", - "bluetooth", - "micropython", - "ubinascii", - "ble_advertising" - ], - "__file__": true, - "__size__": 7378, - "__name__": "ble_central.py" - }, - "mini_bot": { - "__require__": [ - "time", - "math", - "esp", - "micropython", - "framebuf" - ], - "__file__": true, - "__size__": 12529, - "__name__": "mini_bot.py" - }, - "mini_g2": { - "__require__": [ - "gc", - "machine", - "rc522" - ], - "__file__": true, - "__size__": 544, - "__name__": "mini_g2.py" - }, - "mini_go": { - "__require__": [ - "time", - "gc", - "math", - "tm1931", - "machine" - ], - "__file__": true, - "__size__": 8481, - "__name__": "mini_go.py" - }, - "mixgo_mini": { - "__require__": [ - "time", - "gc", - "esp32", - "machine", - "ws2812x", - "musicx", - "sc7a20", - "ap3216c", - "mini_bot" - ], - "__file__": true, - "__size__": 4611, - "__name__": "mixgo_mini.py" - }, - "musicx": { - "__require__": [ - "time" - ], - "__file__": true, - "__size__": 3545, - "__name__": "musicx.py" - }, - "ws2812x": { - "__require__": [ - "time", - "machine" - ], - "__file__": true, - "__size__": 1881, - "__name__": "ws2812x.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_esp32c2/package.json b/boards/default_src/micropython_esp32c2/package.json index 77f896f7..9305a549 100644 --- a/boards/default_src/micropython_esp32c2/package.json +++ b/boards/default_src/micropython_esp32c2/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_esp32c2/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_esp32c3/origin/build/lib/map.json b/boards/default_src/micropython_esp32c3/origin/build/lib/map.json deleted file mode 100644 index 92e79887..00000000 --- a/boards/default_src/micropython_esp32c3/origin/build/lib/map.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "me_g1": { - "__require__": [ - "time", - "gc", - "machine", - "hp203x", - "ahtx0", - "rc522" - ], - "__file__": true, - "__size__": 1327, - "__name__": "me_g1.py" - }, - "me_go": { - "__require__": [ - "time", - "gc", - "math", - "tm1931", - "machine" - ], - "__file__": true, - "__size__": 8787, - "__name__": "me_go.py" - }, - "mixgocar_c3": { - "__require__": [ - "time", - "gc", - "ms32006", - "machine", - "ws2812", - "music" - ], - "__file__": true, - "__size__": 9865, - "__name__": "mixgocar_c3.py" - }, - "mixgo_cc": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "mxc6655xa", - "ltr553als", - "rc522", - "matrix32x12", - "mmc5603", - "hp203x", - "spl06_001", - "ahtx0", - "shtc3" - ], - "__file__": true, - "__size__": 7436, - "__name__": "mixgo_cc.py" - }, - "mixgo_me": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "mxc6655xa", - "ltr553als", - "matrix8x5", - "mmc5603" - ], - "__file__": true, - "__size__": 5363, - "__name__": "mixgo_me.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_esp32c3/package.json b/boards/default_src/micropython_esp32c3/package.json index 89d6870a..69988f65 100644 --- a/boards/default_src/micropython_esp32c3/package.json +++ b/boards/default_src/micropython_esp32c3/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_esp32c3/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_esp32s2/origin/build/lib/map.json b/boards/default_src/micropython_esp32s2/origin/build/lib/map.json deleted file mode 100644 index cbcf4a58..00000000 --- a/boards/default_src/micropython_esp32s2/origin/build/lib/map.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ce_go": { - "__require__": [ - "time", - "gc", - "math", - "tm1931", - "machine" - ], - "__file__": true, - "__size__": 8886, - "__name__": "ce_go.py" - }, - "mixgo_ce": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "matrix16x8", - "msa301", - "mxc6655xa", - "machine" - ], - "__file__": true, - "__size__": 6730, - "__name__": "mixgo_ce.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_esp32s2/package.json b/boards/default_src/micropython_esp32s2/package.json index cc818a03..5f882c3a 100644 --- a/boards/default_src/micropython_esp32s2/package.json +++ b/boards/default_src/micropython_esp32s2/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_esp32s2/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_esp32s3/origin/build/lib/map.json b/boards/default_src/micropython_esp32s3/origin/build/lib/map.json deleted file mode 100644 index 2628027e..00000000 --- a/boards/default_src/micropython_esp32s3/origin/build/lib/map.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "es8374": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 7908, - "__name__": "es8374.py" - }, - "mixgo_nova": { - "__require__": [ - "machine", - "time", - "gc", - "st7735", - "math", - "ws2812", - "_boot", - "mxc6655xa", - "ltr553als", - "ltr553als", - "rc522", - "mmc5603", - "hp203x", - "ahtx0", - "shtc3", - "machine" - ], - "__file__": true, - "__size__": 9577, - "__name__": "mixgo_nova.py" - }, - "mixgo_nova_voice": { - "__require__": [ - "ustruct", - "time", - "music_spk", - "es8374", - "machine", - "mixgo_nova", - "urequests" - ], - "__file__": true, - "__size__": 3175, - "__name__": "mixgo_nova_voice.py" - }, - "mixgo_sant": { - "__require__": [ - "machine", - "time", - "gc", - "st7789_cf", - "math", - "ws2812", - "music", - "sant_bot", - "sc7a20", - "mk_pb4023", - "shtc3", - "mmc5603", - "spl06_001", - "ci130x" - ], - "__file__": true, - "__size__": 6753, - "__name__": "mixgo_sant.py" - }, - "mixgo_zero": { - "__require__": [ - "machine", - "time", - "gc", - "st7789_bf", - "math", - "ws2812", - "_boot", - "mxc6655xa", - "ltr553als", - "ltr553als", - "shtc3", - "rc522", - "mmc5603", - "spl06_001", - "machine" - ], - "__file__": true, - "__size__": 8017, - "__name__": "mixgo_zero.py" - }, - "mixgo_zero_voice": { - "__require__": [ - "ustruct", - "time", - "music_spk", - "es8374", - "machine", - "mixgo_zero", - "urequests" - ], - "__file__": true, - "__size__": 3173, - "__name__": "mixgo_zero_voice.py" - }, - "music_spk": { - "__require__": [ - "time", - "math", - "array", - "struct" - ], - "__file__": true, - "__size__": 6541, - "__name__": "music_spk.py" - }, - "nova_g1": { - "__require__": [ - "micropython", - "mixgo_nova" - ], - "__file__": true, - "__size__": 3269, - "__name__": "nova_g1.py" - }, - "sant_bot": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 3783, - "__name__": "sant_bot.py" - }, - "sant_g2": { - "__require__": [ - "gc", - "machine", - "rc522", - "cbr817" - ], - "__file__": true, - "__size__": 729, - "__name__": "sant_g2.py" - }, - "sdcard": { - "__require__": [ - "time", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 8557, - "__name__": "sdcard.py" - }, - "st7789_bf": { - "__require__": [ - "time", - "uframebuf", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 3191, - "__name__": "st7789_bf.py" - }, - "st7789_cf": { - "__require__": [ - "time", - "uframebuf", - "machine", - "micropython" - ], - "__file__": true, - "__size__": 2825, - "__name__": "st7789_cf.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_esp32s3/package.json b/boards/default_src/micropython_esp32s3/package.json index d6be204e..334a411f 100644 --- a/boards/default_src/micropython_esp32s3/package.json +++ b/boards/default_src/micropython_esp32s3/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_esp32s3/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json b/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json deleted file mode 100644 index 3236b20c..00000000 --- a/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "adxl345": { - "__require__": [ - "machine", - "time", - "ustruct" - ], - "__file__": true, - "__size__": 2467, - "__name__": "adxl345.py" - }, - "aionenet": { - "__require__": [ - "network", - "time", - "random", - "request", - "base64", - "json", - "board", - "machine" - ], - "__file__": true, - "__size__": 4362, - "__name__": "aionenet.py" - }, - "ai_face": { - "__require__": [ - "KPU", - "gc", - "image", - "time", - "board" - ], - "__file__": true, - "__size__": 3905, - "__name__": "ai_face.py" - }, - "base64": { - "__require__": [ - "re", - "struct", - "binascii", - "warnings", - "warnings", - "sys", - "getopt" - ], - "__file__": true, - "__size__": 8087, - "__name__": "base64.py" - }, - "bmp280": { - "__require__": [ - "ustruct", - "utime", - "machine" - ], - "__file__": true, - "__size__": 6271, - "__name__": "bmp280.py" - }, - "ce_com": { - "__require__": [], - "__file__": true, - "__size__": 628, - "__name__": "ce_com.py" - }, - "dht11": { - "__require__": [ - "time", - "board" - ], - "__file__": true, - "__size__": 1851, - "__name__": "dht11.py" - }, - "hcr04": { - "__require__": [ - "time", - "board" - ], - "__file__": true, - "__size__": 790, - "__name__": "hcr04.py" - }, - "irremote": { - "__require__": [ - "time", - "board" - ], - "__file__": true, - "__size__": 999, - "__name__": "irremote.py" - }, - "matcher": { - "__require__": [], - "__file__": true, - "__size__": 3336, - "__name__": "matcher.py" - }, - "miot_no": { - "__require__": [ - "usocket", - "ustruct", - "network", - "time", - "board", - "ujson", - "machine", - "ussl" - ], - "__file__": true, - "__size__": 8532, - "__name__": "miot_no.py" - }, - "mixiot": { - "__require__": [ - "usocket", - "ustruct", - "time", - "machine", - "ubinascii", - "ujson", - "matcher", - "machine", - "ussl" - ], - "__file__": true, - "__size__": 11091, - "__name__": "mixiot.py" - }, - "mixly_tool": { - "__require__": [ - "hashlib", - "os", - "sys" - ], - "__file__": true, - "__size__": 688, - "__name__": "mixly_tool.py" - }, - "mixpy": { - "__require__": [ - "math" - ], - "__file__": true, - "__size__": 2689, - "__name__": "mixpy.py" - }, - "mpu9250": { - "__require__": [ - "micropython", - "ustruct", - "utime", - "time", - "math", - "math", - "os", - "compass_cfg" - ], - "__file__": true, - "__size__": 17641, - "__name__": "mpu9250.py" - }, - "ms32006": { - "__require__": [ - "time", - "micropython" - ], - "__file__": true, - "__size__": 4382, - "__name__": "ms32006.py" - }, - "net_espat": { - "__require__": [ - "network", - "time", - "board", - "machine", - "time" - ], - "__file__": true, - "__size__": 1364, - "__name__": "net_espat.py" - }, - "pid": { - "__require__": [ - "time", - "math" - ], - "__file__": true, - "__size__": 1789, - "__name__": "pid.py" - }, - "player": { - "__require__": [ - "board", - "audio", - "video", - "Maix", - "gc", - "sensor", - "lcd", - "lcd" - ], - "__file__": true, - "__size__": 4103, - "__name__": "player.py" - }, - "reset": { - "__require__": [ - "image", - "lcd", - "time", - "gc", - "machine", - "gc" - ], - "__file__": true, - "__size__": 968, - "__name__": "reset.py" - }, - "servo": { - "__require__": [ - "math", - "ustruct", - "time" - ], - "__file__": true, - "__size__": 3159, - "__name__": "servo.py" - }, - "sht20": { - "__require__": [ - "struct", - "time" - ], - "__file__": true, - "__size__": 1096, - "__name__": "sht20.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_k210_mixgoai/package.json b/boards/default_src/micropython_k210_mixgoai/package.json index a5034b56..e809cb34 100644 --- a/boards/default_src/micropython_k210_mixgoai/package.json +++ b/boards/default_src/micropython_k210_mixgoai/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_k210_mixgoai/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json b/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json deleted file mode 100644 index be07c2b0..00000000 --- a/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lcd1602": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 1988, - "__name__": "lcd1602.py" - }, - "mixpy": { - "__require__": [ - "math" - ], - "__file__": true, - "__size__": 1949, - "__name__": "mixpy.py" - }, - "motor_control": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 2230, - "__name__": "motor_control.py" - }, - "MP3": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 1984, - "__name__": "MP3.py" - }, - "ntc": { - "__require__": [ - "microbit", - "math" - ], - "__file__": true, - "__size__": 567, - "__name__": "ntc.py" - }, - "oled": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 3778, - "__name__": "oled.py" - }, - "rgb": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 109, - "__name__": "rgb.py" - }, - "RTC": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 4141, - "__name__": "RTC.py" - }, - "Servo": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 168, - "__name__": "Servo.py" - }, - "TCS": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 7877, - "__name__": "TCS.py" - }, - "ultrasonic": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 1055, - "__name__": "ultrasonic.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_nrf51822_microbit/package.json b/boards/default_src/micropython_nrf51822_microbit/package.json index 60c6dd9c..864fd79d 100644 --- a/boards/default_src/micropython_nrf51822_microbit/package.json +++ b/boards/default_src/micropython_nrf51822_microbit/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_nrf51822_microbit/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json b/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json deleted file mode 100644 index c3054b77..00000000 --- a/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "mixpy": { - "__require__": [ - "math" - ], - "__file__": true, - "__size__": 1949, - "__name__": "mixpy.py" - }, - "motor_control": { - "__require__": [ - "microbit" - ], - "__file__": true, - "__size__": 993, - "__name__": "motor_control.py" - }, - "rgb_show": { - "__require__": [ - "microbit", - "neopixel" - ], - "__file__": true, - "__size__": 264, - "__name__": "rgb_show.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_nrf51822_mithoncc/package.json b/boards/default_src/micropython_nrf51822_mithoncc/package.json index 5df9f922..7552b17e 100644 --- a/boards/default_src/micropython_nrf51822_mithoncc/package.json +++ b/boards/default_src/micropython_nrf51822_mithoncc/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_nrf51822_mithoncc/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js", diff --git a/boards/default_src/micropython_robot/origin/build/lib/map.json b/boards/default_src/micropython_robot/origin/build/lib/map.json deleted file mode 100644 index bbf7f6e0..00000000 --- a/boards/default_src/micropython_robot/origin/build/lib/map.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "bot51": { - "__require__": [ - "uframebuf", - "micropython" - ], - "__file__": true, - "__size__": 10425, - "__name__": "bot51.py" - }, - "feiyi": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812", - "music", - "mxc6655xa", - "ltr553als", - "rc522", - "bot51", - "mmc5603" - ], - "__file__": true, - "__size__": 3586, - "__name__": "feiyi.py" - }, - "mixbot": { - "__require__": [ - "time", - "gc", - "random", - "uframebuf", - "micropython", - "machine", - "ws2812", - "music", - "icm42670" - ], - "__file__": true, - "__size__": 10967, - "__name__": "mixbot.py" - }, - "mixbot_ext": { - "__require__": [ - "i2cdevice", - "mixbot" - ], - "__file__": true, - "__size__": 993, - "__name__": "mixbot_ext.py" - }, - "rm_e1": { - "__require__": [ - "time", - "gc", - "machine", - "ws2812" - ], - "__file__": true, - "__size__": 4138, - "__name__": "rm_e1.py" - } -} \ No newline at end of file diff --git a/boards/default_src/micropython_robot/package.json b/boards/default_src/micropython_robot/package.json index c09c5325..5316767f 100644 --- a/boards/default_src/micropython_robot/package.json +++ b/boards/default_src/micropython_robot/package.json @@ -5,10 +5,10 @@ "scripts": { "serve": "webpack-dev-server --config=webpack.dev.js", "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js & npm run build:libraries", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", - "build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib", + "build:libraries": "python ../../../scripts/build-libraries.py ../../default/micropython_robot/build/lib", "publish:board": "npm publish --registry https://registry.npmjs.org/" }, "main": "./export.js",