Commit Graph

41 Commits

Author SHA1 Message Date
Pagan Gazzard
dd20a8b00f Disable oclif's ts-node registering when running against built code
Change-type: patch
2020-05-04 15:08:24 +01:00
Pagan Gazzard
14c5b27cdd Convert lib/app-capitano.coffee to javascript
Change-type: patch
2020-04-30 17:57:37 +01:00
Cameron Diver
5a0ef354f1 Fix ts-node invocation in balena-dev
Properly pull in the project file, as it exists in a different
directory.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-07 15:02:25 +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
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
abf573fa47 Begin the transition to oclif with 'balena env add' (fix dropped leading
zero in device UUID).

This commit is fairly chunky because it adds the oclif dependency for
the first time, and refactors the CLI help and docs generation code to
accommodate both Capitano and oclif.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:56 +01:00
Paulo Castro
13e3e5e8ea Bump min Node.js version to 8.0, ts-node to 8.1 and typescript to 3.4.
Refactor typings folder for use with the tsconfig typeRoots option.

Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:55 +01:00
Shaun Mulligan
2ba53649bd Improve startup time by adding fast-boot
Change-type: minor
Signed-off-by: Shaun Mulligan <shaun@balena.io>
2019-01-14 12:43:51 +00:00
Tim Perry
4907fccf48 Rename everything from 'resin' to 'balena'
Change-type: major
2018-10-29 22:29:02 +01:00
Thodoris Greasidis
24c2ffefc9 chore: Add on the fly transpiled bin
Adds an alternative bin file that does not require building the project but
loads the source files directly.

Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2018-10-24 13:05:02 +03:00
Tim Perry
295d6dee74 Fix configuration hangs with some images by expanding the threadpool
Change-type: patch
Signed-off-by: Tim Perry <tim@resin.io>
2018-08-20 17:06:26 +02:00
Juan Cruz Viotti
b879d3f9ea Remove unused resin-write bin script
This script was used along with windosu as a workaround to call `device
init` with elevated permissions.

Since Windows elevation is not used anymore for now, this script can be
removed.
2015-08-19 11:30:48 -04:00
Juan Cruz Viotti
a1e6c6cda5 Stop bundling NodeJS in the package 2015-03-04 12:16:35 -04:00
Juan Cruz Viotti
8ce27d2f6d Handle relative symlinks correctly 2015-03-03 13:52:18 -04:00
Juan Cruz Viotti
4aefb15c70 Prevent resin-write infinite loop 2015-03-03 12:39:41 -04:00
Juan Cruz Viotti
3d3e2fd23f Fix NODE_PATH issue 2015-02-27 14:20:56 -04:00
Juan Cruz Viotti
a41c54bd2b Follow symlinks in bin/resin 2015-02-27 13:30:44 -04:00
Juan Cruz Viotti
9b657397f3 Allow bin/resin to be called from anywhere 2015-02-27 12:19:55 -04:00
Juan Cruz Viotti
01d2edb819 Precompile CoffeeScript files 2015-02-26 11:47:34 -04:00
Juan Cruz Viotti
d520918071 Multi arch builds 2015-02-26 10:12:25 -04:00
Juan Cruz Viotti
7c53b35cbd Pass os/arch to install-node.js with env vars 2015-02-24 16:28:10 -04:00
Juan Cruz Viotti
6cd68dab64 Do not print $NODE_PATH 2015-02-23 10:55:32 -04:00
Juan Cruz Viotti
353908f098 Preserve extension when installing node 2015-02-13 15:43:03 -04:00
Juan Cruz Viotti
6ca7df5dbc Remove bin extension from sunos node bin path 2015-02-13 15:37:58 -04:00
Juan Cruz Viotti
188d6213e3 Only reference bundle node version in package.json 2015-02-13 15:35:28 -04:00
Juan Cruz Viotti
16544e41a9 Move install script to bin/install-node.js 2015-02-13 15:18:24 -04:00
Juan Cruz Viotti
1400ec30e0 Make use of node-binary to install node after npm install 2015-02-13 14:47:23 -04:00
Juan Cruz Viotti
e23c9f1384 Fix node Windows absolute path 2015-02-12 15:27:42 -04:00
Juan Cruz Viotti
fe9e76cdff Comment source of Windows arch snippet 2015-02-12 15:20:09 -04:00
Juan Cruz Viotti
8263c23390 Implement resin.cmd 2015-02-12 14:42:20 -04:00
Juan Cruz Viotti
c87f976f6c Fix sunos node bin extension 2015-02-12 14:09:16 -04:00
Juan Cruz Viotti
a84c3d5c9f Support calling bin/resin from within bin/ 2015-02-12 09:02:11 -04:00
Juan Cruz Viotti
29f359da68 Omit node binary version numbers for simplicity 2015-02-12 08:49:00 -04:00
Juan Cruz Viotti
bf36960618 Allow using a global node if no bundled node was detected 2015-02-11 15:38:03 -04:00
Juan Cruz Viotti
9ce8193c1f Call application with bundled nodejs binary 2015-02-11 13:13:12 -04:00
Juan Cruz Viotti
448c515f13 Use os.install in resin-write 2015-02-10 13:09:05 -04:00
Juan Cruz Viotti
2f804d5d16 Fix resin-write error reference 2015-02-10 13:07:11 -04:00
Juan Cruz Viotti
159a586e08 TODO about subprocess error handling 2015-01-29 13:17:26 -04:00
Juan Cruz Viotti
9069b07d4a Integrate windosu 2015-01-29 12:04:48 -04:00
Juan Cruz Viotti
3a5e4ad074 Remove JS compilation step for running bin/resin 2014-12-09 15:40:38 -04:00
Juan Cruz Viotti
2fa26d3dba Improve build system and CLI integration
Omit specs from build

Commit build directory and add bin entry point
2014-11-26 09:54:21 -04:00