Giter Club home page Giter Club logo

Comments (7)

zewa666 avatar zewa666 commented on September 4, 2024

Hmm not sure if my comment here #1 might fits in better in this issue.

Could you elaborate on the libs section?

from registry.

plwalters avatar plwalters commented on September 4, 2024

My first thought was how do we tell the cli what should be made available namespaced under this plugin. As an example for i18next we may want some generate lang de that generates German language. The lib is named installer in this case and so the cli would know to add it to the libs folder under an i18next directory and also have a way to extend the current list of commands so a dev could aurelia i18next generate lang de or something.

from registry.

plwalters avatar plwalters commented on September 4, 2024

Alright for now I am going to use this method until I hear otherwise :)

from registry.

plwalters avatar plwalters commented on September 4, 2024

Copying over @zewa666 's comment from the other issue -

Great, installing through JSPM would also be a better alternative to the current Github download approach.

With regards to cli what would you say if we expand that to an object which might contain the commands?

Like:

{
  "plugins": [
      {  
        "name": "i18next",
        "endpoint": "github",    // where to start looking?  github, npm, gist
        "location": "/zewa666/aurelia-i18next",   // where is it in the end point?
        "cli": {
          commands: {
            parse: 'NAME_OF_EXPORTED_METHOD_FROM_INDEX',
            nextCmd: '...'
          }
        }
      }
  ]
}

EDIT:
It would be also nice to include a property like demo with the path to a working example. Might be helpful for pages listing all plugins (like the FAQ)

from registry.

plwalters avatar plwalters commented on September 4, 2024

@zewa666 @ahmedshuhel @EisenbergEffect What do you guys think about including the cli plugins directly in the plugin registry instead of in a separate registry

from registry.

ahmedshuhel avatar ahmedshuhel commented on September 4, 2024

@PWKad I think it's an excellent idea under the circumstances. All the plugins are the part of larger Aurelia ecosystem. So having a common registry totally make sense.

from registry.

plwalters avatar plwalters commented on September 4, 2024

This issue is closed and we will incorporate the plugins into the main registry

from registry.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.