miniprogram-ci 2.1.30 → 2.1.32

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.
Files changed (419) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +6 -0
  3. package/dist/@types/ci/checkCodeQuality.d.ts +1 -1
  4. package/dist/@types/ci/code-analyse.d.ts +1 -1
  5. package/dist/@types/ci/cos-upload.d.ts +0 -1
  6. package/dist/@types/ci/getCompiledResult.d.ts +0 -1
  7. package/dist/@types/ci/utils/filterUnusedFile.d.ts +0 -1
  8. package/dist/@types/ci/utils/pack.d.ts +0 -1
  9. package/dist/@types/ci/utils/packfile.d.ts +0 -1
  10. package/dist/@types/ci/utils/tools.d.ts +1 -1
  11. package/dist/@types/ci/utils/wxvpkg/unpack/version0.d.ts +0 -1
  12. package/dist/@types/ci/utils/wxvpkg/unpack/version10.d.ts +0 -1
  13. package/dist/@types/config/compiletype.config.d.ts +4 -4
  14. package/dist/@types/config/config.d.ts +1 -1
  15. package/dist/@types/config/dir.config.d.ts +17 -0
  16. package/dist/@types/config/url.config.d.ts +42 -42
  17. package/dist/@types/index.d.ts +4 -2
  18. package/dist/@types/modules/corecompiler/baseCompiler.d.ts +3 -4
  19. package/dist/@types/modules/corecompiler/original/compile/common.d.ts +0 -1
  20. package/dist/@types/modules/corecompiler/original/compile/gamePlugin.d.ts +0 -1
  21. package/dist/@types/modules/corecompiler/original/compile/handler/mpjson.d.ts +0 -1
  22. package/dist/@types/modules/corecompiler/original/compile/miniprogram.d.ts +0 -1
  23. package/dist/@types/modules/corecompiler/original/compile/miniprogramPlugin.d.ts +0 -1
  24. package/dist/@types/modules/corecompiler/original/js/index.d.ts +0 -1
  25. package/dist/@types/modules/corecompiler/original/protect/uglifyfilenames.d.ts +0 -1
  26. package/dist/@types/modules/corecompiler/original/webWorker/webWorkerManager.d.ts +0 -1
  27. package/dist/@types/modules/corecompiler/original/workerThread/task/compilejs.d.ts +1 -2
  28. package/dist/@types/modules/corecompiler/original/workerThread/task/compilewxss.d.ts +0 -1
  29. package/dist/@types/modules/corecompiler/original/workerThread/task/minifywxml.d.ts +0 -1
  30. package/dist/@types/modules/corecompiler/summer/graph/appconf.d.ts +1 -1
  31. package/dist/@types/modules/corecompiler/summer/graph/gameconf.d.ts +1 -1
  32. package/dist/@types/modules/corecompiler/summer/plugins/less.d.ts +0 -1
  33. package/dist/@types/modules/corecompiler/summer/resolver.d.ts +1 -1
  34. package/dist/@types/modules/corecompiler/summerCompiler.d.ts +2 -3
  35. package/dist/@types/modules/nativecompiler/ios/buildCloud.d.ts +2 -2
  36. package/dist/@types/modules/nativecompiler/processHandler.d.ts +5 -0
  37. package/dist/@types/modules/precompiler/conditioncompile/compiler/base.d.ts +0 -1
  38. package/dist/@types/modules/precompiler/conditioncompile/compiler/json.d.ts +0 -1
  39. package/dist/@types/modules/precompiler/conditioncompile/compiler/macro.d.ts +0 -1
  40. package/dist/@types/modules/precompiler/conditioncompile/compiler/plant.d.ts +0 -1
  41. package/dist/@types/modules/precompiler/conditioncompile/index.d.ts +0 -1
  42. package/dist/@types/project/advance/precompileProject.d.ts +0 -1
  43. package/dist/@types/project/advance/reactiveProject.d.ts +1 -2
  44. package/dist/@types/project/baseProject.d.ts +3 -3
  45. package/dist/@types/project/ciProjectWithMockBuffer.d.ts +0 -1
  46. package/dist/@types/services/accountcard/accountcard.d.ts +18 -0
  47. package/dist/@types/services/accountcard/accountcardService.d.ts +0 -0
  48. package/dist/@types/services/app/common/appDirService.d.ts +10 -0
  49. package/dist/@types/services/app/common/appDirService.devtools.d.ts +7 -0
  50. package/dist/@types/services/app/electron/appDirService.d.ts +3 -0
  51. package/dist/@types/services/app/node/appDirService.d.ts +6 -0
  52. package/dist/@types/services/app/nw/appDirService.d.ts +3 -0
  53. package/dist/@types/services/builder/common/builder.d.ts +22 -0
  54. package/dist/@types/services/builder/nw/builder.d.ts +15 -0
  55. package/dist/@types/services/builder/webide/builder.d.ts +4 -0
  56. package/dist/@types/services/common/extensions.d.ts +8 -0
  57. package/dist/@types/services/common/getservice.d.ts +24 -0
  58. package/dist/@types/services/common/librarybase.d.ts +2063 -0
  59. package/dist/@types/services/common/vsbase.d.ts +3 -0
  60. package/dist/@types/services/compilewxml/common/compilewxmlService.d.ts +41 -0
  61. package/dist/@types/services/compilewxml/electron/compilewxmlService.d.ts +5 -0
  62. package/dist/@types/services/compilewxml/node/compileUtils.d.ts +3 -0
  63. package/dist/@types/services/compilewxml/node/compileglasseasel.d.ts +0 -0
  64. package/dist/@types/services/compilewxml/nw/compilewxmlService.d.ts +5 -0
  65. package/dist/@types/services/compilewxml/webide/compilewxmlService.d.ts +5 -0
  66. package/dist/@types/services/compilewxml/webide/pageFrameWasm/wcc/runWcc.d.ts +3 -0
  67. package/dist/@types/services/compilewxss/common/compilewxssService.d.ts +15 -0
  68. package/dist/@types/services/compilewxss/electron/compilewxssService.d.ts +4 -0
  69. package/dist/@types/services/compilewxss/node/compileUtils.d.ts +2 -0
  70. package/dist/@types/services/compilewxss/nw/compilewxssService.d.ts +4 -0
  71. package/dist/@types/services/compilewxss/webide/compilewxssService.d.ts +4 -0
  72. package/dist/@types/services/compilewxss/webide/pageFrameWasm/wcsc/runWcsc.d.ts +3 -0
  73. package/dist/@types/services/consoledisplay/common/consoledisplay.d.ts +5 -0
  74. package/dist/@types/services/consoledisplay/nw/consoledisplay.d.ts +6 -0
  75. package/dist/@types/services/fileUtilsManager/common/fileUtilsManager.d.ts +5 -0
  76. package/dist/@types/services/fileUtilsManager/nw/fileUtilsManager.d.ts +6 -0
  77. package/dist/@types/services/fs/common/fileService.d.ts +28 -0
  78. package/dist/@types/services/genTempFile/common/genTempFile.devtools.d.ts +4 -0
  79. package/dist/@types/services/genTempFile/common/genTempFile.node.d.ts +4 -0
  80. package/dist/@types/services/genTempFile/common/genTempFileService.d.ts +4 -0
  81. package/dist/@types/services/genTempFile/electron/genTempFileService.d.ts +3 -0
  82. package/dist/@types/services/genTempFile/node/genTempFileService.d.ts +3 -0
  83. package/dist/@types/services/genTempFile/nw/genTempFileService.d.ts +3 -0
  84. package/dist/@types/services/global/common/global.d.ts +10 -0
  85. package/dist/@types/services/global/nw/global.d.ts +12 -0
  86. package/dist/@types/services/initializeCheck/common/initializeCheck.d.ts +21 -0
  87. package/dist/@types/services/initializeCheck/nw/initializeCheck.d.ts +4 -0
  88. package/dist/@types/services/initializeCheck/webide/initializeCheck.d.ts +0 -0
  89. package/dist/@types/services/locales/common/locales.d.ts +7 -0
  90. package/dist/@types/services/locales/nw/locales.d.ts +9 -0
  91. package/dist/@types/services/log/common/logService.d.ts +9 -0
  92. package/dist/@types/services/miniappjson/common/miniappjson.d.ts +5 -0
  93. package/dist/@types/services/miniappjson/electron/miniappjson.d.ts +6 -0
  94. package/dist/@types/services/miniappjson/nw/miniappjson.d.ts +6 -0
  95. package/dist/@types/services/miniappjson/webide/miniappjson.d.ts +4 -0
  96. package/dist/@types/services/nativeModule/common/nativeModule.d.ts +9 -0
  97. package/dist/@types/services/nativeModule/common/nativeModule.impl.d.ts +12 -0
  98. package/dist/@types/services/nativeModule/electron/nativeModule.d.ts +3 -0
  99. package/dist/@types/services/nativeModule/nw/nativeModule.d.ts +3 -0
  100. package/dist/@types/services/partialcompile/common/parialcompile.impl.d.ts +0 -0
  101. package/dist/@types/services/partialcompile/common/partialcompile.d.ts +0 -0
  102. package/dist/@types/services/partialcompile/nw/partialcompile.d.ts +0 -0
  103. package/dist/@types/services/partialcompile/webide/partialcompile.d.ts +0 -0
  104. package/dist/@types/services/performance/common/performance.d.ts +9 -0
  105. package/dist/@types/services/performance/nw/performance.d.ts +9 -0
  106. package/dist/@types/services/performance/webide/performance.d.ts +7 -0
  107. package/dist/@types/services/project/common/cloudProjectService.d.ts +0 -0
  108. package/dist/@types/services/project/common/createProjectService.d.ts +0 -0
  109. package/dist/@types/services/project/common/project.helper.d.ts +0 -0
  110. package/dist/@types/services/project/common/projectConfigService.d.ts +0 -0
  111. package/dist/@types/services/project/common/projectFileService.d.ts +0 -0
  112. package/dist/@types/services/project/common/projectconfigjsonutils.d.ts +0 -0
  113. package/dist/@types/services/project/electron-backend/projectManagerService.d.ts +0 -0
  114. package/dist/@types/services/project/node/createProjectService.d.ts +0 -0
  115. package/dist/@types/services/project/node/projectConfigService.d.ts +0 -0
  116. package/dist/@types/services/project/node/projectManagerService.d.ts +0 -0
  117. package/dist/@types/services/project/web/projectManagerService.d.ts +0 -0
  118. package/dist/@types/services/project/webide/projectConfigService.d.ts +0 -0
  119. package/dist/@types/services/project/webide/projectFileService.d.ts +0 -0
  120. package/dist/@types/services/project/webide/projectManagerService.d.ts +0 -0
  121. package/dist/@types/services/projectManager/common/buildServerProjectManager.d.ts +5 -0
  122. package/dist/@types/services/projectManager/common/projectManager.d.ts +7 -0
  123. package/dist/@types/services/projectManager/nw/projectManager.d.ts +9 -0
  124. package/dist/@types/services/root/common/createService.d.ts +12 -0
  125. package/dist/@types/services/root/electron/root.d.ts +11 -0
  126. package/dist/@types/services/root/electron/rootService.d.ts +2 -0
  127. package/dist/@types/services/root/node/root.d.ts +11 -0
  128. package/dist/@types/services/root/node/rootService.d.ts +0 -0
  129. package/dist/@types/services/root/nw/root.d.ts +11 -0
  130. package/dist/@types/services/root/nw/rootService.d.ts +0 -0
  131. package/dist/@types/services/staticConfig/common/staticConfigService.d.ts +5 -0
  132. package/dist/@types/services/staticConfig/nw/staticConfigService.d.ts +6 -0
  133. package/dist/@types/services/store/common/storeService.d.ts +17 -0
  134. package/dist/@types/services/uniapp/common/uniapp.d.ts +5 -0
  135. package/dist/@types/services/uniapp/nw/uniapp.d.ts +9 -0
  136. package/dist/@types/services/uniapp/webide/uniapp.d.ts +4 -0
  137. package/dist/@types/services/vendor/common/utils.d.ts +0 -0
  138. package/dist/@types/services/vendor/common/vendorService.d.ts +0 -0
  139. package/dist/@types/services/vendor/node/vendorService.d.ts +0 -0
  140. package/dist/@types/services/vendor/webide/vendorService.d.ts +0 -0
  141. package/dist/@types/types/ci.d.ts +1 -2
  142. package/dist/@types/types/core.d.ts +1 -2
  143. package/dist/@types/types/devtools.d.ts +0 -1
  144. package/dist/@types/types/summer.d.ts +0 -1
  145. package/dist/@types/utils/babel_plugin_worklet.d.ts +10 -1
  146. package/dist/@types/utils/common.d.ts +3 -1
  147. package/dist/@types/utils/cosUpload.d.ts +0 -1
  148. package/dist/@types/utils/fsagent.d.ts +0 -1
  149. package/dist/@types/utils/locales/locales.d.ts +2 -114
  150. package/dist/@types/utils/locales/zh.d.ts +114 -113
  151. package/dist/@types/utils/miniappJson.d.ts +1 -1
  152. package/dist/@types/utils/node/common.d.ts +1 -0
  153. package/dist/@types/utils/packOptionsHelper.d.ts +1 -1
  154. package/dist/@types/utils/signature.d.ts +0 -1
  155. package/dist/@types/utils/singletontask.d.ts +1 -0
  156. package/dist/@types/utils/subprocess/processManager.d.ts +1 -0
  157. package/dist/@types/utils/taskqueue.d.ts +0 -1
  158. package/dist/@types/utils/taskstatus.d.ts +1 -1
  159. package/dist/@types/utils/tools.d.ts +3 -4
  160. package/dist/@types/utils/web/common.d.ts +1 -0
  161. package/dist/@types/utils/wxapkg/pack.d.ts +0 -1
  162. package/dist/@types/utils/wxvpkgreader/wxvpkg/reader/version0.d.ts +0 -1
  163. package/dist/@types/utils/wxvpkgreader/wxvpkg/reader/version10.d.ts +0 -1
  164. package/dist/@types/utils/wxvpkgreader/wxvpkg/unpack/version0.d.ts +0 -1
  165. package/dist/@types/utils/wxvpkgreader/wxvpkg/unpack/version10.d.ts +0 -1
  166. package/dist/@types/utils/wxvpkgreader/wxvpkgreader.d.ts +0 -1
  167. package/dist/ci/android-miniapp-toolkit/dist/index.js +1 -1
  168. package/dist/ci/build-apk.js +1 -1
  169. package/dist/ci/build-ipa.js +1 -1
  170. package/dist/ci/checkCodeQuality.js +1 -1
  171. package/dist/ci/cloud/cloudapi.js +1 -1
  172. package/dist/ci/cloud/createTimeTrigger.js +1 -1
  173. package/dist/ci/cloud/uploadContainer.js +1 -1
  174. package/dist/ci/cloud/uploadFile.js +1 -1
  175. package/dist/ci/cloud/uploadFunction.js +1 -1
  176. package/dist/ci/cloud/utils.js +1 -1
  177. package/dist/ci/code-analyse.js +1 -1
  178. package/dist/ci/cos-upload.js +1 -1
  179. package/dist/ci/gamepkg/apkplug.js +1 -1
  180. package/dist/ci/gamepkg/index.js +1 -1
  181. package/dist/ci/getCompiledResult.js +1 -1
  182. package/dist/ci/getDevSourceMap.js +1 -1
  183. package/dist/ci/getLatestVersion.js +1 -1
  184. package/dist/ci/getcompiler.js +1 -1
  185. package/dist/ci/index.js +1 -1
  186. package/dist/ci/jsserver.js +1 -1
  187. package/dist/ci/miniapp/archive.js +1 -1
  188. package/dist/ci/miniapp/checkBuildArgument.js +1 -1
  189. package/dist/ci/miniapp/miniappPlugin.js +1 -1
  190. package/dist/ci/miniapp/sdkManager.js +1 -1
  191. package/dist/ci/miniapp/upload.js +1 -1
  192. package/dist/ci/miniapp-cloud-upload.js +1 -1
  193. package/dist/ci/miniappattr.js +1 -1
  194. package/dist/ci/preview.js +1 -1
  195. package/dist/ci/projectattr.js +1 -1
  196. package/dist/ci/upload.js +1 -1
  197. package/dist/ci/utils/ciRequest.js +1 -1
  198. package/dist/ci/utils/filterUnusedFile.js +1 -1
  199. package/dist/ci/utils/pack.js +1 -1
  200. package/dist/ci/utils/terminalQrcode.js +1 -1
  201. package/dist/ci/utils/tools.js +1 -1
  202. package/dist/ci/utils/wxvpkg/unpack/version0.js +1 -1
  203. package/dist/ci/utils/wxvpkg/unpack/version10.js +1 -1
  204. package/dist/config/config.js +1 -1
  205. package/dist/config/dir.config.js +1 -0
  206. package/dist/index.js +1 -1
  207. package/dist/modules/corecompiler/baseCompiler.js +1 -1
  208. package/dist/modules/corecompiler/original/analyse/partial.js +1 -1
  209. package/dist/modules/corecompiler/original/compile/common.js +1 -1
  210. package/dist/modules/corecompiler/original/compile/game.js +1 -1
  211. package/dist/modules/corecompiler/original/compile/gamePlugin.js +1 -1
  212. package/dist/modules/corecompiler/original/compile/handler/js.js +1 -1
  213. package/dist/modules/corecompiler/original/compile/handler/mpjson.js +1 -1
  214. package/dist/modules/corecompiler/original/compile/handler/wxml.js +1 -1
  215. package/dist/modules/corecompiler/original/compile/handler/wxss.js +1 -1
  216. package/dist/modules/corecompiler/original/compile/index.js +1 -1
  217. package/dist/modules/corecompiler/original/compile/miniprogram.js +1 -1
  218. package/dist/modules/corecompiler/original/compile/miniprogramPlugin.js +1 -1
  219. package/dist/modules/corecompiler/original/index.js +1 -1
  220. package/dist/modules/corecompiler/original/js/index.js +1 -1
  221. package/dist/modules/corecompiler/original/json/app/appJSON.js +1 -1
  222. package/dist/modules/corecompiler/original/json/app/checkAppFields.js +1 -1
  223. package/dist/modules/corecompiler/original/json/common.js +1 -1
  224. package/dist/modules/corecompiler/original/json/page/checkPageJSON.js +1 -1
  225. package/dist/modules/corecompiler/original/json/page/getPageJSON.js +1 -1
  226. package/dist/modules/corecompiler/original/json/plugin/plugin.js +1 -1
  227. package/dist/modules/corecompiler/original/json/plugin/pluginPage.js +1 -1
  228. package/dist/modules/corecompiler/original/json/reactiveCache.js +1 -1
  229. package/dist/modules/corecompiler/original/json/signaturejson.js +1 -1
  230. package/dist/modules/corecompiler/original/json/theme.js +1 -1
  231. package/dist/modules/corecompiler/original/npm/filterdeps.js +1 -1
  232. package/dist/modules/corecompiler/original/npm/packnpm.js +1 -1
  233. package/dist/modules/corecompiler/original/protect/uglifyfilenames.js +1 -1
  234. package/dist/modules/corecompiler/original/validate/schemaValidate.js +1 -1
  235. package/dist/modules/corecompiler/original/webWorker/configs.js +1 -1
  236. package/dist/modules/corecompiler/original/workerThread/config.js +1 -1
  237. package/dist/modules/corecompiler/original/workerThread/getWorkerPoolSize.js +1 -1
  238. package/dist/modules/corecompiler/original/workerThread/index.js +1 -1
  239. package/dist/modules/corecompiler/original/workerThread/task/call_func.js +1 -1
  240. package/dist/modules/corecompiler/original/workerThread/task/func.js +1 -1
  241. package/dist/modules/corecompiler/original/workerThread/task/minifywxml.js +1 -1
  242. package/dist/modules/corecompiler/processHandler.js +1 -1
  243. package/dist/modules/corecompiler/summer/graph/basegraph.js +1 -1
  244. package/dist/modules/corecompiler/summer/graph/util.js +1 -1
  245. package/dist/modules/corecompiler/summer/index.js +1 -1
  246. package/dist/modules/corecompiler/summer/initPlugin.js +1 -1
  247. package/dist/modules/corecompiler/summer/pluginDriver.js +1 -1
  248. package/dist/modules/corecompiler/summer/pluginconfig.js +1 -1
  249. package/dist/modules/corecompiler/summer/plugins/base/es6module.js +1 -1
  250. package/dist/modules/corecompiler/summer/plugins/base/javascript.js +1 -1
  251. package/dist/modules/corecompiler/summer/plugins/base/swc.js +1 -1
  252. package/dist/modules/corecompiler/summer/plugins/base/wxss.js +1 -1
  253. package/dist/modules/corecompiler/summer/plugins/enhance.js +1 -1
  254. package/dist/modules/corecompiler/summer/plugins/filetask/script.js +1 -1
  255. package/dist/modules/corecompiler/summer/plugins/less.js +1 -1
  256. package/dist/modules/corecompiler/summer/plugins/minifywxml.js +1 -1
  257. package/dist/modules/corecompiler/summer/plugins/sass.js +1 -1
  258. package/dist/modules/corecompiler/summer/plugins/script_task/babel_script_task.js +1 -1
  259. package/dist/modules/corecompiler/summer/plugins/script_task/load_script_task.js +1 -1
  260. package/dist/modules/corecompiler/summer/plugins/script_task/minify_script_task.js +1 -1
  261. package/dist/modules/corecompiler/summer/plugins/script_task/swc_task.js +1 -1
  262. package/dist/modules/corecompiler/summer/plugins/terser.js +1 -1
  263. package/dist/modules/corecompiler/summer/plugins/typescript.js +1 -1
  264. package/dist/modules/corecompiler/summer/plugins/worklet.js +1 -1
  265. package/dist/modules/corecompiler/summer/utils/ensureArray.js +1 -1
  266. package/dist/modules/corecompiler/summer/utils/inputsourcemap.js +1 -1
  267. package/dist/modules/corecompiler/summer/worker.js +1 -1
  268. package/dist/modules/fullcompiler/app/app.js +1 -1
  269. package/dist/modules/fullcompiler/app/contactandlaunch/updateContactForSubpkg.js +1 -1
  270. package/dist/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch.js +1 -1
  271. package/dist/modules/nativecompiler/android/adb.js +1 -1
  272. package/dist/modules/nativecompiler/android/device.js +1 -1
  273. package/dist/modules/nativecompiler/ios/device.js +1 -1
  274. package/dist/modules/nativecompiler/ios/projectconfig.js +1 -1
  275. package/dist/modules/nativecompiler/nativeEntryProcess.js +1 -1
  276. package/dist/modules/nativecompiler/processHandler.js +1 -0
  277. package/dist/project/advance/precompileProject.js +1 -1
  278. package/dist/project/advance/reactiveProject.js +1 -1
  279. package/dist/project/baseProject.js +1 -1
  280. package/dist/services/accountcard/accountcard.js +1 -0
  281. package/dist/services/accountcard/accountcardService.js +1 -0
  282. package/dist/services/app/common/appDirService.devtools.js +1 -0
  283. package/dist/services/app/common/appDirService.js +1 -0
  284. package/dist/services/app/electron/appDirService.js +1 -0
  285. package/dist/services/app/node/appDirService.js +1 -0
  286. package/dist/services/app/nw/appDirService.js +1 -0
  287. package/dist/services/builder/common/builder.js +1 -0
  288. package/dist/services/builder/nw/builder.js +1 -0
  289. package/dist/services/builder/webide/builder.js +1 -0
  290. package/dist/services/common/extensions.js +1 -0
  291. package/dist/services/common/getservice.js +1 -0
  292. package/dist/services/common/librarybase.js +1 -0
  293. package/dist/services/common/vsbase.js +1 -0
  294. package/dist/services/compilewxml/common/compilewxmlService.js +1 -0
  295. package/dist/services/compilewxml/electron/compilewxmlService.js +1 -0
  296. package/dist/services/compilewxml/node/compileUtils.js +1 -0
  297. package/dist/services/compilewxml/node/compileglasseasel.js +1 -0
  298. package/dist/services/compilewxml/nw/compilewxmlService.js +1 -0
  299. package/dist/services/compilewxml/webide/compilewxmlService.js +1 -0
  300. package/dist/services/compilewxml/webide/pageFrameWasm/wcc/runWcc.js +1 -0
  301. package/dist/services/compilewxss/common/compilewxssService.js +1 -0
  302. package/dist/services/compilewxss/electron/compilewxssService.js +1 -0
  303. package/dist/services/compilewxss/node/compileUtils.js +1 -0
  304. package/dist/services/compilewxss/nw/compilewxssService.js +1 -0
  305. package/dist/services/compilewxss/webide/compilewxssService.js +1 -0
  306. package/dist/services/compilewxss/webide/pageFrameWasm/wcsc/runWcsc.js +1 -0
  307. package/dist/services/consoledisplay/common/consoledisplay.js +1 -0
  308. package/dist/services/consoledisplay/nw/consoledisplay.js +1 -0
  309. package/dist/services/fileUtilsManager/common/fileUtilsManager.js +1 -0
  310. package/dist/services/fileUtilsManager/nw/fileUtilsManager.js +1 -0
  311. package/dist/services/fs/common/fileService.js +1 -0
  312. package/dist/services/genTempFile/common/genTempFile.devtools.js +1 -0
  313. package/dist/services/genTempFile/common/genTempFile.node.js +1 -0
  314. package/dist/services/genTempFile/common/genTempFileService.js +1 -0
  315. package/dist/services/genTempFile/electron/genTempFileService.js +1 -0
  316. package/dist/services/genTempFile/node/genTempFileService.js +1 -0
  317. package/dist/services/genTempFile/nw/genTempFileService.js +1 -0
  318. package/dist/services/global/common/global.js +1 -0
  319. package/dist/services/global/nw/global.js +1 -0
  320. package/dist/services/initializeCheck/common/initializeCheck.js +1 -0
  321. package/dist/services/initializeCheck/nw/initializeCheck.js +1 -0
  322. package/dist/services/initializeCheck/webide/initializeCheck.js +1 -0
  323. package/dist/services/locales/common/locales.js +1 -0
  324. package/dist/services/locales/nw/locales.js +1 -0
  325. package/dist/services/log/common/logService.js +1 -0
  326. package/dist/services/miniappjson/common/miniappjson.js +1 -0
  327. package/dist/services/miniappjson/electron/miniappjson.js +1 -0
  328. package/dist/services/miniappjson/nw/miniappjson.js +1 -0
  329. package/dist/services/miniappjson/webide/miniappjson.js +1 -0
  330. package/dist/services/nativeModule/common/nativeModule.impl.js +1 -0
  331. package/dist/services/nativeModule/common/nativeModule.js +1 -0
  332. package/dist/services/nativeModule/electron/nativeModule.js +1 -0
  333. package/dist/services/nativeModule/nw/nativeModule.js +1 -0
  334. package/dist/services/partialcompile/common/parialcompile.impl.js +1 -0
  335. package/dist/services/partialcompile/common/partialcompile.js +1 -0
  336. package/dist/services/partialcompile/nw/partialcompile.js +1 -0
  337. package/dist/services/partialcompile/webide/partialcompile.js +1 -0
  338. package/dist/services/performance/common/performance.js +1 -0
  339. package/dist/services/performance/nw/performance.js +1 -0
  340. package/dist/services/performance/webide/performance.js +1 -0
  341. package/dist/services/project/common/cloudProjectService.js +1 -0
  342. package/dist/services/project/common/createProjectService.js +1 -0
  343. package/dist/services/project/common/project.helper.js +1 -0
  344. package/dist/services/project/common/projectConfigService.js +1 -0
  345. package/dist/services/project/common/projectFileService.js +1 -0
  346. package/dist/services/project/common/projectconfigjsonutils.js +1 -0
  347. package/dist/services/project/electron-backend/projectManagerService.js +1 -0
  348. package/dist/services/project/node/createProjectService.js +1 -0
  349. package/dist/services/project/node/projectConfigService.js +1 -0
  350. package/dist/services/project/node/projectManagerService.js +1 -0
  351. package/dist/services/project/web/projectManagerService.js +1 -0
  352. package/dist/services/project/webide/projectConfigService.js +1 -0
  353. package/dist/services/project/webide/projectFileService.js +1 -0
  354. package/dist/services/project/webide/projectManagerService.js +1 -0
  355. package/dist/services/projectManager/common/buildServerProjectManager.js +1 -0
  356. package/dist/services/projectManager/common/projectManager.js +1 -0
  357. package/dist/services/projectManager/nw/projectManager.js +1 -0
  358. package/dist/services/root/common/createService.js +1 -0
  359. package/dist/services/root/electron/root.js +1 -0
  360. package/dist/services/root/electron/rootService.js +1 -0
  361. package/dist/services/root/node/root.js +1 -0
  362. package/dist/services/root/node/rootService.js +1 -0
  363. package/dist/services/root/nw/root.js +1 -0
  364. package/dist/services/root/nw/rootService.js +1 -0
  365. package/dist/services/staticConfig/common/staticConfigService.js +1 -0
  366. package/dist/services/staticConfig/nw/staticConfigService.js +1 -0
  367. package/dist/services/store/common/storeService.js +1 -0
  368. package/dist/services/uniapp/common/uniapp.js +1 -0
  369. package/dist/services/uniapp/nw/uniapp.js +1 -0
  370. package/dist/services/uniapp/webide/uniapp.js +1 -0
  371. package/dist/services/vendor/common/utils.js +1 -0
  372. package/dist/services/vendor/common/vendorService.js +1 -0
  373. package/dist/services/vendor/node/vendorService.js +1 -0
  374. package/dist/services/vendor/webide/vendorService.js +1 -0
  375. package/dist/types/ci.js +1 -1
  376. package/dist/utils/asyncTask/index.js +1 -1
  377. package/dist/utils/babel_helper.js +1 -1
  378. package/dist/utils/babel_plugin_worklet.js +1 -1
  379. package/dist/utils/cache.js +1 -1
  380. package/dist/utils/codesign.js +1 -1
  381. package/dist/utils/common.js +1 -1
  382. package/dist/utils/cosUpload.js +1 -1
  383. package/dist/utils/cp.js +1 -1
  384. package/dist/utils/customError.js +1 -1
  385. package/dist/utils/debug.js +1 -1
  386. package/dist/utils/download.js +1 -1
  387. package/dist/utils/env.js +1 -1
  388. package/dist/utils/fs.js +1 -1
  389. package/dist/utils/genTempFile.js +1 -1
  390. package/dist/utils/generateIpa.js +1 -1
  391. package/dist/utils/glob.js +1 -1
  392. package/dist/utils/helper_util.js +1 -1
  393. package/dist/utils/jsonParse.js +1 -1
  394. package/dist/utils/miniapp-builder.js +1 -1
  395. package/dist/utils/miniappJson.js +1 -1
  396. package/dist/utils/node/common.js +1 -0
  397. package/dist/utils/officialDonutPlugin.js +1 -1
  398. package/dist/utils/packOptionsHelper.js +1 -1
  399. package/dist/utils/progressRecorder.js +1 -1
  400. package/dist/utils/report.js +1 -1
  401. package/dist/utils/request.js +1 -1
  402. package/dist/utils/sign.js +1 -1
  403. package/dist/utils/signature.js +1 -1
  404. package/dist/utils/singletontask.js +1 -1
  405. package/dist/utils/subprocess/entryProcess.js +1 -1
  406. package/dist/utils/subprocess/processManager.js +1 -1
  407. package/dist/utils/subprocess/processService.js +1 -1
  408. package/dist/utils/subprocess/stringifyPostMsg.js +1 -1
  409. package/dist/utils/swc_helper.js +1 -1
  410. package/dist/utils/tools.js +1 -1
  411. package/dist/utils/usbProcess.js +1 -1
  412. package/dist/utils/web/common.js +1 -0
  413. package/dist/utils/white_ext_list.js +1 -1
  414. package/dist/utils/wxapkg/pack.js +1 -1
  415. package/dist/utils/wxvpkgreader/wxvpkg/unpack/version0.js +1 -1
  416. package/dist/utils/wxvpkgreader/wxvpkg/unpack/version10.js +1 -1
  417. package/dist/utils/zip.js +1 -1
  418. package/dist/vendor/vslibrary/bundled/base.bundled.js +2 -0
  419. package/package.json +5 -54
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import type { Analyzer } from '../common/code-analyse';
4
2
  import EventEmitter from 'events';
5
3
  import { MiniProgramDevtools } from './devtools';
@@ -50,6 +48,7 @@ export declare namespace MiniProgramCI {
50
48
  pluginRoot: string;
51
49
  attr(): Promise<IProjectAttr>;
52
50
  stat(prefix: string, filePath: string): IStat | undefined;
51
+ statAsync(prefix: string, filePath: string): Promise<IStat | undefined>;
53
52
  getFile(prefix: string, filePath: string): Buffer;
54
53
  getFileList(prefix?: string, extName?: string): string[];
55
54
  getExtAppid(): Promise<string | void>;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { Analyzer } from '../common/code-analyse';
3
2
  import { MiniProgramDevtools } from './devtools';
4
3
  import { MiniProgramCI } from './ci';
@@ -42,7 +41,7 @@ export declare namespace MiniProgramCore {
42
41
  getTargetPath: (prefix: string, filePath: string) => string;
43
42
  exists: (prefix: string, filePath: string) => boolean;
44
43
  updateFileAndDirs: (...args: any[]) => void;
45
- getAllFileInfo: (prefix?: string) => IFileInfos;
44
+ getAllFileInfo: (prefix?: string) => Promise<IFileInfos>;
46
45
  onFileChange?: any;
47
46
  }
48
47
  type IGetPackageFilesOptions = {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { MiniProgramCore } from './core';
3
2
  import { MiniProgramSummer, IBasicCodeExt } from './summer';
4
3
  export declare namespace MiniProgramDevtools {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { RawSourceMap } from 'source-map';
3
2
  import * as BabelTypes from '@babel/types';
4
3
  import { ICompileOptions } from '..';
@@ -4,7 +4,7 @@ declare const hash: any;
4
4
  declare const transformSync: any;
5
5
  declare const traverse: any;
6
6
  declare const parse: any;
7
- declare const workletVersion: any;
7
+ declare const nodePath: any;
8
8
  declare const buildBindFunc: (func: any) => any;
9
9
  declare const buildWorkletFunc: (func: any) => any;
10
10
  declare const globals: Set<string>;
@@ -23,7 +23,16 @@ declare function buildWorkletString(t: any, fun: any, closureVariables: any, nam
23
23
  declare function generateWorkletFactory(t: any, fun: any): any;
24
24
  declare function removeWorkletDirective(fun: any): undefined;
25
25
  declare function makeWorkletName(t: any, fun: any): any;
26
+ declare function extractWorkletData(t: any, fun: any, fileName: any): {
27
+ variables: any[];
28
+ closure: Map<any, any>;
29
+ closureGenerator: ClosureGenerator;
30
+ funString: any;
31
+ workletHash: any;
32
+ locationFileName: any;
33
+ };
26
34
  declare function makeWorklet(t: any, fun: any, fileName: any): any;
35
+ declare function buildWorkletProperties(t: any, fun: any, fileName: any): any;
27
36
  declare function processWorkletFunction(t: any, fun: any, fileName: any): void;
28
37
  declare function processIfWorkletNode(t: any, fun: any, fileName: any): void;
29
38
  declare const FUNCTIONLESS_FLAG = 1;
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
2
1
  import { AppJSON, IProject, MiniProgramCore } from '../types';
2
+ import crypto = require('crypto');
3
3
  export interface IPageInfo {
4
4
  path: string;
5
5
  root: string;
@@ -26,3 +26,5 @@ export declare function checkPath(options: {
26
26
  }): void;
27
27
  export declare function getAllTargetTypeFilesWithOtherTypeFilesOfSameName(project: IProject, targetType: string, otherTypes: string[], filter: string): string[];
28
28
  export declare const workletVersion = "0.0.7";
29
+ export declare function generateMD5(string: crypto.BinaryLike): string;
30
+ export declare function random(): string;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export type IRegion = 'ap-shanghai';
3
2
  export interface IUploadToCosCoreParam {
4
3
  uploadBuf: Buffer | string;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export interface IFSAgent {
3
2
  stat: (path: string) => Promise<{
4
3
  isFile: () => boolean;
@@ -1,118 +1,6 @@
1
+ import zhLocale from './zh';
1
2
  declare const _default: {
2
- readonly config: {
3
- GENERATE_LOCAL_SIGNATURE_FAIL: import("./fomatable_string").FormatableString;
4
- PARAM_ERROR: import("./fomatable_string").FormatableString;
5
- SHOULD_NOT_BE_EMPTY: import("./fomatable_string").FormatableString;
6
- JSON_CONTENT_SHOULD_BE: import("./fomatable_string").FormatableString;
7
- SHOULD_AT_LEAST_ONE_ITEM: import("./fomatable_string").FormatableString;
8
- SHOULD_MATCH: import("./fomatable_string").FormatableString;
9
- SHOULD_EQUAL: import("./fomatable_string").FormatableString;
10
- EXT_SHOULD_BE_ERROR: import("./fomatable_string").FormatableString;
11
- OR: import("./fomatable_string").FormatableString;
12
- CORRESPONDING_FILE_NOT_FOUND: import("./fomatable_string").FormatableString;
13
- JSON_SHOULD_NOT_START_WITH: import("./fomatable_string").FormatableString;
14
- JSON_SHOULD_NOT_CONTAIN: import("./fomatable_string").FormatableString;
15
- NOT_FOUND: import("./fomatable_string").FormatableString;
16
- COMPONENT_NOT_FOUND: import("./fomatable_string").FormatableString;
17
- NOT_FOUND_IN_ROOT_DIR: import("./fomatable_string").FormatableString;
18
- MINIPROGRAM_APP_JSON_NOT_FOUND: import("./fomatable_string").FormatableString;
19
- PLUGIN_JSON_NOT_FOUND: import("./fomatable_string").FormatableString;
20
- PLUGIN_PATH_SAME_WITH_MINIPROGRAM: import("./fomatable_string").FormatableString;
21
- FILE_NOT_FOUND: import("./fomatable_string").FormatableString;
22
- JSON_PARSE_ERROR: import("./fomatable_string").FormatableString;
23
- ENTRANCE_NOT_FOUND: import("./fomatable_string").FormatableString;
24
- JSON_PAGE_FILE_NOT_EXISTS: import("./fomatable_string").FormatableString;
25
- SHOULD_NOT_IN: import("./fomatable_string").FormatableString;
26
- JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS_TITLE: import("./fomatable_string").FormatableString;
27
- JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS: import("./fomatable_string").FormatableString;
28
- JSON_ENTRY_PAGE_PATH_NOT_FOUND: import("./fomatable_string").FormatableString;
29
- JSON_TABBAR_AT_LEAST: import("./fomatable_string").FormatableString;
30
- JSON_TABBAR_AT_MOST: import("./fomatable_string").FormatableString;
31
- JSON_TABBAR_PATH_EMPTY: import("./fomatable_string").FormatableString;
32
- JSON_TABBAR_PATH_SAME_WITH_OTHER: import("./fomatable_string").FormatableString;
33
- JSON_TABBAR_ICON_MAX_SIZE: import("./fomatable_string").FormatableString;
34
- JSON_TABBAR_ICON_EXT: import("./fomatable_string").FormatableString;
35
- JSON_CONTENT_SHOULD_NOT_BE: import("./fomatable_string").FormatableString;
36
- JSON_RESOLVE_ALIAS_ILLEGAL: import("./fomatable_string").FormatableString;
37
- JSON_RESOLVE_ALIAS_INCLUDE_STAR: import("./fomatable_string").FormatableString;
38
- JSON_RESOLVE_ALIAS_SHOULD_NOT_START_WITH: import("./fomatable_string").FormatableString;
39
- JSON_REQUIRED_PRIVATE_INFOS_MUTUALLY_EXCLUSIVE: import("./fomatable_string").FormatableString;
40
- APP_JSON_SKYLINE_WINDOW_TIPS: import("./fomatable_string").FormatableString;
41
- APP_JSON_SHOULD_SET_LAZYCODELOADING: import("./fomatable_string").FormatableString;
42
- APP_JSON_SHOULD_SET_RENDEREROPTIONS: import("./fomatable_string").FormatableString;
43
- JSON_SHOULD_SET_RENDEREROPTIONS: import("./fomatable_string").FormatableString;
44
- JSON_SHOULD_SET_RENDEREROPTIONS_SKYLINE: import("./fomatable_string").FormatableString;
45
- JSON_SHOULD_SET_COMPONENTFRAMEWORK_SKYLINE: import("./fomatable_string").FormatableString;
46
- PAGE_JSON_SHOULD_SET_DISABLESCROLL_TRUE: import("./fomatable_string").FormatableString;
47
- PAGE_JSON_SHOULD_SET_NAVIGATIONSTYLE_CUSTOM: import("./fomatable_string").FormatableString;
48
- CONTENT_EXIST: import("./fomatable_string").FormatableString;
49
- JSON_CONTENT_EXISTED: import("./fomatable_string").FormatableString;
50
- JSON_CONTENT_NOT_FOUND: import("./fomatable_string").FormatableString;
51
- LACK_OF_FILE: import("./fomatable_string").FormatableString;
52
- JSON_PAGES_REPEAT: import("./fomatable_string").FormatableString;
53
- JSON_CONTENT_REPEAT: import("./fomatable_string").FormatableString;
54
- EXT_JSON_INVALID: import("./fomatable_string").FormatableString;
55
- GAME_EXT_JSON_INVALID: import("./fomatable_string").FormatableString;
56
- EXT_APPID_SHOULD_NOT_BE_EMPTY: import("./fomatable_string").FormatableString;
57
- FILE_NOT_UTF8: import("./fomatable_string").FormatableString;
58
- INVALID: import("./fomatable_string").FormatableString;
59
- DIRECTORY: import("./fomatable_string").FormatableString;
60
- EXCEED_LIMIT: import("./fomatable_string").FormatableString;
61
- PLEASE_CHOOSE_PLUGIN_MODE: import("./fomatable_string").FormatableString;
62
- TRIPLE_NUMBER_DOT: import("./fomatable_string").FormatableString;
63
- PAGE_PATH: import("./fomatable_string").FormatableString;
64
- PLUGINS_SAME_ALIAS: import("./fomatable_string").FormatableString;
65
- SAME_ITEM: import("./fomatable_string").FormatableString;
66
- ALREADY_EXISTS: import("./fomatable_string").FormatableString;
67
- SAME_KEY_PAGE_PUBLICCOMPONENTS: import("./fomatable_string").FormatableString;
68
- GAME_DEV_PLUGIN_SHOULD_NOT_USE_LOCAL_PATH: import("./fomatable_string").FormatableString;
69
- GAME_PLUGIN_SIGNATURE_MD5_NOT_MATCH_CONTENT: import("./fomatable_string").FormatableString;
70
- FILE: import("./fomatable_string").FormatableString;
71
- PROCESSING: import("./fomatable_string").FormatableString;
72
- DONE: import("./fomatable_string").FormatableString;
73
- UPLOAD: import("./fomatable_string").FormatableString;
74
- SUCCESS: import("./fomatable_string").FormatableString;
75
- PROJECT_TYPE_ERROR: import("./fomatable_string").FormatableString;
76
- MINI_PROGRAM: import("./fomatable_string").FormatableString;
77
- MINI_GAME: import("./fomatable_string").FormatableString;
78
- NOT_ALLOWED_REQUIRE_VAR: import("./fomatable_string").FormatableString;
79
- NOT_ALLOWED_REQUIRE_ASSIGN: import("./fomatable_string").FormatableString;
80
- NOT_FOUND_NPM_ENTRY: import("./fomatable_string").FormatableString;
81
- NOT_FOUND_NODE_MODULES: import("./fomatable_string").FormatableString;
82
- JSON_ENTRANCE_DECLARE_PATH_ERR: import("./fomatable_string").FormatableString;
83
- JSON_ENTRANCE_DECLARE_PATH_EMPTY: import("./fomatable_string").FormatableString;
84
- COULD_NOT_USE_CODE_PROTECT: import("./fomatable_string").FormatableString;
85
- SUMMER_COMPILING_MODULE: import("./fomatable_string").FormatableString;
86
- SUMMER_COMPILE_JSON: import("./fomatable_string").FormatableString;
87
- SUMMER_OPTIMIZE_CODE: import("./fomatable_string").FormatableString;
88
- SUMMER_PACK_FILES: import("./fomatable_string").FormatableString;
89
- SUMMER_PACK_FILES_FINISH: import("./fomatable_string").FormatableString;
90
- SUMMER_COMPRESS_PACK: import("./fomatable_string").FormatableString;
91
- SUMMER_SEAL_PACK: import("./fomatable_string").FormatableString;
92
- SUMMER_APPEND_BABEL_HELPERS: import("./fomatable_string").FormatableString;
93
- SUMMER_COMPILE_PAGE_JSON: import("./fomatable_string").FormatableString;
94
- SUMMER_COMPILE_PLUGIN_PAGE_JSON: import("./fomatable_string").FormatableString;
95
- SUMMER_COMPILE: import("./fomatable_string").FormatableString;
96
- SUMMER_COMPILE_MINIPROGRAM: import("./fomatable_string").FormatableString;
97
- SUMMER_COMPILE_MINIGAME: import("./fomatable_string").FormatableString;
98
- SUMMER_COMPILE_PLUGIN: import("./fomatable_string").FormatableString;
99
- FILE_EXT_FORMAT_ERROR: import("./fomatable_string").FormatableString;
100
- THEME_JSON_VALUE_SHOULD_BE: import("./fomatable_string").FormatableString;
101
- JSON_VARIABLE_VALUE_NOT_FOUND: import("./fomatable_string").FormatableString;
102
- THEME_JSON_SHOULD_EXIST: import("./fomatable_string").FormatableString;
103
- PARSEERR_ENTRANCE_PAGE_ERROR: import("./fomatable_string").FormatableString;
104
- PARSEERR_ENTRANCE_FILE_ERROR: import("./fomatable_string").FormatableString;
105
- COMPILE_WXML_ERROR_CONSOLE: import("./fomatable_string").FormatableString;
106
- COMPILE_WXSS_ERROR_CONSOLE: import("./fomatable_string").FormatableString;
107
- RELATED_NODE_MODULES_NOT_FOUND: import("./fomatable_string").FormatableString;
108
- PACKAGE_JSON_PATH_IN_VALID: import("./fomatable_string").FormatableString;
109
- ACCOUNT_CARD_PACKAPGE_IN_VALID: import("./fomatable_string").FormatableString;
110
- UNUSE_FILE_LIST: import("./fomatable_string").FormatableString;
111
- PACK_OPTIONS_IGNORE_LIST: import("./fomatable_string").FormatableString;
112
- PARTIAL_COMPILE_IGNORE_LIST: import("./fomatable_string").FormatableString;
113
- UNKNOWN_REASON_INGORE_LIST: import("./fomatable_string").FormatableString;
114
- LARGEFILE_WARNING: import("./fomatable_string").FormatableString;
115
- };
3
+ readonly config: typeof zhLocale;
116
4
  setLocale: (tag: string) => void;
117
5
  getLocale: () => string;
118
6
  };
@@ -1,116 +1,117 @@
1
1
  import { FormatableString } from './fomatable_string';
2
- declare const _default: {
3
- GENERATE_LOCAL_SIGNATURE_FAIL: FormatableString;
4
- PARAM_ERROR: FormatableString;
5
- SHOULD_NOT_BE_EMPTY: FormatableString;
6
- JSON_CONTENT_SHOULD_BE: FormatableString;
7
- SHOULD_AT_LEAST_ONE_ITEM: FormatableString;
8
- SHOULD_MATCH: FormatableString;
9
- SHOULD_EQUAL: FormatableString;
10
- EXT_SHOULD_BE_ERROR: FormatableString;
11
- OR: FormatableString;
12
- CORRESPONDING_FILE_NOT_FOUND: FormatableString;
13
- JSON_SHOULD_NOT_START_WITH: FormatableString;
14
- JSON_SHOULD_NOT_CONTAIN: FormatableString;
15
- NOT_FOUND: FormatableString;
16
- COMPONENT_NOT_FOUND: FormatableString;
17
- NOT_FOUND_IN_ROOT_DIR: FormatableString;
18
- MINIPROGRAM_APP_JSON_NOT_FOUND: FormatableString;
19
- PLUGIN_JSON_NOT_FOUND: FormatableString;
20
- PLUGIN_PATH_SAME_WITH_MINIPROGRAM: FormatableString;
21
- FILE_NOT_FOUND: FormatableString;
22
- JSON_PARSE_ERROR: FormatableString;
23
- ENTRANCE_NOT_FOUND: FormatableString;
24
- JSON_PAGE_FILE_NOT_EXISTS: FormatableString;
25
- SHOULD_NOT_IN: FormatableString;
26
- JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS_TITLE: FormatableString;
27
- JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS: FormatableString;
28
- JSON_ENTRY_PAGE_PATH_NOT_FOUND: FormatableString;
29
- JSON_TABBAR_AT_LEAST: FormatableString;
30
- JSON_TABBAR_AT_MOST: FormatableString;
31
- JSON_TABBAR_PATH_EMPTY: FormatableString;
32
- JSON_TABBAR_PATH_SAME_WITH_OTHER: FormatableString;
33
- JSON_TABBAR_ICON_MAX_SIZE: FormatableString;
34
- JSON_TABBAR_ICON_EXT: FormatableString;
35
- JSON_CONTENT_SHOULD_NOT_BE: FormatableString;
36
- JSON_RESOLVE_ALIAS_ILLEGAL: FormatableString;
37
- JSON_RESOLVE_ALIAS_INCLUDE_STAR: FormatableString;
38
- JSON_RESOLVE_ALIAS_SHOULD_NOT_START_WITH: FormatableString;
39
- JSON_REQUIRED_PRIVATE_INFOS_MUTUALLY_EXCLUSIVE: FormatableString;
40
- APP_JSON_SKYLINE_WINDOW_TIPS: FormatableString;
41
- APP_JSON_SHOULD_SET_LAZYCODELOADING: FormatableString;
42
- APP_JSON_SHOULD_SET_RENDEREROPTIONS: FormatableString;
43
- JSON_SHOULD_SET_RENDEREROPTIONS: FormatableString;
44
- JSON_SHOULD_SET_RENDEREROPTIONS_SKYLINE: FormatableString;
45
- JSON_SHOULD_SET_COMPONENTFRAMEWORK_SKYLINE: FormatableString;
46
- PAGE_JSON_SHOULD_SET_DISABLESCROLL_TRUE: FormatableString;
47
- PAGE_JSON_SHOULD_SET_NAVIGATIONSTYLE_CUSTOM: FormatableString;
48
- CONTENT_EXIST: FormatableString;
49
- JSON_CONTENT_EXISTED: FormatableString;
50
- JSON_CONTENT_NOT_FOUND: FormatableString;
51
- LACK_OF_FILE: FormatableString;
52
- JSON_PAGES_REPEAT: FormatableString;
53
- JSON_CONTENT_REPEAT: FormatableString;
54
- EXT_JSON_INVALID: FormatableString;
55
- GAME_EXT_JSON_INVALID: FormatableString;
56
- EXT_APPID_SHOULD_NOT_BE_EMPTY: FormatableString;
57
- FILE_NOT_UTF8: FormatableString;
58
- INVALID: FormatableString;
59
- DIRECTORY: FormatableString;
60
- EXCEED_LIMIT: FormatableString;
61
- PLEASE_CHOOSE_PLUGIN_MODE: FormatableString;
62
- TRIPLE_NUMBER_DOT: FormatableString;
63
- PAGE_PATH: FormatableString;
64
- PLUGINS_SAME_ALIAS: FormatableString;
65
- SAME_ITEM: FormatableString;
66
- ALREADY_EXISTS: FormatableString;
67
- SAME_KEY_PAGE_PUBLICCOMPONENTS: FormatableString;
68
- GAME_DEV_PLUGIN_SHOULD_NOT_USE_LOCAL_PATH: FormatableString;
69
- GAME_PLUGIN_SIGNATURE_MD5_NOT_MATCH_CONTENT: FormatableString;
70
- FILE: FormatableString;
71
- PROCESSING: FormatableString;
72
- DONE: FormatableString;
73
- UPLOAD: FormatableString;
74
- SUCCESS: FormatableString;
75
- PROJECT_TYPE_ERROR: FormatableString;
76
- MINI_PROGRAM: FormatableString;
77
- MINI_GAME: FormatableString;
78
- NOT_ALLOWED_REQUIRE_VAR: FormatableString;
79
- NOT_ALLOWED_REQUIRE_ASSIGN: FormatableString;
80
- NOT_FOUND_NPM_ENTRY: FormatableString;
81
- NOT_FOUND_NODE_MODULES: FormatableString;
82
- JSON_ENTRANCE_DECLARE_PATH_ERR: FormatableString;
83
- JSON_ENTRANCE_DECLARE_PATH_EMPTY: FormatableString;
84
- COULD_NOT_USE_CODE_PROTECT: FormatableString;
85
- SUMMER_COMPILING_MODULE: FormatableString;
86
- SUMMER_COMPILE_JSON: FormatableString;
87
- SUMMER_OPTIMIZE_CODE: FormatableString;
88
- SUMMER_PACK_FILES: FormatableString;
89
- SUMMER_PACK_FILES_FINISH: FormatableString;
90
- SUMMER_COMPRESS_PACK: FormatableString;
91
- SUMMER_SEAL_PACK: FormatableString;
92
- SUMMER_APPEND_BABEL_HELPERS: FormatableString;
93
- SUMMER_COMPILE_PAGE_JSON: FormatableString;
94
- SUMMER_COMPILE_PLUGIN_PAGE_JSON: FormatableString;
95
- SUMMER_COMPILE: FormatableString;
96
- SUMMER_COMPILE_MINIPROGRAM: FormatableString;
97
- SUMMER_COMPILE_MINIGAME: FormatableString;
98
- SUMMER_COMPILE_PLUGIN: FormatableString;
99
- FILE_EXT_FORMAT_ERROR: FormatableString;
100
- THEME_JSON_VALUE_SHOULD_BE: FormatableString;
101
- JSON_VARIABLE_VALUE_NOT_FOUND: FormatableString;
102
- THEME_JSON_SHOULD_EXIST: FormatableString;
103
- PARSEERR_ENTRANCE_PAGE_ERROR: FormatableString;
104
- PARSEERR_ENTRANCE_FILE_ERROR: FormatableString;
105
- COMPILE_WXML_ERROR_CONSOLE: FormatableString;
106
- COMPILE_WXSS_ERROR_CONSOLE: FormatableString;
107
- RELATED_NODE_MODULES_NOT_FOUND: FormatableString;
108
- PACKAGE_JSON_PATH_IN_VALID: FormatableString;
109
- ACCOUNT_CARD_PACKAPGE_IN_VALID: FormatableString;
110
- UNUSE_FILE_LIST: FormatableString;
111
- PACK_OPTIONS_IGNORE_LIST: FormatableString;
112
- PARTIAL_COMPILE_IGNORE_LIST: FormatableString;
113
- UNKNOWN_REASON_INGORE_LIST: FormatableString;
114
- LARGEFILE_WARNING: FormatableString;
2
+ declare const config: {
3
+ GENERATE_LOCAL_SIGNATURE_FAIL: string;
4
+ PARAM_ERROR: string;
5
+ SHOULD_NOT_BE_EMPTY: string;
6
+ JSON_CONTENT_SHOULD_BE: string;
7
+ SHOULD_AT_LEAST_ONE_ITEM: string;
8
+ SHOULD_MATCH: string;
9
+ SHOULD_EQUAL: string;
10
+ EXT_SHOULD_BE_ERROR: string;
11
+ OR: string;
12
+ CORRESPONDING_FILE_NOT_FOUND: string;
13
+ JSON_SHOULD_NOT_START_WITH: string;
14
+ JSON_SHOULD_NOT_CONTAIN: string;
15
+ NOT_FOUND: string;
16
+ COMPONENT_NOT_FOUND: string;
17
+ NOT_FOUND_IN_ROOT_DIR: string;
18
+ MINIPROGRAM_APP_JSON_NOT_FOUND: string;
19
+ PLUGIN_JSON_NOT_FOUND: string;
20
+ PLUGIN_PATH_SAME_WITH_MINIPROGRAM: string;
21
+ FILE_NOT_FOUND: string;
22
+ JSON_PARSE_ERROR: string;
23
+ ENTRANCE_NOT_FOUND: string;
24
+ JSON_PAGE_FILE_NOT_EXISTS: string;
25
+ SHOULD_NOT_IN: string;
26
+ JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS_TITLE: string;
27
+ JSON_CUSTOM_COMPILE_PATH_NOT_EXISTS: string;
28
+ JSON_ENTRY_PAGE_PATH_NOT_FOUND: string;
29
+ JSON_TABBAR_AT_LEAST: string;
30
+ JSON_TABBAR_AT_MOST: string;
31
+ JSON_TABBAR_PATH_EMPTY: string;
32
+ JSON_TABBAR_PATH_SAME_WITH_OTHER: string;
33
+ JSON_TABBAR_ICON_MAX_SIZE: string;
34
+ JSON_TABBAR_ICON_EXT: string;
35
+ JSON_CONTENT_SHOULD_NOT_BE: string;
36
+ JSON_RESOLVE_ALIAS_ILLEGAL: string;
37
+ JSON_RESOLVE_ALIAS_INCLUDE_STAR: string;
38
+ JSON_RESOLVE_ALIAS_SHOULD_NOT_START_WITH: string;
39
+ JSON_REQUIRED_PRIVATE_INFOS_MUTUALLY_EXCLUSIVE: string;
40
+ APP_JSON_SKYLINE_WINDOW_TIPS: string;
41
+ APP_JSON_SHOULD_SET_LAZYCODELOADING: string;
42
+ APP_JSON_SHOULD_SET_RENDEREROPTIONS: string;
43
+ JSON_SHOULD_SET_RENDEREROPTIONS: string;
44
+ JSON_SHOULD_SET_RENDEREROPTIONS_SKYLINE: string;
45
+ JSON_SHOULD_SET_COMPONENTFRAMEWORK_SKYLINE: string;
46
+ PAGE_JSON_SHOULD_SET_DISABLESCROLL_TRUE: string;
47
+ PAGE_JSON_SHOULD_SET_NAVIGATIONSTYLE_CUSTOM: string;
48
+ CONTENT_EXIST: string;
49
+ JSON_CONTENT_EXISTED: string;
50
+ JSON_CONTENT_NOT_FOUND: string;
51
+ LACK_OF_FILE: string;
52
+ JSON_PAGES_REPEAT: string;
53
+ JSON_CONTENT_REPEAT: string;
54
+ EXT_JSON_INVALID: string;
55
+ GAME_EXT_JSON_INVALID: string;
56
+ EXT_APPID_SHOULD_NOT_BE_EMPTY: string;
57
+ FILE_NOT_UTF8: string;
58
+ INVALID: string;
59
+ DIRECTORY: string;
60
+ EXCEED_LIMIT: string;
61
+ PLEASE_CHOOSE_PLUGIN_MODE: string;
62
+ TRIPLE_NUMBER_DOT: string;
63
+ PAGE_PATH: string;
64
+ PLUGINS_SAME_ALIAS: string;
65
+ SAME_ITEM: string;
66
+ ALREADY_EXISTS: string;
67
+ SAME_KEY_PAGE_PUBLICCOMPONENTS: string;
68
+ GAME_DEV_PLUGIN_SHOULD_NOT_USE_LOCAL_PATH: string;
69
+ GAME_PLUGIN_SIGNATURE_MD5_NOT_MATCH_CONTENT: string;
70
+ FILE: string;
71
+ PROCESSING: string;
72
+ DONE: string;
73
+ UPLOAD: string;
74
+ SUCCESS: string;
75
+ PROJECT_TYPE_ERROR: string;
76
+ MINI_PROGRAM: string;
77
+ MINI_GAME: string;
78
+ NOT_ALLOWED_REQUIRE_VAR: string;
79
+ NOT_ALLOWED_REQUIRE_ASSIGN: string;
80
+ NOT_FOUND_NPM_ENTRY: string;
81
+ NOT_FOUND_NODE_MODULES: string;
82
+ JSON_ENTRANCE_DECLARE_PATH_ERR: string;
83
+ JSON_ENTRANCE_DECLARE_PATH_EMPTY: string;
84
+ COULD_NOT_USE_CODE_PROTECT: string;
85
+ SUMMER_COMPILING_MODULE: string;
86
+ SUMMER_COMPILE_JSON: string;
87
+ SUMMER_OPTIMIZE_CODE: string;
88
+ SUMMER_PACK_FILES: string;
89
+ SUMMER_PACK_FILES_FINISH: string;
90
+ SUMMER_COMPRESS_PACK: string;
91
+ SUMMER_SEAL_PACK: string;
92
+ SUMMER_APPEND_BABEL_HELPERS: string;
93
+ SUMMER_COMPILE_PAGE_JSON: string;
94
+ SUMMER_COMPILE_PLUGIN_PAGE_JSON: string;
95
+ SUMMER_COMPILE: string;
96
+ SUMMER_COMPILE_MINIPROGRAM: string;
97
+ SUMMER_COMPILE_MINIGAME: string;
98
+ SUMMER_COMPILE_PLUGIN: string;
99
+ FILE_EXT_FORMAT_ERROR: string;
100
+ THEME_JSON_VALUE_SHOULD_BE: string;
101
+ JSON_VARIABLE_VALUE_NOT_FOUND: string;
102
+ THEME_JSON_SHOULD_EXIST: string;
103
+ PARSEERR_ENTRANCE_PAGE_ERROR: string;
104
+ PARSEERR_ENTRANCE_FILE_ERROR: string;
105
+ COMPILE_WXML_ERROR_CONSOLE: string;
106
+ COMPILE_WXSS_ERROR_CONSOLE: string;
107
+ RELATED_NODE_MODULES_NOT_FOUND: string;
108
+ PACKAGE_JSON_PATH_IN_VALID: string;
109
+ ACCOUNT_CARD_PACKAPGE_IN_VALID: string;
110
+ UNUSE_FILE_LIST: string;
111
+ PACK_OPTIONS_IGNORE_LIST: string;
112
+ PARTIAL_COMPILE_IGNORE_LIST: string;
113
+ UNKNOWN_REASON_INGORE_LIST: string;
114
+ LARGEFILE_WARNING: string;
115
115
  };
116
+ declare const _default: { [key in keyof typeof config]: FormatableString; };
116
117
  export default _default;
@@ -195,5 +195,5 @@ export declare function getRawAppJSON(projectPath: string): any;
195
195
  export declare function getMiniprogramRoot(projectPath: string): any;
196
196
  export declare function getTargetMiniprogramArg(projectPath: string, targetArg: string): any;
197
197
  export declare const iosPrivacyDescObj: Record<string, string>;
198
- export declare function isAndroidNeedClientJsExtInfo(projectPath: string): 0 | 1;
198
+ export declare function isAndroidNeedClientJsExtInfo(projectPath: string): 1 | 0;
199
199
  export declare const autoCompleteIOSPrivacyDesc: (projectpath: string) => boolean;
@@ -0,0 +1 @@
1
+ export declare function shouldUseConfigFile(args: string[]): boolean;
@@ -1,6 +1,6 @@
1
1
  import { MiniProgramCore, MiniProgramDevtools } from '../types';
2
2
  import { Analyzer, IModule } from '../common/code-analyse';
3
- declare class PackOptionsHelper {
3
+ export declare class PackOptionsHelper {
4
4
  private packOptionIgnores;
5
5
  private packOptionIncludes;
6
6
  private ignoreUploadUnusedFiles;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export interface IAESOptions {
3
2
  data: string;
4
3
  key: string;
@@ -22,6 +22,7 @@ export declare class SingletonTask implements ISingletonTask {
22
22
  constructor(executor: MiniProgramCore.FN<Promise<any>>, key?: string, timeout?: number);
23
23
  private _run;
24
24
  private _emit;
25
+ get rejected(): boolean;
25
26
  private _resolve;
26
27
  private _reject;
27
28
  getResult(retryWhenRejected?: boolean, retryWhenResolved?: boolean): Promise<any>;
@@ -20,6 +20,7 @@ export declare class SubProcessProxy {
20
20
  private sendProcessMessage;
21
21
  private init;
22
22
  destroy(): void;
23
+ private getInProcessHandler;
23
24
  private forkProcess;
24
25
  private onMessage;
25
26
  private onResponse;
@@ -1 +0,0 @@
1
-
@@ -5,7 +5,7 @@ export declare class TaskStatus implements MiniProgramCore.ITaskStatus {
5
5
  protected _msg: string;
6
6
  constructor(msg: string);
7
7
  get id(): string;
8
- get status(): "success" | "doing";
8
+ get status(): "doing" | "success";
9
9
  get message(): string;
10
10
  done(): void;
11
11
  toString(): string;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { RawSourceMap } from 'source-map';
3
2
  import { AppJSON, MiniProgramCI, MiniProgramCore } from '../types';
4
3
  export declare function normalizePath(pathName?: string): string;
@@ -33,9 +32,9 @@ export declare function checkIsIndependentSubpackage(appConfig: Readonly<AppJSON
33
32
  export declare function getTerm(): any;
34
33
  export declare function getAppJson(project: MiniProgramCI.IProject, targetPlatform?: string): any;
35
34
  export declare function getPluginJson(project: MiniProgramCore.IProject, targetPlatform?: string): any;
36
- export declare const getWorkersPath: (workers: Exclude<AppJSON.IAppJSON['workers'], undefined>) => string;
35
+ export declare const getWorkersPath: (workers: Exclude<AppJSON.IAppJSON["workers"], undefined>) => string;
37
36
  export declare const unifyPath: (filePath: string) => string;
38
- export declare const compareVersion: (version1: string, version2: string) => 0 | 1 | -1 | -2;
37
+ export declare const compareVersion: (version1: string, version2: string) => 1 | 0 | -1 | -2;
39
38
  export declare const pathRelative: (left: string, right: string) => string;
40
39
  export declare function isLeftSubPathOfRight(child: string, parent: string): boolean;
41
40
  export declare function isGameApp(project: MiniProgramCI.IProject): boolean;
@@ -43,7 +42,7 @@ export declare function isPluginType(project: MiniProgramCI.IProject): boolean;
43
42
  export declare function isMiniappPlatform(targetPlatform?: string): boolean;
44
43
  export declare const checkIsUseCompilerPlugins: () => boolean;
45
44
  export declare const sourcePathToTargetPath: (sourcePath: string) => string;
46
- export declare function getCompilerPlugins(project: MiniProgramCore.IPreCompileProject): ("typescript" | "less" | "sass")[];
45
+ export declare function getCompilerPlugins(project: MiniProgramCore.IPreCompileProject): ("less" | "typescript" | "sass")[];
47
46
  export declare function getSupportCodeFileExtSet(project: MiniProgramCore.IPreCompileProject): Set<string>;
48
47
  export declare function isCodeFile(ext: string): boolean;
49
48
  export declare function isMiniProgramCodeFile(ext: string): boolean;
@@ -0,0 +1 @@
1
+ export declare function splitQuoteFromWASM(jsonstr: string, currentIndex?: number): any;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export interface IFile {
3
2
  path: string;
4
3
  data: Buffer;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  interface IFileInfo {
3
2
  name: string;
4
3
  offset: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  interface IFileInfo {
3
2
  name: string;
4
3
  encType: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  interface IFileInfo {
3
2
  name: string;
4
3
  offset: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  interface IFileInfo {
3
2
  name: string;
4
3
  encType: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  declare class WxvpkgReader {
3
2
  private version;
4
3
  private instance;