miniprogram-ci 2.0.1 → 2.0.3
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 +6 -0
- package/README.md +5 -1
- package/dist/@types/config/config.d.ts +1 -1
- package/dist/@types/index.d.ts +1 -3
- package/dist/@types/modules/index.d.ts +0 -6
- package/dist/@types/types/miniprogram-json/app.d.ts +3 -0
- package/dist/@types/utils/filerules.d.ts +5 -0
- package/dist/config/config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/corecompiler/summer/graph/appconf.js +1 -1
- package/dist/modules/index.js +1 -1
- package/dist/utils/filerules.js +1 -1
- package/dist/utils/packOptionsHelper.js +1 -1
- package/package.json +3 -2
- package/bin/.DS_Store +0 -0
- package/dist/@types/cli/cmdForDonutH5.d.ts +0 -22
- package/dist/@types/modules/fullcompiler/app/app.d.ts +0 -74
- package/dist/@types/modules/fullcompiler/app/contactandlaunch/originalcontactbase64.d.ts +0 -2
- package/dist/@types/modules/fullcompiler/app/contactandlaunch/originallaunchbase64.d.ts +0 -2
- package/dist/@types/modules/fullcompiler/app/contactandlaunch/updateContactForSubpkg.d.ts +0 -2
- package/dist/@types/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch.d.ts +0 -3
- 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 -28
- 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/wcc/index.d.ts +0 -2
- 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 -41
- 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/manifest.json +0 -4
- package/dist/modules/fullcompiler/app/app.js +0 -1
- package/dist/modules/fullcompiler/app/contactandlaunch/originalcontactbase64.js +0 -1
- package/dist/modules/fullcompiler/app/contactandlaunch/originallaunchbase64.js +0 -1
- package/dist/modules/fullcompiler/app/contactandlaunch/updateContactForSubpkg.js +0 -1
- package/dist/modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch.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/wcc/build/darwin_arm64/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/darwin_arm64/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/darwin_x64/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/darwin_x64/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/node_16.1.0_darwin_arm64_release/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/node_16.1.0_darwin_arm64_release/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/node_16.1.0_darwin_x64_release/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/node_16.1.0_darwin_x64_release/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/win32_ia32/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/win32_ia32/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/win32_x64/wcc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/build/win32_x64/wcsc.node +0 -0
- package/dist/modules/fullcompiler/trans/wcc/index.js +0 -1
- package/dist/modules/fullcompiler/trans/wcc/lib/addonVersion.js +0 -19
- package/dist/modules/fullcompiler/trans/wcc/lib/index.js +0 -4
- package/dist/modules/fullcompiler/trans/wcc/lib/util.js +0 -1134
- package/dist/modules/fullcompiler/trans/wcc/lib/wcc.js +0 -94
- package/dist/modules/fullcompiler/trans/wcc/lib/wcsc.js +0 -93
- 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/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ miniprogram-ci 从 1.0.28 开始支持第三方平台开发的上传和预览,
|
|
|
8
8
|
|
|
9
9
|
## 最近变更
|
|
10
10
|
|
|
11
|
+
#### 2.0.3
|
|
12
|
+
- `fix` 优化 目录结构
|
|
13
|
+
#### 2.0.2
|
|
14
|
+
- `fix` 修复 windows 下 cannot find module 'handleerror' 的问题
|
|
11
15
|
#### 2.0.1
|
|
12
16
|
- `fix` 修复 subPackages of undefined 问题
|
|
13
17
|
#### 2.0.0
|
|
@@ -888,7 +892,7 @@ miniprogram-ci \
|
|
|
888
892
|
|
|
889
893
|
| 键 | 类型 | 说明 |
|
|
890
894
|
| -------------- | ------- | ----------------------------------------------------------- |
|
|
891
|
-
| useProjectConfig | boolean | 默认是 false, true 表示默认使用 project.config.json 中的设置,以下字段可以覆盖相应配置 |
|
|
895
|
+
| useProjectConfig | boolean | 默认是 false, true 表示默认使用 [project.config.json](https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html) 中的设置,以下字段可以覆盖相应配置 |
|
|
892
896
|
| es6 | boolean | 【废弃】和 es7 是一样的效果 |
|
|
893
897
|
| es7 | boolean | 对应微信开发者工具 ”将 JS 编译为 es5“ |
|
|
894
898
|
| disableUseStrict | boolean | "增强编译" 开启时,是否禁用JS文件严格模式,默认为false |
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -15,8 +15,6 @@ import { DefaultProjectAttr, JSON_CONTENT_ERR, compileTypeConfig } from './confi
|
|
|
15
15
|
import { getBabelHelperVersion, getBabelHelperDepMap } from './utils/babel_helper';
|
|
16
16
|
import { getSummerPluginConfig } from './modules/corecompiler/summer/pluginconfig';
|
|
17
17
|
import { getHelperOutputPath, getHelperDeps, isValidHelperFunc, getHelperContent, getHelperName } from './utils/helper_util';
|
|
18
|
-
import { updateContactBase64ForSubPkgs } from './modules/fullcompiler/app/contactandlaunch/updateContactForSubpkg';
|
|
19
|
-
import { updateContactBase64 } from './modules/fullcompiler/app/contactandlaunch/updatecontactandlaunch';
|
|
20
18
|
import * as adroidDeviceUtils from './modules/nativecompiler/android/device';
|
|
21
19
|
import * as iosDeviceUtils from './modules/nativecompiler/ios/device';
|
|
22
20
|
import * as miniappBuilder from './utils/miniapp-builder';
|
|
@@ -24,6 +22,6 @@ export { BaseProject, CIProject as Project, CIProject, DevtoolsProject, WebProje
|
|
|
24
22
|
export { BaseCoreCompiler, OriginalCompiler, SummerCompiler, ICompilerStatus, ICompileOptions, Builder, };
|
|
25
23
|
export * from './modules/corecompiler/original';
|
|
26
24
|
export declare const workletVersion: any;
|
|
27
|
-
export { getWhiteExtList, proxy, locales, isHexColor, DefaultProjectAttr, JSON_CONTENT_ERR, compileTypeConfig, generateMD5, mkdirSync, normalizePath, checkIsInSubPackage, getHelperOutputPath, isValidHelperFunc, getHelperName, getHelperContent, getHelperDeps, getBabelHelperVersion, getBabelHelperDepMap, escapeQuot, escapeScript,
|
|
25
|
+
export { getWhiteExtList, proxy, locales, isHexColor, DefaultProjectAttr, JSON_CONTENT_ERR, compileTypeConfig, generateMD5, mkdirSync, normalizePath, checkIsInSubPackage, getHelperOutputPath, isValidHelperFunc, getHelperName, getHelperContent, getHelperDeps, getBabelHelperVersion, getBabelHelperDepMap, escapeQuot, escapeScript, getSummerPluginConfig, };
|
|
28
26
|
export { adroidDeviceUtils, iosDeviceUtils, miniappBuilder, };
|
|
29
27
|
export * from './ci/index';
|
|
@@ -3,7 +3,6 @@ import { MiniProgramCI, MiniProgramCore, MiniProgramDevtools } from '../types';
|
|
|
3
3
|
import { IMessageHub, IConsoleDisplay } from '../utils/messageHub';
|
|
4
4
|
import { PreCompiler } from './precompiler/index';
|
|
5
5
|
import { SummerCompiler } from './corecompiler/summerCompiler';
|
|
6
|
-
import { FullCompiler } from './fullcompiler';
|
|
7
6
|
import { NativeCompiler } from './nativecompiler';
|
|
8
7
|
import { OriginalCompiler } from './corecompiler/originalCompiler';
|
|
9
8
|
interface IBuilderOptions {
|
|
@@ -23,7 +22,6 @@ export declare class Builder {
|
|
|
23
22
|
private _precompileProject;
|
|
24
23
|
private _preCompiler;
|
|
25
24
|
private _summerCompiler;
|
|
26
|
-
private _fullCompiler;
|
|
27
25
|
private _nativeCompiler;
|
|
28
26
|
private _options;
|
|
29
27
|
private _checkReadyTask?;
|
|
@@ -35,11 +33,7 @@ export declare class Builder {
|
|
|
35
33
|
getSummerCompiler(): Promise<SummerCompiler>;
|
|
36
34
|
ready(): Promise<any>;
|
|
37
35
|
init(): Promise<void>;
|
|
38
|
-
get summerCompiler(): SummerCompiler;
|
|
39
|
-
get nativeCompiler(): NativeCompiler;
|
|
40
|
-
get fullCompiler(): FullCompiler | undefined;
|
|
41
36
|
getNativeCompiler(): Promise<NativeCompiler>;
|
|
42
|
-
getFullCompiler(): Promise<FullCompiler>;
|
|
43
37
|
initNativeCompiler(opts: IBuilderOptions): Promise<void>;
|
|
44
38
|
getPreCompileOptions(): {
|
|
45
39
|
targetPlatform: MiniProgramCore.ITargetPlatform | undefined;
|
package/dist/config/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var COMPILE_TYPE,AstType;function getDefaultIgnores(e){const _=["node_modules/**/*","**/node_modules/**","**/.git/**",".git/**/*","**/.svn/**",".svn/**/*",".DS_Store","**/.DS_Store"];return"multiPlatform"===e.projectArchitecture&&_.push(exports.multiPlatformRoot+"/**/*"),_}Object.defineProperty(exports,"__esModule",{value:!0}),exports.AstType=exports.compileTypeConfig=exports.getDefaultIgnores=exports.FullPkg=exports.MainPkg=exports.multiPlatformRoot=exports.extendedLibMap=exports.jsonVariablePropertyWhiteList=exports.DefaultProjectAttr=exports.TABBAR_ICON_WHITE_LIST=exports.COMPILE_TYPE=exports.APP_TYPE=exports.MINI_GAME_WORKERS_PACKAGE_ROOT=exports.MINI_GAME_MAIN_PACKAGE_ROOT=exports.MINI_PROGRAM_MAIN_PACKAGE_ROOT=exports.PROJECT_TYPE_ERROR=exports.GET_LATEST_VERSION_CGI_ERR=exports.UPLOAD_JS_SERVER_CGI_ERR=exports.CODE_PROTECT_TRANSLATE_FILENAME=exports.UPLOAD_CGI_ERR=exports.GENERATE_LOCAL_SIGNATURE_ERR=exports.GET_SIGNATURE_RAND_STRING_ERR=exports.APP_JSON_NOT_FOUND=exports.JSON_CONTENT_ERR=exports.FILE_NOT_UTF8=exports.JSON_PARSE_ERR=exports.FILE_NOT_FOUND=exports.PLUGIN_JSON_PARSE_ERR=exports.PLUGIN_JSON_CONTENT_ERR=exports.PLUGIN_JSON_FILE_NOT_FOUND=exports.GAME_PLUGIN_LIB_MD5_NOT_MATCH=exports.SUMMER_PLUGIN_CODE_ERR=exports.SUMMER_PLUGIN_ERR=exports.MINIFY_WXML_ERR=exports.POST_WXSS_ERR=exports.FILE_FLAT_ERR=exports.JS_ES6_ERR=exports.BABILI_JS_ERR=exports.UGLIFY_JS_ERR=exports.BABEL_TRANS_JS_ERR=exports.JS_NOT_FOUND=exports.WXML_NOT_FOUND=exports.PARAM_ERROR=exports.CI_VERSION=void 0,exports.CI_VERSION="2.0.
|
|
1
|
+
"use strict";var COMPILE_TYPE,AstType;function getDefaultIgnores(e){const _=["node_modules/**/*","**/node_modules/**","**/.git/**",".git/**/*","**/.svn/**",".svn/**/*",".DS_Store","**/.DS_Store"];return"multiPlatform"===e.projectArchitecture&&_.push(exports.multiPlatformRoot+"/**/*"),_}Object.defineProperty(exports,"__esModule",{value:!0}),exports.AstType=exports.compileTypeConfig=exports.getDefaultIgnores=exports.FullPkg=exports.MainPkg=exports.multiPlatformRoot=exports.extendedLibMap=exports.jsonVariablePropertyWhiteList=exports.DefaultProjectAttr=exports.TABBAR_ICON_WHITE_LIST=exports.COMPILE_TYPE=exports.APP_TYPE=exports.MINI_GAME_WORKERS_PACKAGE_ROOT=exports.MINI_GAME_MAIN_PACKAGE_ROOT=exports.MINI_PROGRAM_MAIN_PACKAGE_ROOT=exports.PROJECT_TYPE_ERROR=exports.GET_LATEST_VERSION_CGI_ERR=exports.UPLOAD_JS_SERVER_CGI_ERR=exports.CODE_PROTECT_TRANSLATE_FILENAME=exports.UPLOAD_CGI_ERR=exports.GENERATE_LOCAL_SIGNATURE_ERR=exports.GET_SIGNATURE_RAND_STRING_ERR=exports.APP_JSON_NOT_FOUND=exports.JSON_CONTENT_ERR=exports.FILE_NOT_UTF8=exports.JSON_PARSE_ERR=exports.FILE_NOT_FOUND=exports.PLUGIN_JSON_PARSE_ERR=exports.PLUGIN_JSON_CONTENT_ERR=exports.PLUGIN_JSON_FILE_NOT_FOUND=exports.GAME_PLUGIN_LIB_MD5_NOT_MATCH=exports.SUMMER_PLUGIN_CODE_ERR=exports.SUMMER_PLUGIN_ERR=exports.MINIFY_WXML_ERR=exports.POST_WXSS_ERR=exports.FILE_FLAT_ERR=exports.JS_ES6_ERR=exports.BABILI_JS_ERR=exports.UGLIFY_JS_ERR=exports.BABEL_TRANS_JS_ERR=exports.JS_NOT_FOUND=exports.WXML_NOT_FOUND=exports.PARAM_ERROR=exports.CI_VERSION=void 0,exports.CI_VERSION="2.0.3",exports.PARAM_ERROR=1e4,exports.WXML_NOT_FOUND=10007,exports.JS_NOT_FOUND=10008,exports.BABEL_TRANS_JS_ERR=10032,exports.UGLIFY_JS_ERR=10033,exports.BABILI_JS_ERR=10034,exports.JS_ES6_ERR=10035,exports.FILE_FLAT_ERR=10036,exports.POST_WXSS_ERR=10037,exports.MINIFY_WXML_ERR=10038,exports.SUMMER_PLUGIN_ERR=10045,exports.SUMMER_PLUGIN_CODE_ERR=10046,exports.GAME_PLUGIN_LIB_MD5_NOT_MATCH=10081,exports.PLUGIN_JSON_FILE_NOT_FOUND=10091,exports.PLUGIN_JSON_CONTENT_ERR=10092,exports.PLUGIN_JSON_PARSE_ERR=10093,exports.FILE_NOT_FOUND=10005,exports.JSON_PARSE_ERR=10006,exports.FILE_NOT_UTF8=10031,exports.JSON_CONTENT_ERR=10009,exports.APP_JSON_NOT_FOUND=2e4,exports.GET_SIGNATURE_RAND_STRING_ERR=20001,exports.GENERATE_LOCAL_SIGNATURE_ERR=20002,exports.UPLOAD_CGI_ERR=20003,exports.CODE_PROTECT_TRANSLATE_FILENAME=20004,exports.UPLOAD_JS_SERVER_CGI_ERR=20005,exports.GET_LATEST_VERSION_CGI_ERR=20006,exports.PROJECT_TYPE_ERROR=3e4,exports.MINI_PROGRAM_MAIN_PACKAGE_ROOT="__APP__",exports.MINI_GAME_MAIN_PACKAGE_ROOT="__GAME__",exports.MINI_GAME_WORKERS_PACKAGE_ROOT="workers.js",exports.APP_TYPE={NORMAL:0,PLUGIN:1,SHOP:2,MINISHOP:3,GAME:4,CARD:5,NATIVE:7},function(e){e.miniProgram="miniProgram",e.miniProgramPlugin="miniProgramPlugin",e.miniGame="miniGame",e.miniGamePlugin="miniGamePlugin"}(COMPILE_TYPE=exports.COMPILE_TYPE||(exports.COMPILE_TYPE={})),exports.TABBAR_ICON_WHITE_LIST=[".png",".jpg",".jpeg"],exports.DefaultProjectAttr={platform:!1,appType:0,isSandbox:!1,released:!1,setting:{MaxCodeSize:2,MaxSubpackageSubCodeSize:2,MaxSubpackageFullCodeSize:12,NavigateMiniprogramLimit:10,MaxSubPackageLimit:100,MinTabbarCount:2,MaxTabbarCount:5,MaxCustomTabbarCount:10,MaxTabbarIconSize:40}},exports.jsonVariablePropertyWhiteList={windowPropertWhiteList:["navigationBarBackgroundColor","navigationBarTextStyle","backgroundColor","backgroundTextStyle","backgroundColorTop","backgroundColorBottom","backgroundColorContent"],tabBarPropertyWhiteList:["color","selectedColor","backgroundColor","borderStyle"],tabbarListItemPropertyWhiteList:["iconPath","selectedIconPath"]},exports.extendedLibMap={kbone:{packages:["miniprogram-element","miniprogram-render"]},weui:{packages:["weui-miniprogram"]}},exports.multiPlatformRoot="miniapp",exports.MainPkg="__APP__",exports.FullPkg="__FULL__",exports.getDefaultIgnores=getDefaultIgnores,exports.compileTypeConfig={weapp:"weapp",game:"game",plugin:"plugin",gamePlugin:"gamePlugin"},function(e){e.Babel="babel",e.Acorn="acorn"}(AstType=exports.AstType||(exports.AstType={}));
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.miniappBuilder=exports.iosDeviceUtils=exports.adroidDeviceUtils=exports.getSummerPluginConfig=exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.miniappBuilder=exports.iosDeviceUtils=exports.adroidDeviceUtils=exports.getSummerPluginConfig=exports.escapeScript=exports.escapeQuot=exports.getBabelHelperDepMap=exports.getBabelHelperVersion=exports.getHelperDeps=exports.getHelperContent=exports.getHelperName=exports.isValidHelperFunc=exports.getHelperOutputPath=exports.checkIsInSubPackage=exports.normalizePath=exports.mkdirSync=exports.generateMD5=exports.compileTypeConfig=exports.JSON_CONTENT_ERR=exports.DefaultProjectAttr=exports.isHexColor=exports.locales=exports.proxy=exports.getWhiteExtList=exports.workletVersion=exports.Builder=exports.SummerCompiler=exports.OriginalCompiler=exports.BaseCoreCompiler=exports.PreCompileProject=exports.WebProject=exports.DevtoolsProject=exports.CIProject=exports.Project=exports.BaseProject=void 0;const tslib_1=require("tslib"),baseProject_1=require("./project/baseProject");Object.defineProperty(exports,"BaseProject",{enumerable:!0,get:function(){return baseProject_1.BaseProject}});const ciProject_1=require("./project/ciProject");Object.defineProperty(exports,"Project",{enumerable:!0,get:function(){return ciProject_1.CIProject}}),Object.defineProperty(exports,"CIProject",{enumerable:!0,get:function(){return ciProject_1.CIProject}});const devtoolsProject_1=require("./project/devtoolsProject");Object.defineProperty(exports,"DevtoolsProject",{enumerable:!0,get:function(){return devtoolsProject_1.DevtoolsProject}});const webProject_1=require("./project/webProject");Object.defineProperty(exports,"WebProject",{enumerable:!0,get:function(){return webProject_1.WebProject}});const precompileProject_1=require("./project/advance/precompileProject");Object.defineProperty(exports,"PreCompileProject",{enumerable:!0,get:function(){return precompileProject_1.PreCompileProject}});const baseCompiler_1=require("./modules/corecompiler/baseCompiler");Object.defineProperty(exports,"BaseCoreCompiler",{enumerable:!0,get:function(){return baseCompiler_1.BaseCoreCompiler}});const originalCompiler_1=require("./modules/corecompiler/originalCompiler");Object.defineProperty(exports,"OriginalCompiler",{enumerable:!0,get:function(){return originalCompiler_1.OriginalCompiler}});const summerCompiler_1=require("./modules/corecompiler/summerCompiler");Object.defineProperty(exports,"SummerCompiler",{enumerable:!0,get:function(){return summerCompiler_1.SummerCompiler}});const modules_1=require("./modules");Object.defineProperty(exports,"Builder",{enumerable:!0,get:function(){return modules_1.Builder}});const white_ext_list_1=require("./utils/white_ext_list");Object.defineProperty(exports,"getWhiteExtList",{enumerable:!0,get:function(){return white_ext_list_1.getWhiteExtList}});const request_1=require("./utils/request");Object.defineProperty(exports,"proxy",{enumerable:!0,get:function(){return request_1.setCiProxy}});const locales_1=tslib_1.__importDefault(require("./utils/locales/locales"));exports.locales=locales_1.default;const tools_1=require("./utils/tools");Object.defineProperty(exports,"checkIsInSubPackage",{enumerable:!0,get:function(){return tools_1.checkIsInSubPackage}}),Object.defineProperty(exports,"escapeQuot",{enumerable:!0,get:function(){return tools_1.escapeQuot}}),Object.defineProperty(exports,"escapeScript",{enumerable:!0,get:function(){return tools_1.escapeScript}}),Object.defineProperty(exports,"generateMD5",{enumerable:!0,get:function(){return tools_1.generateMD5}}),Object.defineProperty(exports,"isHexColor",{enumerable:!0,get:function(){return tools_1.isHexColor}}),Object.defineProperty(exports,"mkdirSync",{enumerable:!0,get:function(){return tools_1.mkdirSync}}),Object.defineProperty(exports,"normalizePath",{enumerable:!0,get:function(){return tools_1.normalizePath}});const config_1=require("./config/config");Object.defineProperty(exports,"DefaultProjectAttr",{enumerable:!0,get:function(){return config_1.DefaultProjectAttr}}),Object.defineProperty(exports,"JSON_CONTENT_ERR",{enumerable:!0,get:function(){return config_1.JSON_CONTENT_ERR}}),Object.defineProperty(exports,"compileTypeConfig",{enumerable:!0,get:function(){return config_1.compileTypeConfig}});const babel_helper_1=require("./utils/babel_helper");Object.defineProperty(exports,"getBabelHelperVersion",{enumerable:!0,get:function(){return babel_helper_1.getBabelHelperVersion}}),Object.defineProperty(exports,"getBabelHelperDepMap",{enumerable:!0,get:function(){return babel_helper_1.getBabelHelperDepMap}});const pluginconfig_1=require("./modules/corecompiler/summer/pluginconfig");Object.defineProperty(exports,"getSummerPluginConfig",{enumerable:!0,get:function(){return pluginconfig_1.getSummerPluginConfig}});const helper_util_1=require("./utils/helper_util");Object.defineProperty(exports,"getHelperOutputPath",{enumerable:!0,get:function(){return helper_util_1.getHelperOutputPath}}),Object.defineProperty(exports,"getHelperDeps",{enumerable:!0,get:function(){return helper_util_1.getHelperDeps}}),Object.defineProperty(exports,"isValidHelperFunc",{enumerable:!0,get:function(){return helper_util_1.isValidHelperFunc}}),Object.defineProperty(exports,"getHelperContent",{enumerable:!0,get:function(){return helper_util_1.getHelperContent}}),Object.defineProperty(exports,"getHelperName",{enumerable:!0,get:function(){return helper_util_1.getHelperName}});const adroidDeviceUtils=tslib_1.__importStar(require("./modules/nativecompiler/android/device"));exports.adroidDeviceUtils=adroidDeviceUtils;const iosDeviceUtils=tslib_1.__importStar(require("./modules/nativecompiler/ios/device"));exports.iosDeviceUtils=iosDeviceUtils;const miniappBuilder=tslib_1.__importStar(require("./utils/miniapp-builder"));exports.miniappBuilder=miniappBuilder,tslib_1.__exportStar(require("./modules/corecompiler/original"),exports),exports.workletVersion=require("./utils/babel_plugin_worklet").version,tslib_1.__exportStar(require("./ci/index"),exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AppConf=void 0;const tslib_1=require("tslib"),path_1=tslib_1.__importDefault(require("path")),baseconf_1=require("./baseconf"),original_1=require("../../original"),common_1=require("../../original/json/common"),locales_1=tslib_1.__importDefault(require("../../../../utils/locales/locales")),getPageJSON_1=require("../../original/json/page/getPageJSON"),util_1=require("./util");class AppConf extends baseconf_1.MiniProgramBaseConf{constructor(){super(...arguments),this.packages=new Map,this.pages=new Map,this.comps=new Map,this.onFileChange=(t,o)=>{}}destroy(){}async getConf(t){return await this.build(t),{app:this.app,packages:Object.fromEntries(this.packages.entries()),pages:Object.fromEntries(this.pages.entries()),comps:Object.fromEntries(this.comps.entries()),sitemap:this.sitemap,theme:this.theme}}async buildPagesAndCompsForUpload(t,o=!1){const a={},e={};return await Promise.all(Array.from(this.pages.keys()).map(async t=>{const e=await(o?getPageJSON_1.getPageJSONWithDisableSpreading:original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});a[t+".json"]=JSON.stringify(e)})),await Promise.all(Array.from(this.comps.keys()).map(async t=>{const a=await(o?getPageJSON_1.getPageJSONWithDisableSpreading:original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});e[t+".json"]=JSON.stringify(a)})),{pageResults:a,componentResults:e}}async resetState(){this.app=void 0,this.packages.clear(),this.pages.clear(),this.comps.clear(),this.sitemap=void 0,this.theme=void 0}async load(t){const o=await t.run(locales_1.default.config.SUMMER_COMPILE.format("app.json"),()=>(0,original_1.getAppJSON)(this.proxyProject));this.app=o;const a=new Set;for(const t of o.pages)a.add(t);const e=o.subPackages||[];for(const t of e){const o=t.root;this.packages.set(o,t);for(const e of t.pages)a.add(path_1.default.posix.join(o,e))}await t.run(locales_1.default.config.SUMMER_COMPILE_PAGE_JSON.format(a.size),async()=>{var t;for(const[t]of a.entries())(0,util_1.isPluginPath)(t)||await this.loadPage(t);for(const t of Object.values(o.usingComponents||{}))if(!t.startsWith("plugin://")&&!(0,util_1.isPluginPath)(t)){const o=(0,util_1.resolvePath)("app.json",t);await this.loadComp(o,t,"app.json")}if(null===(t=o.tabBar)||void 0===t?void 0:t.custom){const t=(0,util_1.resolvePath)("app.json","custom-tab-bar/index");this.proxyProject.stat(this.root,t+".json")&&await this.loadComp(t,"custom-tab-bar/index","app.json")}if(o.appBar){const t=(0,util_1.resolvePath)("app.json","app-bar/index");this.proxyProject.stat(this.root,t+".json")&&await this.loadComp(t,"app-bar/index","app.json")}}),o.themeLocation&&await t.run(locales_1.default.config.SUMMER_COMPILE.format(o.themeLocation),()=>this.loadTheme(o.themeLocation)),o.accountCardPackage&&await t.run(locales_1.default.config.SUMMER_COMPILE.format(o.themeLocation),async()=>{for(const t of o.accountCardPackage.cardList){const a=path_1.default.posix.join(o.accountCardPackage.root,t.componentPath);await this.loadComp(a,a,"app.json")}})}async loadPage(t){const o=await(0,original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});this.pages.set(t,o);const a=async o=>{if((0,util_1.isPluginPath)(o))return;const a=(0,util_1.resolvePath)(t,o);await this.loadComp(a,o,t)};if(o.usingComponents)for(const t of Object.values(o.usingComponents))await a(t);if(o.componentGenerics)for(const t of Object.values(o.componentGenerics)){const o=t.default;o&&await a(o)}}async loadComp(t,o,a){if(await this.isExtendedLibComp(t,a))return;if(this.comps.has(t))return;if(!this.proxyProject.stat(this.root,t+".json"))throw new Error(`[summer-compiler] Couldn't found the '${o}.json' file relative to '${a}'`);const e=await(0,original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});this.comps.set(t,e);const s=async o=>{if((0,util_1.isPluginPath)(o))return;const a=(0,util_1.resolvePath)(t,o);await this.loadComp(a,o,t)};if(e.usingComponents)for(const t of Object.values(e.usingComponents))await s(t);if(e.componentGenerics)for(const t of Object.values(e.componentGenerics)){const o=t.default;o&&await s(o)}}async loadTheme(t){const o=await(0,original_1.checkThemeJSON)(this.proxyProject,{themeLocation:t});this.theme=o}async isExtendedLibComp(t,o){if(t.startsWith("miniprogram_npm/")){const a=(0,common_1.getUseExtendLib)(this.proxyProject,o);if(a.length>0){const o=a.map(t=>"miniprogram_npm/"+t);for(const a of o)if(t.startsWith(a))return!0}}return!1}}exports.AppConf=AppConf;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AppConf=void 0;const tslib_1=require("tslib"),path_1=tslib_1.__importDefault(require("path")),baseconf_1=require("./baseconf"),original_1=require("../../original"),common_1=require("../../original/json/common"),locales_1=tslib_1.__importDefault(require("../../../../utils/locales/locales")),getPageJSON_1=require("../../original/json/page/getPageJSON"),util_1=require("./util");class AppConf extends baseconf_1.MiniProgramBaseConf{constructor(){super(...arguments),this.packages=new Map,this.pages=new Map,this.comps=new Map,this.onFileChange=(t,o)=>{}}destroy(){}async getConf(t){return await this.build(t),{app:this.app,packages:Object.fromEntries(this.packages.entries()),pages:Object.fromEntries(this.pages.entries()),comps:Object.fromEntries(this.comps.entries()),sitemap:this.sitemap,theme:this.theme}}async buildPagesAndCompsForUpload(t,o=!1){const a={},e={};return await Promise.all(Array.from(this.pages.keys()).map(async t=>{const e=await(o?getPageJSON_1.getPageJSONWithDisableSpreading:original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});a[t+".json"]=JSON.stringify(e)})),await Promise.all(Array.from(this.comps.keys()).map(async t=>{const a=await(o?getPageJSON_1.getPageJSONWithDisableSpreading:original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});e[t+".json"]=JSON.stringify(a)})),{pageResults:a,componentResults:e}}async resetState(){this.app=void 0,this.packages.clear(),this.pages.clear(),this.comps.clear(),this.sitemap=void 0,this.theme=void 0}async load(t){const o=await t.run(locales_1.default.config.SUMMER_COMPILE.format("app.json"),()=>(0,original_1.getAppJSON)(this.proxyProject));this.app=o;const a=new Set;for(const t of o.pages)a.add(t);const e=o.subPackages||[];for(const t of e){const o=t.root;this.packages.set(o,t);for(const e of t.pages)a.add(path_1.default.posix.join(o,e))}await t.run(locales_1.default.config.SUMMER_COMPILE_PAGE_JSON.format(a.size),async()=>{var t;for(const[t]of a.entries())(0,util_1.isPluginPath)(t)||await this.loadPage(t);for(const t of Object.values(o.usingComponents||{}))if(!t.startsWith("plugin://")&&!(0,util_1.isPluginPath)(t)){const o=(0,util_1.resolvePath)("app.json",t);await this.loadComp(o,t,"app.json")}if(null===(t=o.tabBar)||void 0===t?void 0:t.custom){const t=(0,util_1.resolvePath)("app.json","custom-tab-bar/index");this.proxyProject.stat(this.root,t+".json")&&await this.loadComp(t,"custom-tab-bar/index","app.json")}if(o.appBar){const t=(0,util_1.resolvePath)("app.json","app-bar/index");this.proxyProject.stat(this.root,t+".json")&&await this.loadComp(t,"app-bar/index","app.json")}if(o.plugins)for(const t of Object.values(o.plugins))t.genericsImplementation&&Object.values(t.genericsImplementation).forEach(t=>{Object.values(t).map(async t=>{const o=(0,util_1.resolvePath)("app.json",t);return await this.loadComp(o,t,"app.json")})})}),o.themeLocation&&await t.run(locales_1.default.config.SUMMER_COMPILE.format(o.themeLocation),()=>this.loadTheme(o.themeLocation)),o.accountCardPackage&&await t.run(locales_1.default.config.SUMMER_COMPILE.format(o.themeLocation),async()=>{for(const t of o.accountCardPackage.cardList){const a=path_1.default.posix.join(o.accountCardPackage.root,t.componentPath);await this.loadComp(a,a,"app.json")}})}async loadPage(t){const o=await(0,original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});this.pages.set(t,o);const a=async o=>{if((0,util_1.isPluginPath)(o))return;const a=(0,util_1.resolvePath)(t,o);await this.loadComp(a,o,t)};if(o.usingComponents)for(const t of Object.values(o.usingComponents))await a(t);if(o.componentGenerics)for(const t of Object.values(o.componentGenerics)){const o=t.default;o&&await a(o)}}async loadComp(t,o,a){if(await this.isExtendedLibComp(t,a))return;if(this.comps.has(t))return;if(!this.proxyProject.stat(this.root,t+".json"))throw new Error(`[summer-compiler] Couldn't found the '${o}.json' file relative to '${a}'`);const e=await(0,original_1.getPageJSON)(this.proxyProject,{miniprogramRoot:this.root,pagePath:t});this.comps.set(t,e);const s=async o=>{if((0,util_1.isPluginPath)(o))return;const a=(0,util_1.resolvePath)(t,o);await this.loadComp(a,o,t)};if(e.usingComponents)for(const t of Object.values(e.usingComponents))await s(t);if(e.componentGenerics)for(const t of Object.values(e.componentGenerics)){const o=t.default;o&&await s(o)}}async loadTheme(t){const o=await(0,original_1.checkThemeJSON)(this.proxyProject,{themeLocation:t});this.theme=o}async isExtendedLibComp(t,o){if(t.startsWith("miniprogram_npm/")){const a=(0,common_1.getUseExtendLib)(this.proxyProject,o);if(a.length>0){const o=a.map(t=>"miniprogram_npm/"+t);for(const a of o)if(t.startsWith(a))return!0}}return!1}}exports.AppConf=AppConf;
|
package/dist/modules/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Builder=void 0;const index_1=require("./precompiler/index"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Builder=void 0;const index_1=require("./precompiler/index"),nativecompiler_1=require("./nativecompiler"),originalCompiler_1=require("./corecompiler/originalCompiler"),createSummer_1=require("./createSummer"),singletontask_1=require("../utils/singletontask"),tools_1=require("../utils/tools");class Builder{constructor(e,i){this.originProject=e,this._options=i}async getCompiler(){if((0,tools_1.checkIsUseCompilerPlugins)(this.originProject))return this.getSummerCompiler();if(!this._originalCompiler){const e=await this.getPreCompileProject();this._originalCompiler=new originalCompiler_1.OriginalCompiler(e),await this._originalCompiler.ready()}return this._originalCompiler}async getPreCompileProject(){if(!this._precompileProject){const{targetPlatform:e,targetPlatformDefines:i}=this._options,t=await this.getPreCompiler();this._precompileProject=await t.getPreCompileProject({targetPlatform:e,targetPlatformDefines:i,runEnv:"main process"}),await this._precompileProject.ready()}return this._precompileProject}async getPreCompiler(){if(!this._preCompiler){const{devtoolMessagehub:e}=this._options;this._preCompiler=new index_1.PreCompiler(this.originProject,e)}return this._preCompiler}async getSummerCompiler(){if(!this._summerCompiler){const{summerCompilerClass:e,projectInfo:i,cachePath:t="",devtoolMessagehub:r}=this._options,o=await this.getPreCompileProject();e?(this._summerCompiler=new e(o,t,i,r),await this._summerCompiler.ready()):this._summerCompiler=await(0,createSummer_1.getSummerCompiler)(o)}return this._summerCompiler}async ready(){return this._checkReadyTask||(this._checkReadyTask=new singletontask_1.SingletonTask(this.init.bind(this,this._options))),await this._checkReadyTask.getResult()}async init(){}async getNativeCompiler(){return this._nativeCompiler||await this.initNativeCompiler(this._options),this._nativeCompiler}async initNativeCompiler(e){if("multiPlatform"!==this.originProject.projectArchitecture)return;const{miniappDirPath:i,devtoolsVersion:t,devtoolMessagehub:r}=e;this._nativeCompiler=new nativecompiler_1.NativeCompiler({project:this._precompileProject,devtoolMessagehub:r,devtoolsVersion:t,miniappDirPath:i}),await this._nativeCompiler.ready()}getPreCompileOptions(){var e,i;return{targetPlatform:null===(e=this._precompileProject)||void 0===e?void 0:e.targetPlatform,targetPlatformDefines:null===(i=this._precompileProject)||void 0===i?void 0:i.targetPlatformDefines}}async changePreCompileOptions(e){var i;(null===(i=this._precompileProject)||void 0===i?void 0:i.targetPlatform)!==e.targetPlatform&&(this._precompileProject.updateConditionCompileOptions(e),await new Promise(e=>setTimeout(e,500)))}async setLocale(e){(await this.getSummerCompiler()).setLocale(e)}destroy(){var e,i;(null===(e=this._summerCompiler)||void 0===e?void 0:e.isSummer)&&this._summerCompiler.destroy(),null===(i=this._nativeCompiler)||void 0===i||i.destroy()}}exports.Builder=Builder;
|
package/dist/utils/filerules.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const minimatch=require("minimatch");function trailing(e,t,i=!1){return i?e.endsWith(t)?e.slice(0,e.length-1):e:e.endsWith(t)?e:e+t}function leading(e,t,i=!1){return i?e.startsWith(t)?e.slice(1):e:e.startsWith(t)?e:t+e}function doRule(e,t){const i=e.slice(e.lastIndexOf("/")+1);let n=!1;if(!t)return!1;const l=t.value.toLowerCase();if("prefix"===t.type)n=i.startsWith(l);else if("suffix"===t.type)n=i.endsWith(l);else if("folder"===t.type)n=leading(e,"/").startsWith(trailing(leading(l,"/"),"/"));else if("file"===t.type)n=leading(e,"/")===leading(l,"/");else if("glob"===t.type)try{n=minimatch(e,l)||minimatch(leading(e,"/"),l)}catch(e){console.error(`project.config.json packOptions rule ${l} invalid; ${e}`),n=!1}else if("regexp"===t.type)try{n=new RegExp(l,"igm").test(e)||new RegExp(l,"igm").test(leading(e,"/"))}catch(e){console.error(`project.config.json packOptions rule ${l} invalid; ${e}`),n=!1}return n}const FFSPRGRulesFactory=function(e){let t=null,i=null,n=Object.create(null);return function(e,l,r=null){if(l.length<1)return!1;if(t===l&&i===r){if(void 0!==n[e])return n[e]}else t=l,i=r,n=Object.create(null);const s=e.replace(/\\/g,"/").toLowerCase();if(!s)return!1;let o=!1;for(const e of l)if(o=doRule(s,e),o)break;if(r){let e=!1;for(const t of r)if(e=doRule(s,t),e){o=!1;break}}return n[e]=o,o}};module.exports={isFileIgnored:FFSPRGRulesFactory(),isFileIncluded:FFSPRGRulesFactory()};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),filerules_1=tslib_1.__importDefault(require("../
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),filerules_1=tslib_1.__importDefault(require("../utils/filerules"));class PackOptionsHelper{constructor(){this.packOptionIgnores=[],this.packOptionIncludes=[]}updateState(e){var i,s;this.packOptionIgnores=(null===(i=e.packOptions)||void 0===i?void 0:i.ignore)||[],this.packOptionIncludes=(null===(s=e.packOptions)||void 0===s?void 0:s.include)||[]}isUnuserFilesEnable(){return!1}filter(e,i=!1){return e.filter(e=>this.isNotIgnored(e,i))}isIgnored(e,i=!1){return this.isIgnoredByRules(e)||this.isIgnoreByUnusedFiles(e,i)}isNotIgnored(e,i=!1){return!this.isIgnored(e,i)}isIgnoredByRules(e,i={}){const s=i.ignore||this.packOptionIgnores||[],t=i.include||this.packOptionIncludes||[];return!filerules_1.default.isFileIncluded(e,t)&&filerules_1.default.isFileIgnored(e,s)}isIgnoreByUnusedFiles(e,i=!1){return!1}}exports.default=new PackOptionsHelper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "miniprogram-ci",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Module that build miniprogram project for web or app extracted from WeChatDevtools.",
|
|
5
5
|
"homepage": "https://developers.weixin.qq.com/community/homepage",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"devcloud": "rm -rf dist && gulp copy && tsc -p './tsconfigForCloudBuild.json' -w",
|
|
13
13
|
"beta": "npm run init && rm -rf dist && tsc && gulp copy && node ./task/afterbuild.js && npm run test",
|
|
14
14
|
"build": "npm run eslint -- --fix && npm run bb",
|
|
15
|
-
"build-ci": "
|
|
15
|
+
"build-ci": "rm -rf dist && rm -rf ci-src && npm run build && gulp copy-src-to-ci-src && gulp condition-compile-for-ci && rm -rf dist && gulp removeForCi && npm run ci-tsc && gulp build-ci",
|
|
16
|
+
"ci-tsc": "tsc -p './tsconfig_ci.json'",
|
|
16
17
|
"bb": "npm run init && gulp inc-version && tsc && gulp build && node ./task/afterbuild.js ",
|
|
17
18
|
"bbwin": "gulp inc-version && tsc && gulp build && node ./task/afterbuild.js ",
|
|
18
19
|
"test": "nyc --reporter=text npm run mocha && npm run jest",
|
package/bin/.DS_Store
DELETED
|
Binary file
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MiniProgramCore } from '../types';
|
|
2
|
-
export declare function buildWholeProjectToWeb(options: {
|
|
3
|
-
input: string;
|
|
4
|
-
output?: string;
|
|
5
|
-
baseUrl?: string;
|
|
6
|
-
}): Promise<string>;
|
|
7
|
-
export declare function buildWholeProjectToApp(options: {
|
|
8
|
-
targetPlatform: 'mini-android' | 'mini-ios';
|
|
9
|
-
targetPlatformDefines?: MiniProgramCore.ITargetPlatformDefine;
|
|
10
|
-
input: string;
|
|
11
|
-
output?: string;
|
|
12
|
-
baseUrl?: string;
|
|
13
|
-
}): Promise<string>;
|
|
14
|
-
export declare function devWholeProjectToWeb(options: {
|
|
15
|
-
input: string;
|
|
16
|
-
baseUrl?: string;
|
|
17
|
-
}): Promise<void>;
|
|
18
|
-
export declare function multiCompileToWeb(options: {
|
|
19
|
-
input: string;
|
|
20
|
-
output: string;
|
|
21
|
-
baseUrl?: string;
|
|
22
|
-
}): Promise<string>;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { AppJSON, BaseInfo } from '../../../types';
|
|
2
|
-
interface IStandaloneAppJson {
|
|
3
|
-
miniModuleId: string;
|
|
4
|
-
nickname: string;
|
|
5
|
-
device_orientation: string;
|
|
6
|
-
appVersion: string | number;
|
|
7
|
-
pkgInfos: Array<{
|
|
8
|
-
miniModuleId: string;
|
|
9
|
-
pkgType: number;
|
|
10
|
-
appVersion: number;
|
|
11
|
-
versionType: number;
|
|
12
|
-
moduleName?: string;
|
|
13
|
-
pkgMd5: string;
|
|
14
|
-
assetPath: string;
|
|
15
|
-
signVersion: number;
|
|
16
|
-
signFilePath: string;
|
|
17
|
-
}>;
|
|
18
|
-
contactBase64: string;
|
|
19
|
-
launchBase64: string;
|
|
20
|
-
cpfWxaAttrSyncResponse: string;
|
|
21
|
-
version: number;
|
|
22
|
-
devtoolsLocalServerUrl?: string;
|
|
23
|
-
remoteDebugWsEndpoint?: string;
|
|
24
|
-
miniappPkgType: IMiniappPkgType;
|
|
25
|
-
}
|
|
26
|
-
export interface IPkgModule {
|
|
27
|
-
name: string;
|
|
28
|
-
filePath: string;
|
|
29
|
-
pkgType: number;
|
|
30
|
-
md5: string;
|
|
31
|
-
size: number;
|
|
32
|
-
independent: boolean;
|
|
33
|
-
page_count: number;
|
|
34
|
-
alias: string[];
|
|
35
|
-
wxacode_lib_info_list: string[];
|
|
36
|
-
without_lib_md5: string;
|
|
37
|
-
separated_plugin_list: string[];
|
|
38
|
-
md5_list: string[];
|
|
39
|
-
widget_list: [];
|
|
40
|
-
buildVersion?: number;
|
|
41
|
-
signVersion?: number;
|
|
42
|
-
signFilePath?: string;
|
|
43
|
-
}
|
|
44
|
-
declare enum IMiniappPkgType {
|
|
45
|
-
'Release' = "Release",
|
|
46
|
-
'Debug' = "Debug",
|
|
47
|
-
'HotReload' = "HotReload"
|
|
48
|
-
}
|
|
49
|
-
export interface ISubPkg {
|
|
50
|
-
file: string;
|
|
51
|
-
type: number;
|
|
52
|
-
name: string;
|
|
53
|
-
signVersion: number;
|
|
54
|
-
signFile: string;
|
|
55
|
-
md5: string;
|
|
56
|
-
versionType?: IMiniappPkgType;
|
|
57
|
-
}
|
|
58
|
-
export declare function packAllPackagesToWxapkg(distPath: string, appJson: AppJSON.IAppJSON, appid: string): Promise<{
|
|
59
|
-
wholePkgMd5: string;
|
|
60
|
-
moduleListConfig: IPkgModule[];
|
|
61
|
-
}>;
|
|
62
|
-
interface ISubPackageAppInfo {
|
|
63
|
-
miniModuleId: string;
|
|
64
|
-
nickName: string;
|
|
65
|
-
brandIconURL: string;
|
|
66
|
-
pageOrientation: BaseInfo.PageOrientation;
|
|
67
|
-
buildVersion: number;
|
|
68
|
-
subpkgs: ISubPkg[];
|
|
69
|
-
contact: string;
|
|
70
|
-
cpfWxaAttrSyncResponse: string;
|
|
71
|
-
miniappPkgType: IMiniappPkgType;
|
|
72
|
-
}
|
|
73
|
-
export declare function generateSubPkgAppInfoJson(data: ISubPackageAppInfo): Promise<IStandaloneAppJson>;
|
|
74
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const originalContactBase64 = "CgYIABICCgASFwiEAhCFroDAARjX44GVBiDX44GVBihXGmIKCVNpZ25hdHVyZRJV5bCP56iL5bqP5a6Y5pa556S65L6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YXRlX2Jhbl9pbmZvIjp7Im5hdmlnYXRlX2Jhbl9ydWxlX2xpc3QiOltdLCJkb19yZXBvcnQiOjF9LCJvcF9pbmZvIjp7Imdyb3dfcHJvdGVjdCI6MX0sIndhcm5pbmdfaW5mbyI6eyJqc2FwaV9hbHRlciI6W119fUISd3hlNWY1MjkwMmNmNGRlODk2ShNnaF9kNDNmNjkzY2EzMWZAYXBwUrsDeyJleHB0X2luZm8iOnsiZXhwdF9wYXJhbV9saXN0IjpbeyJwYXJhbV9uYW1lIjoiZXhwdF8xNjQ4NzE2MjU5IiwicGFyYW1fdmFsdWUiOiIwIiwiZXhwdF9pZCI6MCwiZXhwdF9ncm91cF9pZCI6MH0seyJwYXJhbV9uYW1lIjoiZXhwdF8xNjQ4MTkzMzgxIiwicGFyYW1fdmFsdWUiOiIwIiwiZXhwdF9pZCI6MCwiZXhwdF9ncm91cF9pZCI6MH0seyJwYXJhbV9uYW1lIjoiZXhwdF8xNjI4MDgzOTI1NTQ5IiwicGFyYW1fdmFsdWUiOiIwIiwiZXhwdF9pZCI6MCwiZXhwdF9ncm91cF9pZCI6MH0seyJwYXJhbV9uYW1lIjoiZXhwdF9hcmdzXzIiLCJwYXJhbV92YWx1ZSI6IjEiLCJleHB0X2lkIjo0ODMsImV4cHRfZ3JvdXBfaWQiOjQ4NX0seyJwYXJhbV9uYW1lIjoiZXhwdF9hcmdzXzMiLCJwYXJhbV92YWx1ZSI6IjIiLCJleHB0X2lkIjoxNTksImV4cHRfZ3JvdXBfaWQiOjE2Mn1dfX1ggJqeAWocb0ZrQmp3U1ZHWmk2VTkwMDZldFNoMDNmaVBWRQ==";
|
|
2
|
-
export default launchRespBase64;
|
|
@@ -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
|
-
}>;
|