pxt-core 9.2.9 → 9.2.11
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/cli.js +56 -45
- package/built/crowdin.d.ts +2 -1
- package/built/crowdin.js +218 -213
- package/built/crowdinApi.d.ts +10 -0
- package/built/crowdinApi.js +374 -0
- package/built/pxt.js +97 -298
- package/built/pxtblockly.js +8 -6
- package/built/pxtblocks.d.ts +4 -0
- package/built/pxtblocks.js +8 -6
- package/built/pxtlib.d.ts +3 -37
- package/built/pxtlib.js +41 -253
- package/built/target.js +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +1 -1
- package/built/web/pxtblockly.js +1 -1
- package/built/web/pxtblocks.js +1 -1
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/localtypings/pxtarget.d.ts +3 -0
- package/package.json +5 -1
|
@@ -363,6 +363,7 @@ declare namespace pxt {
|
|
|
363
363
|
simAnimationExit?: string; // Simulator exit animation
|
|
364
364
|
hasAudio?: boolean; // target uses the Audio manager. if true: a mute button is added to the simulator toolbar.
|
|
365
365
|
crowdinProject?: string;
|
|
366
|
+
crowdinProjectId?: number; // Crowdin project id. Can be found by going to the project page in Crowdin and selecting Tools > API
|
|
366
367
|
crowdinBranch?: string; // optional branch specification for localization files
|
|
367
368
|
monacoToolbox?: boolean; // if true: show the monaco toolbox when in the monaco editor
|
|
368
369
|
blockHats?: boolean; // if true, event blocks have hats
|
|
@@ -1150,6 +1151,7 @@ declare namespace pxt.tutorial {
|
|
|
1150
1151
|
code: string[]; // all code
|
|
1151
1152
|
language?: string; // language of code snippet (ts or python)
|
|
1152
1153
|
templateCode?: string;
|
|
1154
|
+
templateLanguage?: string; // language of template code
|
|
1153
1155
|
metadata?: TutorialMetadata;
|
|
1154
1156
|
assetFiles?: pxt.Map<string>;
|
|
1155
1157
|
jres?: string; // JRES to be used when generating hints; necessary for tilemaps
|
|
@@ -1255,6 +1257,7 @@ declare namespace pxt.tutorial {
|
|
|
1255
1257
|
tutorialCode?: string[]; // all tutorial code bundled
|
|
1256
1258
|
tutorialRecipe?: boolean; // micro tutorial running within the context of a script
|
|
1257
1259
|
templateCode?: string;
|
|
1260
|
+
templateLanguage?: string;
|
|
1258
1261
|
mergeHeaderId?: string;
|
|
1259
1262
|
mergeCarryoverCode?: boolean;
|
|
1260
1263
|
autoexpandStep?: boolean; // autoexpand tutorial card if instruction text overflows
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-core",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.11",
|
|
4
4
|
"description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TypeScript",
|
|
@@ -67,10 +67,13 @@
|
|
|
67
67
|
"@blockly/keyboard-navigation": "^0.1.18",
|
|
68
68
|
"@blockly/plugin-workspace-search": "^4.0.10",
|
|
69
69
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
70
|
+
"@crowdin/crowdin-api-client": "^1.33.0",
|
|
70
71
|
"@microsoft/applicationinsights-web": "^2.8.11",
|
|
71
72
|
"@microsoft/immersive-reader-sdk": "1.1.0",
|
|
72
73
|
"@types/diff-match-patch": "^1.0.32",
|
|
73
74
|
"@zip.js/zip.js": "2.4.20",
|
|
75
|
+
"adm-zip": "^0.5.12",
|
|
76
|
+
"axios": "^1.6.8",
|
|
74
77
|
"browserify": "16.2.3",
|
|
75
78
|
"chai": "^3.5.0",
|
|
76
79
|
"cssnano": "4.1.10",
|
|
@@ -103,6 +106,7 @@
|
|
|
103
106
|
},
|
|
104
107
|
"devDependencies": {
|
|
105
108
|
"@microsoft/eslint-plugin-sdl": "^0.1.5",
|
|
109
|
+
"@types/adm-zip": "^0.5.5",
|
|
106
110
|
"@types/chai": "4.0.6",
|
|
107
111
|
"@types/fuse": "2.5.2",
|
|
108
112
|
"@types/highlight.js": "9.12.2",
|