@storm-software/git-tools 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -3
- package/cli/index.js +24 -10
- package/cli/index.js.map +2 -2
- package/package.json +1 -1
- package/readme/templates/README.footer.md +2 -0
- package/readme/templates/README.header.md +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.10.0](https://github.com/storm-software/storm-ops/compare/git-tools-v1.9.5...git-tools-v1.10.0) (2023-11-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Added executors and generators sections to the readme-gen CLI ([99aacba](https://github.com/storm-software/storm-ops/commit/99aacba62747cef1347bc87a0fff35fb2ffb0bde))
|
|
7
|
+
|
|
1
8
|
## [1.9.5](https://github.com/storm-software/storm-ops/compare/git-tools-v1.9.4...git-tools-v1.9.5) (2023-11-29)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/
|
|
6
|
+
<div align="center"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/storm-banner.gif" width="100%" altText="Storm Software" /></div>
|
|
7
|
+
<br />
|
|
7
8
|
|
|
8
9
|
<div align="center">
|
|
9
10
|
<a href="https://stormsoftware.org" target="_blank">Website</a> | <a href="https://stormsoftware.org/contact" target="_blank">Contact</a> | <a href="https://github.com/storm-software/stormstack" target="_blank">Repository</a> | <a href="https://stormstack.github.io/stormstack/" target="_blank">Documentation</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=Feature Request%3A+">Request a Feature</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=documentation&template=documentation.yml&title=Documentation Request%3A+">Request Documentation</a> | <a href="https://github.com/storm-software/stormstack/discussions">Ask a Question</a>
|
|
@@ -15,10 +16,10 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
16
|
|
|
16
17
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
18
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
21
|
|
|
21
|
-
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️
|
|
22
|
+
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
<!-- markdownlint-restore -->
|
|
@@ -131,6 +132,8 @@ This project follows the [all-contributors](https://github.com/all-contributors/
|
|
|
131
132
|
<div align="center">
|
|
132
133
|
<img src="https://pub-e71cff0f90204755bc910518d63cacf8.r2.dev/logo-opengraph.gif" width="100%"/>
|
|
133
134
|
</div>
|
|
135
|
+
<br />
|
|
136
|
+
|
|
134
137
|
<div align="center">
|
|
135
138
|
<a href="https://www.patsullivan.org" target="_blank">Website</a> | <a href="https://www.patsullivan.org/contact" target="_blank">Contact</a> | <a href="https://linkedin.com/in/patrick-sullivan-865526b0" target="_blank">LinkedIn</a> | <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> | <a href="https://github.com/sullivanpj" target="_blank">GitHub</a> | <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
|
|
136
139
|
</div>
|
package/cli/index.js
CHANGED
|
@@ -194022,7 +194022,10 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194022
194022
|
result3 += `| \`string\` `;
|
|
194023
194023
|
}
|
|
194024
194024
|
if (schema.description) {
|
|
194025
|
-
result3 += `| ${schema.description
|
|
194025
|
+
result3 += `| ${schema.description.replaceAll(
|
|
194026
|
+
"`",
|
|
194027
|
+
"\\`"
|
|
194028
|
+
)} `;
|
|
194026
194029
|
} else {
|
|
194027
194030
|
result3 += `| `;
|
|
194028
194031
|
}
|
|
@@ -194031,7 +194034,8 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194031
194034
|
} else {
|
|
194032
194035
|
result3 += `| `;
|
|
194033
194036
|
}
|
|
194034
|
-
result3 +=
|
|
194037
|
+
result3 += ` |
|
|
194038
|
+
`;
|
|
194035
194039
|
}
|
|
194036
194040
|
return result3;
|
|
194037
194041
|
}).join();
|
|
@@ -194050,7 +194054,7 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194050
194054
|
`;
|
|
194051
194055
|
}
|
|
194052
194056
|
if (!description && executor.description) {
|
|
194053
|
-
description = `${executor.description}
|
|
194057
|
+
description = `${executor.description.replaceAll("`", "\\`")}
|
|
194054
194058
|
|
|
194055
194059
|
`;
|
|
194056
194060
|
}
|
|
@@ -194102,8 +194106,8 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194102
194106
|
if (schemaJson.properties && Object.keys(schemaJson.properties).length > 0) {
|
|
194103
194107
|
const required2 = schemaJson.required && Array.isArray(schemaJson.required) ? schemaJson.required : [];
|
|
194104
194108
|
result2 += "### Options\n\nThe following executor options are available:\n\n";
|
|
194105
|
-
result2 += "| Option | Type | Description | Default |";
|
|
194106
|
-
result2 += "| --------- | ------ | ------------- | --------- |";
|
|
194109
|
+
result2 += "| Option | Type | Description | Default | \n";
|
|
194110
|
+
result2 += "| --------- | ------ | ------------- | --------- | \n";
|
|
194107
194111
|
result2 += Object.entries(schemaJson.properties).map(([name2, schema]) => {
|
|
194108
194112
|
let resultSchema = "";
|
|
194109
194113
|
if (name2) {
|
|
@@ -194122,7 +194126,10 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194122
194126
|
resultSchema += `| \`string\` `;
|
|
194123
194127
|
}
|
|
194124
194128
|
if (schema.description) {
|
|
194125
|
-
resultSchema += `| ${schema.description
|
|
194129
|
+
resultSchema += `| ${schema.description.replaceAll(
|
|
194130
|
+
"`",
|
|
194131
|
+
"\\`"
|
|
194132
|
+
)} `;
|
|
194126
194133
|
} else {
|
|
194127
194134
|
resultSchema += `| `;
|
|
194128
194135
|
}
|
|
@@ -194131,7 +194138,8 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194131
194138
|
} else {
|
|
194132
194139
|
resultSchema += `| `;
|
|
194133
194140
|
}
|
|
194134
|
-
resultSchema +=
|
|
194141
|
+
resultSchema += ` |
|
|
194142
|
+
`;
|
|
194135
194143
|
}
|
|
194136
194144
|
return resultSchema;
|
|
194137
194145
|
}).join();
|
|
@@ -194152,7 +194160,10 @@ This generator can be used by executing the following examples in a command line
|
|
|
194152
194160
|
example += schemaJson.example.map((exampleCmd) => {
|
|
194153
194161
|
let resultCmd = "";
|
|
194154
194162
|
if (exampleCmd.description && typeof exampleCmd.description === "string") {
|
|
194155
|
-
resultCmd += `#### ${exampleCmd.description
|
|
194163
|
+
resultCmd += `#### ${exampleCmd.description.replaceAll(
|
|
194164
|
+
"`",
|
|
194165
|
+
"\\`"
|
|
194166
|
+
)}
|
|
194156
194167
|
|
|
194157
194168
|
`;
|
|
194158
194169
|
}
|
|
@@ -194175,7 +194186,10 @@ ${exampleCmd}
|
|
|
194175
194186
|
if (schemaJson.example.description && typeof schemaJson.example.description === "string") {
|
|
194176
194187
|
example = `### Example
|
|
194177
194188
|
|
|
194178
|
-
${schemaJson.example.description
|
|
194189
|
+
${schemaJson.example.description.replaceAll(
|
|
194190
|
+
"`",
|
|
194191
|
+
"\\`"
|
|
194192
|
+
)}
|
|
194179
194193
|
|
|
194180
194194
|
`;
|
|
194181
194195
|
} else {
|
|
@@ -194225,7 +194239,7 @@ nx g ${packageName}:${name}
|
|
|
194225
194239
|
`;
|
|
194226
194240
|
}
|
|
194227
194241
|
if (!description && generator.description) {
|
|
194228
|
-
description = `${generator.description}
|
|
194242
|
+
description = `${generator.description.replaceAll("`", "\\`")}
|
|
194229
194243
|
|
|
194230
194244
|
`;
|
|
194231
194245
|
}
|