@junobuild/cli-tools 0.6.2 → 0.6.5

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.
@@ -2,9 +2,14 @@ import type { SatelliteConfig } from '@junobuild/config';
2
2
  export declare const gunzipFile: ({ source }: {
3
3
  source: Buffer;
4
4
  }) => Promise<Buffer>;
5
+ interface CompressedFile {
6
+ source: string;
7
+ compressed: string;
8
+ mode: 'both' | 'replace';
9
+ }
5
10
  export declare const compressFiles: ({ sourceFiles, precompress }: {
6
11
  sourceFiles: string[];
7
- } & Required<Pick<SatelliteConfig, "precompress">>) => Promise<string[]>;
12
+ } & Required<Pick<SatelliteConfig, "precompress">>) => Promise<CompressedFile[]>;
8
13
  export declare const gzipFile: (params: {
9
14
  source: string;
10
15
  destination?: string;
@@ -14,3 +19,4 @@ export declare const brotliFile: (params: {
14
19
  destination?: string;
15
20
  }) => Promise<string>;
16
21
  export declare const isGzip: (buffer: Buffer) => boolean;
22
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli-tools",
3
- "version": "0.6.2",
3
+ "version": "0.6.5",
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",
@@ -54,9 +54,9 @@
54
54
  "homepage": "https://juno.build",
55
55
  "peerDependencies": {
56
56
  "@dfinity/utils": "^2",
57
- "@junobuild/cdn": "^1.1.0",
58
- "@junobuild/config": "^2",
59
- "@junobuild/storage": "^1.1.0",
57
+ "@junobuild/cdn": "^1.2.1",
58
+ "@junobuild/config": "^2.1.0",
59
+ "@junobuild/storage": "^1.2.0",
60
60
  "esbuild": "^0.25.1",
61
61
  "ora": "^8"
62
62
  },