collective / mrs-developer

NodeJS utility to checkout Git repositories as NPM dependencies
7 stars 3 forks source link

Support for override output directory per repository #40

Closed sneridagh closed 8 months ago

sneridagh commented 8 months ago

I'd like to use mrs-developer to "populate" Volto core monorepo packages folders.

So you can do: missdev --no-config --fetch-https

{
    "volto-light-theme": {
        "output": "addons",
        "package": "@kitconcept/volto-light-theme",
        "url": "git@github.com:kitconcept/volto-light-theme.git",
        "https": "https://github.com/kitconcept/volto-light-theme.git"
    }
}

And also open the door to have projects as monorepos:

{
    "core": {
        "output": "./",
        "package": "@plone/volto",
        "url": "git@github.com:plone/volto.git",
        "https": "https://github.com/plone/volto.git"
    },
    "volto-light-theme": {
        "output": "addons",
        "package": "@kitconcept/volto-light-theme",
        "url": "git@github.com:kitconcept/volto-light-theme.git",
        "https": "https://github.com/kitconcept/volto-light-theme.git"
    }
}

Although then we need to alter internal Volto dependencies too, might be mrs-developer the one to do it, or an script, we'll see.

sneridagh commented 8 months ago

@ebrehault @tiberiuichim could you please take a look?

sneridagh commented 8 months ago

@ebrehault can you release it? I can do it myself too, but don't know about the flow in this repo. Can I add release-it and towncrier?