Skip to content

WORK IN PROGRESS Automatically detects changed sub-packages and push subtree split repository to sub-package remote.

Notifications You must be signed in to change notification settings

bronek89/subpackager

Repository files navigation

SubPackager

Build Status

Application for tracking changes in sub-packages residing in one monorepo. Automatically detects changed sub-packages and push subtree split repository to sub-package remote.

Usage

Running subpackager run in repository root with configuration file named subpackager.json.

Example configuration

For repository with two subpackages lib/one and lib/two:

{
    "packages": [
        { "path": "lib/one", "repository": "https://github.com/lib/one.git" },
        { "path": "lib/two", "repository": "https://github.com/lib/two.git" }
    ]
}

Making changes in directory lib/one and executing:

subpackager run --from=HEAD^

will result in subtree split to branch split/lib_one and push to https://github.com/lib/one.git

License

MIT

About

WORK IN PROGRESS Automatically detects changed sub-packages and push subtree split repository to sub-package remote.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published