@junobuild/cli-tools 0.0.14 → 0.0.16
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/dist/node/index.mjs +15 -15
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/commands/deploy.d.ts +6 -0
- package/dist/types/services/deploy.hook.services.d.ts +1 -0
- package/dist/types/types/deploy.d.ts +0 -1
- package/dist/types/utils/compress.utils.d.ts +1 -2
- package/dist/types/utils/deploy.utils.d.ts +1 -1
- package/dist/types/utils/download.utils.d.ts +0 -2
- package/package.json +1 -1
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { CliConfig } from '@junobuild/config';
|
|
2
2
|
import type { FileDetails, ListAssets, UploadFile } from '../types/deploy';
|
|
3
|
+
export declare const preDeploy: ({ config: { predeploy } }: {
|
|
4
|
+
config: CliConfig;
|
|
5
|
+
}) => Promise<void>;
|
|
6
|
+
export declare const postDeploy: ({ config: { postdeploy } }: {
|
|
7
|
+
config: CliConfig;
|
|
8
|
+
}) => Promise<void>;
|
|
3
9
|
export declare const deploy: ({ assertMemory, uploadFile, ...rest }: {
|
|
4
10
|
config: CliConfig;
|
|
5
11
|
listAssets: ListAssets;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const executeHooks: (hooks?: string[]) => Promise<void>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type { SatelliteConfig } from '@junobuild/config';
|
|
3
2
|
export declare const gunzipFile: ({ source }: {
|
|
4
3
|
source: Buffer;
|
|
5
4
|
}) => Promise<Buffer>;
|
|
6
5
|
export declare const gzipFiles: ({ sourceFiles, gzip }: {
|
|
7
6
|
sourceFiles: string[];
|
|
8
|
-
} & Required<Pick<SatelliteConfig,
|
|
7
|
+
} & Required<Pick<SatelliteConfig, "gzip">>) => Promise<string[]>;
|
|
9
8
|
export declare const gzipFile: ({ source, destination }: {
|
|
10
9
|
source: string;
|
|
11
10
|
destination?: string;
|
|
@@ -5,4 +5,4 @@ export declare const fullPath: ({ file, sourceAbsolutePath }: {
|
|
|
5
5
|
}) => string;
|
|
6
6
|
export declare const listSourceFiles: ({ sourceAbsolutePath, ignore }: {
|
|
7
7
|
sourceAbsolutePath: string;
|
|
8
|
-
} & Required<Pick<SatelliteConfig,
|
|
8
|
+
} & Required<Pick<SatelliteConfig, "ignore">>) => string[];
|