@storm-software/git-tools 1.10.1 → 1.10.2
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/cli/index.js +20 -33
- package/cli/index.js.map +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.10.1](https://github.com/storm-software/storm-ops/compare/git-tools-v1.10.0...git-tools-v1.10.1) (2023-11-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issue with invalid schema json for tsup executor ([045560e](https://github.com/storm-software/storm-ops/commit/045560e2add5f4dc33be71148d63e4ecee496ced))
|
|
7
|
+
|
|
1
8
|
# [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
9
|
|
|
3
10
|
|
package/cli/index.js
CHANGED
|
@@ -193995,15 +193995,15 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
193995
193995
|
`;
|
|
193996
193996
|
}
|
|
193997
193997
|
if (schemaJson.description) {
|
|
193998
|
-
description = `${schemaJson.description}
|
|
193998
|
+
description = `${schemaJson.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
193999
193999
|
|
|
194000
194000
|
`;
|
|
194001
194001
|
}
|
|
194002
194002
|
required = schemaJson.required && Array.isArray(schemaJson.required) ? schemaJson.required : [];
|
|
194003
194003
|
if (schemaJson.properties && Object.keys(schemaJson.properties).length > 0) {
|
|
194004
194004
|
result2 += "### Options\n\nThe following executor options are available:\n\n";
|
|
194005
|
-
result2 += "| Option | Type | Description | Default |";
|
|
194006
|
-
result2 += "| --------- | ------ | ------------- | --------- |";
|
|
194005
|
+
result2 += "| Option | Type | Description | Default | \n";
|
|
194006
|
+
result2 += "| --------- | ------ | ------------- | --------- | \n";
|
|
194007
194007
|
result2 += Object.entries(schemaJson.properties).map(([name2, schema]) => {
|
|
194008
194008
|
let result3 = "";
|
|
194009
194009
|
if (name2) {
|
|
@@ -194022,10 +194022,7 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194022
194022
|
result3 += `| \`string\` `;
|
|
194023
194023
|
}
|
|
194024
194024
|
if (schema.description) {
|
|
194025
|
-
result3 += `| ${schema.description.replaceAll(
|
|
194026
|
-
"`",
|
|
194027
|
-
"\\`"
|
|
194028
|
-
)} `;
|
|
194025
|
+
result3 += `| ${schema.description.replaceAll("`", "\\`").replaceAll("*", "\\*")} `;
|
|
194029
194026
|
} else {
|
|
194030
194027
|
result3 += `| `;
|
|
194031
194028
|
}
|
|
@@ -194041,7 +194038,7 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194041
194038
|
}).join();
|
|
194042
194039
|
result2 += "\n\n";
|
|
194043
194040
|
if (required.length > 0) {
|
|
194044
|
-
result2 += `**Please note:**
|
|
194041
|
+
result2 += `**Please note:** _Option names followed by \\* above are required, and must be provided to run the executor._
|
|
194045
194042
|
|
|
194046
194043
|
`;
|
|
194047
194044
|
}
|
|
@@ -194054,7 +194051,7 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194054
194051
|
`;
|
|
194055
194052
|
}
|
|
194056
194053
|
if (!description && executor.description) {
|
|
194057
|
-
description = `${executor.description.replaceAll("`", "\\`")}
|
|
194054
|
+
description = `${executor.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
194058
194055
|
|
|
194059
194056
|
`;
|
|
194060
194057
|
}
|
|
@@ -194062,11 +194059,11 @@ var getExecutorMarkdown = (packageName, executorsJsonFile, executorsJson) => {
|
|
|
194062
194059
|
|
|
194063
194060
|
This executor can be used by executing the following in a command line utility:
|
|
194064
194061
|
|
|
194065
|
-
\`\`\`
|
|
194062
|
+
\`\`\`cmd
|
|
194066
194063
|
nx run my-project:${name}
|
|
194067
194064
|
\`\`\`
|
|
194068
194065
|
|
|
194069
|
-
**Please note:**
|
|
194066
|
+
**Please note:** _The ${name} executor should be included in the desired projects's \`project.json\` file.${required.length > 0 ? `All required options must be included in the \`options\` property of the json.` : ""}_
|
|
194070
194067
|
|
|
194071
194068
|
` + result2;
|
|
194072
194069
|
}).join("\n\n");
|
|
@@ -194099,7 +194096,7 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194099
194096
|
`;
|
|
194100
194097
|
}
|
|
194101
194098
|
if (schemaJson.description) {
|
|
194102
|
-
description = `${schemaJson.description}
|
|
194099
|
+
description = `${schemaJson.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
194103
194100
|
|
|
194104
194101
|
`;
|
|
194105
194102
|
}
|
|
@@ -194126,10 +194123,7 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194126
194123
|
resultSchema += `| \`string\` `;
|
|
194127
194124
|
}
|
|
194128
194125
|
if (schema.description) {
|
|
194129
|
-
resultSchema += `| ${schema.description.replaceAll(
|
|
194130
|
-
"`",
|
|
194131
|
-
"\\`"
|
|
194132
|
-
)} `;
|
|
194126
|
+
resultSchema += `| ${schema.description.replaceAll("`", "\\`").replaceAll("*", "\\*")} `;
|
|
194133
194127
|
} else {
|
|
194134
194128
|
resultSchema += `| `;
|
|
194135
194129
|
}
|
|
@@ -194145,7 +194139,7 @@ var getGeneratorMarkdown = (packageName, generatorsJsonFile, generatorsJson) =>
|
|
|
194145
194139
|
}).join();
|
|
194146
194140
|
result2 += "\n\n";
|
|
194147
194141
|
if (required2.length > 0) {
|
|
194148
|
-
result2 += `**Please note:**
|
|
194142
|
+
result2 += `**Please note:** _Option names followed by \\* above are required, and must be provided to run the executor._
|
|
194149
194143
|
|
|
194150
194144
|
`;
|
|
194151
194145
|
}
|
|
@@ -194160,22 +194154,18 @@ This generator can be used by executing the following examples in a command line
|
|
|
194160
194154
|
example += schemaJson.example.map((exampleCmd) => {
|
|
194161
194155
|
let resultCmd = "";
|
|
194162
194156
|
if (exampleCmd.description && typeof exampleCmd.description === "string") {
|
|
194163
|
-
resultCmd +=
|
|
194164
|
-
"`",
|
|
194165
|
-
"\\`"
|
|
194166
|
-
)}
|
|
194157
|
+
resultCmd += `${exampleCmd.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
194167
194158
|
|
|
194168
194159
|
`;
|
|
194169
194160
|
}
|
|
194170
194161
|
if (exampleCmd.command && typeof exampleCmd.command === "string") {
|
|
194171
|
-
resultCmd += `\`\`\`
|
|
194162
|
+
resultCmd += `\`\`\`cmd
|
|
194172
194163
|
${exampleCmd.command}
|
|
194173
194164
|
\`\`\`
|
|
194174
194165
|
|
|
194175
194166
|
`;
|
|
194176
194167
|
} else if (typeof exampleCmd === "string") {
|
|
194177
|
-
resultCmd += `\`\`\`
|
|
194178
|
-
${exampleCmd}
|
|
194168
|
+
resultCmd += `\`\`\`cmd n${exampleCmd}
|
|
194179
194169
|
\`\`\`
|
|
194180
194170
|
|
|
194181
194171
|
`;
|
|
@@ -194186,10 +194176,7 @@ ${exampleCmd}
|
|
|
194186
194176
|
if (schemaJson.example.description && typeof schemaJson.example.description === "string") {
|
|
194187
194177
|
example = `### Example
|
|
194188
194178
|
|
|
194189
|
-
${schemaJson.example.description.replaceAll(
|
|
194190
|
-
"`",
|
|
194191
|
-
"\\`"
|
|
194192
|
-
)}
|
|
194179
|
+
${schemaJson.example.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
194193
194180
|
|
|
194194
194181
|
`;
|
|
194195
194182
|
} else {
|
|
@@ -194199,7 +194186,7 @@ This generator can be used by executing the following in a command line utility:
|
|
|
194199
194186
|
|
|
194200
194187
|
`;
|
|
194201
194188
|
}
|
|
194202
|
-
example += `\`\`\`
|
|
194189
|
+
example += `\`\`\`cmd
|
|
194203
194190
|
${schemaJson.example.command}
|
|
194204
194191
|
\`\`\`
|
|
194205
194192
|
|
|
@@ -194210,7 +194197,7 @@ ${schemaJson.example.command}
|
|
|
194210
194197
|
This generator can be used by executing the following in a command line utility:
|
|
194211
194198
|
|
|
194212
194199
|
`;
|
|
194213
|
-
example += `\`\`\`
|
|
194200
|
+
example += `\`\`\`cmd
|
|
194214
194201
|
${schemaJson.example}
|
|
194215
194202
|
\`\`\`
|
|
194216
194203
|
|
|
@@ -194221,14 +194208,14 @@ ${schemaJson.example}
|
|
|
194221
194208
|
This generator can be used by executing the following in a command line utility:
|
|
194222
194209
|
|
|
194223
194210
|
`;
|
|
194224
|
-
example += `\`\`\`
|
|
194211
|
+
example += `\`\`\`cmd
|
|
194225
194212
|
nx g ${packageName}:${name}
|
|
194226
194213
|
\`\`\`
|
|
194227
194214
|
|
|
194228
194215
|
`;
|
|
194229
194216
|
}
|
|
194230
194217
|
if (required.length > 0) {
|
|
194231
|
-
example += "** Please note:**
|
|
194218
|
+
example += "** Please note:** _All required options must be included as parameters when calling the generator._ \n\n";
|
|
194232
194219
|
}
|
|
194233
194220
|
}
|
|
194234
194221
|
}
|
|
@@ -194239,7 +194226,7 @@ nx g ${packageName}:${name}
|
|
|
194239
194226
|
`;
|
|
194240
194227
|
}
|
|
194241
194228
|
if (!description && generator.description) {
|
|
194242
|
-
description = `${generator.description.replaceAll("`", "\\`")}
|
|
194229
|
+
description = `${generator.description.replaceAll("`", "\\`").replaceAll("*", "\\*")}
|
|
194243
194230
|
|
|
194244
194231
|
`;
|
|
194245
194232
|
}
|