HipsterBrown / xs-dev

The quickest way for getting started with JS on devices
https://xs-dev.js.org
MIT License
41 stars 13 forks source link

project / manifest management #32

Closed phoddie closed 2 years ago

phoddie commented 2 years ago

The xs-dev tools to manage projects and their manifests helpfully automate what are currently manual operations. In exploring it, I have a few observations to share:

HipsterBrown commented 2 years ago

Maybe they should be clones of examples? The default JavaScript project already is helloworld. We could have a hello TypeScript project too, and others as needed. I often want to start from a network example (mqttbasic) and modify from there, so almost any example might be a starting point for init.

I really like this idea. It wouldn't be too difficult to implement either since there's already code that can recursively look through the examples directory. 🤔

phoddie commented 2 years ago

Thanks! The updated behavior of include maybe sets a model for how it can behave when there are multiple matches. That way xs-dev init mytest --http would show all the http examples.

HipsterBrown commented 2 years ago

The fixes in #37 were released in v0.11.1 of xs-dev! 💯