Gathering detailed insights and metrics for vz-changelog-generator-beta
Gathering detailed insights and metrics for vz-changelog-generator-beta
Gathering detailed insights and metrics for vz-changelog-generator-beta
Gathering detailed insights and metrics for vz-changelog-generator-beta
npm install vz-changelog-generator-beta
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67.7
Supply Chain
98
Quality
73.5
Maintenance
100
Vulnerability
73.9
License
Cumulative downloads
Total Downloads
Last day
0%
6
Compared to previous day
Last week
-14.3%
6
Compared to previous week
Last month
250%
14
Compared to previous month
Last year
-25.5%
117
Compared to previous year
28
Adobe Changelog Generator is the core package that is uses to generate changelog file.
$ aio plugins:install -g @adobe/aio-cli-plugin-changelog
$ # OR
$ aio discover -i
$ aio changelog --help...
$ aio config set <GITHUB_TOKEN>
aio changelog
Changelog generation tool
USAGE
$ aio changelog
OPTIONS
-c, --config-path=config-path Local config path
-n, --namespace=namespace [default: ] Namespace, example: organization/repository:branch
-t, --path-type=absolute|relative [default: absolute] Local config path type
EXAMPLE
$ aio changelog
{
"<organization>/<repository>:<branch>" {
"releaseLine": <from>..<to>@<version>:<filter>
"combine": {
"<organization>/<repository>:<branch>": {
"releaseLine": <from>..<to>@<version>:<filter>
},
"<organization>/<repository>:<branch>": {
"releaseLine": <from>..<to>@<version>:<filter>
}
},
"loader": {
"name": <loader-name>,
"config": {
"exclude": {
"<filter>": <filter-config>
},
"groupBy": {
"name": <group-name>,
"config": {
<configuration>
}
}
}
}
"output": {
"strategy": "<strategy-type>",
"template": "<template-name>",
"filename": "<file-name>",
"projectPath": "<project-path>"
}
}
}
<organization>/<repository>:<branch>
- combination of organization, repository and branch is named namespace. Config can contain multiple namespaces. Tool will asynchronously generate changelog for each namespace.
<organization>
- required<repository>
- required<branch>
- optionalcombine
- provide a list of related namespaces. In case if you project consist of multiple repositories and you want to create changelog that contains data from all repositories you should use this option.
releaseLine
- define from-to brackets to collect content.
<from>
- Starting point.tag
- Github tag. Example: 1.0.0hash
- Github commit hash. Example: fd7ebb1d0cd224e0957c035faafdffd9bd2b2b87date
- Date in ISO8601 format. Example: YYYY-MM-DDspecial-words
- application supports the list of predefined special-words:
now
- Current date and timecurrent
- Start date of ongoing version not released yet.start
- Start date of first existing release.<to>
- Ending point.tag
- Github tag. Example: 1.0.0hash
- Github commit hash. Example: fd7ebb1d0cd224e0957c035faafdffd9bd2b2b87date
- Date in ISO8601 format. Example: YYYY-MM-DDspecial-words
- application supports the list of predefined special-words:
now
- Current date and timecurrent
- Start date of ongoing version not released yet.start
- Start date of first existing release.<version>
- the version of ongoing release.patch
- Increment patch version of last release.minor
- Increment minor version of last release.major
- Increment major version of last release.version
- Custom version. Example: 1.0.1-custom.<filter>
- Filter RegExp. Optional. Use it for exclude some releases. Example: ^1.1loader
- responsible to load Pull Request or Issue data from Github. Required.
name
- loader name.
config
- loader config.
exclude
- excludes some data based on specific criteria. Optional.
<filter>
- name of the filter.
<filter-config>
- Specific filter configuration.groupBy
- group loaded data based on specific criteria. Optional.
name
- group name
config
- configuration specific to group typeoutput
- configuration of result file.
strategy
- responsible for output file. Will it be merged to an existing file or creating new one.
merge
create
format
- format of output file.
md
md
template
- required. Name of template.
filename
- required. Name of output file.projectPath
- required. Path to the project folder.<!--repeat_namespaces|scope_content-->
{{namespace|namespace_format:short|capitalize}}
=============
<!--repeat_releases-->
## {{tag}} ({{created_at|date_format:dd-MM-yy}}) {{repository}} or {{organization}} or {{branch}}
<!--repeat_contributionTypes-->
### {{contribution_type}}
<!--repeat_items-->
* [{{organization}}/{{repository}}#{{number}}](https://github.com/{{organization}}/{{repository}}/pull/{{number}})
-- {{title}} by [@{{author}}](https://github.com/{{author}})
<!--repeat_items_end-->
<!--repeat_contributionTypes_end-->
<!--repeat_releases_end-->
<!--repeat_namespaces_end-->
Repeats created to iterate list of entities.
<!--repeat_namespaces--> <!--repeat_namespaces_end-->
- Iterate namespaces.<!--repeat_releases--> <!--repeat_releases_end-->
- Iterate release versions.
repeat_namespaces
<!--repeat_contributionTypes--> <!--repeat_contributionTypes_end-->
- Iterate list of contribution types (Use it only if you use data grouping)
repeat_releases
<!--repeat_items--> <!--repeat_items_end-->
- Iterate list of items (Pull Requests, Issues, etc)
repeat_releases
or repeat_contributionTypes
Application provide the list of tags that are allowed to use in any template. The tags will be replaced to real data in the scope of changelog generation. The tags can mixed in any way to build custom template that will cover project needs.
{{namespace}}
- combination of Github organization, repository and branch
<organization>/<repository>:<branch>
repeat_namespaces
namespace_format
directive{{organization}}
- Github organization name
<organization>
repeat_namespaces
{{repository}}
- Github repository name
<repository>
repeat_namespaces
{{branch}}
- Github branch name
<repository>
repeat_namespaces
{{tag}}
- release version
<tag>
repeat_releases
{{created_at}}
- release version created_at
<yyyy-MM-dd>
repeat_releases
date_format
directive{{contribution_type}}
- item (PR/Issue) contribution type
<contribution_type>
repeat_contributionTypes
{{number}}
- item (PR/Issue) number
<number>
repeat_items
{{title}}
- item (PR/Issue) title
<text>
repeat_items
{{author}}
- item (PR/Issue) author
<author>
repeat_items
Directives used for modifying/transforming value.
Application allows use multiple directives on single data item. Directives will be applied from left to right.
Example: {{namespace|namespace_format:short|capitalize}}
Firstly will be applied namespace_format
directive and capitalize
next
namespace_format
- change view format of namespaces.
{{<namespace>|namespace_format:<option>}}
date_format
- change view format of date. Allowed to any date values.
{{<created_at>|date_format:<option>}}
capitalize
- Transform first letter in passed string. Allowed to any string values.
{{<namespace>|capitalize}}
Template repeat directives works like template directives but on repeats level.
scope_content
- system directive. The directive add invisible scope tags to output file.Application supports custom templates, for that you need:
<custom_name>.md
file in src/templates
folder.template repeats
, template tags
, template directives
.output.template
config option.<custom_name>.js
file in src/template-directives
folder.src/api/template-directive-interface
)<custom_name>.js
file in src/template-handlers
folder.src/api/template-handler-interface
)Application supports multiple type of declaration of version ranges, but you can simply create new one!
<custom_name>.js
file in src/release-parsers
folder.src/api/release-parsers-interface
)Application supports multiple type of declaration of version ranges, but you can simply create new one!
<custom_name>.js
file in src/writers
folder.src/api/changelog-writer-interface
)output.format
config option.Custom loaders allow you to collect specific set of data from Github.
<custom_name>.js
file in src/loades
folder.src/api/loader-interface
)loader.name
and loader.config
config options.Custom loader configuration example:
"loader": {
"name: "<customFileName>"
}
Filters are responsible for filter data received from loader.
<custom_name>.js
file in src/filters
folder.src/api/filter-interface
)loader.config.exclude
config option.Filters are responsible for filter data received from loader.
<custom_name>.js
file in src/groups
folder.
Note: The name of the file will be used as group name.loader.config.groupBy.name
config option. "groupBy": {
"name: "<customFileName>"
}
This project is maintained by Open Contribution Office.
No vulnerabilities found.
No security vulnerabilities found.