Skip to content

How to manage version of plugin? #441

@angelozerr

Description

@angelozerr

@marijnh I create this issue to know your opinion about version of plugin.

In tern.java I provides several version of dojotoolkit https://github.com/angelozerr/tern.dojotoolkit/tree/master/plugin 1.6, 1.8, 1.9 in other words I have 3 tern plugins dojotoolkit_1.6, dojotoolkit_1.8 and dojotoolkit_1.9.

Today if I want that those plugins can be consumed with tern- system (see https://github.com/marijnh/tern/blob/master/bin/tern#L104), I must create a git project per version. I tell me if it should be possible to improve the load of tern plugin tern- to support version too, in other words I will have one github project tern-dojotoolkit which hosts 3 versions and in the tern-project I could write :

{
  plugin: {dojotoolkit:{version: "1.6"}}
}

instead of writing :

{
  plugin: {dojotoolkit_1.6: {}}
}

@paulvi do you think it's possible to do that with node require?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions