CaliStyle / generator-treefrog

:frog: Treefrog isomorphic Generator for Trails Apps
Other
2 stars 2 forks source link

Implement generator-trails #15

Open scott-wyatt opened 8 years ago

scott-wyatt commented 8 years ago
scott-wyatt commented 8 years ago

Updated in #17

scott-wyatt commented 8 years ago

This will actually work better if we end up writing trailmap That way we won't need to override the server.js or for the testing server.

scott-wyatt commented 7 years ago

Looks like any old task runner that runs before node server.js will work.

jaumard commented 7 years ago

this doesn't have anything to do with generator-treefrog but with trailpack-treefrog witch should be a trailmap right ? This generator only generate a Trails/Angular2 project structure

scott-wyatt commented 7 years ago

I've structured generator-treefrog so that it can generate angular2 or React apps (once react is configured in the repo). For trailpack-treefrog, yes, it should do a preboot if we wanted to make it seamless. But that has some figuring out to do.

scott-wyatt commented 7 years ago

Okay, So we've been talking about Preboots for a while because so many modern web apps are ahead of browser technologies. The node community at large uses NPM to run scripts that preform these operations to essentially make a Distro of a repo or app. IMO this makes a ton of sense and as long as we live in a world where we are writing for the browser, we will be compiling or transpiling or piling till we die. That said, I think this will be the first opinionated direction for treefrog that there will be some sort of piling and we will need a really good way to deal with that.