microsoft / pxt-mkc

Command line tool for MakeCode editors
https://microsoft.github.io/pxt-mkc/
MIT License
11 stars 6 forks source link

template command to generate empty project #33

Closed pelikhan closed 2 years ago

pelikhan commented 2 years ago

Drop tsconfig.json to fix intellisense, maybe should be done with --pxt-modules command

mmoskal commented 2 years ago

Let's only do it when generating mkc.config and on init. eg pxt-jacdac has top-level tsconfig.json so you don't want another one in uploader/tools (I think).

As for --pxt-modules by default - have to be careful with --mono-repo? maybe we drop it by default but have an option to disable in mkc.config

pelikhan commented 2 years ago

Added option to "init" command to specify an editor.

https://github.com/microsoft/pxt-mkc/pull/39

pelikhan commented 2 years ago

init also drops a tsconfig.json... but maybe i need to be more careful about there it goes.

pelikhan commented 2 years ago

init command added.