miniprogram-ci 2.1.34 → 2.1.36
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/CHANGELOG.md +4 -0
- package/README.md +4 -0
- package/dist/@types/common/code-analyse/index.d.ts +2 -0
- package/dist/@types/config/config.d.ts +1 -1
- package/dist/@types/modules/corecompiler/original/workerThread/config.d.ts +4 -3
- package/dist/@types/modules/corecompiler/summer/plugins/script_task/babel_script_task.d.ts +1 -0
- package/dist/@types/modules/corecompiler/summerCompiler.d.ts +1 -0
- package/dist/@types/modules/nativecompiler/ios/buildCloud.d.ts +2 -0
- package/dist/@types/schema/@types/appjson.d.ts +3 -0
- package/dist/@types/types/miniprogram-json/app.d.ts +8 -0
- package/dist/@types/utils/asar.d.ts +1 -0
- package/dist/@types/utils/customError.d.ts +1 -1
- package/dist/@types/utils/packOptionsHelper.d.ts +1 -1
- package/dist/common/code-analyse/index.js +1 -1
- package/dist/config/config.js +1 -1
- package/dist/modules/corecompiler/original/protect/fileFlatter.js +1 -1
- package/dist/modules/corecompiler/original/protect/uglifyfilenames.js +1 -1
- package/dist/modules/corecompiler/original/workerThread/config.js +1 -1
- package/dist/modules/corecompiler/original/workerThread/worker.js +1 -1
- package/dist/modules/corecompiler/original/workerThread/workerManager.js +1 -1
- package/dist/modules/corecompiler/summer/graph/appconf.js +1 -1
- package/dist/modules/corecompiler/summer/plugins/filetask/script.js +1 -1
- package/dist/modules/corecompiler/summer/plugins/script_task/babel_script_task.js +1 -1
- package/dist/modules/corecompiler/summer/plugins/script_task/swc_task.js +1 -1
- package/dist/modules/corecompiler/summer/worker.js +1 -1
- package/dist/modules/corecompiler/summerCompiler.js +1 -1
- package/dist/modules/nativecompiler/ios/buildCloud.js +1 -1
- package/dist/schema/dist/app.js +18 -0
- package/dist/services/common/getservice.js +1 -1
- package/dist/services/multiTaskManager/electron/multiTaskManager.js +1 -1
- package/dist/utils/asar.js +1 -0
- package/dist/utils/codesign.js +1 -1
- package/dist/utils/customError.js +1 -1
- package/dist/utils/packOptionsHelper.js +1 -1
- package/dist/utils/swc_config.js +1 -1
- package/dist/vendor/swc_runtime/_apply_decorated_descriptor.js +1 -1
- package/dist/vendor/swc_runtime/_apply_decs_2203_r.js +1 -1
- package/dist/vendor/swc_runtime/_array_like_to_array.js +1 -1
- package/dist/vendor/swc_runtime/_array_with_holes.js +1 -1
- package/dist/vendor/swc_runtime/_array_without_holes.js +1 -1
- package/dist/vendor/swc_runtime/_assert_this_initialized.js +1 -1
- package/dist/vendor/swc_runtime/_async_generator.js +1 -1
- package/dist/vendor/swc_runtime/_async_generator_delegate.js +1 -1
- package/dist/vendor/swc_runtime/_async_iterator.js +1 -1
- package/dist/vendor/swc_runtime/_async_to_generator.js +1 -1
- package/dist/vendor/swc_runtime/_await_async_generator.js +1 -1
- package/dist/vendor/swc_runtime/_await_value.js +1 -1
- package/dist/vendor/swc_runtime/_call_super.js +1 -0
- package/dist/vendor/swc_runtime/_check_private_redeclaration.js +1 -1
- package/dist/vendor/swc_runtime/_class_apply_descriptor_destructure.js +1 -1
- package/dist/vendor/swc_runtime/_class_apply_descriptor_get.js +1 -1
- package/dist/vendor/swc_runtime/_class_apply_descriptor_set.js +1 -1
- package/dist/vendor/swc_runtime/_class_apply_descriptor_update.js +1 -1
- package/dist/vendor/swc_runtime/_class_call_check.js +1 -1
- package/dist/vendor/swc_runtime/_class_check_private_static_access.js +1 -1
- package/dist/vendor/swc_runtime/_class_check_private_static_field_descriptor.js +1 -1
- package/dist/vendor/swc_runtime/_class_extract_field_descriptor.js +1 -1
- package/dist/vendor/swc_runtime/_class_name_tdz_error.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_destructure.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_get.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_init.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_loose_base.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_loose_key.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_set.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_field_update.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_method_get.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_method_init.js +1 -1
- package/dist/vendor/swc_runtime/_class_private_method_set.js +1 -1
- package/dist/vendor/swc_runtime/_class_static_private_field_destructure.js +1 -1
- package/dist/vendor/swc_runtime/_class_static_private_field_spec_get.js +1 -1
- package/dist/vendor/swc_runtime/_class_static_private_field_spec_set.js +1 -1
- package/dist/vendor/swc_runtime/_class_static_private_field_update.js +1 -1
- package/dist/vendor/swc_runtime/_class_static_private_method_get.js +1 -1
- package/dist/vendor/swc_runtime/_construct.js +1 -1
- package/dist/vendor/swc_runtime/_create_class.js +1 -1
- package/dist/vendor/swc_runtime/_create_for_of_iterator_helper_loose.js +1 -1
- package/dist/vendor/swc_runtime/_create_super.js +1 -1
- package/dist/vendor/swc_runtime/_decorate.js +1 -1
- package/dist/vendor/swc_runtime/_defaults.js +1 -1
- package/dist/vendor/swc_runtime/_define_enumerable_properties.js +1 -1
- package/dist/vendor/swc_runtime/_define_property.js +1 -1
- package/dist/vendor/swc_runtime/_dispose.js +1 -1
- package/dist/vendor/swc_runtime/_export_star.js +1 -1
- package/dist/vendor/swc_runtime/_extends.js +1 -1
- package/dist/vendor/swc_runtime/_get.js +1 -1
- package/dist/vendor/swc_runtime/_get_prototype_of.js +1 -1
- package/dist/vendor/swc_runtime/_identity.js +1 -1
- package/dist/vendor/swc_runtime/_inherits.js +1 -1
- package/dist/vendor/swc_runtime/_inherits_loose.js +1 -1
- package/dist/vendor/swc_runtime/_initializer_define_property.js +1 -1
- package/dist/vendor/swc_runtime/_initializer_warning_helper.js +1 -1
- package/dist/vendor/swc_runtime/_instanceof.js +1 -1
- package/dist/vendor/swc_runtime/_interop_require_default.js +1 -1
- package/dist/vendor/swc_runtime/_interop_require_wildcard.js +1 -1
- package/dist/vendor/swc_runtime/_is_native_function.js +1 -1
- package/dist/vendor/swc_runtime/_is_native_reflect_construct.js +1 -1
- package/dist/vendor/swc_runtime/_iterable_to_array.js +1 -1
- package/dist/vendor/swc_runtime/_iterable_to_array_limit.js +1 -1
- package/dist/vendor/swc_runtime/_iterable_to_array_limit_loose.js +1 -1
- package/dist/vendor/swc_runtime/_jsx.js +1 -1
- package/dist/vendor/swc_runtime/_new_arrow_check.js +1 -1
- package/dist/vendor/swc_runtime/_non_iterable_rest.js +1 -1
- package/dist/vendor/swc_runtime/_non_iterable_spread.js +1 -1
- package/dist/vendor/swc_runtime/_object_destructuring_empty.js +1 -1
- package/dist/vendor/swc_runtime/_object_spread.js +1 -1
- package/dist/vendor/swc_runtime/_object_spread_props.js +1 -1
- package/dist/vendor/swc_runtime/_object_without_properties.js +1 -1
- package/dist/vendor/swc_runtime/_object_without_properties_loose.js +1 -1
- package/dist/vendor/swc_runtime/_overload_yield.js +1 -0
- package/dist/vendor/swc_runtime/_possible_constructor_return.js +1 -1
- package/dist/vendor/swc_runtime/_read_only_error.js +1 -1
- package/dist/vendor/swc_runtime/_set.js +1 -1
- package/dist/vendor/swc_runtime/_set_prototype_of.js +1 -1
- package/dist/vendor/swc_runtime/_skip_first_generator_next.js +1 -1
- package/dist/vendor/swc_runtime/_sliced_to_array.js +1 -1
- package/dist/vendor/swc_runtime/_sliced_to_array_loose.js +1 -1
- package/dist/vendor/swc_runtime/_super_prop_base.js +1 -1
- package/dist/vendor/swc_runtime/_tagged_template_literal.js +1 -1
- package/dist/vendor/swc_runtime/_tagged_template_literal_loose.js +1 -1
- package/dist/vendor/swc_runtime/_throw.js +1 -1
- package/dist/vendor/swc_runtime/_to_array.js +1 -1
- package/dist/vendor/swc_runtime/_to_consumable_array.js +1 -1
- package/dist/vendor/swc_runtime/_to_primitive.js +1 -1
- package/dist/vendor/swc_runtime/_to_property_key.js +1 -1
- package/dist/vendor/swc_runtime/_ts_add_disposable_resource.js +1 -0
- package/dist/vendor/swc_runtime/_ts_decorate.js +1 -1
- package/dist/vendor/swc_runtime/_ts_dispose_resources.js +1 -0
- package/dist/vendor/swc_runtime/_ts_generator.js +1 -1
- package/dist/vendor/swc_runtime/_ts_metadata.js +1 -1
- package/dist/vendor/swc_runtime/_ts_param.js +1 -1
- package/dist/vendor/swc_runtime/_ts_values.js +1 -1
- package/dist/vendor/swc_runtime/_type_of.js +1 -1
- package/dist/vendor/swc_runtime/_unsupported_iterable_to_array.js +1 -1
- package/dist/vendor/swc_runtime/_update.js +1 -1
- package/dist/vendor/swc_runtime/_using.js +1 -1
- package/dist/vendor/swc_runtime/_using_ctx.js +1 -0
- package/dist/vendor/swc_runtime/_wrap_async_generator.js +1 -1
- package/dist/vendor/swc_runtime/_wrap_native_super.js +1 -1
- package/dist/vendor/swc_runtime/_write_only_error.js +1 -1
- package/dist/vendor/swc_runtime/index.js +1 -1
- package/package.json +3 -3
- package/dist/@types/build-server/constant.d.ts +0 -42
- package/dist/@types/build-server/ctxManager.d.ts +0 -2
- package/dist/@types/build-server/fileCacheManager.d.ts +0 -43
- package/dist/@types/build-server/fileTaskDriver.d.ts +0 -36
- package/dist/@types/build-server/subProcess.d.ts +0 -1
- package/dist/@types/build-server/subTaskManager.d.ts +0 -8
- package/dist/@types/build-server/taskDriver.d.ts +0 -68
- package/dist/@types/build-server/taskFactory.d.ts +0 -22
- package/dist/@types/build-server/tasks/appserviceCompile/index.d.ts +0 -1
- package/dist/@types/build-server/tasks/appserviceCompile/utils/appdevserver/getAppService.d.ts +0 -5
- package/dist/@types/build-server/tasks/appserviceCompile/utils/appservice/getjsfile.d.ts +0 -19
- package/dist/@types/build-server/tasks/appserviceCompile/utils/appservice/getmainpkgsortedjsfiles.d.ts +0 -10
- package/dist/@types/build-server/tasks/appserviceCompile/utils/appservice/getwxappcode.d.ts +0 -23
- package/dist/@types/build-server/tasks/baseFileCompiler/OTService.d.ts +0 -7
- package/dist/@types/build-server/tasks/baseFileCompiler/enhance.d.ts +0 -29
- package/dist/@types/build-server/tasks/baseFileCompiler/es6module.d.ts +0 -44
- package/dist/@types/build-server/tasks/baseFileCompiler/index.d.ts +0 -3
- package/dist/@types/build-server/tasks/baseFileCompiler/javascript.d.ts +0 -36
- package/dist/@types/build-server/tasks/baseFileCompiler/less.d.ts +0 -43
- package/dist/@types/build-server/tasks/baseFileCompiler/minifywxml.d.ts +0 -10
- package/dist/@types/build-server/tasks/baseFileCompiler/readFile.d.ts +0 -2
- package/dist/@types/build-server/tasks/baseFileCompiler/sass.d.ts +0 -50
- package/dist/@types/build-server/tasks/baseFileCompiler/terser.d.ts +0 -20
- package/dist/@types/build-server/tasks/baseFileCompiler/typescript.d.ts +0 -25
- package/dist/@types/build-server/tasks/baseFileCompiler/worklet.d.ts +0 -13
- package/dist/@types/build-server/tasks/baseFileCompiler/wxss.d.ts +0 -33
- package/dist/@types/build-server/tasks/common/apperrcode.config.d.ts +0 -92
- package/dist/@types/build-server/tasks/common/compiletype.config.d.ts +0 -17
- package/dist/@types/build-server/tasks/common/constants.config.d.ts +0 -549
- package/dist/@types/build-server/tasks/common/simulatortype.config.d.ts +0 -15
- package/dist/@types/build-server/tasks/common/utils/appdevserver/getwxappcode.d.ts +0 -3
- package/dist/@types/build-server/tasks/common/utils/babel/babelhelpers.d.ts +0 -11
- package/dist/@types/build-server/tasks/common/utils/builder/builder.d.ts +0 -35
- package/dist/@types/build-server/tasks/common/utils/builder/filter.d.ts +0 -1
- package/dist/@types/build-server/tasks/common/utils/builder/index.d.ts +0 -10
- package/dist/@types/build-server/tasks/common/utils/cache/compile.d.ts +0 -72
- package/dist/@types/build-server/tasks/common/utils/cache/config.d.ts +0 -16
- package/dist/@types/build-server/tasks/common/utils/cache/filecompile.d.ts +0 -16
- package/dist/@types/build-server/tasks/common/utils/cache/jspersistcache.d.ts +0 -11
- package/dist/@types/build-server/tasks/common/utils/cache/manager.d.ts +0 -18
- package/dist/@types/build-server/tasks/common/utils/cache/persistcache.d.ts +0 -17
- package/dist/@types/build-server/tasks/common/utils/cache/reporter.d.ts +0 -9
- package/dist/@types/build-server/tasks/common/utils/colorutils.d.ts +0 -4
- package/dist/@types/build-server/tasks/common/utils/common/bindActionTools.d.ts +0 -8
- package/dist/@types/build-server/tasks/common/utils/common/schema.helper.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/common/tools.d.ts +0 -17
- package/dist/@types/build-server/tasks/common/utils/common/waitable.d.ts +0 -14
- package/dist/@types/build-server/tasks/common/utils/filerules.d.ts +0 -13
- package/dist/@types/build-server/tasks/common/utils/fsutils.d.ts +0 -7
- package/dist/@types/build-server/tasks/common/utils/handleError.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/helper/vendorValidate.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/interfacebuilder/registry/index.d.ts +0 -22
- package/dist/@types/build-server/tasks/common/utils/partialcompile.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/project/appconfig.d.ts +0 -5
- package/dist/@types/build-server/tasks/common/utils/project/appjson.d.ts +0 -2
- package/dist/@types/build-server/tasks/common/utils/project/customcomponent.d.ts +0 -20
- package/dist/@types/build-server/tasks/common/utils/project/generatecode.utils.d.ts +0 -5
- package/dist/@types/build-server/tasks/common/utils/project/getcompiledjs.d.ts +0 -30
- package/dist/@types/build-server/tasks/common/utils/project/helper/index.d.ts +0 -21
- package/dist/@types/build-server/tasks/common/utils/project/helper/projectconfigjsonutils.d.ts +0 -142
- package/dist/@types/build-server/tasks/common/utils/project/helper/reserveddirectories.d.ts +0 -3
- package/dist/@types/build-server/tasks/common/utils/project/helper/theme.d.ts +0 -39
- package/dist/@types/build-server/tasks/common/utils/project/online/appconfig.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/project/pagejson.d.ts +0 -2
- package/dist/@types/build-server/tasks/common/utils/project/projectconfigjson.d.ts +0 -8
- package/dist/@types/build-server/tasks/common/utils/project/wxappcodejson.d.ts +0 -2
- package/dist/@types/build-server/tasks/common/utils/subpackageUtils.d.ts +0 -0
- package/dist/@types/build-server/tasks/common/utils/tracing/Trace.d.ts +0 -50
- package/dist/@types/build-server/tasks/common/utils/tracing/aegis.d.ts +0 -3
- package/dist/@types/build-server/tasks/common/utils/tracing/index.d.ts +0 -34
- package/dist/@types/build-server/tasks/common/utils/tracing/readiness.d.ts +0 -11
- package/dist/@types/build-server/tasks/common/utils/tracing/report.d.ts +0 -14
- package/dist/@types/build-server/tasks/common/utils/trans/transwxmltojs.d.ts +0 -28
- package/dist/@types/build-server/tasks/common/utils/transformsourcemap.d.ts +0 -1
- package/dist/@types/build-server/tasks/common/utils/web/glasseaselUtils.d.ts +0 -1
- package/dist/@types/build-server/tasks/common/utils/web/md5.d.ts +0 -2
- package/dist/@types/build-server/tasks/common/utils/web/processPath.d.ts +0 -9
- package/dist/@types/build-server/tasks/common/weapp.config.d.ts +0 -108
- package/dist/@types/build-server/tasks/pageInitSourceCompile/index.d.ts +0 -2
- package/dist/@types/build-server/tasks/pageframeCompile/index.d.ts +0 -1
- package/dist/@types/build-server/tasks/pageframeCompile/utils/appdevserver/getwxappcode.d.ts +0 -8
- package/dist/@types/build-server/tasks/pageframeCompile/utils/trans/transwxsstojs.d.ts +0 -26
- package/dist/@types/build-server/testAppConfig.d.ts +0 -1
- package/dist/@types/build-server/testAppservice.d.ts +0 -1
- package/dist/@types/build-server/testInitSourceCompile.d.ts +0 -1
- package/dist/@types/build-server/testPageframe.d.ts +0 -1
- package/dist/@types/build-server/testSubProcess.d.ts +0 -1
- package/dist/@types/build-server/utils/fileTask.d.ts +0 -5
- package/dist/@types/build-server/utils/getFileOrCache.d.ts +0 -24
- package/dist/@types/build-server/utils/process.d.ts +0 -0
- package/dist/@types/build-server/utils/request.d.ts +0 -47
- package/dist/@types/bussinessMonitor/monitor.d.ts +0 -1
- package/dist/@types/modules/corecompiler/summer/pipeManager/index.d.ts +0 -6
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipeCPProject.d.ts +0 -17
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipeContext.d.ts +0 -10
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipeManager.d.ts +0 -12
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipeWorker.d.ts +0 -2
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/appservicePipe/index.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/compileWxmlToGlassEaselPipe.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/compileWxssPipe.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/index.d.ts +0 -2
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/pageInitSourcePipe/index.d.ts +0 -4
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/pageframePipe/index.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/appdevserver/getAppService.d.ts +0 -6
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/appdevserver/getwxappcode.d.ts +0 -9
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getjsfile.d.ts +0 -12
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getmainpkgsortedjsfiles.d.ts +0 -11
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getwxappcode.d.ts +0 -8
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/common/apperrcode.config.d.ts +0 -92
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/common/tools.d.ts +0 -1
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/appconfig.d.ts +0 -6
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/appjson.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/customcomponent.d.ts +0 -21
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/helper/theme.d.ts +0 -40
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/pagejson.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/wxappcodejson.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxmltojs.d.ts +0 -19
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxsstojs.d.ts +0 -15
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/web/processPath.d.ts +0 -9
- package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/wccPipe.d.ts +0 -3
- package/dist/@types/modules/corecompiler/summer/pipeManager/types.d.ts +0 -100
- package/dist/@types/modules/fullcompiler/appservice/appservice.config.d.ts +0 -4
- package/dist/@types/modules/fullcompiler/appservice/generatecode.utils.d.ts +0 -12
- package/dist/@types/modules/fullcompiler/appservice/getappservice.d.ts +0 -9
- package/dist/@types/modules/fullcompiler/appservice/getcompiledjs.d.ts +0 -32
- package/dist/@types/modules/fullcompiler/appservice/getjsfile.d.ts +0 -18
- package/dist/@types/modules/fullcompiler/appservice/getmainpkgsortedjsfiles.d.ts +0 -12
- package/dist/@types/modules/fullcompiler/appservice/getsubpackage.d.ts +0 -7
- package/dist/@types/modules/fullcompiler/appservice/getsubpkgsortedjsfiles.d.ts +0 -10
- package/dist/@types/modules/fullcompiler/appservice/getwxappcode.d.ts +0 -13
- package/dist/@types/modules/fullcompiler/config/apperrcode.config.d.ts +0 -48
- package/dist/@types/modules/fullcompiler/filerules.d.ts +0 -5
- package/dist/@types/modules/fullcompiler/getallrawfiles.d.ts +0 -11
- package/dist/@types/modules/fullcompiler/getallwmltohtmlmap.d.ts +0 -11
- package/dist/@types/modules/fullcompiler/index.d.ts +0 -31
- package/dist/@types/modules/fullcompiler/pageframe/getsubpackage.d.ts +0 -10
- package/dist/@types/modules/fullcompiler/pageframe/getwxappcode.d.ts +0 -13
- package/dist/@types/modules/fullcompiler/pageframe/index.d.ts +0 -10
- package/dist/@types/modules/fullcompiler/trans/transwxmltojs.d.ts +0 -11
- package/dist/@types/modules/fullcompiler/trans/transwxsstojs.d.ts +0 -21
- package/dist/@types/modules/fullcompiler/trans/wxml/compilewxml.d.ts +0 -18
- package/dist/@types/modules/fullcompiler/trans/wxss/compilewxss.d.ts +0 -11
- package/dist/@types/modules/fullcompiler/utils/appconfig/appconfig.d.ts +0 -12
- package/dist/@types/modules/fullcompiler/utils/appconfig/appjson.d.ts +0 -3
- package/dist/@types/modules/fullcompiler/utils/appconfig/checkcustomcomponent.d.ts +0 -14
- package/dist/@types/modules/fullcompiler/utils/appconfig/pagejson.d.ts +0 -3
- package/dist/@types/modules/fullcompiler/utils/appconfig/wxappcodejson.d.ts +0 -3
- package/dist/@types/modules/fullcompiler/utils/filewriter/index.d.ts +0 -14
- package/dist/@types/modules/fullcompiler/utils/handleerror/errorconfig.d.ts +0 -9
- package/dist/@types/modules/fullcompiler/utils/handleerror/handleerror.d.ts +0 -3
- package/dist/@types/modules/fullcompiler/utils/handleerror/parseerr.d.ts +0 -42
- package/dist/@types/modules/fullcompiler/utils/index.d.ts +0 -4
- package/dist/@types/modules/fullcompiler/utils/taskmanager.d.ts +0 -23
- package/dist/@types/modules/fullcompiler/utils/theme/index.d.ts +0 -40
- package/dist/@types/modules/fullcompiler/utils/tools.d.ts +0 -15
- package/dist/@types/modules/fullcompiler/utils/transformsourcemap.d.ts +0 -1
- package/dist/@types/project/serverProject.d.ts +0 -38
- package/dist/@types/services/app/server/appDirService.d.ts +0 -6
- package/dist/@types/services/builder/server/builder.d.ts +0 -4
- package/dist/@types/services/compileCacheManager/common/compileCacheManager.d.ts +0 -23
- package/dist/@types/services/compileCacheManager/nw/compileCacheManager.d.ts +0 -16
- package/dist/@types/services/compileCacheManager/server/compileCacheManager.d.ts +0 -26
- package/dist/@types/services/compilewxml/server/compilewxmlService.d.ts +0 -5
- package/dist/@types/services/compilewxml/server/wccWorker.d.ts +0 -1
- package/dist/@types/services/compilewxss/server/compilewxssService.d.ts +0 -4
- package/dist/@types/services/compilewxss/server/wcscWorker.d.ts +0 -1
- package/dist/@types/services/consoledisplay/server/consoledisplay.d.ts +0 -4
- package/dist/@types/services/fileUtilsManager/server/fileUtilsManager.d.ts +0 -4
- package/dist/@types/services/fs/server/fileService.d.ts +0 -27
- package/dist/@types/services/genTempFile/server/genTempFileService.d.ts +0 -3
- package/dist/@types/services/global/server/global.d.ts +0 -6
- package/dist/@types/services/initializeCheck/server/initializeCheck.d.ts +0 -4
- package/dist/@types/services/locales/server/const.d.ts +0 -5
- package/dist/@types/services/locales/server/locales.d.ts +0 -5
- package/dist/@types/services/log/server/logService.d.ts +0 -9
- package/dist/@types/services/miniappjson/server/miniappjson.d.ts +0 -4
- package/dist/@types/services/multiTaskManager/server/multiTaskManager.d.ts +0 -5
- package/dist/@types/services/multiTaskManager/server/pm2TaskWorker.d.ts +0 -1
- package/dist/@types/services/multiTaskManager/server/pm2WorkerManager.d.ts +0 -18
- package/dist/@types/services/nativeModule/server/nativeModule.d.ts +0 -3
- package/dist/@types/services/performance/server/performance.d.ts +0 -7
- package/dist/@types/services/pluginFileReader/server/pluginFileReader.d.ts +0 -18
- package/dist/@types/services/projectManager/server/buildServerProjectManager.d.ts +0 -11
- package/dist/@types/services/projectManager/server/projectManager.d.ts +0 -7
- package/dist/@types/services/root/server/root.d.ts +0 -11
- package/dist/@types/services/root/server/rootService.d.ts +0 -2
- package/dist/@types/services/staticConfig/server/staticConfigService.d.ts +0 -4
- package/dist/@types/services/store/server/storeService.d.ts +0 -11
- package/dist/@types/services/uniapp/server/uniapp.d.ts +0 -4
- package/dist/build-server/constant.js +0 -1
- package/dist/build-server/ctxManager.js +0 -1
- package/dist/build-server/fileCacheManager.js +0 -1
- package/dist/build-server/fileTaskDriver.js +0 -1
- package/dist/build-server/subProcess.js +0 -1
- package/dist/build-server/subTaskManager.js +0 -1
- package/dist/build-server/taskDriver.js +0 -1
- package/dist/build-server/taskFactory.js +0 -1
- package/dist/build-server/tasks/appserviceCompile/index.js +0 -1
- package/dist/build-server/tasks/appserviceCompile/utils/appdevserver/getAppService.js +0 -1
- package/dist/build-server/tasks/appserviceCompile/utils/appservice/getjsfile.js +0 -1
- package/dist/build-server/tasks/appserviceCompile/utils/appservice/getmainpkgsortedjsfiles.js +0 -1
- package/dist/build-server/tasks/appserviceCompile/utils/appservice/getwxappcode.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/OTService.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/enhance.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/es6module.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/index.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/javascript.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/less.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/minifywxml.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/readFile.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/sass.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/terser.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/typescript.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/worklet.js +0 -1
- package/dist/build-server/tasks/baseFileCompiler/wxss.js +0 -1
- package/dist/build-server/tasks/common/apperrcode.config.js +0 -1
- package/dist/build-server/tasks/common/compiletype.config.js +0 -1
- package/dist/build-server/tasks/common/constants.config.js +0 -1
- package/dist/build-server/tasks/common/simulatortype.config.js +0 -1
- package/dist/build-server/tasks/common/utils/appdevserver/getwxappcode.js +0 -1
- package/dist/build-server/tasks/common/utils/babel/babelhelpers.js +0 -1
- package/dist/build-server/tasks/common/utils/builder/builder.js +0 -1
- package/dist/build-server/tasks/common/utils/builder/filter.js +0 -1
- package/dist/build-server/tasks/common/utils/builder/index.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/compile.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/config.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/filecompile.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/jspersistcache.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/manager.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/persistcache.js +0 -1
- package/dist/build-server/tasks/common/utils/cache/reporter.js +0 -1
- package/dist/build-server/tasks/common/utils/colorutils.js +0 -1
- package/dist/build-server/tasks/common/utils/common/bindActionTools.js +0 -1
- package/dist/build-server/tasks/common/utils/common/schema.helper.js +0 -1
- package/dist/build-server/tasks/common/utils/common/tools.js +0 -1
- package/dist/build-server/tasks/common/utils/common/waitable.js +0 -1
- package/dist/build-server/tasks/common/utils/filerules.js +0 -1
- package/dist/build-server/tasks/common/utils/fsutils.js +0 -1
- package/dist/build-server/tasks/common/utils/handleError.js +0 -1
- package/dist/build-server/tasks/common/utils/helper/vendorValidate.js +0 -1
- package/dist/build-server/tasks/common/utils/interfacebuilder/registry/index.js +0 -1
- package/dist/build-server/tasks/common/utils/partialcompile.js +0 -1
- package/dist/build-server/tasks/common/utils/project/appconfig.js +0 -1
- package/dist/build-server/tasks/common/utils/project/appjson.js +0 -1
- package/dist/build-server/tasks/common/utils/project/customcomponent.js +0 -1
- package/dist/build-server/tasks/common/utils/project/generatecode.utils.js +0 -1
- package/dist/build-server/tasks/common/utils/project/getcompiledjs.js +0 -1
- package/dist/build-server/tasks/common/utils/project/helper/index.js +0 -1
- package/dist/build-server/tasks/common/utils/project/helper/projectconfigjsonutils.js +0 -1
- package/dist/build-server/tasks/common/utils/project/helper/reserveddirectories.js +0 -1
- package/dist/build-server/tasks/common/utils/project/helper/theme.js +0 -1
- package/dist/build-server/tasks/common/utils/project/online/appconfig.js +0 -1
- package/dist/build-server/tasks/common/utils/project/pagejson.js +0 -1
- package/dist/build-server/tasks/common/utils/project/projectconfigjson.js +0 -1
- package/dist/build-server/tasks/common/utils/project/wxappcodejson.js +0 -1
- package/dist/build-server/tasks/common/utils/subpackageUtils.js +0 -1
- package/dist/build-server/tasks/common/utils/tracing/Trace.js +0 -1
- package/dist/build-server/tasks/common/utils/tracing/aegis.js +0 -1
- package/dist/build-server/tasks/common/utils/tracing/index.js +0 -1
- package/dist/build-server/tasks/common/utils/tracing/readiness.js +0 -1
- package/dist/build-server/tasks/common/utils/tracing/report.js +0 -1
- package/dist/build-server/tasks/common/utils/trans/transwxmltojs.js +0 -1
- package/dist/build-server/tasks/common/utils/transformsourcemap.js +0 -1
- package/dist/build-server/tasks/common/utils/web/glasseaselUtils.js +0 -1
- package/dist/build-server/tasks/common/utils/web/md5.js +0 -1
- package/dist/build-server/tasks/common/utils/web/processPath.js +0 -1
- package/dist/build-server/tasks/common/weapp.config.js +0 -1
- package/dist/build-server/tasks/pageInitSourceCompile/index.js +0 -1
- package/dist/build-server/tasks/pageframeCompile/index.js +0 -1
- package/dist/build-server/tasks/pageframeCompile/utils/appdevserver/getwxappcode.js +0 -1
- package/dist/build-server/tasks/pageframeCompile/utils/trans/transwxsstojs.js +0 -1
- package/dist/build-server/testAppConfig.js +0 -1
- package/dist/build-server/testAppservice.js +0 -1
- package/dist/build-server/testInitSourceCompile.js +0 -1
- package/dist/build-server/testPageframe.js +0 -1
- package/dist/build-server/testSubProcess.js +0 -1
- package/dist/build-server/utils/fileTask.js +0 -1
- package/dist/build-server/utils/getFileOrCache.js +0 -1
- package/dist/build-server/utils/process.js +0 -1
- package/dist/build-server/utils/request.js +0 -1
- package/dist/bussinessMonitor/monitor.js +0 -1
- package/dist/manifest.json +0 -4
- package/dist/modules/corecompiler/summer/pipeManager/index.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipeCPProject.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipeContext.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipeManager.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipeWorker.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/appservicePipe/index.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/compileWxmlToGlassEaselPipe.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/compileWxssPipe.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/index.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/pageInitSourcePipe/index.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/pageframePipe/index.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/appdevserver/getAppService.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/appdevserver/getwxappcode.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getjsfile.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getmainpkgsortedjsfiles.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/appservice/getwxappcode.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/common/apperrcode.config.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/common/tools.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/appconfig.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/appjson.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/customcomponent.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/helper/theme.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/pagejson.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/project/wxappcodejson.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxmltojs.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxsstojs.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/utils/web/processPath.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/pipes/wccPipe.js +0 -1
- package/dist/modules/corecompiler/summer/pipeManager/types.js +0 -1
- package/dist/modules/fullcompiler/appservice/appservice.config.js +0 -1
- package/dist/modules/fullcompiler/appservice/generatecode.utils.js +0 -1
- package/dist/modules/fullcompiler/appservice/getappservice.js +0 -1
- package/dist/modules/fullcompiler/appservice/getcompiledjs.js +0 -1
- package/dist/modules/fullcompiler/appservice/getjsfile.js +0 -1
- package/dist/modules/fullcompiler/appservice/getmainpkgsortedjsfiles.js +0 -1
- package/dist/modules/fullcompiler/appservice/getsubpackage.js +0 -1
- package/dist/modules/fullcompiler/appservice/getsubpkgsortedjsfiles.js +0 -1
- package/dist/modules/fullcompiler/appservice/getwxappcode.js +0 -1
- package/dist/modules/fullcompiler/config/apperrcode.config.js +0 -1
- package/dist/modules/fullcompiler/filerules.js +0 -1
- package/dist/modules/fullcompiler/getallrawfiles.js +0 -1
- package/dist/modules/fullcompiler/getallwmltohtmlmap.js +0 -1
- package/dist/modules/fullcompiler/index.js +0 -1
- package/dist/modules/fullcompiler/pageframe/getsubpackage.js +0 -1
- package/dist/modules/fullcompiler/pageframe/getwxappcode.js +0 -1
- package/dist/modules/fullcompiler/pageframe/index.js +0 -1
- package/dist/modules/fullcompiler/trans/transwxmltojs.js +0 -1
- package/dist/modules/fullcompiler/trans/transwxsstojs.js +0 -1
- package/dist/modules/fullcompiler/trans/wxml/compilewxml.js +0 -1
- package/dist/modules/fullcompiler/trans/wxss/compilewxss.js +0 -1
- package/dist/modules/fullcompiler/utils/appconfig/appconfig.js +0 -1
- package/dist/modules/fullcompiler/utils/appconfig/appjson.js +0 -1
- package/dist/modules/fullcompiler/utils/appconfig/checkcustomcomponent.js +0 -1
- package/dist/modules/fullcompiler/utils/appconfig/pagejson.js +0 -1
- package/dist/modules/fullcompiler/utils/appconfig/wxappcodejson.js +0 -1
- package/dist/modules/fullcompiler/utils/filewriter/index.js +0 -1
- package/dist/modules/fullcompiler/utils/handleerror/errorconfig.js +0 -1
- package/dist/modules/fullcompiler/utils/handleerror/handleerror.js +0 -1
- package/dist/modules/fullcompiler/utils/handleerror/parseerr.js +0 -1
- package/dist/modules/fullcompiler/utils/index.js +0 -1
- package/dist/modules/fullcompiler/utils/taskmanager.js +0 -1
- package/dist/modules/fullcompiler/utils/theme/index.js +0 -1
- package/dist/modules/fullcompiler/utils/tools.js +0 -1
- package/dist/modules/fullcompiler/utils/transformsourcemap.js +0 -1
- package/dist/project/serverProject.js +0 -1
- package/dist/services/app/server/appDirService.js +0 -1
- package/dist/services/builder/server/builder.js +0 -1
- package/dist/services/compileCacheManager/common/compileCacheManager.js +0 -1
- package/dist/services/compileCacheManager/nw/compileCacheManager.js +0 -1
- package/dist/services/compileCacheManager/server/compileCacheManager.js +0 -1
- package/dist/services/compilewxml/server/compilewxmlService.js +0 -1
- package/dist/services/compilewxml/server/wccWorker.js +0 -1
- package/dist/services/compilewxss/server/compilewxssService.js +0 -1
- package/dist/services/compilewxss/server/wcscWorker.js +0 -1
- package/dist/services/consoledisplay/server/consoledisplay.js +0 -1
- package/dist/services/fileUtilsManager/server/fileUtilsManager.js +0 -1
- package/dist/services/fs/server/fileService.js +0 -1
- package/dist/services/genTempFile/server/genTempFileService.js +0 -1
- package/dist/services/global/server/global.js +0 -1
- package/dist/services/initializeCheck/server/initializeCheck.js +0 -1
- package/dist/services/locales/server/const.js +0 -1
- package/dist/services/locales/server/locales.js +0 -1
- package/dist/services/log/server/logService.js +0 -1
- package/dist/services/miniappjson/server/miniappjson.js +0 -1
- package/dist/services/multiTaskManager/server/multiTaskManager.js +0 -1
- package/dist/services/multiTaskManager/server/pm2TaskWorker.js +0 -1
- package/dist/services/multiTaskManager/server/pm2WorkerManager.js +0 -1
- package/dist/services/nativeModule/server/nativeModule.js +0 -1
- package/dist/services/performance/server/performance.js +0 -1
- package/dist/services/pluginFileReader/server/pluginFileReader.js +0 -1
- package/dist/services/projectManager/server/buildServerProjectManager.js +0 -1
- package/dist/services/projectManager/server/projectManager.js +0 -1
- package/dist/services/root/server/root.js +0 -1
- package/dist/services/root/server/rootService.js +0 -1
- package/dist/services/staticConfig/server/staticConfigService.js +0 -1
- package/dist/services/store/server/storeService.js +0 -1
- package/dist/services/uniapp/server/uniapp.js +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
interface ICompileWxmlOptions {
|
|
2
|
-
files: string[];
|
|
3
|
-
configContent: string;
|
|
4
|
-
configSplit: string;
|
|
5
|
-
isCut: boolean;
|
|
6
|
-
cwd: string;
|
|
7
|
-
genfuncName: string;
|
|
8
|
-
hasWxs?: boolean;
|
|
9
|
-
isPlugin?: boolean;
|
|
10
|
-
lazyloadConfig?: string;
|
|
11
|
-
replaceContent?: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
interface INormalResult {
|
|
14
|
-
code: string;
|
|
15
|
-
name: string;
|
|
16
|
-
}
|
|
17
|
-
export declare function compileWxml(options: ICompileWxmlOptions): Promise<INormalResult>;
|
|
18
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface ICompileWxssOptions {
|
|
2
|
-
files: string[];
|
|
3
|
-
pageCount: number;
|
|
4
|
-
cwd: string;
|
|
5
|
-
lazyload?: boolean;
|
|
6
|
-
subPackage?: string;
|
|
7
|
-
replaceContent?: Record<string, string>;
|
|
8
|
-
}
|
|
9
|
-
type ICompileWxssResult = Record<string, string>;
|
|
10
|
-
export declare function compileWxss(options: ICompileWxssOptions): Promise<ICompileWxssResult>;
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AppJSON, MiniProgramCore } from '../../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../../corecompiler/summerCompiler';
|
|
3
|
-
declare function checkLightAppConfig(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, cloneDeep?: boolean): Promise<AppJSON.IAppConfig>;
|
|
4
|
-
declare function checkDarkmodeAppConfig(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, cloneDeep?: boolean): Promise<AppJSON.IAppConfig>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
checkLightAppConfig: typeof checkLightAppConfig;
|
|
7
|
-
checkDarkmodeAppConfig: typeof checkDarkmodeAppConfig;
|
|
8
|
-
getAppConfig: (project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, cloneDeep?: boolean) => Promise<AppJSON.IAppConfig>;
|
|
9
|
-
checkIsInSubPackage: (project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pagePath: string) => Promise<AppJSON.ISubpackageItem | undefined>;
|
|
10
|
-
DealSubPackages: (appconfig: AppJSON.IAppConfig) => AppJSON.IAppConfig;
|
|
11
|
-
};
|
|
12
|
-
export = _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AppJSON, MiniProgramCore, PageJSON } from '../../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../../corecompiler/summerCompiler';
|
|
3
|
-
export declare function getWxmlCompileConfig(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, appConfig: AppJSON.IAppConfig, config?: AppJSON.ISubpackageItem): Promise<any[]>;
|
|
4
|
-
export declare function getWxssCompileConfig(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, appConfig: AppJSON.IAppConfig, config?: AppJSON.ISubpackageItem): Promise<string[]>;
|
|
5
|
-
export declare function getFileListJustInPack(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, appConfig: AppJSON.IAppConfig, config?: AppJSON.ISubpackageItem): Promise<string[]>;
|
|
6
|
-
interface IComponentsConfigReturn {
|
|
7
|
-
[p: string]: {
|
|
8
|
-
file: string;
|
|
9
|
-
config: AppJSON.ISubpackageItem | undefined;
|
|
10
|
-
pageJSON: PageJSON.IPageJSON;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare function getCustomComponentsConfig(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, appConfig: AppJSON.IAppConfig): Promise<IComponentsConfigReturn>;
|
|
14
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SummerCompiler } from '../../../corecompiler/summerCompiler';
|
|
2
|
-
import { MiniProgramCore } from '../../../../types';
|
|
3
|
-
export default function getCompiledPageJSON(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pagePath: string): Promise<any>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../../corecompiler/summerCompiler';
|
|
3
|
-
export default function getWXAppCodeJSON(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pagePath: string): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface FileWriterOptions {
|
|
2
|
-
dist: string;
|
|
3
|
-
projectPath: string;
|
|
4
|
-
clearDist?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare class FileWriter {
|
|
7
|
-
projectPath: string;
|
|
8
|
-
dist: string;
|
|
9
|
-
constructor(options: FileWriterOptions);
|
|
10
|
-
getFinalPath(p: string): string;
|
|
11
|
-
writeFile(dist: string, content: string): void;
|
|
12
|
-
copyFile(dist: string, distPrefix?: string): void;
|
|
13
|
-
}
|
|
14
|
-
export default FileWriter;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { IProject } from '../../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../../corecompiler/summerCompiler';
|
|
3
|
-
interface IParseErrorInfo {
|
|
4
|
-
file: string;
|
|
5
|
-
msg: string;
|
|
6
|
-
reason?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: {
|
|
9
|
-
parseWXMLRuntimeErr: (project: IProject, compiler: SummerCompiler, event: {
|
|
10
|
-
message: string;
|
|
11
|
-
}) => Promise<{
|
|
12
|
-
file: string;
|
|
13
|
-
msg: string;
|
|
14
|
-
}>;
|
|
15
|
-
parseJsonFileErr: (event: {
|
|
16
|
-
file: string;
|
|
17
|
-
}) => {
|
|
18
|
-
file: string;
|
|
19
|
-
msg: string;
|
|
20
|
-
};
|
|
21
|
-
parseJsonParseErr: (project: IProject, event: {
|
|
22
|
-
fileName: string;
|
|
23
|
-
data: string;
|
|
24
|
-
error: string;
|
|
25
|
-
isPlugin?: boolean;
|
|
26
|
-
}) => string;
|
|
27
|
-
parsePluginWxmlErr: (project: IProject, compiler: SummerCompiler, err: string) => Promise<{
|
|
28
|
-
file: string;
|
|
29
|
-
msg: string;
|
|
30
|
-
}>;
|
|
31
|
-
parsePluginWxssErr: (project: IProject, compiler: SummerCompiler, data: string | {
|
|
32
|
-
msgForConsole: string;
|
|
33
|
-
}) => Promise<IParseErrorInfo>;
|
|
34
|
-
parseWxmlErr: (project: IProject, compiler: SummerCompiler, err: string) => Promise<{
|
|
35
|
-
file: string;
|
|
36
|
-
msg: string;
|
|
37
|
-
}>;
|
|
38
|
-
parseWxssErr: (project: IProject, compiler: SummerCompiler, data: string | {
|
|
39
|
-
msgForConsole: string;
|
|
40
|
-
}) => Promise<IParseErrorInfo>;
|
|
41
|
-
};
|
|
42
|
-
export = _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
interface ITaskProps {
|
|
2
|
-
poolLimit?: number;
|
|
3
|
-
breakWhenError?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare class TaskManager<R = any> {
|
|
6
|
-
private static _instance;
|
|
7
|
-
private _tasks;
|
|
8
|
-
private poolLimit;
|
|
9
|
-
private isRuning;
|
|
10
|
-
private taskPool;
|
|
11
|
-
private breakWhenError;
|
|
12
|
-
constructor(props?: ITaskProps);
|
|
13
|
-
static get shared(): TaskManager<any>;
|
|
14
|
-
addTask(task: () => R | Promise<R>): void;
|
|
15
|
-
addTask<A0, A extends any[]>(task: (arg0: A0, ...args: A) => R | Promise<R>, arg0: A0): void;
|
|
16
|
-
addTask<A0, A1, A extends any[]>(task: (arg0: A0, arg1: A1, ...args: A) => R | Promise<R>, arg0: A0, arg1: A1): void;
|
|
17
|
-
addTask<A0, A1, A2, A extends any[]>(task: (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R | Promise<R>, arg0: A0, arg1: A1, arg2: A2): void;
|
|
18
|
-
addTask<A0, A1, A2, A3, A extends any[]>(task: (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R | Promise<R>, arg0: A0, arg1: A1, arg2: A2, arg3: A3): void;
|
|
19
|
-
addTask<A0, A1, A2, A3, A4, A extends any[]>(task: (arg0: A0, arg1: A1, arg2: A2, arg3: A3, arg4: A4, ...args: A) => R | Promise<R>, arg0: A0, arg1: A1, arg2: A2, arg3: A3, arg4: A4): void;
|
|
20
|
-
runAllAsync(poolLimit?: number): Promise<R[]>;
|
|
21
|
-
runAllSerial(): Promise<R[]>;
|
|
22
|
-
}
|
|
23
|
-
export = TaskManager;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../../types';
|
|
2
|
-
export declare function checkTabbarListItemIconPath(prefix: string, absolutePath: string): string[];
|
|
3
|
-
export declare function checkThemeRules(projectPath: string): {
|
|
4
|
-
windowConfigRules: ({
|
|
5
|
-
key: string;
|
|
6
|
-
valids: string[];
|
|
7
|
-
hexColor?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
key: string;
|
|
10
|
-
hexColor: boolean;
|
|
11
|
-
valids?: undefined;
|
|
12
|
-
})[];
|
|
13
|
-
tabbarRules: ({
|
|
14
|
-
key: string;
|
|
15
|
-
hexColor: boolean;
|
|
16
|
-
valids?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
key: string;
|
|
19
|
-
valids: string[];
|
|
20
|
-
hexColor?: undefined;
|
|
21
|
-
})[];
|
|
22
|
-
tabbarListItemRules: {
|
|
23
|
-
key: string;
|
|
24
|
-
validate: (key: string, value: string) => void;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export declare function getDefaultWindowConfig(isDarkMode: boolean): {
|
|
28
|
-
backgroundColor: string;
|
|
29
|
-
backgroundTextStyle: string;
|
|
30
|
-
};
|
|
31
|
-
export declare function checkVariables(options: {
|
|
32
|
-
isDarkMode: boolean;
|
|
33
|
-
themeLocation: string;
|
|
34
|
-
filePath: string;
|
|
35
|
-
windowConfig: MiniProgramCore.IStringKeyMap;
|
|
36
|
-
themeJSON: MiniProgramCore.IStringKeyMap;
|
|
37
|
-
rules: any[];
|
|
38
|
-
keyPrefix: string;
|
|
39
|
-
isPlugin?: boolean;
|
|
40
|
-
}): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AppJSON, MiniProgramDevtools } from '../../../types';
|
|
2
|
-
export declare function checkIsInSubPackage(appConfig: Readonly<AppJSON.IAppConfig>, pathName?: string): undefined | AppJSON.ISubpackageItem;
|
|
3
|
-
export declare function checkPluginByAliasOrProvider(appConfig: Readonly<AppJSON.IAppConfig>, aliasOrProvider: string): {
|
|
4
|
-
alias: string;
|
|
5
|
-
provider: string;
|
|
6
|
-
version: string;
|
|
7
|
-
config?: AppJSON.ISubpackageItem;
|
|
8
|
-
} | undefined;
|
|
9
|
-
export declare function getPluginByAliasOrProvider(plugins: {
|
|
10
|
-
[alias: string]: MiniProgramDevtools.IPluginInfo;
|
|
11
|
-
} | undefined, aliasOrProvider: string): {
|
|
12
|
-
alias: string;
|
|
13
|
-
provider: string;
|
|
14
|
-
version: string;
|
|
15
|
-
} | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function transformSourceMapSources(sources?: Array<string | null> | undefined | null): Array<string | null>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore, MiniProgramDevtools, ProjectConfigJSON } from '../types';
|
|
2
|
-
import { BaseProject } from './baseProject';
|
|
3
|
-
type ProjectType = MiniProgramCore.ProjectType;
|
|
4
|
-
export interface ICreateProjectOptions {
|
|
5
|
-
projectPath: string;
|
|
6
|
-
type: ProjectType;
|
|
7
|
-
appid: string;
|
|
8
|
-
ignores?: string[];
|
|
9
|
-
targetPlatform?: MiniProgramCore.ITargetPlatform;
|
|
10
|
-
compileDefines?: {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
};
|
|
13
|
-
packOptions?: {
|
|
14
|
-
ignore: MiniProgramDevtools.IProjectConfigPackOption[];
|
|
15
|
-
include: MiniProgramDevtools.IProjectConfigPackOption[];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export declare class ServerProject extends BaseProject {
|
|
19
|
-
private _project;
|
|
20
|
-
targetPlatform?: MiniProgramCore.ITargetPlatform;
|
|
21
|
-
private fileUtils;
|
|
22
|
-
private _preloadFileCache;
|
|
23
|
-
constructor(options: ICreateProjectOptions);
|
|
24
|
-
init(options: ICreateProjectOptions): Promise<void>;
|
|
25
|
-
initPreloadFileCache(): Promise<void>;
|
|
26
|
-
get project(): BaseProject;
|
|
27
|
-
existsAsync(prefix?: string, filePath?: string): Promise<boolean>;
|
|
28
|
-
exists(prefix?: string, filePath?: string): boolean;
|
|
29
|
-
getFile(prefix: string, filePath: string): Buffer;
|
|
30
|
-
statAsync(prefix?: string, filePath?: string): Promise<MiniProgramCore.IStat | undefined>;
|
|
31
|
-
stat(prefix?: string, filePath?: string): MiniProgramCore.IStat | undefined;
|
|
32
|
-
getProjectConfig(): Promise<ProjectConfigJSON.IProjectConfigJSON>;
|
|
33
|
-
updateFileAndDirs(): Promise<void>;
|
|
34
|
-
getExtAppid(): Promise<string | void>;
|
|
35
|
-
isMiniappProject(): boolean;
|
|
36
|
-
serialize(): Promise<MiniProgramCore.IPrecompileProjectSerializeInfo>;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IAppDirService, IDirConfig } from '../common/appDirService';
|
|
2
|
-
export declare class ServerAppDirDevtoolsService implements IAppDirService {
|
|
3
|
-
init(): Promise<IDirConfig>;
|
|
4
|
-
get<T extends keyof IDirConfig>(dirType: T): Promise<IDirConfig[T]>;
|
|
5
|
-
cleanDir(dirType: keyof IDirConfig): Promise<void>;
|
|
6
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ICompileResult } from '~/build-server/type';
|
|
2
|
-
import { IFileList } from '~/services/fs/common/fileService';
|
|
3
|
-
export interface ICompileCacheManagerService {
|
|
4
|
-
set: (key: string, value: string | Record<string, any>) => void;
|
|
5
|
-
get: (key: string) => any;
|
|
6
|
-
clear: (ket: string) => void;
|
|
7
|
-
clearBatch: (keys: string[]) => Promise<number>;
|
|
8
|
-
reporter: {
|
|
9
|
-
hitCache: (key: string) => void;
|
|
10
|
-
startGenCache: (key: string) => void;
|
|
11
|
-
finishGenCache: (key: string) => void;
|
|
12
|
-
hitFileCache: (filePath: string) => void;
|
|
13
|
-
startGenFileCache: (filePath: string) => void;
|
|
14
|
-
finishGenFileCache: (filePath: string) => void;
|
|
15
|
-
};
|
|
16
|
-
generateFilePesistCacheKey(project: IProject, otherSeeds: any[]): Promise<string>;
|
|
17
|
-
setFile(filePath: string, value: any, infoKey: string): Promise<void>;
|
|
18
|
-
getFile(projectpath: string, filePath: string, infoKey: string, useEngineIDE?: boolean): Promise<ICompileResult | undefined>;
|
|
19
|
-
removeFile(filePath: string, infoKey: string): Promise<void>;
|
|
20
|
-
getFileList(key?: string): Promise<IFileList | undefined>;
|
|
21
|
-
setFileList(fileList: IFileList): Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
export declare const ICompileCacheManagerService: import("../../common/vs/platform/instantiation/common/instantiation").ServiceIdentifier<ICompileCacheManagerService>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ICompileCacheManagerService } from '../common/compileCacheManager';
|
|
2
|
-
import { ICompileResult } from '~/build-server/type';
|
|
3
|
-
import { IFileList } from '~/services/fs/common/fileService';
|
|
4
|
-
export declare class NWCompileCacheManagerService implements ICompileCacheManagerService {
|
|
5
|
-
reporter: any;
|
|
6
|
-
get: (key: string) => any;
|
|
7
|
-
set: (key: string, value: any) => void;
|
|
8
|
-
generateFilePesistCacheKey: (project: IProject, otherSeeds: any[]) => Promise<string>;
|
|
9
|
-
getFile: (projectpath: string, filePath: string, infoKey: string, useEngineIDE?: boolean) => Promise<ICompileResult | undefined>;
|
|
10
|
-
setFile: (filePath: string, value: any, infoKey: string) => Promise<void>;
|
|
11
|
-
removeFile(filePath: string, infoKey: string): Promise<void>;
|
|
12
|
-
clear(key: string): Promise<void>;
|
|
13
|
-
getFileList(key?: string): Promise<IFileList | []>;
|
|
14
|
-
setFileList(fileList: IFileList): Promise<void>;
|
|
15
|
-
clearBatch: (keys: string[]) => Promise<number>;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ICompileCacheManagerService } from '../common/compileCacheManager';
|
|
2
|
-
import { ICompileResult } from '~/build-server/type';
|
|
3
|
-
import { IFileList } from '~/services/fs/common/fileService';
|
|
4
|
-
export declare class ServerCompileCacheManagerService implements ICompileCacheManagerService {
|
|
5
|
-
private isUseCache;
|
|
6
|
-
reporter: {
|
|
7
|
-
hitCache: (key: string) => void;
|
|
8
|
-
startGenCache: (key: string) => void;
|
|
9
|
-
finishGenCache: (key: string) => void;
|
|
10
|
-
hitFileCache: (filePath: string) => void;
|
|
11
|
-
startGenFileCache: (filePath: string) => void;
|
|
12
|
-
finishGenFileCache: (filePath: string) => void;
|
|
13
|
-
};
|
|
14
|
-
get: (key: string) => Promise<any>;
|
|
15
|
-
set: (key: string, value: string | Record<string, any>) => Promise<"OK" | null>;
|
|
16
|
-
generateFilePesistCacheKey: (project: IProject, otherSeeds: any[]) => Promise<string>;
|
|
17
|
-
getFile: (projectpath: string, filePath: string, infoKey?: string, useEngineIDE?: boolean) => Promise<ICompileResult | undefined>;
|
|
18
|
-
setFile: (filePath: string, value: ICompileResult, infoKey?: string) => Promise<void>;
|
|
19
|
-
clear: (key: string) => Promise<"OK" | null>;
|
|
20
|
-
clearBatch: (keys: string[]) => Promise<number>;
|
|
21
|
-
removeFile: (filePath: string, infoKey?: string) => Promise<void>;
|
|
22
|
-
setFileList: (fileList: IFileList) => Promise<void>;
|
|
23
|
-
getFileList: (key?: string) => Promise<IFileList | undefined>;
|
|
24
|
-
copyCache: (sourceProjectCacheKey: string, targetProjectCacheKey: string) => Promise<boolean>;
|
|
25
|
-
getProjectCacheKey(projectId?: string, versionId?: string): string | null;
|
|
26
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ICompileWxmlOptions, ICompileResult, ICompilewxmlService, ICompileWxmlToGlassEasel, IGlassEaselCompileResult } from '../common/compilewxmlService';
|
|
2
|
-
export declare class ServerCompilewxmlService implements ICompilewxmlService {
|
|
3
|
-
compileWxml(options: ICompileWxmlOptions): Promise<ICompileResult>;
|
|
4
|
-
compileWxmlToGlassEasel(options: ICompileWxmlToGlassEasel): Promise<IGlassEaselCompileResult>;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Stats } from 'fs';
|
|
2
|
-
import { IBuilderFileServiceContext, IFileService, IReadFileOptions, IFileList } from '../common/fileService';
|
|
3
|
-
export declare class BuilderFileService implements IFileService {
|
|
4
|
-
private cache;
|
|
5
|
-
private getSessionId;
|
|
6
|
-
private getCacheKey;
|
|
7
|
-
private getValidCache;
|
|
8
|
-
private setCache;
|
|
9
|
-
private updateCacheWithContent;
|
|
10
|
-
private getCachedFileContent;
|
|
11
|
-
private getCachedFiles;
|
|
12
|
-
private fetchFileList;
|
|
13
|
-
private fetchFileContent;
|
|
14
|
-
readFile(filePath: string, options: IReadFileOptions | undefined, ctx: IBuilderFileServiceContext): Promise<Buffer | string>;
|
|
15
|
-
readFileList(filePaths: string[], ctx: IBuilderFileServiceContext): Promise<Record<string, string>>;
|
|
16
|
-
exists(filePath: string, ctx: IBuilderFileServiceContext): Promise<boolean>;
|
|
17
|
-
lstat(filePath: string, ctx: IBuilderFileServiceContext): Promise<Stats>;
|
|
18
|
-
fileList(ctx: IBuilderFileServiceContext): Promise<IFileList>;
|
|
19
|
-
preloadAllFiles(ctx: IBuilderFileServiceContext): Promise<{
|
|
20
|
-
success: boolean;
|
|
21
|
-
fileCount: number;
|
|
22
|
-
duration: number;
|
|
23
|
-
}>;
|
|
24
|
-
private handleEncoding;
|
|
25
|
-
private createEmptyStats;
|
|
26
|
-
private createStatsObject;
|
|
27
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ILogService } from '~/services/log/common/logService';
|
|
2
|
-
export declare class ServerLogService implements ILogService {
|
|
3
|
-
error(...args: any): void;
|
|
4
|
-
info(...args: any): void;
|
|
5
|
-
warn(...args: any): void;
|
|
6
|
-
log(...args: any): void;
|
|
7
|
-
debug(...args: any): void;
|
|
8
|
-
context(context: string, consoleObj?: Omit<ILogService, 'context'>): this;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from "~/types";
|
|
2
|
-
import { IMultiTaskManagerService } from "../common/multiTaskManager";
|
|
3
|
-
export declare class ServerMultiTaskManagerService implements IMultiTaskManagerService {
|
|
4
|
-
runTask(taskName: string, data: any, onStatusUpdate: MiniProgramCore.FN<void>): Promise<any>;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function callMainProcess(funcName: string, ...args: any[]): Promise<any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '~/types';
|
|
2
|
-
declare class PM2WorkerManager {
|
|
3
|
-
private _taskQueue;
|
|
4
|
-
private _workerPool;
|
|
5
|
-
private _max_pool_size;
|
|
6
|
-
private _workerIndex;
|
|
7
|
-
constructor(size: number);
|
|
8
|
-
runTask(name: string, data: any, onStatusUpdate?: MiniProgramCore.FN<void>): Promise<unknown>;
|
|
9
|
-
abort(name: string): void;
|
|
10
|
-
private _run;
|
|
11
|
-
private getFreeWorker;
|
|
12
|
-
private allocWorker;
|
|
13
|
-
private workerCount;
|
|
14
|
-
private onWorkerExit;
|
|
15
|
-
private onTaskDone;
|
|
16
|
-
}
|
|
17
|
-
export declare const getPM2WorkerManager: () => PM2WorkerManager;
|
|
18
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPerformanceReportService } from '../common/performance';
|
|
2
|
-
export declare class ServerPerformanceReportService implements IPerformanceReportService {
|
|
3
|
-
reportPerf(name: string, hrTime: number): Promise<void>;
|
|
4
|
-
getReportName(): {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IPluginFileReaderService } from '~/services/pluginFileReader/common/pluginFileReader';
|
|
2
|
-
import { IFileService } from '~/services/fs/common/fileService';
|
|
3
|
-
import { MiniProgramCore } from '~/types';
|
|
4
|
-
import { PipeCPProject } from '~/modules/corecompiler/summer/pipeManager/pipeCPProject';
|
|
5
|
-
export declare class ServerPluginFileReaderService implements IPluginFileReaderService {
|
|
6
|
-
protected readonly fileService: IFileService;
|
|
7
|
-
constructor(fileService: IFileService);
|
|
8
|
-
getCtx(): {
|
|
9
|
-
projectId: string;
|
|
10
|
-
versionId: string;
|
|
11
|
-
ticket: string;
|
|
12
|
-
};
|
|
13
|
-
readFile(_project: MiniProgramCore.IPreCompileProject | PipeCPProject, relativePath: string): Promise<string>;
|
|
14
|
-
exists(_project: MiniProgramCore.IPreCompileProject | PipeCPProject, basePath: string, fileName: string): Promise<boolean>;
|
|
15
|
-
stat(_project: MiniProgramCore.IPreCompileProject | PipeCPProject, relativePath: string): Promise<{
|
|
16
|
-
mtimeMs: number;
|
|
17
|
-
} | undefined>;
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IBuilderFileServiceContext, IFileService } from '~/services/fs/common/fileService';
|
|
2
|
-
import { IBuildServerProjectManagerService } from '~/services/projectManager/common/buildServerProjectManager';
|
|
3
|
-
export declare class BuildServerProjectManagerService implements IBuildServerProjectManagerService {
|
|
4
|
-
protected readonly fileService: IFileService;
|
|
5
|
-
private _cache;
|
|
6
|
-
constructor(fileService: IFileService);
|
|
7
|
-
private joinPath;
|
|
8
|
-
private getConfigFileInfo;
|
|
9
|
-
private getProjectConfig;
|
|
10
|
-
getProject(ctx: IBuilderFileServiceContext): Promise<IBackendProject>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IInstantiationService, ServiceIdentifier } from '../../common/vs/platform/instantiation/common/instantiation';
|
|
2
|
-
export declare class Root {
|
|
3
|
-
private static _instance;
|
|
4
|
-
protected instantiationService: IInstantiationService;
|
|
5
|
-
constructor(instantiationService?: IInstantiationService);
|
|
6
|
-
static get instance(): Root;
|
|
7
|
-
static set instance(rootins: Root);
|
|
8
|
-
static get iis(): IInstantiationService;
|
|
9
|
-
static initIisWithServices(i: IInstantiationService): Root;
|
|
10
|
-
static getService<T>(a: ServiceIdentifier<T>): Promise<T>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { GetValueType, IStoreService } from '../common/storeService';
|
|
2
|
-
export declare class ServerStoreService implements IStoreService {
|
|
3
|
-
createStore(): any;
|
|
4
|
-
getState(): any;
|
|
5
|
-
getValue: <Path extends string[]>(...args: Path) => Promise<(GetValueType<any, Path>)>;
|
|
6
|
-
getValueByRuntimeId: <Path extends string[]>(runtimeId: string, ...args: Path) => Promise<(GetValueType<any, Path>)>;
|
|
7
|
-
onStateChange: any;
|
|
8
|
-
subscribe(fn: FN<void>): FN<void>;
|
|
9
|
-
unsubscribe(fn: FN<void>): FN<void>;
|
|
10
|
-
dispatch(action: any): any;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,r){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.errors=void 0,exports.errors={1e3:{code:1e3,msg:"登录态无效"},1001:{code:1001,msg:"缺失登录态"},1002:{code:1002,msg:"身份校验失败"},1003:{code:1003,msg:"网络校验失败"},1e4:{code:1e4,errmsg:"消息发送失败"},10001:{code:10001,errmsg:"参数传递错误或类型错误"},10002:{code:10002,errmsg:"存在不合法的 task 类型: %s"},10003:{code:10003,errmsg:"输入了不存在的 task 类型: %s"},10004:{code:10004,errmsg:"没有找到 task 对应进程或空闲进程: %s"},10005:{code:10005,errmsg:"未知错误"}}}(require("licia/lazyImport")(require),require);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,o){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.optionsStorage=void 0;const r=e("async_hooks");exports.optionsStorage=new r.AsyncLocalStorage}(require("licia/lazyImport")(require),require);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const s=e("tslib"),i=e("redis"),n=s.__importDefault(e("crypto")),c=s.__importDefault(e("fs-extra")),r=s.__importDefault(e("path")),o=e("./utils/request"),{NODE_ENV:a}=process.env,l="production"===a;exports.default=new class{constructor(){this.cacheProjectInfo={},this.transformFilePathToCacheKey=(e,t,s,i,n)=>`${e}_${t}_${s}_${i.join(".")}_${n}`,this.getFileCache=async e=>{const{projectId:t,versionId:s,snapshotId:i,fileTask:n,ticket:c}=e;let r=this.cacheProjectInfo[i];if(r||(this.cacheProjectInfo[i]=await(0,o.getProjectUpdateTimeHTTP)({projectId:t,versionId:s,snapshotId:i,ticket:c}),r=this.cacheProjectInfo[i]),!r.success)return{success:!1,data:r};const a=r.fileList.find((e=>e.name===n.filePath));if(!a)return{success:!1,data:"file not found"};const l=this.transformFilePathToCacheKey(t,s,n.filePath,n.taskLinks,a.lastModifiedTime),u=await this.get(l);if(!u||!u.compileResult)return{success:!1,data:"no cache"};const h=Object.keys(u);if(h.length>1)for(const e of h)if("compileResult"!==e){const t=r.fileList.find((t=>t.name===e));if(!t)continue;if(+t.lastModifiedTime!=+u[e])return{success:!1,data:"cache invalid"}}return{success:!0,data:u.compileResult}},this.autoDisConnectRedis=()=>{this.autoDisConnectInterval&&clearTimeout(this.autoDisConnectInterval),this.autoDisConnectInterval=setTimeout((()=>{this.redisClient.quit(),this.autoDisConnectInterval=void 0}),36e5)},this.checkRedisConnected=async()=>{const e=this.redisClient.isOpen;if(console.log("redis connection status:",e),!e)try{await this.redisClient.connect(),this.autoDisConnectRedis()}catch(e){console.error("Redis connection error:",e)}};const{PASS:e,IP:t,PORT:s}=function(){let e;const t=c.default.readJsonSync(r.default.join(__filename,"../../../../key/keys.json"));e=l?t.prod:t.dev;const{AES_KEY:s,PASS:i}=e,o=Buffer.from(s,"hex"),[a,u]=i.split(":"),h=Buffer.from(a,"hex"),d=n.default.createDecipheriv("aes-256-cbc",o,h);let f=d.update(u,"base64","utf8");return f+=d.final("utf8"),Object.assign(Object.assign({},e),{PASS:f})}();this.redisClient=(0,i.createClient)({url:`redis://${t}:${s}`,password:e}),this.redisClient.on("error",(e=>{console.error("Redis Client Error",e)}))}async get(e){await this.checkRedisConnected();try{return await this.redisClient.hGetAll(e)}catch(e){return console.error("Redis GET error:",e),null}}async setCache(e,t,s){await this.checkRedisConnected();try{const i=this.redisClient.multi();return Object.entries(t).forEach((([t,s])=>{i.hSet(e,t,s)})),i.expire(e,s||10800),await i.exec(),"OK"}catch(e){return console.error("Redis SET error:",e),null}}async justTestRedis(e){try{await this.checkRedisConnected();const t=await this.get(e);return t&&Object.keys(t).length>0?t:(await this.redisClient.hSet(e,"compileResult","test result"),"no cache")}catch(e){return e.toString()}}}}(require("licia/lazyImport")(require),require);
|