Commit Graph

29 Commits

Author SHA1 Message Date
Paulo Castro
f6529eec26 Adjustments for balena-preload v10 (SDK v14). Improved error reporting.
Change-type: patch
2020-07-28 16:12:11 +00:00
Paulo Castro
d4de25e545 Update net-keepalive to v1.3.3, reclaiming ~200MB disk space (npm install)
Change-type: patch
2020-07-28 14:38:26 +00:00
Paulo Castro
a6a8dc822f Update net-keepalive and pkg, Node.js >= v10.20.0 (steps towards Node.js v14)
Change-type: minor
2020-07-15 16:30:15 +00:00
Paulo Castro
b0dce6b477 Add ability to conditionally apply patches per platform (Linux, Mac, Windows)
Change-type: patch
2020-07-15 16:30:15 +00:00
Pagan Gazzard
88b7b9273a Fix opn patch for some strange edge case
Change-type: patch
2020-07-09 17:20:31 +01:00
Paulo Castro
3d7833a640 preload: Expand dockerd stderr logs in case of errors
Change-type: patch
2020-07-08 10:13:22 +01:00
Pagan Gazzard
d0a4ff0d6b Generate/include an oclif.manifest.json when packaging
This saves ~220ms for me when running oclif commands

Change-type: patch
2020-06-30 14:02:02 +00:00
Paulo Castro
06ab84fd10 Update 'pkg' dependency (improve support for Node v14)
Change-type: patch
2020-06-15 23:52:59 +01:00
Scott Lowe
2a8eb3a6ed Improve oclif missing argument/flag errors
Change-type: patch
Resolves: #1776
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-01 06:31:12 +02:00
Scott Lowe
52c2b041da Modify oclif help to match balena conventions
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-01 05:30:35 +02:00
Paulo Castro
e3c42cf63e Update patch-package (fix remaining source of seemingly random ENOENT error)
Connects-to: #1723
Change-type: patch
2020-04-22 11:42:09 +01:00
Paulo Castro
5f552cf9a8 Fix opn patch (npm installation warning)
Change-type: patch
2020-03-12 22:34:59 +00:00
Pagan Gazzard
3d2e109e7f Update dependencies
Update balena-sdk from 12.26.7 to 12.29.1

Change-type: minor
2020-03-12 18:03:10 +00:00
Scott Lowe
10cbf514a2 Make windows installer remove old files before installation.
Change-type: patch
Resolves: #1658
2020-03-12 17:31:43 +01:00
Paulo Castro
f44c2b777f Fix 'balena login' web auth on Linux standalone zip install (xdg-open ENOENT)
Resolves: #1657
Change-type: patch
2020-03-11 01:16:38 +00:00
Paulo Castro
88a1e413a3 Fix balena push "Segmentation fault" on Windows (replace 'mmmagic' with 'isBinaryFile')
Connects-to: #1611
Change-type: patch
2020-02-13 15:51:45 +00:00
Paulo Castro
be209f1626 Fix Windows standalone zip installer (missing mmmagic db for CRLF conversion)
Change-type: patch
2020-02-07 18:19:10 +00:00
Pagan Gazzard
77931b314a Update dependencies
Change-type: minor
2020-01-24 23:28:15 +00:00
Paulo Castro
e7c89cf77c Add npm preinstall check for npm version 6.9.0 or later
Older npm versions cause the npm-shrinkwrap.json file to be incorrectly
updated. This should avoid regression bugs related to issue #1332.
https://github.com/balena-io/balena-cli/issues/1332

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-17 15:43:21 +01:00
Paulo Castro
02b888f7c1 Fix privilege elevation for standalone zip package on Windows (windosu)
* Add pkgExec internal command
* Patch windosu to be aware of process.pkg and use pkgExec

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-15 21:47:26 +01:00
Paulo Castro
05aaed07b2 Patch oclif to use "npx npm@6.9.0 install" if npm is older than 6.9.0
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:08 +01:00
Paulo Castro
66b997d98c balena CI integration: Use C:\tmp to avoid 260-char path length limit
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-03 11:56:03 +01:00
Paulo Castro
7c6bae491f Add npm-shrinkwrap.json file to control dependency updates
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-28 12:29:50 +01:00
Paulo Castro
34d7b84d1e Patch 'pkg' package to resolve 'preload' issue in standalone installs
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-27 00:50:35 +01:00
Paulo Castro
04223dbc58 Revert bin/balena (previously renamed bin/run for oclif compatibility)
Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:38 +01:00
Paulo Castro
b5c4348de1 balena CI integration: Patch @oclif/dev-cli to install 7zip on demand
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:38 +01:00
Paulo Castro
dafbdd5f34 Add native installers for Windows and macOS
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:33 +01:00
Paulo Castro
c204dbd6cd Bump denymount version and delete redundant patch (chore task)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:59 +01:00
Paulo Castro
6e343c36a8 Fix 'local configure' on macOS standalone installation
Resolves: #977
Resolves: #1212
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-05-10 16:18:13 +01:00