miniprogram-ci 2.1.15 → 2.1.17

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,5 @@
1
+ #### 2.1.16
2
+ - `fix` 修复 COS 上报失败的问题
1
3
  #### 2.1.15
2
4
  - `fix` 修复 部分log不清晰的问题
3
5
  #### 2.1.14
package/README.md CHANGED
@@ -7,6 +7,8 @@ miniprogram-ci 是从[微信开发者工具](https://developers.weixin.qq.com/mi
7
7
  miniprogram-ci 从 1.0.28 开始支持第三方平台开发的上传和预览,调用方式与普通开发模式无异。[查看详情](#第三方平台开发)
8
8
 
9
9
  ## 最近变更
10
+ #### 2.1.16
11
+ - `fix` 修复 COS 上报失败的问题
10
12
  #### 2.1.15
11
13
  - `fix` 修复 部分log不清晰的问题
12
14
  #### 2.1.14
@@ -1,5 +1,5 @@
1
1
  import { IProject } from '../types';
2
- export declare const CI_VERSION = "2.1.15";
2
+ export declare const CI_VERSION = "2.1.17";
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;
@@ -1,4 +1,4 @@
1
- import { MiniProgramCore } from '../types';
1
+ import { MiniProgramCore, MiniProgramDevtools } from '../types';
2
2
  import { BaseProject } from './baseProject';
3
3
  type ProjectType = MiniProgramCore.ProjectType;
4
4
  export interface ICreateProjectOptions {
@@ -8,16 +8,20 @@ export interface ICreateProjectOptions {
8
8
  privateKey?: string;
9
9
  privateKeyPath?: string;
10
10
  ignores?: string[];
11
- targetPlatform?: string;
11
+ targetPlatform?: MiniProgramCore.ITargetPlatform;
12
12
  compileDefines?: {
13
13
  [key: string]: string;
14
14
  };
15
+ packOptions?: {
16
+ ignore: MiniProgramDevtools.IProjectConfigPackOption[];
17
+ include: MiniProgramDevtools.IProjectConfigPackOption[];
18
+ };
15
19
  }
16
20
  export { getProjectAttr, } from '../ci/projectattr';
17
21
  export declare class CIProject extends BaseProject {
18
22
  private _project;
19
23
  private _miniappAttr?;
20
- private _targetPlatform?;
24
+ targetPlatform?: MiniProgramCore.ITargetPlatform;
21
25
  constructor(options: ICreateProjectOptions);
22
26
  get project(): BaseProject;
23
27
  init(): Promise<void>;