@capawesome/cli 1.6.0 → 1.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/CHANGELOG.md +8 -0
- package/dist/commands/apps/bundles/create.js +5 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.6.1](https://github.com/capawesome-team/cli/compare/v1.6.0...v1.6.1) (2025-03-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **apps:bundles:create:** validate zip file if url is passed ([bd1c4c7](https://github.com/capawesome-team/cli/commit/bd1c4c7463ed3a1611ec6da1b2e87eccb0665fed))
|
|
11
|
+
* improve error handling ([949e358](https://github.com/capawesome-team/cli/commit/949e35826d3e75d5077b55966cff75ccd15a54d7))
|
|
12
|
+
|
|
5
13
|
## [1.6.0](https://github.com/capawesome-team/cli/compare/v1.5.0...v1.6.0) (2025-03-03)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -230,6 +230,11 @@ exports.default = (0, citty_1.defineCommand)({
|
|
|
230
230
|
let checksum;
|
|
231
231
|
let signature;
|
|
232
232
|
if (path && url) {
|
|
233
|
+
// Create the file buffer
|
|
234
|
+
if (!zip_1.default.isZipped(path)) {
|
|
235
|
+
consola_1.default.error('The path must be a zip file when providing a URL.');
|
|
236
|
+
process.exit(1);
|
|
237
|
+
}
|
|
233
238
|
const fileBuffer = yield (0, buffer_1.createBufferFromPath)(path);
|
|
234
239
|
// Generate checksum
|
|
235
240
|
checksum = yield (0, hash_1.createHash)(fileBuffer);
|
package/dist/index.js
CHANGED
package/package.json
CHANGED