miniprogram-ci 2.1.33 → 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 +3 -1
- package/README.md +3 -1
- package/dist/@types/common/code-analyse/index.d.ts +2 -0
- package/dist/@types/config/config.d.ts +1 -1
- package/dist/@types/index.d.ts +0 -2
- package/dist/@types/modules/corecompiler/original/workerThread/config.d.ts +4 -3
- package/dist/@types/modules/corecompiler/original/workerThread/task/func.d.ts +0 -4
- package/dist/@types/modules/corecompiler/summerCompiler.d.ts +1 -4
- package/dist/@types/modules/nativecompiler/ios/buildCloud.d.ts +2 -0
- package/dist/@types/schema/@types/appjson.d.ts +3 -0
- package/dist/@types/services/pluginFileReader/common/pluginFileReader.d.ts +3 -4
- 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/index.js +1 -1
- package/dist/modules/corecompiler/original/workerThread/config.js +1 -1
- package/dist/modules/corecompiler/original/workerThread/task/func.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/processHandler.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/subprocess/processService.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 -60
- 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/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/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,9 @@ miniprogram-ci 是从[微信开发者工具](https://developers.weixin.qq.com/mi
|
|
|
7
7
|
miniprogram-ci 从 1.0.28 开始支持第三方平台开发的上传和预览,调用方式与普通开发模式无异。[查看详情](#第三方平台开发)
|
|
8
8
|
|
|
9
9
|
## 最近变更
|
|
10
|
-
#### 2.1.
|
|
10
|
+
#### 2.1.35
|
|
11
|
+
- `fix` 依赖分析升级
|
|
12
|
+
#### 2.1.34
|
|
11
13
|
- `new` 支持 terser 升级为 5.27.1
|
|
12
14
|
#### 2.1.32
|
|
13
15
|
- `fix` 修复 多端构建不结束的问题
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -24,13 +24,11 @@ import MiniAppI18N from './utils/miniAppI18N';
|
|
|
24
24
|
import * as MiniAppJson from './utils/miniappJson';
|
|
25
25
|
import * as cosUpload from './utils/cosUpload';
|
|
26
26
|
import { EServiceEnviroment, initServices } from './services/common/getservice';
|
|
27
|
-
import { EPipeCMD, IPipeParamOutputTypeMap } from './modules/corecompiler/summer/pipeManager/types';
|
|
28
27
|
export { Builder, SummerCompiler, DevtoolsProject, getSummerPluginConfig, getBabelHelperVersion, getBabelHelperDepMap, isValidHelperFunc, getHelperName, getHelperContent, getHelperOutputPath, getHelperDeps, packOptionsHelper, PackOptionsHelper, initServices, };
|
|
29
28
|
export declare const workletVersion: any;
|
|
30
29
|
export { EServiceEnviroment, };
|
|
31
30
|
export { EFilterCode };
|
|
32
31
|
export { BaseProject, WebProject, PreCompileProject, CIProject as Project, CIProject, };
|
|
33
|
-
export { EPipeCMD, IPipeParamOutputTypeMap, };
|
|
34
32
|
export { BaseCoreCompiler, OriginalCompiler, ICompilerStatus, ICompileOptions, };
|
|
35
33
|
export * from './modules/corecompiler/original';
|
|
36
34
|
export { getWhiteExtList, proxy, locales, isHexColor, DefaultProjectAttr, JSON_CONTENT_ERR, compileTypeConfig, generateMD5, mkdirSync, normalizePath, compareVersion, checkIsInSubPackage, escapeQuot, escapeScript, cosUpload, };
|
|
@@ -21,9 +21,10 @@ export declare const COMMAND: {
|
|
|
21
21
|
SEND_LOG: string;
|
|
22
22
|
};
|
|
23
23
|
export declare enum EWorkerStatus {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
initiating = 0,
|
|
25
|
+
free = 1,
|
|
26
|
+
busy = 2,
|
|
27
|
+
dying = 3
|
|
27
28
|
}
|
|
28
29
|
export declare enum EChildProcessStatus {
|
|
29
30
|
free = 0,
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import { Recorder } from '../../../../../utils/progressRecorder';
|
|
2
|
-
import { IPipeRequest } from '../../../summer/pipeManager/types';
|
|
3
1
|
export declare function readFileAsync(filePath: string, options: any): Promise<unknown>;
|
|
4
|
-
export declare function setPipeIPCHandler(handler: (req: IPipeRequest, recorder: Recorder) => Promise<any>): void;
|
|
5
|
-
export declare function handlePipeIPC(req: IPipeRequest): Promise<any>;
|
|
@@ -5,7 +5,6 @@ import { SubProcessProxy } from '../../utils/subprocess/processManager';
|
|
|
5
5
|
import { IMessageHub } from '../../utils/messageHub';
|
|
6
6
|
import { BaseCoreCompiler } from './baseCompiler';
|
|
7
7
|
import { Analyzer } from '../../common/code-analyse';
|
|
8
|
-
import { EPipeCMD, IExecutePipeData, IPipeParamOutputTypeMap } from './summer/pipeManager/types';
|
|
9
8
|
export { ICompilerStatus } from './summer/summer';
|
|
10
9
|
export declare class SummerCompiler extends BaseCoreCompiler {
|
|
11
10
|
project: MiniProgramCore.IPreCompileProject;
|
|
@@ -26,6 +25,7 @@ export declare class SummerCompiler extends BaseCoreCompiler {
|
|
|
26
25
|
private _locale;
|
|
27
26
|
private _initServiceForkId;
|
|
28
27
|
private devCodeCacheByPath;
|
|
28
|
+
private _initServiceAndLoadStatusPromise;
|
|
29
29
|
constructor(project: MiniProgramCore.IPreCompileProject, cachePath: string, projectInfo: MiniProgramDevtools.IDevtoolsProjectInfo, devtoolMessagehub: IMessageHub, analyzer: Analyzer | null, _filterFactory?: MiniProgramDevtools.IFilterFactory | undefined, onInitFinished?: ((e?: Error) => void) | undefined);
|
|
30
30
|
get status(): MiniProgramDevtools.ICompilerStatus | undefined;
|
|
31
31
|
protected init(): Promise<void>;
|
|
@@ -162,7 +162,4 @@ export declare class SummerCompiler extends BaseCoreCompiler {
|
|
|
162
162
|
file: string;
|
|
163
163
|
code: number;
|
|
164
164
|
}[]>;
|
|
165
|
-
executePipe<T extends EPipeCMD.WCC | EPipeCMD.TRANS_WXML_TO_GLASS_EASEL | EPipeCMD.COMPILE_WXSS>(pipeName: T, params: IPipeParamOutputTypeMap[T]['input']): Promise<IPipeParamOutputTypeMap[T]['output']>;
|
|
166
|
-
getPageframe(isMultiPkg: boolean | undefined, extra: Pick<IExecutePipeData, 'backendProjectContext' | 'projectContext'>): Promise<string>;
|
|
167
|
-
getAppservice(extra: Pick<IExecutePipeData, 'backendProjectContext' | 'projectContext'>): Promise<string>;
|
|
168
165
|
}
|
|
@@ -33,6 +33,8 @@ declare class buildCloudManager {
|
|
|
33
33
|
updateIOSAppexInfoPlistInfo(bindAppInfo: MiniProgramCore.IStringKeyMap, demoIpaPath: string, iosMiniappJson: MiniProgramCore.IStringKeyMap, CFBundleVersion: number, recorder: Recorder): Promise<void>;
|
|
34
34
|
private updateBundleIcons;
|
|
35
35
|
updateIOSIcons(projectPath: string, demoIpaPath: string, miniappCacheDirPath: string, iosMiniappJson: MiniProgramCore.IStringKeyMap, isPublish: boolean, recorder: Recorder, inLandun?: boolean, cacheAssetCarPath?: string): Promise<void>;
|
|
36
|
+
chmodDirectoryTree(dirPath: string): void;
|
|
37
|
+
resetAssetCarOperateDir(assetCarOperateDir: string): void;
|
|
36
38
|
replaceLaunchScreenImage(storyboardPath: string, newScreenImagePath: string, oldScreenImageName: string, recorder: Recorder, projectPath: string, demoIpaPath: string): string | undefined;
|
|
37
39
|
replaceLaunchScreenVideo(newScreenVideoPath: string, recorder: Recorder, projectPath: string, demoIpaPath: string): string | undefined;
|
|
38
40
|
updateSplashScreen(projectPath: string, demoIpaPath: string, iosMiniappJson: MiniProgramCore.IStringKeyMap, recorder: Recorder, theme: ITheme | undefined, i18nInfo: II18NInfo): Promise<void>;
|
|
@@ -21,6 +21,8 @@ export interface ISubPackageItem {
|
|
|
21
21
|
useExtendedLib?: {
|
|
22
22
|
[key: string]: boolean | string;
|
|
23
23
|
};
|
|
24
|
+
componentFramework?: string;
|
|
25
|
+
renderer?: string;
|
|
24
26
|
}
|
|
25
27
|
export interface IWindow {
|
|
26
28
|
backgroundColorTop?: string;
|
|
@@ -97,6 +99,7 @@ interface IOriginAppJSON {
|
|
|
97
99
|
};
|
|
98
100
|
subPackages?: Array<ISubPackageItem>;
|
|
99
101
|
subpackages?: Array<ISubPackageItem>;
|
|
102
|
+
agent?: object;
|
|
100
103
|
chatTools?: {
|
|
101
104
|
root: string;
|
|
102
105
|
entryPagePath: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { PipeCPProject } from '~/modules/corecompiler/summer/pipeManager/pipeCPProject';
|
|
2
1
|
import { MiniProgramCore } from '~/types';
|
|
3
2
|
export interface IPluginFileReaderService {
|
|
4
|
-
readFile(project: MiniProgramCore.IPreCompileProject
|
|
5
|
-
exists(project: MiniProgramCore.IPreCompileProject
|
|
6
|
-
stat(project: MiniProgramCore.IPreCompileProject
|
|
3
|
+
readFile(project: MiniProgramCore.IPreCompileProject, relativePath: string): string | Promise<string>;
|
|
4
|
+
exists(project: MiniProgramCore.IPreCompileProject, basePath: string, fileName: string): boolean | Promise<boolean>;
|
|
5
|
+
stat(project: MiniProgramCore.IPreCompileProject, relativePath: string): {
|
|
7
6
|
mtimeMs: number;
|
|
8
7
|
} | undefined | Promise<{
|
|
9
8
|
mtimeMs: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function preferUnpackedPath(filePath: string): string;
|
|
@@ -19,4 +19,4 @@ export declare const CustomErrors: {
|
|
|
19
19
|
readonly SUMMER_PLUGIN_ERR: 10045;
|
|
20
20
|
readonly SUMMER_PLUGIN_CODE_ERR: 10046;
|
|
21
21
|
};
|
|
22
|
-
export declare function makeCustomError(error: string | Error, code?: string | number, path?: string): CustomError;
|
|
22
|
+
export declare function makeCustomError(error: string | Error | any, code?: string | number, path?: string): CustomError;
|
|
@@ -28,7 +28,7 @@ export declare class PackOptionsHelper {
|
|
|
28
28
|
getUnusedFiles(): Set<string>;
|
|
29
29
|
isScssOnlyImportedByFile(module: IModule): boolean;
|
|
30
30
|
clearUnusedFiles(): void;
|
|
31
|
-
initUnusedFiles(project: MiniProgramCore.IPreCompileProject, analyzer: Analyzer | null, production?: boolean): Promise<void>;
|
|
31
|
+
initUnusedFiles(project: MiniProgramCore.IPreCompileProject, analyzer: Analyzer | null, production?: boolean, onProgressUpdate?: MiniProgramDevtools.ProgressUpdate): Promise<void>;
|
|
32
32
|
}
|
|
33
33
|
declare const _default: PackOptionsHelper;
|
|
34
34
|
export default _default;
|