Commit Graph

49 Commits

Author SHA1 Message Date
Victor Nakoryakov
2abfd38e22 feat(xod-cli): drop --target switch for xodc transpile
Since the only choice now is `arduino`
2017-08-11 13:38:31 +03:00
Victor Nakoryakov
3ba6ad5664 refactor(infra): remove code related to JS targets (Espruino & RPi) 2017-08-11 13:13:50 +03:00
Kirill Shumilov
fd919d1dae refactor(xod-cli, xod-arduino-builder): get rid of xod-arduino-builder package and clean it up from xod-cli 2017-08-04 18:07:06 +03:00
Alexander Matsievsky
1e7365963e feat(xod-cli): allow orgmembers to publish lib versions 2017-07-25 10:53:20 +03:00
Alexander Matsievsky
512d85e471 feat(xod-cli,xod-fs): implement auth for xodc publish
Closes #535.
2017-07-12 16:08:43 +03:00
Kirill Shumilov
3b26954573 feat(xod-fs): add reading/writing patch attachments (README.md, images and .fzz) 2017-07-10 14:48:26 +03:00
Evgeny Kochetkov
cbc4b920fa chore(infra): disable hm-def by default
Closes #600
2017-06-26 12:42:37 +03:00
Kirill Shumilov
e0c5370c12 tweak(xod-cli): add default swagger url for publish/install 2017-06-22 20:44:06 +03:00
Alexander Matsievsky
2e49b038a3 feat(xod-cli): publish description
Closes #586.
2017-06-16 14:53:12 +03:00
Alexander Matsievsky
c9d8c7d9d0 feat(xod-cli): implement xodc install/publish for pm.xod.io (#577)
Closes #575.
2017-06-15 13:09:13 +03:00
Victor Nakoryakov
cacf28bba2 fix(xod-cli): show stack trace on unhandled error while xodc transpile 2017-06-09 16:27:24 +03:00
Kirill Shumilov
c0aa409bd5 refactor(xod-cli, xod-client-electron): use xod-fs loadProject instead of loadProjectWithLibs and pack 2017-06-05 19:21:33 +03:00
Evgeny Kochetkov
da40e5300c refactor(xod-cli): remove doc command 2017-05-15 13:41:34 +03:00
Evgeny Kochetkov
7c040ed307 refactor(xod-cli): get rid of migrate tool
we support only single format now
2017-05-12 23:17:04 +03:00
Kirill Shumilov
85c4d08882 refactor(xod-arduino-builder, xod-cli, xod-client-electron): refactor xod-arduino-builder and his consumers: separated pure and unpure functions and call them as compositions 2017-04-24 19:57:10 +03:00
Kirill Shumilov
3314a0bf37 refactor(xod-arduino-builder, xod-cli, xod-client-electron): refactor xod-arduino-builder to use child-process-promise package instead of shelljs and promisified versions of writeFile and readFile from xod-fs, remove unnecessary messages, update docs. And update all consumers. 2017-04-24 19:56:40 +03:00
Kirill Shumilov
fc80a2fe04 refactor(xod-arduino-builder, xod-cli, xod-client-electron): make all Promises in xod-arduino-builder returns unified object CmdResult and use it in packages-consumers 2017-04-24 19:56:40 +03:00
Evgeny Kochetkov
08c60dd8d3 fix(xod-cli): all transpilers now return Either, no more hacks required 2017-04-19 15:38:39 +03:00
Alexander Matsievsky
92025f85e2 feat(xod-cli): as a pro-xoder, I want to xodc install some/libname so that I can utilize 3rd-party work
Bug: libraries should not be overwritten if exist already

Closes #188.
2017-03-27 15:27:57 +03:00
Alexander Matsievsky
ac3ba2615c feat(xod-cli): as a pro-xoder, I want to xodc install some/libname so that I can utilize 3rd-party work
Closes #188.
2017-03-27 13:49:21 +03:00
Kirill Shumilov
e59132d063 refactor(xod-cli): make xod-cli works correctly with Either, that returns from transpileForArduino 2017-03-23 18:42:26 +03:00
Kirill Shumilov
d3d6943622 feat(xod-cli): add transpiling for arduino target from xod-cli 2017-03-23 18:41:48 +03:00
Alexander Matsievsky
c845602514 feat(xod-cli): implement publishing new library semver with xodc (#429)
Closes #428.
2017-03-23 17:16:07 +03:00
Kirill Shumilov
61d0ec31d0 refactor(xod-cli): refactor xodc and add migrate command into doc 2017-02-17 21:53:31 +03:00
Kirill Shumilov
4bde7f2782 refactor,feat(xod-cli): make transpiling command works properly and make migrare throws error if something went wrong 2017-02-17 18:18:58 +03:00
Kirill Shumilov
d8ad6fa5cc feat(xod-cli): add migrating command into xod-cli (xodc m /path/to/old/bundle.xodball /path/to/save/new/bundle.xodball) 2017-02-17 18:18:37 +03:00
Alexander Matsievsky
f590ac4dca feat(xod-cli): as a pro-xoder I want to compile and upload code for Arduino from CLI so that I can xod without running Arduino IDE (#369)
Closes #340.
2017-02-16 09:24:37 +03:00
Kirill Shumilov
6be945c732 refactor(*): enable and fix import/imports-first rule 2017-01-16 18:40:55 +03:00
Kirill Shumilov
3ad4f3f795 refactor(*): enable and fix arrow-parens rule 2017-01-16 18:35:27 +03:00
Kirill Shumilov
5062f7d55d refactor(xod-cli, xod-client): enable and fix no-undef rule and remove excessive functions from browser.js 2017-01-16 18:24:51 +03:00
Fedor Kamshilin
6f5596dfaa fix(xod-doc): fix pull request issues
fix(xod-doc): fix pull request issues

fix(xod-doc): fix pull request issues
2016-12-16 15:43:17 +03:00
Fedor Kamshilin
1cab8cf3c3 feat(xod-doc): add generator for documentation 2016-12-16 13:12:59 +03:00
Kirill Shumilov
934c0bf710 refactor(xod-cli): replace ugly switch with simple code 2016-11-22 11:56:50 +03:00
Kirill Shumilov
f72dedc765 refactor(xod-js): rename transpiling functions from ‘espruino’ and ‘nodejs’ into ‘transpileForEspruino’ and ‘transpileForNodeJS’ 2016-11-21 20:24:05 +03:00
Kirill Shumilov
4b796d6831 feat(xod-cli): add a selecting a target in the xod-cli and add build:tree:xod-cli script 2016-11-21 20:24:05 +03:00
Kirill Shumilov
f13f8801dc refactor(xod-js): rename xod-espruino into xod-js, and it will contain transpiler and runtime for any js-lang targets (espruino, nodejs) 2016-11-21 20:24:05 +03:00
Kirill Shumilov
1ec43c7357 fix(xod-cli): fix eslint error by removing unused var 2016-11-10 13:35:03 +03:00
Kirill Shumilov
3d7202ea55 fix(xod-fs, xod-cli): fix writeFile exporting for saving output in xod-cli 2016-11-10 13:02:38 +03:00
Victor Nakoryakov
96303c0a16 fix(cli): make linter happy 2016-11-03 13:28:40 +03:00
Victor Nakoryakov
9111320a0d chore(cli): sane trace messages 2016-11-03 13:21:04 +03:00
Victor Nakoryakov
c0f64f8ee2 fix(cli): sane error codes 2016-11-03 13:12:53 +03:00
Victor Nakoryakov
9b82a77503 chore(cli): remove spinner as it hard-coded to polute stdout 2016-11-03 13:10:42 +03:00
Victor Nakoryakov
2da8dd7767 feat(cli): sane colors visible on dark/light themes, trace to stderr 2016-11-03 13:08:16 +03:00
Kirill Shumilov
99507243b6 feat(xod-cli/transpile): make transpile takes as input argument: .xodball, project_directory or project.xod (from project_directory) 2016-10-27 17:33:47 +03:00
Kirill Shumilov
5b399ebaa2 fix(xod-cli): remove excessive promise.resolve 2016-10-26 18:53:02 +03:00
Kirill Shumilov
74bd21a8d1 feat, refactor(xod-cli): refactor xod-cli using new xod-fs methods and promises, and added cli-color package and beautify output of xod-cli in console 2016-10-26 18:48:28 +03:00
Kirill Shumilov
6efca0d467 refactor(xod-fs, xod-cli, xod-client-electron): make xod-fs/save returns a promise instead of passing callbacks and use new write methods from xod-fs, instead of fs.writeFile. And curried xof-fs/save method. 2016-10-25 19:15:02 +03:00
Kirill Shumilov
ec0f846719 fix(xod-cli/unpack): fix a spinner message "Packing" -> "Unpacking" 2016-10-24 23:12:31 +03:00
Kirill Shumilov
e6afe5a7e8 feat(xod-cli): add a new package xod-cli and move a xodc from xod-core into this package and add commands: pack, unpack, transpile 2016-10-24 21:22:22 +03:00