@capgo/cli 4.10.23 → 4.10.24
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/CHANGELOG.md +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/bundle/upload.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.10.24](https://github.com/Cap-go/CLI/compare/v4.10.23...v4.10.24) (2024-06-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add message for multipart ([db2fc69](https://github.com/Cap-go/CLI/commit/db2fc6921418d3665304e358fe842efb8c9bc773))
|
|
11
|
+
|
|
5
12
|
### [4.10.23](https://github.com/Cap-go/CLI/compare/v4.10.22...v4.10.23) (2024-06-19)
|
|
6
13
|
|
|
7
14
|
### [4.10.22](https://github.com/Cap-go/CLI/compare/v4.10.21...v4.10.22) (2024-06-19)
|
package/dist/index.js
CHANGED
|
@@ -108745,7 +108745,7 @@ var {
|
|
|
108745
108745
|
// package.json
|
|
108746
108746
|
var package_default = {
|
|
108747
108747
|
name: "@capgo/cli",
|
|
108748
|
-
version: "4.10.
|
|
108748
|
+
version: "4.10.24",
|
|
108749
108749
|
description: "A CLI to upload to capgo servers",
|
|
108750
108750
|
author: "github.com/riderx",
|
|
108751
108751
|
license: "Apache 2.0",
|
|
@@ -111584,7 +111584,7 @@ The app size is ${mbSize} Mb, this may take a while to download for users
|
|
|
111584
111584
|
const endTime2 = import_node_perf_hooks.performance.now();
|
|
111585
111585
|
const uploadTime2 = ((endTime2 - startTime) / 1e3).toFixed(2);
|
|
111586
111586
|
spinner.stop(`Failed to upload bundle ( after ${uploadTime2} seconds)`);
|
|
111587
|
-
f2.error(`Cannot upload bundle ${formatError(errorUpload)}`);
|
|
111587
|
+
f2.error(`Cannot upload bundle ( try again with --multipart option) ${formatError(errorUpload)}`);
|
|
111588
111588
|
if (errorUpload instanceof HTTPError) {
|
|
111589
111589
|
const body = await errorUpload.response.text();
|
|
111590
111590
|
f2.error(`Response: ${formatError(body)}`);
|
package/package.json
CHANGED
package/src/bundle/upload.ts
CHANGED
|
@@ -401,7 +401,7 @@ It will be also visible in your dashboard\n`)
|
|
|
401
401
|
const endTime = performance.now()
|
|
402
402
|
const uploadTime = ((endTime - startTime) / 1000).toFixed(2)
|
|
403
403
|
spinner.stop(`Failed to upload bundle ( after ${uploadTime} seconds)`)
|
|
404
|
-
p.log.error(`Cannot upload bundle ${formatError(errorUpload)}`)
|
|
404
|
+
p.log.error(`Cannot upload bundle ( try again with --multipart option) ${formatError(errorUpload)}`)
|
|
405
405
|
if (errorUpload instanceof HTTPError) {
|
|
406
406
|
const body = await errorUpload.response.text()
|
|
407
407
|
p.log.error(`Response: ${formatError(body)}`)
|