miniprogram-ci 2.1.1 → 2.1.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 CHANGED
@@ -1,3 +1,8 @@
1
+ #### 2.1.3
2
+ - `fix` 修复 多端构建条件编译不生效
3
+ - `new` 新增 支持 Linux 环境下的安卓构建
4
+ #### 2.1.2
5
+ - `fix` 修复 安卓构建的参数校验
1
6
  #### 2.1.1
2
7
  - `fix` 修复 依赖声明
3
8
  #### 2.1.0
package/README.md CHANGED
@@ -7,7 +7,13 @@ miniprogram-ci 是从[微信开发者工具](https://developers.weixin.qq.com/mi
7
7
  miniprogram-ci 从 1.0.28 开始支持第三方平台开发的上传和预览,调用方式与普通开发模式无异。[查看详情](#第三方平台开发)
8
8
 
9
9
  ## 最近变更
10
-
10
+ #### 2.1.3
11
+ - `fix` 修复 多端构建条件编译不生效
12
+ - `new` 新增 支持 Linux 环境下的安卓构建
13
+ #### 2.1.2
14
+ - `fix` 修复 安卓构建的参数校验
15
+ #### 2.1.2
16
+ - `fix` 修复 安卓构建的参数校验
11
17
  #### 2.1.1
12
18
  - `fix` 修复 依赖声明
13
19
  #### 2.1.0
@@ -5,4 +5,4 @@ import { Builder } from '../modules/index';
5
5
  import { IBuilderOptions } from '../modules';
6
6
  export declare const getOriginalCompiler: (project: MiniProgramCI.IProject) => Promise<OriginalCompiler>;
7
7
  export declare function getBuilder(proxyProject: MiniProgramCI.IProject, opts?: IBuilderOptions): Promise<Builder>;
8
- export declare const getCompiler: (project: MiniProgramCI.IProject, setting: MiniProgramCI.ICompileSettings) => Promise<BaseCoreCompiler>;
8
+ export declare const getCompiler: (project: MiniProgramCI.IProject, setting: MiniProgramCI.ICompileSettings, opts?: IBuilderOptions) => Promise<BaseCoreCompiler>;
@@ -1,5 +1,5 @@
1
1
  import { IProject } from '../types';
2
- export declare const CI_VERSION = "2.1.1";
2
+ export declare const CI_VERSION = "2.0.23";
3
3
  export declare const PARAM_ERROR = 10000;
4
4
  export declare const WXML_NOT_FOUND = 10007;
5
5
  export declare const JS_NOT_FOUND = 10008;
@@ -17,6 +17,7 @@ export { getProjectAttr, } from '../ci/projectattr';
17
17
  export declare class CIProject extends BaseProject {
18
18
  private _project;
19
19
  private _miniappAttr?;
20
+ private _targetPlatform?;
20
21
  constructor(options: ICreateProjectOptions);
21
22
  get project(): BaseProject;
22
23
  init(): Promise<void>;
@@ -25,4 +26,5 @@ export declare class CIProject extends BaseProject {
25
26
  getExtAppid(): Promise<string | void>;
26
27
  isMiniappProject(): boolean;
27
28
  miniappAttr(): Promise<any>;
29
+ serialize(): Promise<MiniProgramCore.IPrecompileProjectSerializeInfo>;
28
30
  }
@@ -4,6 +4,7 @@ declare const hash: any;
4
4
  declare const transformSync: any;
5
5
  declare const traverse: any;
6
6
  declare const parse: any;
7
+ declare const workletVersion: any;
7
8
  declare const buildBindFunc: (func: any) => any;
8
9
  declare const buildWorkletFunc: (func: any) => any;
9
10
  declare const globals: Set<string>;
@@ -25,3 +25,4 @@ export declare function checkPath(options: {
25
25
  checkPathType?: string;
26
26
  }): void;
27
27
  export declare function getAllTargetTypeFilesWithOtherTypeFilesOfSameName(project: IProject, targetType: string, otherTypes: string[], filter: string): string[];
28
+ export declare const workletVersion = "0.0.7";