netlify-cli 17.15.1 → 17.15.3
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/deploy/deploy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAgCxC,OAAO,WAAW,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/deploy/deploy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAgCxC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AA4tB5C,eAAO,MAAM,MAAM,YAAmB,YAAY,WAAW,WAAW,kBAoHvE,CAAA"}
|
|
@@ -313,7 +313,7 @@ const deployProgressCb = function () {
|
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
|
-
const uploadDeployBlobs = async ({ cachedConfig, deployId, options, silent, siteId, }) => {
|
|
316
|
+
const uploadDeployBlobs = async ({ cachedConfig, deployId, options, packagePath, silent, siteId, }) => {
|
|
317
317
|
const statusCb = silent ? () => { } : deployProgressCb();
|
|
318
318
|
statusCb({
|
|
319
319
|
type: 'blobs-uploading',
|
|
@@ -325,6 +325,7 @@ const uploadDeployBlobs = async ({ cachedConfig, deployId, options, silent, site
|
|
|
325
325
|
...options,
|
|
326
326
|
quiet: silent,
|
|
327
327
|
cachedConfig,
|
|
328
|
+
packagePath,
|
|
328
329
|
deployId,
|
|
329
330
|
siteId,
|
|
330
331
|
token,
|
|
@@ -409,7 +410,14 @@ title, }) => {
|
|
|
409
410
|
minimal: true,
|
|
410
411
|
});
|
|
411
412
|
config.headers = headers;
|
|
412
|
-
uploadDeployBlobs({
|
|
413
|
+
await uploadDeployBlobs({
|
|
414
|
+
deployId,
|
|
415
|
+
siteId,
|
|
416
|
+
silent,
|
|
417
|
+
options,
|
|
418
|
+
cachedConfig: command.netlify.cachedConfig,
|
|
419
|
+
packagePath: command.workspacePackage,
|
|
420
|
+
});
|
|
413
421
|
results = await deploySite(api, siteId, deployFolder, {
|
|
414
422
|
// @ts-expect-error FIXME
|
|
415
423
|
config,
|
|
@@ -484,7 +492,6 @@ const handleBuild = async ({ cachedConfig, currentDir, deployHandler, options, p
|
|
|
484
492
|
/**
|
|
485
493
|
*
|
|
486
494
|
* @param {*} options Bundling options
|
|
487
|
-
* @param {import('..//base-command.js').default} command
|
|
488
495
|
* @returns
|
|
489
496
|
*/
|
|
490
497
|
// @ts-expect-error TS(7006) FIXME: Parameter 'options' implicitly has an 'any' type.
|