@dekode/satis-generator
v0.7.6
Published
Build a Satis json config in a monorepo
Downloads
325
Readme
Satis generator
Commands
satis-generator publish # publish packages that have changed since the last release
satis-generator changed # list changed packages since the last release
satis-generator zip # build zips of released packages
satis-generator.json
{
"zipsDistUrl": "https://cdn.example.com",
"publishMessage": "chore(release): publish",
"branch": "main",
"satisFile": "satis.json",
"plugins": [],
"packages": ["plugins/*", "projects/*", "themes/*"],
"changelogFilename": "CHANGELOG.md",
"changelogTitle": "## Unreleased"
}
zipsDistUrl
: Public url to the zips.publishMessage
: Message in commit.branch
: Branch to do release from.satisFile
: Location of your satis json file.plugins
: Array of plugins to load.packages
: Array of globs to use as package locations.changelogFile
: Name of the changelog file in the package.changelogTitle
: Title used in the changelog on unreleased versions.
satis file
The script need a satis json file to work. When initializing a new project create
a satis.json
file and fill in the required keys.
example json file
{
"name": "example/packages",
"homepage": "https://example.com",
"description": "All my awesome packages",
"repositories": []
}