@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.
@@ -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,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { ENCODING_TYPE } from '@junobuild/config';
3
2
  import type { Blob } from 'buffer';
4
3
  import type { MimeType } from 'file-type';
@@ -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, 'gzip'>>) => Promise<string[]>;
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, 'ignore'>>) => string[];
8
+ } & Required<Pick<SatelliteConfig, "ignore">>) => string[];
@@ -1,4 +1,2 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { type RequestOptions } from 'https';
4
2
  export declare const downloadFromURL: (url: string | RequestOptions) => Promise<Buffer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli-tools",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "A collection of tools for Juno CLIs and Plugins.",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",