diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 6fa92758..e43c2943 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,29 @@ +- commits: + - subject: Improve directory scan speed prior to tarballing + hash: 257dd514ed7c0f6988b8a47219991cc4f61b4529 + body: > + This changes improves the speed that the project is tarballed by + switching from + + `klaw` to `recursive-fs` and not running `lstat` on files that are + ignored. + + Whilst testing with the Jellyfish repository, which contains a number of + + sub directories, each with their own node_modules folder, I was able to + + reduce the time taken to scan and tarball the project from 70s to 11s, + + which is a massive improvement. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Lucian Buzzo + signed-off-by: Lucian Buzzo + author: Lucian Buzzo + nested: [] + version: 12.54.3 + date: 2021-11-26T13:59:56.032Z - commits: - subject: Set the correct target state when using Compose "image" field hash: d2a5a9ba8638e712a4b286ce6775158c89615b08 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4efacd4c..d1b3a190 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## 12.54.3 - 2021-11-26 + +* Improve directory scan speed prior to tarballing [Lucian Buzzo] + ## 12.54.2 - 2021-11-26 * Set the correct target state when using Compose "image" field [Lucian Buzzo] diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 63e6230b..242321e0 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "balena-cli", - "version": "12.54.2", + "version": "12.54.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 881e2427..8045abaa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "balena-cli", - "version": "12.54.2", + "version": "12.54.3", "description": "The official balena Command Line Interface", "main": "./build/app.js", "homepage": "https://github.com/balena-io/balena-cli", @@ -289,6 +289,6 @@ "windosu": "^0.3.0" }, "versionist": { - "publishedAt": "2021-11-26T10:14:56.665Z" + "publishedAt": "2021-11-26T13:59:56.430Z" } }