@autorest/powershell 4.0.675 → 4.0.677
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/.rush/temp/package-deps_build.json +5 -5
- package/dist/generators/readme.d.ts.map +1 -1
- package/dist/generators/readme.js +0 -3
- package/dist/generators/readme.js.map +1 -1
- package/generators/readme.ts +0 -3
- package/package.json +1 -1
- package/resources/assets/tools/Resources/README.md +0 -3
- package/resources/psruntime/BuildTime/MarkdownRenderer.cs +1 -1
- package/resources/psruntime/BuildTime/Models/PsProxyTypes.cs +1 -1
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"powershell/generators/psm1.custom.ts": "68ad4aa17f5b867d4e471ef570f196e77ea23999",
|
|
23
23
|
"powershell/generators/psm1.internal.ts": "98829f795fb438d13780eb78bf84a97f473772cd",
|
|
24
24
|
"powershell/generators/psm1.ts": "b8de87fac32b95bf60efa4efc86352ce0babb879",
|
|
25
|
-
"powershell/generators/readme.ts": "
|
|
25
|
+
"powershell/generators/readme.ts": "7b6bd39f2b2984209d1bf4eab6a4f7707b1dc354",
|
|
26
26
|
"powershell/generators/script-cmdlet.ts": "bf8a72600f7fc351176ff510cb85bc5f38378bfb",
|
|
27
27
|
"powershell/internal/name-inferrer.ts": "8270005536a5462b6f3e998a3df4c1f112b221ec",
|
|
28
28
|
"powershell/internal/powershell-declarations.ts": "0cbb0c67b76cbefc1d962cd9952ca0c43cf693e5",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"powershell/models/model-extensions.ts": "f0c617b9bfb04b4424a853e1b1eecba9059ba788",
|
|
76
76
|
"powershell/module/module-class.ts": "2f8b0b4d28f59761dbe9a95bf7555c8ec0585387",
|
|
77
77
|
"powershell/module/module-namespace.ts": "f6afc90087e8d733f0323b0de8ba41d923955732",
|
|
78
|
-
"powershell/package.json": "
|
|
78
|
+
"powershell/package.json": "f5f5ed22b9afffc7040c305add7b394b08e2d24e",
|
|
79
79
|
"powershell/plugins/add-azure-completers-v2.ts": "3b1ddf7a067dbac2f07561fb3f6cbf1b66e555aa",
|
|
80
80
|
"powershell/plugins/create-commands-v2.ts": "f32d1501654f58ebd8bfe30f2aa3937c4cac45c2",
|
|
81
81
|
"powershell/plugins/cs-namer-v2.ts": "1b64031416f18b604950012b5683758adefce535",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"powershell/resources/assets/test/loadEnv.ps1": "1d350fe78c673fb88c577c04f61277ab75bdcf25",
|
|
116
116
|
"powershell/resources/assets/tools/Resources/.gitattributes": "2125666142eb661091cc5f32af2ed2f3fc65571d",
|
|
117
117
|
"powershell/resources/assets/tools/Resources/.gitignore": "8b93ac424812ec6872783420ed87e82d10f2242b",
|
|
118
|
-
"powershell/resources/assets/tools/Resources/README.md": "
|
|
118
|
+
"powershell/resources/assets/tools/Resources/README.md": "cdaf3a995a725177a11845056d23cfd14e2bb5c2",
|
|
119
119
|
"powershell/resources/assets/tools/Resources/custom/New-AzDeployment.ps1": "84228dd80a19b772f314d51d88fa53a409b753d3",
|
|
120
120
|
"powershell/resources/assets/tools/Resources/docs/README.md": "3b56cb561c1faa09c38cd1cce8553110175f0400",
|
|
121
121
|
"powershell/resources/assets/tools/Resources/examples/README.md": "ac871d71fc727e571a0eec3e0b02c21b045be88f",
|
|
@@ -222,13 +222,13 @@
|
|
|
222
222
|
"powershell/resources/psruntime/BuildTime/Cmdlets/GetModuleGuid.cs": "e8d5baed5d143fc557c4a3b0aefd14308f32fac2",
|
|
223
223
|
"powershell/resources/psruntime/BuildTime/Cmdlets/GetScriptCmdlet.cs": "1b136635ba83a4df5990669d0094092692b49b12",
|
|
224
224
|
"powershell/resources/psruntime/BuildTime/CollectionExtensions.cs": "c9e0c8a57c8d5affe7fa1b0da3a9bc1212609dc0",
|
|
225
|
-
"powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "
|
|
225
|
+
"powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "e8c3896a1b305d424abec25daefd9cb3549a694b",
|
|
226
226
|
"powershell/resources/psruntime/BuildTime/Models/PsFormatTypes.cs": "40fffed4474e6e4c2d7a057370a2aa036001b09a",
|
|
227
227
|
"powershell/resources/psruntime/BuildTime/Models/PsHelpMarkdownOutputs.cs": "056be554968d76667c0659d169f674ef5dbb74ed",
|
|
228
228
|
"powershell/resources/psruntime/BuildTime/Models/PsHelpTypes.cs": "34d832146757eab7d8e1bd3feba5d411577f388a",
|
|
229
229
|
"powershell/resources/psruntime/BuildTime/Models/PsMarkdownTypes.cs": "c2c068932d2e4ab31a46d566e7b24f357f68c6f8",
|
|
230
230
|
"powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs": "7c04bdae14142b93a1ddde2afefa36a85585b00e",
|
|
231
|
-
"powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "
|
|
231
|
+
"powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "1c1081400b0fac6e4d1be5fb6c3f23eeda7ef0ec",
|
|
232
232
|
"powershell/resources/psruntime/BuildTime/PsAttributes.cs": "06d994f77ab1052048edccf0d2b6ba7e6021ce0a",
|
|
233
233
|
"powershell/resources/psruntime/BuildTime/PsExtensions.cs": "52083232ddc161a0f41496cbdf979d709c490194",
|
|
234
234
|
"powershell/resources/psruntime/BuildTime/PsHelpers.cs": "c9bae00316dedb24a93eeebf73b2728fe9447494",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,wBAAsB,cAAc,CAAC,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,wBAAsB,cAAc,CAAC,OAAO,EAAE,OAAO,iBA+BpD"}
|
|
@@ -22,9 +22,6 @@ AutoRest does not generate authentication code for the module. Authentication is
|
|
|
22
22
|
This directory contains the PowerShell module for the ${project.serviceName} service.
|
|
23
23
|
|
|
24
24
|
---
|
|
25
|
-
## Status
|
|
26
|
-
[](https://www.powershellgallery.com/packages/${project.moduleName}/)
|
|
27
|
-
|
|
28
25
|
## Info
|
|
29
26
|
- Modifiable: yes
|
|
30
27
|
- Generated: all
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readme.js","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAGhG,qDAAiD;AAE1C,KAAK,UAAU,cAAc,CAAC,OAAgB;IACnD,MAAM,EAAE,GAAG,IAAI,gBAAM,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1E,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,IAAI,OAAO,CAAC,KAAK,EAAE;QACjB,SAAS,GAAG;;2FAE2E,OAAO,CAAC,sBAAsB;;;;CAIxH,CAAC;KACC;IAED,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,UAAU;wDACO,OAAO,CAAC,WAAW
|
|
1
|
+
{"version":3,"file":"readme.js","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAGhG,qDAAiD;AAE1C,KAAK,UAAU,cAAc,CAAC,OAAgB;IACnD,MAAM,EAAE,GAAG,IAAI,gBAAM,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1E,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,IAAI,OAAO,CAAC,KAAK,EAAE;QACjB,SAAS,GAAG;;2FAE2E,OAAO,CAAC,sBAAsB;;;;CAIxH,CAAC;KACC;IAED,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,UAAU;wDACO,OAAO,CAAC,WAAW;;;;;;;;;;;;EAYzE,SAAS;;0CAE+B,OAAO,CAAC,UAAU,iCAAiC,CAAC,CAAC;IAC7F,EAAE,CAAC,IAAI,EAAE,CAAC;IACV,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;AACnF,CAAC;AA/BD,wCA+BC"}
|
package/generators/readme.ts
CHANGED
|
@@ -23,9 +23,6 @@ AutoRest does not generate authentication code for the module. Authentication is
|
|
|
23
23
|
This directory contains the PowerShell module for the ${project.serviceName} service.
|
|
24
24
|
|
|
25
25
|
---
|
|
26
|
-
## Status
|
|
27
|
-
[](https://www.powershellgallery.com/packages/${project.moduleName}/)
|
|
28
|
-
|
|
29
26
|
## Info
|
|
30
27
|
- Modifiable: yes
|
|
31
28
|
- Generated: all
|
package/package.json
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
This directory contains the PowerShell module for the Resources service.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
|
-
## Status
|
|
7
|
-
[](https://www.powershellgallery.com/packages/Az.Resources.TestSupport/)
|
|
8
|
-
|
|
9
6
|
## Info
|
|
10
7
|
- Modifiable: yes
|
|
11
8
|
- Generated: all
|
|
@@ -94,7 +94,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
|
|
|
94
94
|
sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}");
|
|
95
95
|
foreach (var relatedLink in markdownInfo.RelatedLinks)
|
|
96
96
|
{
|
|
97
|
-
sb.Append($"{relatedLink}{Environment.NewLine}{Environment.NewLine}");
|
|
97
|
+
sb.Append($"[{relatedLink}]({relatedLink}){Environment.NewLine}{Environment.NewLine}");
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
File.WriteAllText(Path.Combine(docsFolder, $"{markdownInfo.CmdletName}.md"), sb.ToString());
|
|
@@ -308,7 +308,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
|
|
|
308
308
|
IsMandatory = ParameterAttribute.Mandatory;
|
|
309
309
|
|
|
310
310
|
var complexParameterName = ParameterName.ToUpperInvariant();
|
|
311
|
-
var complexMessage = $"{Environment.NewLine}
|
|
311
|
+
var complexMessage = $"{Environment.NewLine}.";
|
|
312
312
|
var description = ParameterAttribute.HelpMessage.NullIfEmpty() ?? HelpInfo.Description.NullIfEmpty() ?? InfoAttribute?.Description.NullIfEmpty() ?? String.Empty;
|
|
313
313
|
// Remove the complex type message as it will be reinserted if this is a complex type
|
|
314
314
|
description = description.NormalizeNewLines().Replace(complexMessage, String.Empty).Replace(complexMessage.ToPsSingleLine(), String.Empty);
|