Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Cody Mize
    @kingcody
    generator-mongoose could use those two sub gens and focus on bootstrapping and project layout. Just some thoughts...
    Arvind Ravulavaru
    @arvindr21
    Hello. Sorry for joining the party late
    Cody Mize
    @kingcody
    Hi there
    I'm Cody
    Arvind Ravulavaru
    @arvindr21
    Hello Cody
    How are you doing?
    Cody Mize
    @kingcody
    Pretty well, thanks. Are you able to see the chat log from before you joined?
    Arvind Ravulavaru
    @arvindr21
    yes, I did.
    I was wondering if we need to make changes to the existing code
    Or will this be another project
    Cody Mize
    @kingcody
    both
    my thought was to initially mimic the model generating functionality of the current schema sub gen
    Arvind Ravulavaru
    @arvindr21
    @afj176 your thoughts?
    Antonio Fernandes
    @afj176
    Hey guys i got behind on this chat, as i didnt see the emails but hey, i got the app now: https://gitter.im/apps
    Hey @arvind21 from my understanding, is yes there will be another project involved: generator-express-component from what Cody conveyed to me was that he be would abstracting the modal creation part of schema sub gen, then redoing schema sub gen to be pluggable , like add a yo-rc and then boom extra functionality
    @kingcody correct me where I am wrong here
    Antonio Fernandes
    @afj176
    what I wrote was super vague now that I reread it, but I will post some ref links to yo-rc
    yeoman/generator#312
    Cody Mize
    @kingcody
    @afj176, pretty much. I was thinking use generator-mongoose-component for the schema/model gen.
    Antonio Fernandes
    @afj176
    hows it going cody, anything you need help with let me or Arvind know
    Cody Mize
    @kingcody
    Cool deal, I'm trying to get a good base going with express-component. My thought was that we could use some stuff from there to hookup mongoose-component like how to initialize defaults, using runtime options to override prompts, and other common functions.
    Antonio Fernandes
    @afj176
    cool cool
    Cody Mize
    @kingcody
    I made kingcody/yo-utils which abstracts the functionality of scriptBase.js like gen-backbone uses.
    Id like it if both/either of you could look through express-component when I get to a good working spot.
    Antonio Fernandes
    @afj176
    ok cool
    Cody Mize
    @kingcody
    @afj176 @arvindr21 here is the develop branch: express-component
    Let me know what you think about the main gen, it sets up the yo-rc config with prompts or via options
    That way you could composeWith another generator and have it set the default options for the user
    Antonio Fernandes
    @afj176
    ok will check it out soon
    Antonio Fernandes
    @afj176
    Hey @kingcody I checked out the develop branch i am starting to see where this will be going, looking good so does this just create the .yo-rc.json or does it create project files as well
    ok I’m out
    Cody Mize
    @kingcody
    @afj176 both
    currently the main gen just sets up the yo-rc as I'm sure you saw. Using either cmd flags or options passed by another generator, OR prompts with defaults.
    Then the sub gens of the generator would make the file according to the config options set in yo-rc and possibly ask a few 'runtime' prompts and potential overrides
    Thats how I see it right now... Would love to hear how that flows with you guys though
    (Then the sub gens of the generator would make the files* according)
    Antonio Fernandes
    @afj176
    @arvindr21 when you get a chance join the yo-components group on github, you have an invite pending
    so we can chat on gitter on the yo-components group as well as this chat
    Arvind Ravulavaru
    @arvindr21
    Did not get the invite
    can you pls resend it?
    Cody Mize
    @kingcody
    will do, is your email correct on github?
    Arvind Ravulavaru
    @arvindr21
    yes, its is
    Cody Mize
    @kingcody
    actually
    Arvind Ravulavaru
    @arvindr21
    nvm joined via Github
    Cody Mize
    @kingcody
    you should be able to goto https://github.com/yo-components
    lol
    Arvind Ravulavaru
    @arvindr21
    I am on it
    Cody Mize
    @kingcody
    yes you are sir
    Arvind Ravulavaru
    @arvindr21
    :D