pxt-core 13.2.14 → 13.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/backendutils.d.ts +120 -0
- package/built/backendutils.js +2171 -5
- package/built/cli.js +5 -2
- package/built/pxt.js +5785 -5553
- package/built/pxtcompiler.js +2 -2
- package/built/pxtlib.d.ts +178 -127
- package/built/pxtlib.js +21858 -21629
- package/built/target.js +1 -1
- package/built/targetlight.js +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +2 -2
- package/built/web/pxtcompiler.js +1 -1
- package/built/web/pxtembed.js +1 -1
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/package.json +1 -1
- package/theme/highcontrast.less +4 -0
- package/theme/project-backpack.less +1 -1
- package/theme/project-tools.less +4 -4
package/built/cli.js
CHANGED
|
@@ -2361,8 +2361,6 @@ async function buildTargetCoreAsync(options = {}) {
|
|
|
2361
2361
|
await buildWebStringsAsync();
|
|
2362
2362
|
if (!options.quick)
|
|
2363
2363
|
await internalGenDocsAsync(false, true);
|
|
2364
|
-
if (pxt.appTarget.cacheusedblocksdirs && !options.quick)
|
|
2365
|
-
cfg.tutorialInfo = await internalCacheUsedBlocksAsync();
|
|
2366
2364
|
await forEachBundledPkgAsync(async (pkg, dirname) => {
|
|
2367
2365
|
var _a, _b, _c;
|
|
2368
2366
|
pxt.log(`building bundled ${dirname}`);
|
|
@@ -2480,6 +2478,11 @@ async function buildTargetCoreAsync(options = {}) {
|
|
|
2480
2478
|
.forEach(ip => config.icon = ip);
|
|
2481
2479
|
res[pxt.CONFIG_NAME] = pxt.Package.stringifyConfig(config);
|
|
2482
2480
|
});
|
|
2481
|
+
// reload the app target with the bundled packages before caching tutorial used blocks
|
|
2482
|
+
pxt.setAppTarget(cfg);
|
|
2483
|
+
pxt.reloadAppTargetVariant();
|
|
2484
|
+
if (pxt.appTarget.cacheusedblocksdirs && !options.quick)
|
|
2485
|
+
cfg.tutorialInfo = await internalCacheUsedBlocksAsync();
|
|
2483
2486
|
// Trim redundant API info from packages
|
|
2484
2487
|
const coreInfo = builtInfo[corepkg];
|
|
2485
2488
|
if (coreInfo) {
|