979284b071
Convert tags
, tag set
, tag rm
to oclif.
...
Change-type: patch
Resolves : #1805
Signed-off-by: Scott Lowe <scott@balena.io >
2020-05-28 19:49:23 +02:00
81269e92d5
Update pre-commit script error message (automation/check-doc.js)
...
Change-type: patch
2020-05-15 21:38:23 +01:00
9412a21d40
Add a deprecation policy
...
Resolves : #1802
Change-type: minor
See: https://app.frontapp.com/open/cnv_7d92qx9
HQ: https://github.com/balena-io/balena/issues/2032
See: https://www.flowdock.com/app/rulemotion/r-product/threads/A6-bJBldfUFnhG9vixTz-DLz9iB
Signed-off-by: Thodoris Greasidis <thodoris@balena.io >
2020-05-11 11:12:58 +03:00
83286e6729
Convert balena api-key generate
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-05-04 13:50:50 +02:00
3b519f0258
Convert app commands to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-05-01 08:48:58 +02:00
ab526c9ed8
Convert gulpfile.coffee to javascript
...
Change-type: patch
2020-04-30 17:58:13 +01:00
14c5b27cdd
Convert lib/app-capitano.coffee to javascript
...
Change-type: patch
2020-04-30 17:57:37 +01:00
a97398950e
Convert lib/actions/help.coffee to javascript
...
Change-type: patch
2020-04-30 10:56:48 +00:00
a2b761ec4b
Convert command scan
to TypeScript, migrate to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-04-22 11:13:40 +00:00
be82bcfa63
convert commands key
, keys
, key add
, key rm
to oclif.
...
Also:
- Display keys with `name` instead of `title`.
- Check for empty key before calling API.
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-04-20 16:07:39 +02:00
3aa72dde4c
Convert commands join, leave to oclif.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-04-09 20:50:42 +02:00
fcad35402a
Convert command note
to oclif
...
Add oclif support for piped input
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-03-30 14:47:43 +02:00
49b00e18ae
Convert command settings
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-03-30 14:47:43 +02:00
b3b22d6399
Use balena-lint for javascript linting and add javascript type-checking
...
Change-type: patch
2020-03-25 12:12:03 +00:00
1ee74df67e
Add type checking for tests
...
Change-type: patch
2020-03-24 16:42:18 +00:00
eccb1bd9ad
Switch to native string check
...
Change-type: patch
2020-03-13 16:13:21 +00:00
f859d5025a
Switch to native Array.isArray
instead of aliases
...
Change-type: patch
2020-03-13 16:09:43 +00:00
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
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
4abdd71ce7
Update type deps
...
Change-type: patch
2020-02-24 14:15:48 +00:00
03053e125f
Add pre-commit check for cli.markdown updates and coffeelint execution
...
These checks compare the timestamps of cli.markdown with those of staged files,
effectively enforcing that 'npm run build' or 'npm test' are executed.
Change-type: patch
2020-02-21 18:22:48 -03:00
f2be811e18
Add a script to automate nested changelogs
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io >
2020-02-21 15:18:17 +02:00
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
467afb3de6
Add .gitattributes to check out with the correct line-ending on windows
...
Change-type: patch
2020-02-07 21:40:48 +00:00
be209f1626
Fix Windows standalone zip installer (missing mmmagic db for CRLF conversion)
...
Change-type: patch
2020-02-07 18:19:10 +00:00
3f84045127
Switch from opn to its new name of open
...
Change-type: patch
2020-02-06 19:55:22 +00:00
b3948d538c
Debug mode can now be disabled with DEBUG=0 env var
...
Added assignment to `process.env.DEBUG` if `process.env.DEBUG` is negative string to `lib/app.ts` and `automation/run.ts` entrypoints
Resolves : #1502
Change-type: patch
Signed-off-by: Thomas Manning <thomasm@balena.io >
2020-02-05 11:17:12 +09:00
27e1f3f7d7
Remove unnecessary code now that typescript understands process.exit
...
Change-type: patch
2020-02-03 13:06:23 +00:00
77931b314a
Update dependencies
...
Change-type: minor
2020-01-24 23:28:15 +00:00
9db6961a7e
Add catch-uncommitted
to balena CI build
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2020-01-20 23:25:24 +00:00
b978230f9e
Update resin-lint and prettier, and re-prettify
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2020-01-20 22:46:32 +00:00
323c9191b6
Add --verbose and --json options to the 'devices supported' command
...
The command was also converted to oclif.
Resolves : #467
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-12-27 11:54:27 +00:00
d94a74dfee
Fix 'os configure --config', and migrate it to oclif + TypeScript
...
Also add more non-interactive configuration options:
--config-network, --config-wifi-*, --config-app-update-poll-interval
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-11-12 21:09:18 +00:00
b69ba0b617
Improve command usage format consistency in 'balena help' output
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-11-10 00:54:22 +00:00
59a7b9d12b
Move npm version check from npm 'preinstall' to git 'pre-commit' hook
...
This should allow end users to use npm v6.4.1 that ships with Node 8,
while still requiring CLI developers to use npm v6.9.0 or later.
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-10-18 00:25:23 +01:00
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
7a865b2e15
Send all debug output to stderr
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-09-19 13:25:40 +01:00
c07b28e694
Migrate 'envs' and 'env rename' commands to oclif
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-09-18 12:54:31 +01:00
d54a709e7c
Fix mismatched Node.js version errors in standalone package on Windows
...
Resolves : #1419
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-09-11 01:17:26 +01:00
fb1dce9dbb
Add missing oclif-based commands to mixpanel tracking
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-09-01 23:42:21 +01:00
7bb2741a5a
Deploy scripts: edit GitHub release descriptions given semver ranges
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-08-30 18:09:58 +01:00
f1d9c29786
Fix bug where "env rm" fails silently if an additional arg is present
...
Fixes #1380
Argument parsing of "env rm" command was improved by migrating it to oclif
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com >
2019-08-12 13:47:31 +01:00
49a7eb30c0
Remove BETA suffix from Windows and macOS installers, and update INSTALL.md
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-07-15 14:08:27 +01:00
7c750f9e43
balena CI: Add balena-cli executable signing step
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-07-04 20:01:08 +01:00
0afbd6f17a
Refactor build:standalone / build:installer / run release
...
So that:
- Standalone zip files are created in the standalone step,
- oclif installers are renamed in the installer step, and
- npm run release (which is skipped by balena CI) is reduced to
uploading the files to the GitHub releases page.
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-07-04 20:01:07 +01:00
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
9d5ecb5f9c
Add options to 'balena version' to show Node.js version
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-06-27 16:22:26 +01:00
236dce37da
Pin the major Node version used by standalone zip packages to Node 10
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-06-27 13:10:55 +01:00
8b5ebe0645
Pin prettier and add formatting changes
...
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-10 11:07:51 +01:00
d8c942c77e
Fix "catch-uncommitted" build failure (npm run prettify)
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io >
2019-06-07 01:30:32 +01:00