1 | import { IPublishOptions as _IPublishOptions } from './publish';
|
2 | import { IPackageOptions } from './package';
|
3 | export type { IPackageOptions } from './package';
|
4 |
|
5 |
|
6 |
|
7 | export declare type IBaseVSIXOptions = Pick<IPackageOptions, 'baseContentUrl' | 'baseImagesUrl' | 'githubBranch' | 'gitlabBranch' | 'useYarn' | 'target' | 'preRelease'>;
|
8 |
|
9 |
|
10 |
|
11 | export declare type ICreateVSIXOptions = Pick<IPackageOptions, 'cwd' | 'packagePath'> & IBaseVSIXOptions;
|
12 |
|
13 |
|
14 |
|
15 | export declare enum PackageManager {
|
16 | Npm = 0,
|
17 | Yarn = 1,
|
18 | None = 2
|
19 | }
|
20 | export interface IListFilesOptions {
|
21 | |
22 |
|
23 |
|
24 | cwd?: string;
|
25 | |
26 |
|
27 |
|
28 | packageManager?: PackageManager;
|
29 | |
30 |
|
31 |
|
32 |
|
33 |
|
34 | packagedDependencies?: string[];
|
35 | |
36 |
|
37 |
|
38 |
|
39 |
|
40 | ignoreFile?: string;
|
41 | }
|
42 | export declare type IPublishVSIXOptions = IPublishOptions & Pick<IPackageOptions, 'target'>;
|
43 | export declare type IPublishOptions = _IPublishOptions;
|
44 |
|
45 |
|
46 |
|
47 | export declare function createVSIX(options?: IPackageOptions): Promise<any>;
|
48 |
|
49 |
|
50 |
|
51 | export declare function publish(options?: IPublishOptions): Promise<any>;
|
52 |
|
53 |
|
54 |
|
55 | export declare function listFiles(options?: IListFilesOptions): Promise<string[]>;
|
56 |
|
57 |
|
58 |
|
59 | export declare function publishVSIX(packagePath: string | string[], options?: IPublishVSIXOptions): Promise<any>;
|