@junobuild/cli-tools 0.6.0 → 0.6.1
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 +16 -16
- package/dist/node/index.mjs.map +3 -3
- package/dist/types/constants/deploy.constants.d.ts +1 -1
- package/dist/types/services/deploy.proposal.services.d.ts +1 -1
- package/dist/types/types/deploy.d.ts +1 -0
- package/dist/types/types/upload.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4,6 +4,6 @@ export declare const DEPLOY_DEFAULT_IGNORE: never[];
|
|
|
4
4
|
export declare const DEPLOY_DEFAULT_ENCODING: never[];
|
|
5
5
|
export declare const DEPLOY_DEFAULT_PRECOMPRESS: Required<Precompress>;
|
|
6
6
|
export declare const IGNORE_OS_FILES: string[];
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const UPLOAD_DEFAULT_BATCH_SIZE = 20;
|
|
8
8
|
export declare const COLLECTION_DAPP = "#dapp";
|
|
9
9
|
export declare const COLLECTION_CDN_RELEASES = "#_juno/releases";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DeployResultWithProposal, UploadFilesWithProposal, UploadFileWithProposal, UploadIndividually, UploadWithBatch } from '../types/deploy';
|
|
2
2
|
import type { ProposeChangesParams } from '../types/proposal';
|
|
3
3
|
import type { UploadFilesParams } from '../types/upload';
|
|
4
|
-
export declare const deployAndProposeChanges: ({ deploy: { upload, files, sourceAbsolutePath, collection }, proposal: { proposalType, autoCommit, ...proposalRest } }: {
|
|
4
|
+
export declare const deployAndProposeChanges: ({ deploy: { upload, files, sourceAbsolutePath, collection, batchSize }, proposal: { proposalType, autoCommit, ...proposalRest } }: {
|
|
5
5
|
deploy: {
|
|
6
6
|
upload: UploadIndividually<UploadFileWithProposal> | UploadWithBatch<UploadFilesWithProposal>;
|
|
7
7
|
} & UploadFilesParams;
|
|
@@ -5,5 +5,6 @@ export interface UploadFilesParams {
|
|
|
5
5
|
files: FileAndPaths[];
|
|
6
6
|
sourceAbsolutePath: string;
|
|
7
7
|
collection: typeof COLLECTION_DAPP | typeof COLLECTION_CDN_RELEASES;
|
|
8
|
+
batchSize: number;
|
|
8
9
|
}
|
|
9
|
-
export type UploadFilesParamsWithProgress = UploadFilesParams & OnUploadProgress
|
|
10
|
+
export type UploadFilesParamsWithProgress = UploadFilesParams & Required<OnUploadProgress>;
|