miniprogram-ci 2.1.34 → 2.1.35
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 +2 -0
- package/README.md +2 -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/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/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/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/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
package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/project/helper/theme.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PipeCPProject } from '../../../../pipeCPProject';
|
|
2
|
-
export declare function checkTabbarListItemIconPath(prefix: string, absolutePath: string, project: PipeCPProject): any[];
|
|
3
|
-
export declare function checkThemeRules(projectPath: string, project?: PipeCPProject): {
|
|
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: IStringKeyMap;
|
|
36
|
-
themeJSON: IStringKeyMap;
|
|
37
|
-
rules: any[];
|
|
38
|
-
keyPrefix: string;
|
|
39
|
-
isPlugin?: boolean;
|
|
40
|
-
}): void;
|
package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxmltojs.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IPipeContext } from '../../../types';
|
|
2
|
-
interface ITransWxmlOptions {
|
|
3
|
-
app?: boolean;
|
|
4
|
-
page?: string;
|
|
5
|
-
cut?: boolean;
|
|
6
|
-
hotReloadFile?: string;
|
|
7
|
-
}
|
|
8
|
-
interface IWXMLReturn {
|
|
9
|
-
name: string;
|
|
10
|
-
comm?: string;
|
|
11
|
-
code: string;
|
|
12
|
-
names?: AnyObject;
|
|
13
|
-
pages?: AnyObject;
|
|
14
|
-
}
|
|
15
|
-
declare function transWXMLToJS(context: IPipeContext, options?: ITransWxmlOptions): Promise<IWXMLReturn>;
|
|
16
|
-
declare const _default: {
|
|
17
|
-
transWXMLToJS: typeof transWXMLToJS;
|
|
18
|
-
};
|
|
19
|
-
export = _default;
|
package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/trans/transwxsstojs.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IPipeContext } from '../../../types';
|
|
2
|
-
interface ITransWxssOptions {
|
|
3
|
-
app?: boolean;
|
|
4
|
-
page?: string;
|
|
5
|
-
hotReloadFile?: string;
|
|
6
|
-
}
|
|
7
|
-
interface IWxssReturn {
|
|
8
|
-
comm: string;
|
|
9
|
-
page?: string;
|
|
10
|
-
}
|
|
11
|
-
declare function transWXSSToJS(context: IPipeContext, options?: ITransWxssOptions): Promise<IWxssReturn>;
|
|
12
|
-
declare const _default: {
|
|
13
|
-
transWXSSToJS: typeof transWXSSToJS;
|
|
14
|
-
};
|
|
15
|
-
export = _default;
|
package/dist/@types/modules/corecompiler/summer/pipeManager/pipes/utils/web/processPath.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface INormalizePathOptions {
|
|
2
|
-
leading?: string;
|
|
3
|
-
noLeading?: string;
|
|
4
|
-
trailing?: string;
|
|
5
|
-
noTrailing?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function normalizePath(pathName?: string, options?: INormalizePathOptions): string;
|
|
8
|
-
export declare function isLeftSubPathOfRight(child: string, parent: string): boolean;
|
|
9
|
-
export {};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ICompileResult, ICompileWxmlOptions, ICompileWxmlToGlassEasel, IGlassEaselCompileResult } from '~/services/compilewxml/common/compilewxmlService';
|
|
2
|
-
import { ICompileWxssOptions, ICompileWxssResult } from '~/services/compilewxss/common/compilewxssService';
|
|
3
|
-
import { vsbase } from '../../../../services/common/vsbase';
|
|
4
|
-
import { MiniProgramCore } from '../../../../types';
|
|
5
|
-
import { PipeCPProject } from './pipeCPProject';
|
|
6
|
-
import type { IBackendContextFromWeb } from '~/types/type';
|
|
7
|
-
type ServiceIdentifier<T> = vsbase.vs.platform.instantiation.common.instantiation.$types.ServiceIdentifier<T>;
|
|
8
|
-
export declare enum EPipeCMD {
|
|
9
|
-
WCC = "WCC",
|
|
10
|
-
TRANS_WXML_TO_GLASS_EASEL = "TRANS_WXML_TO_GLASS_EASEL",
|
|
11
|
-
COMPILE_WXSS = "COMPILE_WXSS",
|
|
12
|
-
PAGEFRAME = "PAGEFRAME",
|
|
13
|
-
PAGE_INIT_SOURCE = "PAGE_INIT_SOURCE",
|
|
14
|
-
APPSERVICE = "APPSERVICE"
|
|
15
|
-
}
|
|
16
|
-
export interface IPipiInputOutputType<T, P> {
|
|
17
|
-
input: T;
|
|
18
|
-
output: P;
|
|
19
|
-
}
|
|
20
|
-
export type IPipeParamOutputTypeMap = {
|
|
21
|
-
[EPipeCMD.WCC]: IPipiInputOutputType<ICompileWxmlOptions, ICompileResult>;
|
|
22
|
-
[EPipeCMD.TRANS_WXML_TO_GLASS_EASEL]: IPipiInputOutputType<ICompileWxmlToGlassEasel, IGlassEaselCompileResult>;
|
|
23
|
-
[EPipeCMD.COMPILE_WXSS]: IPipiInputOutputType<ICompileWxssOptions, ICompileWxssResult>;
|
|
24
|
-
[EPipeCMD.PAGEFRAME]: IPipiInputOutputType<{
|
|
25
|
-
isMultiPkg?: boolean;
|
|
26
|
-
}, string>;
|
|
27
|
-
[EPipeCMD.PAGE_INIT_SOURCE]: IPipiInputOutputType<{
|
|
28
|
-
filepath: string;
|
|
29
|
-
}, string>;
|
|
30
|
-
[EPipeCMD.APPSERVICE]: IPipiInputOutputType<Record<string, never>, string>;
|
|
31
|
-
};
|
|
32
|
-
export interface IPipeDefinition<TParams = any, TOutput = unknown> {
|
|
33
|
-
name: string;
|
|
34
|
-
timeout?: number;
|
|
35
|
-
execute(context: IPipeContext, params: TParams): Promise<TOutput>;
|
|
36
|
-
}
|
|
37
|
-
export interface IPipeContext {
|
|
38
|
-
requestPipe<T = unknown>(pipeName: string, params?: Record<string, unknown>): Promise<T>;
|
|
39
|
-
callCompiler<T = unknown>(method: string, ...args: unknown[]): Promise<T>;
|
|
40
|
-
project: PipeCPProject;
|
|
41
|
-
getService<T>(id: ServiceIdentifier<T>): T;
|
|
42
|
-
}
|
|
43
|
-
export interface IPipeProjectSerializeInfo {
|
|
44
|
-
appid: string;
|
|
45
|
-
attr: any;
|
|
46
|
-
type: MiniProgramCore.ProjectType;
|
|
47
|
-
projectPath: string;
|
|
48
|
-
projectArchitecture: MiniProgramCore.IProjectArchitecture;
|
|
49
|
-
miniprogramRoot: string;
|
|
50
|
-
pluginRoot: string;
|
|
51
|
-
setting: any;
|
|
52
|
-
backendProjectContext?: IBackendContextFromWeb;
|
|
53
|
-
projectContext?: {
|
|
54
|
-
projectId: string;
|
|
55
|
-
versionId: string;
|
|
56
|
-
ticket: string;
|
|
57
|
-
sessionId: string;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export type IPipeRequest = {
|
|
61
|
-
type: 'pipe';
|
|
62
|
-
requestId: string;
|
|
63
|
-
name: string;
|
|
64
|
-
params?: Record<string, unknown>;
|
|
65
|
-
} | {
|
|
66
|
-
type: 'compiler';
|
|
67
|
-
requestId: string;
|
|
68
|
-
method: string;
|
|
69
|
-
args: unknown[];
|
|
70
|
-
};
|
|
71
|
-
export interface IPipeResponse {
|
|
72
|
-
requestId: string;
|
|
73
|
-
data?: any;
|
|
74
|
-
error?: {
|
|
75
|
-
code: number;
|
|
76
|
-
message: string;
|
|
77
|
-
stack: string;
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
export interface IPipeTaskData {
|
|
81
|
-
pipeName: string;
|
|
82
|
-
params?: Record<string, unknown>;
|
|
83
|
-
projectInfo: IPipeProjectSerializeInfo;
|
|
84
|
-
}
|
|
85
|
-
export interface IPipeTaskResult {
|
|
86
|
-
error?: any;
|
|
87
|
-
result?: any;
|
|
88
|
-
}
|
|
89
|
-
export interface IExecutePipeData {
|
|
90
|
-
pipeName: string;
|
|
91
|
-
params?: Record<string, unknown>;
|
|
92
|
-
backendProjectContext?: IBackendContextFromWeb;
|
|
93
|
-
projectContext?: {
|
|
94
|
-
projectId: string;
|
|
95
|
-
versionId: string;
|
|
96
|
-
ticket: string;
|
|
97
|
-
sessionId: string;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawSourceMap } from 'source-map';
|
|
2
|
-
declare function inlineSourceMap(sourceCode: string, sourceMap?: string | RawSourceMap, sourceURL?: string): string;
|
|
3
|
-
declare function inlineSourceMapFile(sourceCode: string, sourceMapPath?: string): string;
|
|
4
|
-
declare function wrapSourceCodeInDefine(filename: string, sourceCode: string, inject?: string): string;
|
|
5
|
-
declare function wrapGameSourceCodeInDefine(filename: string, sourceCode: string, inject?: string): string;
|
|
6
|
-
declare const _default: {
|
|
7
|
-
inlineSourceMap: typeof inlineSourceMap;
|
|
8
|
-
inlineSourceMapFile: typeof inlineSourceMapFile;
|
|
9
|
-
wrapSourceCodeInDefine: typeof wrapSourceCodeInDefine;
|
|
10
|
-
wrapGameSourceCodeInDefine: typeof wrapGameSourceCodeInDefine;
|
|
11
|
-
};
|
|
12
|
-
export = _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
export default function getAppService(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler): Promise<{
|
|
4
|
-
success: boolean;
|
|
5
|
-
content: any;
|
|
6
|
-
}>;
|
|
7
|
-
export declare function getBabelCodeByName(project: any, modName: string): Promise<string>;
|
|
8
|
-
export declare function getBabelHelperAndDepsCode(project: any, babelHelpers: any): Promise<Map<any, any>>;
|
|
9
|
-
export declare function getAppCode(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, mainContentScript: string[], wxmlXCJS: any, componentFiles: string[], pageFiles: string[]): Promise<void>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { RawSourceMap } from 'source-map';
|
|
2
|
-
import { MiniProgramCore } from '../../../types';
|
|
3
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
4
|
-
export type CompileResultType = 'production' | 'dev';
|
|
5
|
-
export interface ICompileResult {
|
|
6
|
-
map?: RawSourceMap;
|
|
7
|
-
mapString?: string;
|
|
8
|
-
basenameMapString?: string;
|
|
9
|
-
code: string;
|
|
10
|
-
helpers: MiniProgramCore.IStringKeyMap;
|
|
11
|
-
customTranslated: boolean;
|
|
12
|
-
isLargeFile: boolean;
|
|
13
|
-
needCompile: boolean;
|
|
14
|
-
isBabelIgnore: boolean;
|
|
15
|
-
filePath?: string;
|
|
16
|
-
fromCache?: boolean;
|
|
17
|
-
cacheKey?: string;
|
|
18
|
-
mtime?: number;
|
|
19
|
-
}
|
|
20
|
-
interface IGetCompiledJSOptions {
|
|
21
|
-
relativePath: string;
|
|
22
|
-
fileName: string;
|
|
23
|
-
resultType: CompileResultType;
|
|
24
|
-
nameMapping?: MiniProgramCore.IStringKeyMap;
|
|
25
|
-
type: 'game' | 'gamePlugin' | 'miniProgram' | 'miniProgramPlugin';
|
|
26
|
-
onAfterRun?: MiniProgramCore.FN<void>;
|
|
27
|
-
sourceCode?: string;
|
|
28
|
-
useEngineIDE?: boolean;
|
|
29
|
-
}
|
|
30
|
-
export declare const getCompiledJS: (project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, options: IGetCompiledJSOptions) => Promise<ICompileResult>;
|
|
31
|
-
export declare const compileMiniProgramJS: (project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, fileName: string) => Promise<ICompileResult>;
|
|
32
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
2
|
-
import { MiniProgramCore } from '../../../types';
|
|
3
|
-
import { ICompileResult } from './getcompiledjs';
|
|
4
|
-
interface IGetJSFileOptions {
|
|
5
|
-
force?: boolean;
|
|
6
|
-
noWarnings?: boolean;
|
|
7
|
-
injectHelpers?: boolean;
|
|
8
|
-
injectHelpersSync?: boolean;
|
|
9
|
-
isGame?: boolean;
|
|
10
|
-
isWorkerFile?: boolean;
|
|
11
|
-
sourceURL?: string;
|
|
12
|
-
formatResult?: (result: ICompileResult) => ICompileResult;
|
|
13
|
-
}
|
|
14
|
-
declare function getJsFile(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, fileName: string, options?: IGetJSFileOptions): Promise<{
|
|
15
|
-
code: string;
|
|
16
|
-
helpers: string[];
|
|
17
|
-
}>;
|
|
18
|
-
export = getJsFile;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
2
|
-
import { MiniProgramCore } from '../../../types';
|
|
3
|
-
declare const getMainPkgSortedJSFiles: (project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler) => Promise<{
|
|
4
|
-
hasAppJS: boolean;
|
|
5
|
-
allFiles: string[];
|
|
6
|
-
pageFiles: string[];
|
|
7
|
-
functionalPageFiles: string[];
|
|
8
|
-
workerFiles: string[];
|
|
9
|
-
componentFiles: string[];
|
|
10
|
-
otherFiles: string[];
|
|
11
|
-
}>;
|
|
12
|
-
export = getMainPkgSortedJSFiles;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
2
|
-
import { AppJSON, MiniProgramCore } from '../../../types';
|
|
3
|
-
export default function getSubpackageAppServiceBuild(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, subPackConfig: AppJSON.ISubpackageItem): Promise<{
|
|
4
|
-
success: boolean;
|
|
5
|
-
content: any;
|
|
6
|
-
}>;
|
|
7
|
-
export declare function getSubpackageAppServiceBuildCore(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, subPackConfig: AppJSON.ISubpackageItem): Promise<string>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
2
|
-
import { MiniProgramCore } from '../../../types';
|
|
3
|
-
declare const getSubPkgSortedJSFiles: (project: MiniProgramCore.IPreCompileProject, compiler: SummerCompiler, rootPath: string) => Promise<{
|
|
4
|
-
allFiles: string[];
|
|
5
|
-
pageFiles: string[];
|
|
6
|
-
componentFiles: string[];
|
|
7
|
-
otherFiles: string[];
|
|
8
|
-
extendedLibFiles: string[];
|
|
9
|
-
}>;
|
|
10
|
-
export = getSubPkgSortedJSFiles;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
declare function getWxAppCode(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, requireDirectly?: boolean): Promise<string>;
|
|
4
|
-
declare function getWxAppCodeOfPage(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pathName: string, genFnName: string, requireDirectly?: boolean): Promise<string>;
|
|
5
|
-
declare function getWxAppCodeJsonOfPage(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pathName: string): Promise<string>;
|
|
6
|
-
declare function getWxAppCodeWxmlOfPage(project: MiniProgramCore.IPreCompileProject, pathName: string, wxmlGenFnName: string, requireDirectly?: boolean): string;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
getWxAppCode: typeof getWxAppCode;
|
|
9
|
-
getWxAppCodeOfPage: typeof getWxAppCodeOfPage;
|
|
10
|
-
getWxAppCodeJsonOfPage: typeof getWxAppCodeJsonOfPage;
|
|
11
|
-
getWxAppCodeWxmlOfPage: typeof getWxAppCodeWxmlOfPage;
|
|
12
|
-
};
|
|
13
|
-
export = _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare const appErrCode: {
|
|
2
|
-
APP_JSON_READ_ERR: number;
|
|
3
|
-
APP_JSON_PARSE_ERR: number;
|
|
4
|
-
APP_JSON_PAGES_ERR: number;
|
|
5
|
-
APP_JSON_ENTRANCE_NOT_FOUND_ERR: number;
|
|
6
|
-
APP_JSON_CONTENT_ERR: number;
|
|
7
|
-
PAGES_JSON_PARSE_ERR: number;
|
|
8
|
-
APP_JSON_WXML_NOT_FOUND: number;
|
|
9
|
-
APP_JSON_JS_NOT_FOUND: number;
|
|
10
|
-
JSON_CONTENT_ERR: number;
|
|
11
|
-
EXT_JSON_PARSE_ERR: number;
|
|
12
|
-
EXT_JSON_PAGES_ERR: number;
|
|
13
|
-
EXT_JSON_CONTENT_ERR: number;
|
|
14
|
-
APPSERVICE_LOSE_WXML: number;
|
|
15
|
-
APPSERVICE_LOSE_JS: number;
|
|
16
|
-
FILE_NOT_UTF8: number;
|
|
17
|
-
BABEL_TRANS_JS_ERR: number;
|
|
18
|
-
UGLIFY_JS_ERR: number;
|
|
19
|
-
BABILI_JS_ERR: number;
|
|
20
|
-
JS_ES6_ERR: number;
|
|
21
|
-
FILE_FLAT_ERR: number;
|
|
22
|
-
POST_WXSS_ERR: number;
|
|
23
|
-
TRANS_WXML_JS_ERR: number;
|
|
24
|
-
TRANS_WXSS_JS_ERR: number;
|
|
25
|
-
SUMMER_PLUGIN_ERR: number;
|
|
26
|
-
SUMMER_PLUGIN_CODE_ERR: number;
|
|
27
|
-
VENDOR_MD5_NOT_MATCH: number;
|
|
28
|
-
VENDOR_WCC_FILE_NOT_FOUND: number;
|
|
29
|
-
VENDOR_WCSC_FILE_NOT_FOUND: number;
|
|
30
|
-
CODE_SIZE_EXCEED: number;
|
|
31
|
-
GET_GEO_LOCATION_ERR: number;
|
|
32
|
-
QCLOUD_SVR_NO_FOUND_ERR: number;
|
|
33
|
-
QCLOUD_SVR_POLL_TIMEOUT: number;
|
|
34
|
-
QCLOUD_SVR_POLL_DOING: number;
|
|
35
|
-
QCLOUD_SVR_UP_DIR_CHECK: number;
|
|
36
|
-
PLUGIN_JSON_READ_ERR: number;
|
|
37
|
-
PLUGIN_JSON_PARSE_ERR: number;
|
|
38
|
-
PLUGIN_JSON_CONTENT_ERR: number;
|
|
39
|
-
PLUGIN_PAGE_JSON_PARSE_ERR: number;
|
|
40
|
-
PLUGIN_JSON_FILE_NOT_FOUND: number;
|
|
41
|
-
PLUGIN_PAGE_JSON_CONTENT_ERR: number;
|
|
42
|
-
PLUGIN_TRANS_WXML_JS_ERR: number;
|
|
43
|
-
PLUGIN_TRANS_WXSS_JS_ERR: number;
|
|
44
|
-
PLUGIN_JS_ES6_ERR: number;
|
|
45
|
-
PLUGIN_ONLINE_CODE_UNPACK_ERR: number;
|
|
46
|
-
PAGE_JSON_PARSE_ERR: number;
|
|
47
|
-
SITE_MAP_JSON_CONTENT_ERROR: number;
|
|
48
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../types';
|
|
2
|
-
import { SummerCompiler } from '../corecompiler/summerCompiler';
|
|
3
|
-
export default function (project: MiniProgramCore.IPreCompileProject, compiler: SummerCompiler): Promise<{
|
|
4
|
-
success: boolean;
|
|
5
|
-
content: string[];
|
|
6
|
-
errMsg?: undefined;
|
|
7
|
-
} | {
|
|
8
|
-
success: boolean;
|
|
9
|
-
errMsg: any;
|
|
10
|
-
content: Map<any, any>;
|
|
11
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../types';
|
|
2
|
-
import { SummerCompiler } from '../corecompiler/summerCompiler';
|
|
3
|
-
export default function (project: MiniProgramCore.IPreCompileProject, compiler: SummerCompiler): Promise<{
|
|
4
|
-
success: boolean;
|
|
5
|
-
content: Map<string, string>;
|
|
6
|
-
errMsg?: undefined;
|
|
7
|
-
} | {
|
|
8
|
-
success: boolean;
|
|
9
|
-
errMsg: any;
|
|
10
|
-
content: Map<any, any>;
|
|
11
|
-
}>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../types';
|
|
2
|
-
import { SummerCompiler } from '../corecompiler/summerCompiler';
|
|
3
|
-
import { IMiniappConnectType, IMiniappPkgType, ISubPkg } from './app/app';
|
|
4
|
-
export declare function checkProjectOKForWeb(_project: MiniProgramCore.IPreCompileProject): boolean;
|
|
5
|
-
interface IFullCompilerOpts {
|
|
6
|
-
summerCompiler: SummerCompiler;
|
|
7
|
-
outputDir?: string;
|
|
8
|
-
}
|
|
9
|
-
interface IComplileOpts {
|
|
10
|
-
outputDir?: string;
|
|
11
|
-
genWxapkg?: boolean;
|
|
12
|
-
genAppInfo?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare class FullCompiler {
|
|
15
|
-
project: MiniProgramCore.IPreCompileProject;
|
|
16
|
-
summerCompiler: SummerCompiler;
|
|
17
|
-
outputDir?: string;
|
|
18
|
-
constructor(project: MiniProgramCore.IPreCompileProject, opts: IFullCompilerOpts);
|
|
19
|
-
compileFull(opts?: IComplileOpts): Promise<string>;
|
|
20
|
-
compileMulti(opts?: IComplileOpts): Promise<string>;
|
|
21
|
-
genSubPkgAppInfo(miniModuleId: string, subpkgs: ISubPkg[], outputJsonPath: string, buildVersion: number, contact: string, cpfWxaAttrSyncResponse: string, miniappPkgType: IMiniappPkgType, devtoolsLocalServerUrl?: string, remoteDebugConfig?: {
|
|
22
|
-
remoteDebugWsEndpoint?: string;
|
|
23
|
-
androidRemoteConfigForUSB?: {
|
|
24
|
-
appClientPortForotReloadServer: string;
|
|
25
|
-
appClientPortForRemoteDebugServer: string;
|
|
26
|
-
devtoolHotReloadServerPort: string;
|
|
27
|
-
devtoolRemoteDebugServerPort: string;
|
|
28
|
-
};
|
|
29
|
-
}, miniappConnectType?: IMiniappConnectType): Promise<void>;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AppJSON, MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
interface IGetPageFrameCoreOpts {
|
|
4
|
-
subpkgConfig: AppJSON.ISubpackageItem;
|
|
5
|
-
}
|
|
6
|
-
export default function getPageFrame(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, opts: IGetPageFrameCoreOpts): Promise<{
|
|
7
|
-
success: boolean;
|
|
8
|
-
content: any;
|
|
9
|
-
}>;
|
|
10
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
export declare function getWxAppCodeWxmlOfPage(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pageName: string, genFnName: string): Promise<string[]>;
|
|
4
|
-
export declare function getWxAppCodeWxssOfPage(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pageName: string): Promise<string[]>;
|
|
5
|
-
export declare function getWxAppCodeJsonOfPage(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, pageName: string): Promise<string[]>;
|
|
6
|
-
interface IGetWxAppCodeOptions {
|
|
7
|
-
app?: boolean;
|
|
8
|
-
page?: string;
|
|
9
|
-
noJson?: boolean;
|
|
10
|
-
noWXSS?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function getPageFrameWxAppCode(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, options?: IGetWxAppCodeOptions): Promise<string>;
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
interface IGetPageFrameCoreOpts {
|
|
4
|
-
multi: boolean;
|
|
5
|
-
}
|
|
6
|
-
export default function getPageFrame(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, opts: IGetPageFrameCoreOpts): Promise<{
|
|
7
|
-
success: boolean;
|
|
8
|
-
content: any;
|
|
9
|
-
}>;
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
interface ITransWxmlOptions {
|
|
4
|
-
app?: boolean;
|
|
5
|
-
page?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function transWXMLToJS(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, options: ITransWxmlOptions): Promise<{
|
|
8
|
-
code: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}>;
|
|
11
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AppJSON, MiniProgramCore } from '../../../types';
|
|
2
|
-
import { SummerCompiler } from '../../corecompiler/summerCompiler';
|
|
3
|
-
interface ITransWxssOptions {
|
|
4
|
-
app?: boolean;
|
|
5
|
-
page?: string;
|
|
6
|
-
}
|
|
7
|
-
interface ITransWxssInnerOptions {
|
|
8
|
-
appConfig: AppJSON.IAppConfig;
|
|
9
|
-
config?: AppJSON.ISubpackageItem;
|
|
10
|
-
lazyload?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface IWxssReturn {
|
|
13
|
-
comm: string;
|
|
14
|
-
page?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function getWxssFilesAndContent(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, options: ITransWxssInnerOptions): Promise<{
|
|
17
|
-
wxssFiles: string[];
|
|
18
|
-
content: Record<string, string>;
|
|
19
|
-
}>;
|
|
20
|
-
export declare function transWXSSToJS(project: MiniProgramCore.IPreCompileProject, summerCompiler: SummerCompiler, options?: ITransWxssOptions): Promise<IWxssReturn>;
|
|
21
|
-
export {};
|
|
@@ -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;
|