@pnp/cli-microsoft365 5.1.0 → 5.2.0-beta.307d8f5

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.
Files changed (275) hide show
  1. package/.mocharc.json +1 -0
  2. package/dist/Auth.js +2 -1
  3. package/dist/Command.js +10 -1
  4. package/dist/cli/Cli.js +2 -18
  5. package/dist/m365/aad/commands/user/user-signin-list.js +81 -0
  6. package/dist/m365/aad/commands.js +2 -1
  7. package/dist/m365/app/commands/app-get.js +3 -0
  8. package/dist/m365/cli/commands/cli-reconsent.js +20 -2
  9. package/dist/m365/cli/commands/config/config-set.js +1 -0
  10. package/dist/m365/pp/commands/environment/environment-list.js +57 -0
  11. package/dist/m365/pp/commands/managementapp/managementapp-list.js +24 -0
  12. package/dist/m365/pp/commands.js +3 -1
  13. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js +14 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +2 -0
  15. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.0.js +2 -0
  16. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +2 -0
  17. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.15.0-beta.1.js → upgrade-1.15.0-beta.6.js} +27 -27
  18. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.1.js +2 -0
  19. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.9.1.js +2 -0
  20. package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
  21. package/dist/m365/spfx/commands/spfx-doctor.js +1 -105
  22. package/dist/m365/spo/commands/file/file-checkout.js +2 -2
  23. package/dist/m365/spo/commands/site/site-remove.js +4 -3
  24. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +10 -44
  25. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +21 -0
  26. package/dist/m365/teams/commands/app/app-install.js +1 -1
  27. package/dist/m365/teams/commands/channel/channel-add.js +44 -14
  28. package/dist/m365/teams/commands/channel/channel-list.js +11 -1
  29. package/dist/m365/teams/commands/{conversationmember/conversationmember-add.js → channel/channel-member-add.js} +15 -22
  30. package/dist/m365/teams/commands/channel/channel-member-list.js +157 -0
  31. package/dist/m365/teams/commands/channel/channel-member-set.js +206 -0
  32. package/dist/m365/teams/commands/chat/chat-get.js +143 -0
  33. package/dist/m365/teams/commands/chat/chat-message-send.js +5 -30
  34. package/dist/m365/teams/commands/chat/chatUtil.js +62 -0
  35. package/dist/m365/teams/commands.js +4 -0
  36. package/dist/settingsNames.js +1 -0
  37. package/dist/utils/index.js +1 -0
  38. package/dist/utils/md.js +81 -0
  39. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +1 -1
  40. package/docs/docs/cmd/aad/group/group-list.md +1 -1
  41. package/docs/docs/cmd/aad/groupsetting/groupsetting-add.md +1 -1
  42. package/docs/docs/cmd/aad/groupsetting/groupsetting-get.md +1 -1
  43. package/docs/docs/cmd/aad/groupsetting/groupsetting-list.md +1 -1
  44. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.md +1 -1
  45. package/docs/docs/cmd/aad/groupsetting/groupsetting-set.md +1 -1
  46. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.md +1 -1
  47. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.md +1 -1
  48. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.md +1 -1
  49. package/docs/docs/cmd/aad/o365group/o365group-remove.md +1 -1
  50. package/docs/docs/cmd/aad/o365group/o365group-renew.md +1 -1
  51. package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.md +1 -1
  52. package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.md +1 -1
  53. package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.md +1 -1
  54. package/docs/docs/cmd/aad/o365group/o365group-teamify.md +1 -1
  55. package/docs/docs/cmd/aad/o365group/o365group-user-add.md +1 -1
  56. package/docs/docs/cmd/aad/o365group/o365group-user-remove.md +1 -1
  57. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.md +1 -1
  58. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.md +1 -1
  59. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.md +1 -1
  60. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.md +1 -1
  61. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.md +1 -1
  62. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.md +1 -1
  63. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.md +1 -1
  64. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.md +1 -1
  65. package/docs/docs/cmd/aad/sp/sp-get.md +1 -1
  66. package/docs/docs/cmd/aad/user/user-password-validate.md +1 -1
  67. package/docs/docs/cmd/aad/user/user-signin-list.md +81 -0
  68. package/docs/docs/cmd/cli/cli-doctor.md +1 -1
  69. package/docs/docs/cmd/flow/environment/environment-get.md +1 -1
  70. package/docs/docs/cmd/flow/environment/environment-list.md +1 -1
  71. package/docs/docs/cmd/flow/run/run-list.md +1 -1
  72. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +1 -1
  73. package/docs/docs/cmd/logout.md +1 -1
  74. package/docs/docs/cmd/onedrive/onedrive-list.md +1 -1
  75. package/docs/docs/cmd/planner/bucket/bucket-list.md +1 -1
  76. package/docs/docs/cmd/planner/task/task-list.md +1 -1
  77. package/docs/docs/cmd/pp/environment/environment-list.md +37 -0
  78. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +21 -0
  79. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  80. package/docs/docs/cmd/spfx/spfx-doctor.md +1 -1
  81. package/docs/docs/cmd/spo/app/app-add.md +1 -1
  82. package/docs/docs/cmd/spo/app/app-deploy.md +1 -1
  83. package/docs/docs/cmd/spo/app/app-get.md +1 -1
  84. package/docs/docs/cmd/spo/app/app-install.md +1 -1
  85. package/docs/docs/cmd/spo/app/app-instance-list.md +1 -1
  86. package/docs/docs/cmd/spo/app/app-list.md +1 -1
  87. package/docs/docs/cmd/spo/app/app-remove.md +1 -1
  88. package/docs/docs/cmd/spo/app/app-retract.md +1 -1
  89. package/docs/docs/cmd/spo/app/app-uninstall.md +1 -1
  90. package/docs/docs/cmd/spo/app/app-upgrade.md +1 -1
  91. package/docs/docs/cmd/spo/apppage/apppage-add.md +1 -1
  92. package/docs/docs/cmd/spo/cdn/cdn-get.md +1 -1
  93. package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +1 -1
  94. package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +1 -1
  95. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +1 -1
  96. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +1 -1
  97. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +1 -1
  98. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +1 -1
  99. package/docs/docs/cmd/spo/contenttype/contenttype-remove.md +1 -1
  100. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  101. package/docs/docs/cmd/spo/customaction/customaction-clear.md +1 -1
  102. package/docs/docs/cmd/spo/customaction/customaction-get.md +1 -1
  103. package/docs/docs/cmd/spo/customaction/customaction-list.md +1 -1
  104. package/docs/docs/cmd/spo/customaction/customaction-remove.md +1 -1
  105. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  106. package/docs/docs/cmd/spo/externaluser/externaluser-list.md +1 -1
  107. package/docs/docs/cmd/spo/feature/feature-list.md +1 -1
  108. package/docs/docs/cmd/spo/field/field-add.md +1 -1
  109. package/docs/docs/cmd/spo/field/field-get.md +1 -1
  110. package/docs/docs/cmd/spo/field/field-set.md +1 -1
  111. package/docs/docs/cmd/spo/file/file-add.md +1 -1
  112. package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
  113. package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
  114. package/docs/docs/cmd/spo/file/file-copy.md +1 -1
  115. package/docs/docs/cmd/spo/file/file-get.md +1 -1
  116. package/docs/docs/cmd/spo/file/file-move.md +1 -1
  117. package/docs/docs/cmd/spo/file/file-remove.md +1 -1
  118. package/docs/docs/cmd/spo/folder/folder-add.md +1 -1
  119. package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
  120. package/docs/docs/cmd/spo/folder/folder-get.md +1 -1
  121. package/docs/docs/cmd/spo/folder/folder-list.md +1 -1
  122. package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
  123. package/docs/docs/cmd/spo/folder/folder-remove.md +1 -1
  124. package/docs/docs/cmd/spo/folder/folder-rename.md +1 -1
  125. package/docs/docs/cmd/spo/group/group-user-add.md +1 -1
  126. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +1 -1
  127. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +1 -1
  128. package/docs/docs/cmd/spo/homesite/homesite-get.md +1 -1
  129. package/docs/docs/cmd/spo/homesite/homesite-set.md +1 -1
  130. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +1 -1
  131. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +1 -1
  132. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
  133. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +1 -1
  134. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +1 -1
  135. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +1 -1
  136. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +1 -1
  137. package/docs/docs/cmd/spo/hubsite/hubsite-theme-sync.md +1 -1
  138. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +1 -1
  139. package/docs/docs/cmd/spo/list/list-add.md +1 -1
  140. package/docs/docs/cmd/spo/list/list-contenttype-add.md +1 -1
  141. package/docs/docs/cmd/spo/list/list-contenttype-list.md +1 -1
  142. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +1 -1
  143. package/docs/docs/cmd/spo/list/list-get.md +1 -1
  144. package/docs/docs/cmd/spo/list/list-label-get.md +1 -1
  145. package/docs/docs/cmd/spo/list/list-label-set.md +1 -1
  146. package/docs/docs/cmd/spo/list/list-list.md +1 -1
  147. package/docs/docs/cmd/spo/list/list-remove.md +1 -1
  148. package/docs/docs/cmd/spo/list/list-set.md +1 -1
  149. package/docs/docs/cmd/spo/list/list-sitescript-get.md +1 -1
  150. package/docs/docs/cmd/spo/list/list-view-field-add.md +1 -1
  151. package/docs/docs/cmd/spo/list/list-view-field-remove.md +1 -1
  152. package/docs/docs/cmd/spo/list/list-view-get.md +1 -1
  153. package/docs/docs/cmd/spo/list/list-view-remove.md +1 -1
  154. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  155. package/docs/docs/cmd/spo/list/list-webhook-add.md +1 -1
  156. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  157. package/docs/docs/cmd/spo/list/list-webhook-list.md +1 -1
  158. package/docs/docs/cmd/spo/list/list-webhook-remove.md +1 -1
  159. package/docs/docs/cmd/spo/list/list-webhook-set.md +1 -1
  160. package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
  161. package/docs/docs/cmd/spo/listitem/listitem-list.md +2 -2
  162. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +1 -1
  163. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +1 -1
  164. package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
  165. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +1 -1
  166. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +1 -1
  167. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  168. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +1 -1
  169. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +1 -1
  170. package/docs/docs/cmd/spo/page/page-add.md +1 -1
  171. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +1 -1
  172. package/docs/docs/cmd/spo/page/page-column-get.md +1 -1
  173. package/docs/docs/cmd/spo/page/page-column-list.md +1 -1
  174. package/docs/docs/cmd/spo/page/page-control-get.md +1 -1
  175. package/docs/docs/cmd/spo/page/page-control-list.md +1 -1
  176. package/docs/docs/cmd/spo/page/page-list.md +1 -1
  177. package/docs/docs/cmd/spo/page/page-remove.md +1 -1
  178. package/docs/docs/cmd/spo/page/page-section-add.md +1 -1
  179. package/docs/docs/cmd/spo/page/page-section-get.md +1 -1
  180. package/docs/docs/cmd/spo/page/page-section-list.md +1 -1
  181. package/docs/docs/cmd/spo/page/page-set.md +1 -1
  182. package/docs/docs/cmd/spo/page/page-template-list.md +1 -1
  183. package/docs/docs/cmd/spo/page/page-text-add.md +1 -1
  184. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +1 -1
  185. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +1 -1
  186. package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +1 -1
  187. package/docs/docs/cmd/spo/propertybag/propertybag-set.md +1 -1
  188. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +1 -1
  189. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +1 -1
  190. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +1 -1
  191. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +1 -1
  192. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +1 -1
  193. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +1 -1
  194. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +1 -1
  195. package/docs/docs/cmd/spo/site/site-add.md +1 -1
  196. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +1 -1
  197. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +1 -1
  198. package/docs/docs/cmd/spo/site/site-classic-add.md +1 -1
  199. package/docs/docs/cmd/spo/site/site-commsite-enable.md +1 -1
  200. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.md +1 -1
  201. package/docs/docs/cmd/spo/site/site-set.md +1 -1
  202. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.md +1 -1
  203. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +1 -1
  204. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.md +1 -1
  205. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.md +1 -1
  206. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +1 -1
  207. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.md +1 -1
  208. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.md +1 -1
  209. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +1 -1
  210. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.md +1 -1
  211. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +1 -1
  212. package/docs/docs/cmd/spo/sitescript/sitescript-add.md +1 -1
  213. package/docs/docs/cmd/spo/sitescript/sitescript-get.md +1 -1
  214. package/docs/docs/cmd/spo/sitescript/sitescript-list.md +1 -1
  215. package/docs/docs/cmd/spo/sitescript/sitescript-remove.md +1 -1
  216. package/docs/docs/cmd/spo/sitescript/sitescript-set.md +1 -1
  217. package/docs/docs/cmd/spo/spo-get.md +1 -1
  218. package/docs/docs/cmd/spo/storageentity/storageentity-list.md +1 -1
  219. package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +1 -1
  220. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +1 -1
  221. package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +1 -1
  222. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +52 -33
  223. package/docs/docs/cmd/spo/term/term-add.md +1 -1
  224. package/docs/docs/cmd/spo/term/term-get.md +1 -1
  225. package/docs/docs/cmd/spo/term/term-group-add.md +1 -1
  226. package/docs/docs/cmd/spo/term/term-group-get.md +1 -1
  227. package/docs/docs/cmd/spo/term/term-group-list.md +1 -1
  228. package/docs/docs/cmd/spo/term/term-list.md +1 -1
  229. package/docs/docs/cmd/spo/term/term-set-add.md +1 -1
  230. package/docs/docs/cmd/spo/term/term-set-get.md +1 -1
  231. package/docs/docs/cmd/spo/term/term-set-list.md +1 -1
  232. package/docs/docs/cmd/spo/theme/theme-apply.md +1 -1
  233. package/docs/docs/cmd/spo/theme/theme-get.md +1 -1
  234. package/docs/docs/cmd/spo/theme/theme-list.md +1 -1
  235. package/docs/docs/cmd/spo/theme/theme-remove.md +1 -1
  236. package/docs/docs/cmd/spo/user/user-remove.md +1 -1
  237. package/docs/docs/cmd/spo/web/web-add.md +1 -1
  238. package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.md +1 -1
  239. package/docs/docs/cmd/spo/web/web-get.md +1 -1
  240. package/docs/docs/cmd/spo/web/web-list.md +1 -1
  241. package/docs/docs/cmd/spo/web/web-reindex.md +1 -1
  242. package/docs/docs/cmd/spo/web/web-remove.md +1 -1
  243. package/docs/docs/cmd/teams/app/app-publish.md +1 -1
  244. package/docs/docs/cmd/teams/app/app-remove.md +1 -1
  245. package/docs/docs/cmd/teams/app/app-uninstall.md +1 -1
  246. package/docs/docs/cmd/teams/channel/channel-add.md +18 -0
  247. package/docs/docs/cmd/teams/channel/channel-list.md +12 -3
  248. package/docs/docs/cmd/teams/{conversationmember/conversationmember-add.md → channel/channel-member-add.md} +10 -4
  249. package/docs/docs/cmd/teams/channel/channel-member-list.md +54 -0
  250. package/docs/docs/cmd/teams/channel/channel-member-set.md +51 -0
  251. package/docs/docs/cmd/teams/channel/channel-set.md +1 -1
  252. package/docs/docs/cmd/teams/chat/chat-get.md +53 -0
  253. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +1 -1
  254. package/docs/docs/cmd/teams/guestsettings/guestsettings-set.md +1 -1
  255. package/docs/docs/cmd/teams/membersettings/membersettings-list.md +1 -1
  256. package/docs/docs/cmd/teams/membersettings/membersettings-set.md +1 -1
  257. package/docs/docs/cmd/teams/message/message-get.md +1 -1
  258. package/docs/docs/cmd/teams/message/message-reply-list.md +1 -1
  259. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +1 -1
  260. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +1 -1
  261. package/docs/docs/cmd/teams/report/report-pstncalls.md +1 -1
  262. package/docs/docs/cmd/teams/tab/tab-list.md +1 -1
  263. package/docs/docs/cmd/teams/team/team-archive.md +1 -1
  264. package/docs/docs/cmd/teams/team/team-clone.md +1 -1
  265. package/docs/docs/cmd/teams/team/team-get.md +1 -1
  266. package/docs/docs/cmd/teams/team/team-list.md +1 -1
  267. package/docs/docs/cmd/teams/team/team-remove.md +1 -1
  268. package/docs/docs/cmd/teams/team/team-set.md +1 -1
  269. package/docs/docs/cmd/teams/team/team-unarchive.md +1 -1
  270. package/docs/docs/cmd/todo/task/task-list.md +1 -1
  271. package/docs/docs/cmd/todo/task/task-set.md +1 -1
  272. package/npm-shrinkwrap.json +24 -738
  273. package/package.json +5 -4
  274. package/dist/m365/teams/commands/conversationmember/conversationmember-list.js +0 -164
  275. package/docs/docs/cmd/teams/conversationmember/conversationmember-list.md +0 -39
package/.mocharc.json CHANGED
@@ -5,5 +5,6 @@
5
5
  "spec": "dist/**/*.spec.js",
6
6
  "require": "source-map-support/register",
7
7
  "watch": "dist/**/*.js",
8
+ "timeout": 10000,
8
9
  "logpanel": true
9
10
  }
package/dist/Auth.js CHANGED
@@ -301,7 +301,8 @@ class Auth {
301
301
  logger.logToStderr('');
302
302
  }
303
303
  logger.log(response.message);
304
- if (cli_1.Cli.getInstance().getSettingWithDefaultValue(settingsNames_1.settingsNames.autoOpenBrowserOnLogin, false)) {
304
+ if (cli_1.Cli.getInstance().getSettingWithDefaultValue(settingsNames_1.settingsNames.autoOpenBrowserOnLogin, false)
305
+ || cli_1.Cli.getInstance().getSettingWithDefaultValue(settingsNames_1.settingsNames.autoOpenLinksInBrowser, false)) {
305
306
  // _open is never set before hitting this line, but this check
306
307
  // is implemented so that we can support lazy loading
307
308
  // but also stub it for testing
package/dist/Command.js CHANGED
@@ -47,6 +47,10 @@ class Command {
47
47
  logger.logToStderr(chalk.yellow(`Command '${deprecated}' is deprecated. Please use '${recommended}' instead`));
48
48
  }
49
49
  }
50
+ warn(logger, warning) {
51
+ const chalk = require('chalk');
52
+ logger.logToStderr(chalk.yellow(warning));
53
+ }
50
54
  getUsedCommandName() {
51
55
  const cli = cli_1.Cli.getInstance();
52
56
  const commandName = this.getCommandName();
@@ -144,7 +148,12 @@ class Command {
144
148
  return __awaiter(this, void 0, void 0, function* () {
145
149
  });
146
150
  }
147
- getCommandName() {
151
+ getCommandName(alias) {
152
+ var _a;
153
+ if (alias &&
154
+ ((_a = this.alias()) === null || _a === void 0 ? void 0 : _a.includes(alias))) {
155
+ return alias;
156
+ }
148
157
  let commandName = this.name;
149
158
  let pos = commandName.indexOf('<');
150
159
  const pos1 = commandName.indexOf('[');
package/dist/cli/Cli.js CHANGED
@@ -202,7 +202,7 @@ class Cli {
202
202
  // the command to execute
203
203
  const cli = Cli.getInstance();
204
204
  const parentCommandName = cli.currentCommandName;
205
- cli.currentCommandName = command.getCommandName();
205
+ cli.currentCommandName = command.getCommandName(cli.currentCommandName);
206
206
  command.action(logger, args, (err) => {
207
207
  // restore the original command name
208
208
  cli.currentCommandName = parentCommandName;
@@ -586,23 +586,7 @@ class Cli {
586
586
  helpFilePath = path.join(...pathChunks);
587
587
  if (fs.existsSync(helpFilePath)) {
588
588
  Cli.log();
589
- // because of prism, loading markshell slows down CLI a lot
590
- // let's lazy-load it only when it's needed (help was requested)
591
- const markshell = require('markshell');
592
- const chalk = require('chalk');
593
- const theme = markshell.getTheme();
594
- const admonitionStyles = theme.admonitions.getStyles();
595
- admonitionStyles.indent.beforeIndent = 0;
596
- admonitionStyles.indent.titleIndent = 3;
597
- admonitionStyles.indent.afterIndent = 0;
598
- theme.admonitions.setStyles(admonitionStyles);
599
- theme.indents.definitionList = 2;
600
- theme.headline = chalk.white;
601
- theme.inlineCode = chalk.cyan;
602
- theme.sourceCodeTheme = 'solarizelight';
603
- theme.includePath = path.join(this.commandsFolder, '..', '..', 'docs');
604
- markshell.setTheme(theme);
605
- Cli.log(markshell.toRawContent(helpFilePath));
589
+ Cli.log(utils_1.md.md2plain(fs.readFileSync(helpFilePath, 'utf8'), path.join(this.commandsFolder, '..', '..', 'docs')));
606
590
  }
607
591
  }
608
592
  printAvailableCommands() {
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const utils_1 = require("../../../../utils");
4
+ const GraphCommand_1 = require("../../../base/GraphCommand");
5
+ const commands_1 = require("../../commands");
6
+ class AadUserSigninListCommand extends GraphCommand_1.default {
7
+ get name() {
8
+ return commands_1.default.USER_SIGNIN_LIST;
9
+ }
10
+ get description() {
11
+ return 'Retrieves the Azure AD user sign-ins for the tenant';
12
+ }
13
+ getTelemetryProperties(args) {
14
+ const telemetryProps = super.getTelemetryProperties(args);
15
+ telemetryProps.userName = typeof args.options.userName !== 'undefined';
16
+ telemetryProps.userId = typeof args.options.userId !== 'undefined';
17
+ telemetryProps.appDisplayName = typeof args.options.appDisplayName !== 'undefined';
18
+ telemetryProps.appId = typeof args.options.appId !== 'undefined';
19
+ return telemetryProps;
20
+ }
21
+ defaultProperties() {
22
+ return ['id', 'userPrincipalName', 'appId', 'appDisplayName', 'createdDateTime'];
23
+ }
24
+ commandAction(logger, args, cb) {
25
+ let endpoint = `${this.resource}/v1.0/auditLogs/signIns`;
26
+ let filter = "";
27
+ if (args.options.userName || args.options.userId) {
28
+ filter = args.options.userId ?
29
+ `?$filter=userId eq '${encodeURIComponent(args.options.userId)}'` :
30
+ `?$filter=userPrincipalName eq '${encodeURIComponent(args.options.userName)}'`;
31
+ }
32
+ if (args.options.appId || args.options.appDisplayName) {
33
+ filter += filter ? " and " : "?$filter=";
34
+ filter += args.options.appId ?
35
+ `appId eq '${encodeURIComponent(args.options.appId)}'` :
36
+ `appDisplayName eq '${encodeURIComponent(args.options.appDisplayName)}'`;
37
+ }
38
+ endpoint += filter;
39
+ utils_1.odata
40
+ .getAllItems(endpoint, logger)
41
+ .then((signins) => {
42
+ logger.log(signins);
43
+ cb();
44
+ }, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
45
+ }
46
+ options() {
47
+ const options = [
48
+ {
49
+ option: '-n, --userName [userName]'
50
+ },
51
+ {
52
+ option: '--userId [userId]'
53
+ },
54
+ {
55
+ option: '--appDisplayName [appDisplayName]'
56
+ },
57
+ {
58
+ option: '--appId [appId]'
59
+ }
60
+ ];
61
+ const parentOptions = super.options();
62
+ return options.concat(parentOptions);
63
+ }
64
+ validate(args) {
65
+ if (args.options.userId && args.options.userName) {
66
+ return 'Specify either userId or userName, but not both';
67
+ }
68
+ if (args.options.appId && args.options.appDisplayName) {
69
+ return 'Specify either appId or appDisplayName, but not both';
70
+ }
71
+ if (args.options.userId && !utils_1.validation.isValidGuid(args.options.userId)) {
72
+ return `${args.options.userId} is not a valid GUID`;
73
+ }
74
+ if (args.options.appId && !utils_1.validation.isValidGuid(args.options.appId)) {
75
+ return `${args.options.appId} is not a valid GUID`;
76
+ }
77
+ return true;
78
+ }
79
+ }
80
+ module.exports = new AadUserSigninListCommand();
81
+ //# sourceMappingURL=user-signin-list.js.map
@@ -59,6 +59,7 @@ exports.default = {
59
59
  USER_HIBP: `${prefix} user hibp`,
60
60
  USER_LIST: `${prefix} user list`,
61
61
  USER_PASSWORD_VALIDATE: `${prefix} user password validate`,
62
- USER_SET: `${prefix} user set`
62
+ USER_SET: `${prefix} user set`,
63
+ USER_SIGNIN_LIST: `${prefix} user signin list`
63
64
  };
64
65
  //# sourceMappingURL=commands.js.map
@@ -21,6 +21,9 @@ class AppGetCommand extends AppCommand_1.default {
21
21
  cli_1.Cli
22
22
  .executeCommandWithOutput(AadAppGetCommand, { options: Object.assign(Object.assign({}, options), { _: [] }) })
23
23
  .then((appGetOutput) => {
24
+ if (this.verbose) {
25
+ logger.logToStderr(appGetOutput.stderr);
26
+ }
24
27
  logger.log(JSON.parse(appGetOutput.stdout));
25
28
  cb();
26
29
  }, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const cli_1 = require("../../../cli");
3
4
  const config_1 = require("../../../config");
5
+ const settingsNames_1 = require("../../../settingsNames");
4
6
  const AnonymousCommand_1 = require("../../base/AnonymousCommand");
5
7
  const commands_1 = require("../commands");
6
8
  class CliReconsentCommand extends AnonymousCommand_1.default {
@@ -11,8 +13,24 @@ class CliReconsentCommand extends AnonymousCommand_1.default {
11
13
  return 'Returns Azure AD URL to open in the browser to re-consent CLI for Microsoft 365 permissions';
12
14
  }
13
15
  commandAction(logger, args, cb) {
14
- logger.log(`To re-consent the PnP Microsoft 365 Management Shell Azure AD application navigate in your web browser to https://login.microsoftonline.com/${config_1.default.tenant}/oauth2/authorize?client_id=${config_1.default.cliAadAppId}&response_type=code&prompt=admin_consent`);
15
- cb();
16
+ const url = `https://login.microsoftonline.com/${config_1.default.tenant}/oauth2/authorize?client_id=${config_1.default.cliAadAppId}&response_type=code&prompt=admin_consent`;
17
+ if (cli_1.Cli.getInstance().getSettingWithDefaultValue(settingsNames_1.settingsNames.autoOpenLinksInBrowser, false) === false) {
18
+ logger.log(`To re-consent the PnP Microsoft 365 Management Shell Azure AD application navigate in your web browser to ${url}`);
19
+ return cb();
20
+ }
21
+ logger.log(`Opening the following page in your browser: ${url}`);
22
+ // _open is never set before hitting this line, but this check
23
+ // is implemented so that we can support lazy loading
24
+ // but also stub it for testing
25
+ /* c8 ignore next 3 */
26
+ if (!this._open) {
27
+ this._open = require('open');
28
+ }
29
+ this._open(url).then(() => {
30
+ cb();
31
+ }, (error) => {
32
+ this.handleRejectedODataJsonPromise(error, logger, cb);
33
+ });
16
34
  }
17
35
  }
18
36
  module.exports = new CliReconsentCommand();
@@ -20,6 +20,7 @@ class CliConfigSetCommand extends AnonymousCommand_1.default {
20
20
  let value = undefined;
21
21
  switch (args.options.key) {
22
22
  case settingsNames_1.settingsNames.autoOpenBrowserOnLogin:
23
+ case settingsNames_1.settingsNames.autoOpenLinksInBrowser:
23
24
  case settingsNames_1.settingsNames.copyDeviceCodeToClipboard:
24
25
  case settingsNames_1.settingsNames.csvHeader:
25
26
  case settingsNames_1.settingsNames.csvQuoted:
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const request_1 = require("../../../../request");
4
+ const PowerPlatformCommand_1 = require("../../../base/PowerPlatformCommand");
5
+ const commands_1 = require("../../commands");
6
+ class PpEnvironmentListCommand extends PowerPlatformCommand_1.default {
7
+ get name() {
8
+ return commands_1.default.ENVIRONMENT_LIST;
9
+ }
10
+ get description() {
11
+ return 'Lists Microsoft Power Platform environments';
12
+ }
13
+ defaultProperties() {
14
+ return ['name', 'displayName'];
15
+ }
16
+ commandAction(logger, args, cb) {
17
+ if (this.verbose) {
18
+ logger.logToStderr(`Retrieving list of Microsoft Power Platform environments...`);
19
+ }
20
+ let url = '';
21
+ if (args.options.asAdmin) {
22
+ url = `${this.resource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments`;
23
+ }
24
+ else {
25
+ url = `${this.resource}/providers/Microsoft.BusinessAppPlatform/environments`;
26
+ }
27
+ const requestOptions = {
28
+ url: `${url}?api-version=2020-10-01`,
29
+ headers: {
30
+ accept: 'application/json'
31
+ },
32
+ responseType: 'json'
33
+ };
34
+ request_1.default
35
+ .get(requestOptions)
36
+ .then((res) => {
37
+ if (res.value && res.value.length > 0) {
38
+ res.value.forEach(e => {
39
+ e.displayName = e.properties.displayName;
40
+ });
41
+ logger.log(res.value);
42
+ }
43
+ cb();
44
+ }, (rawRes) => this.handleRejectedODataJsonPromise(rawRes, logger, cb));
45
+ }
46
+ options() {
47
+ const options = [
48
+ {
49
+ option: '-a, --asAdmin [teamId]'
50
+ }
51
+ ];
52
+ const parentOptions = super.options();
53
+ return options.concat(parentOptions);
54
+ }
55
+ }
56
+ module.exports = new PpEnvironmentListCommand();
57
+ //# sourceMappingURL=environment-list.js.map
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const utils_1 = require("../../../../utils");
4
+ const PowerPlatformCommand_1 = require("../../../base/PowerPlatformCommand");
5
+ const commands_1 = require("../../commands");
6
+ class PpManagementAppListCommand extends PowerPlatformCommand_1.default {
7
+ get name() {
8
+ return commands_1.default.MANAGEMENTAPP_LIST;
9
+ }
10
+ get description() {
11
+ return 'Lists management applications for Power Platform';
12
+ }
13
+ commandAction(logger, args, cb) {
14
+ const endpoint = `${this.resource}/providers/Microsoft.BusinessAppPlatform/adminApplications?api-version=2020-06-01`;
15
+ utils_1.odata
16
+ .getAllItems(endpoint, logger)
17
+ .then((managementApps) => {
18
+ logger.log(managementApps);
19
+ cb();
20
+ }, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
21
+ }
22
+ }
23
+ module.exports = new PpManagementAppListCommand();
24
+ //# sourceMappingURL=managementapp-list.js.map
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const prefix = 'pp';
4
4
  exports.default = {
5
- MANAGEMENTAPP_ADD: `${prefix} managementapp add`
5
+ ENVIRONMENT_LIST: `${prefix} environment list`,
6
+ MANAGEMENTAPP_ADD: `${prefix} managementapp add`,
7
+ MANAGEMENTAPP_LIST: `${prefix} managementapp list`
6
8
  };
7
9
  //# sourceMappingURL=commands.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FN002019_DEVDEP_spfx_fast_serve_helpers = void 0;
4
+ const DependencyRule_1 = require("./DependencyRule");
5
+ class FN002019_DEVDEP_spfx_fast_serve_helpers extends DependencyRule_1.DependencyRule {
6
+ constructor(packageVersion) {
7
+ super('spfx-fast-serve-helpers', packageVersion, true, true);
8
+ }
9
+ get id() {
10
+ return 'FN002019';
11
+ }
12
+ }
13
+ exports.FN002019_DEVDEP_spfx_fast_serve_helpers = FN002019_DEVDEP_spfx_fast_serve_helpers;
14
+ //# sourceMappingURL=FN002019_DEVDEP_spfx_fast_serve_helpers.js.map
@@ -34,6 +34,7 @@ const FN002014_DEVDEP_types_es6_promise_1 = require("./rules/FN002014_DEVDEP_typ
34
34
  const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
35
35
  const FN002016_DEVDEP_types_react_dom_1 = require("./rules/FN002016_DEVDEP_types_react_dom");
36
36
  const FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7_1 = require("./rules/FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7");
37
+ const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
37
38
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
38
39
  const FN012013_TSC_exclude_1 = require("./rules/FN012013_TSC_exclude");
39
40
  const FN012017_TSC_extends_1 = require("./rules/FN012017_TSC_extends");
@@ -77,6 +78,7 @@ module.exports = [
77
78
  new FN002014_DEVDEP_types_es6_promise_1.FN002014_DEVDEP_types_es6_promise('', false),
78
79
  new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('16.9.36'),
79
80
  new FN002016_DEVDEP_types_react_dom_1.FN002016_DEVDEP_types_react_dom('16.9.8'),
81
+ new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.12.0'),
80
82
  new FN010001_YORC_version_1.FN010001_YORC_version('1.12.0'),
81
83
  new FN012013_TSC_exclude_1.FN012013_TSC_exclude([], false),
82
84
  new FN012017_TSC_extends_1.FN012017_TSC_extends('./node_modules/@microsoft/rush-stack-compiler-3.7/includes/tsconfig-web.json'),
@@ -29,6 +29,7 @@ const FN002009_DEVDEP_microsoft_sp_tslint_rules_1 = require("./rules/FN002009_DE
29
29
  const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
30
30
  const FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7_1 = require("./rules/FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7");
31
31
  const FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9_1 = require("./rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9");
32
+ const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
32
33
  const FN006004_CFG_PS_developer_1 = require("./rules/FN006004_CFG_PS_developer");
33
34
  const FN007002_CFG_S_initialPage_1 = require("./rules/FN007002_CFG_S_initialPage");
34
35
  const FN007003_CFG_S_api_1 = require("./rules/FN007003_CFG_S_api");
@@ -68,6 +69,7 @@ module.exports = [
68
69
  new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('16.9.51'),
69
70
  new FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7_1.FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7('', false),
70
71
  new FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9_1.FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9('0.4.47'),
72
+ new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.13.0'),
71
73
  new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.13.0'),
72
74
  new FN007002_CFG_S_initialPage_1.FN007002_CFG_S_initialPage('https://enter-your-SharePoint-site/_layouts/workbench.aspx'),
73
75
  new FN007003_CFG_S_api_1.FN007003_CFG_S_api(),
@@ -22,6 +22,7 @@ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_m
22
22
  const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
23
23
  const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
24
24
  const FN002009_DEVDEP_microsoft_sp_tslint_rules_1 = require("./rules/FN002009_DEVDEP_microsoft_sp_tslint_rules");
25
+ const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
25
26
  const FN006004_CFG_PS_developer_1 = require("./rules/FN006004_CFG_PS_developer");
26
27
  const FN006005_CFG_PS_metadata_1 = require("./rules/FN006005_CFG_PS_metadata");
27
28
  const FN006006_CFG_PS_features_1 = require("./rules/FN006006_CFG_PS_features");
@@ -50,6 +51,7 @@ module.exports = [
50
51
  new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.14.0'),
51
52
  new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.14.0'),
52
53
  new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('1.14.0'),
54
+ new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.14.0'),
53
55
  new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.14.0'),
54
56
  new FN006005_CFG_PS_metadata_1.FN006005_CFG_PS_metadata(),
55
57
  new FN006006_CFG_PS_features_1.FN006006_CFG_PS_features(),
@@ -30,34 +30,34 @@ const FN006004_CFG_PS_developer_1 = require("./rules/FN006004_CFG_PS_developer")
30
30
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
31
31
  const FN023002_GITIGNORE_heft_1 = require("./rules/FN023002_GITIGNORE_heft");
32
32
  module.exports = [
33
- new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.15.0-beta.1'),
34
- new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.15.0-beta.1'),
35
- new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.15.0-beta.1'),
36
- new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.15.0-beta.1'),
37
- new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.15.0-beta.1'),
38
- new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.15.0-beta.1'),
39
- new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.15.0-beta.1'),
40
- new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.15.0-beta.1'),
41
- new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.15.0-beta.1'),
42
- new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('7.181.1'),
43
- new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.15.0-beta.1'),
44
- new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.15.0-beta.1'),
45
- new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.15.0-beta.1'),
46
- new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.15.0-beta.1'),
47
- new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.15.0-beta.1'),
48
- new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.15.0-beta.1'),
49
- new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.15.0-beta.1'),
50
- new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.15.0-beta.1'),
51
- new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.15.0-beta.1'),
52
- new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.15.0-beta.1'),
53
- new FN001033_DEP_tslib_1.FN001033_DEP_tslib('1.13.0'),
54
- new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.15.0-beta.1'),
55
- new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.15.0-beta.1'),
33
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.15.0-beta.6'),
34
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.15.0-beta.6'),
35
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.15.0-beta.6'),
36
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.15.0-beta.6'),
37
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.15.0-beta.6'),
38
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.15.0-beta.6'),
39
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.15.0-beta.6'),
40
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.15.0-beta.6'),
41
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.15.0-beta.6'),
42
+ new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('7.183.1'),
43
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.15.0-beta.6'),
44
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.15.0-beta.6'),
45
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.15.0-beta.6'),
46
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.15.0-beta.6'),
47
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.15.0-beta.6'),
48
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.15.0-beta.6'),
49
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.15.0-beta.6'),
50
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.15.0-beta.6'),
51
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.15.0-beta.6'),
52
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.15.0-beta.6'),
53
+ new FN001033_DEP_tslib_1.FN001033_DEP_tslib('2.3.1'),
54
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.15.0-beta.6'),
55
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.15.0-beta.6'),
56
56
  new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('6.12.5'),
57
- new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('1.15.0-beta.1'),
57
+ new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('1.15.0-beta.6'),
58
58
  new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('1.15.2'),
59
- new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.15.0-beta.1'),
60
- new FN010001_YORC_version_1.FN010001_YORC_version('1.15.0-beta.1'),
59
+ new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.15.0-beta.6'),
60
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.15.0-beta.6'),
61
61
  new FN023002_GITIGNORE_heft_1.FN023002_GITIGNORE_heft()
62
62
  ];
63
- //# sourceMappingURL=upgrade-1.15.0-beta.1.js.map
63
+ //# sourceMappingURL=upgrade-1.15.0-beta.6.js.map
@@ -18,6 +18,7 @@ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_m
18
18
  const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
19
19
  const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
20
20
  const FN002003_DEVDEP_microsoft_sp_webpart_workbench_1 = require("./rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench");
21
+ const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
21
22
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
22
23
  module.exports = [
23
24
  new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.4.1'),
@@ -38,6 +39,7 @@ module.exports = [
38
39
  new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.4.1'),
39
40
  new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.4.1'),
40
41
  new FN002003_DEVDEP_microsoft_sp_webpart_workbench_1.FN002003_DEVDEP_microsoft_sp_webpart_workbench('1.4.1'),
42
+ new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.4.0'),
41
43
  new FN010001_YORC_version_1.FN010001_YORC_version('1.4.1')
42
44
  ];
43
45
  //# sourceMappingURL=upgrade-1.4.1.js.map
@@ -29,6 +29,7 @@ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN0020
29
29
  const FN002003_DEVDEP_microsoft_sp_webpart_workbench_1 = require("./rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench");
30
30
  const FN002009_DEVDEP_microsoft_sp_tslint_rules_1 = require("./rules/FN002009_DEVDEP_microsoft_sp_tslint_rules");
31
31
  const FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9_1 = require("./rules/FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9");
32
+ const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
32
33
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
33
34
  const FN020001_RES_types_react_1 = require("./rules/FN020001_RES_types_react");
34
35
  const FN021001_PKG_main_1 = require("./rules/FN021001_PKG_main");
@@ -62,6 +63,7 @@ module.exports = [
62
63
  new FN002003_DEVDEP_microsoft_sp_webpart_workbench_1.FN002003_DEVDEP_microsoft_sp_webpart_workbench('1.9.1'),
63
64
  new FN002009_DEVDEP_microsoft_sp_tslint_rules_1.FN002009_DEVDEP_microsoft_sp_tslint_rules('1.9.1'),
64
65
  new FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9_1.FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9('0.7.16'),
66
+ new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.11.0'),
65
67
  new FN010001_YORC_version_1.FN010001_YORC_version('1.9.1'),
66
68
  new FN020001_RES_types_react_1.FN020001_RES_types_react('16.8.8'),
67
69
  new FN021001_PKG_main_1.FN021001_PKG_main(true, "lib/index.js"),
@@ -47,7 +47,7 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
47
47
  '1.13.0',
48
48
  '1.13.1',
49
49
  '1.14.0',
50
- '1.15.0-beta.1'
50
+ '1.15.0-beta.6'
51
51
  ];
52
52
  }
53
53
  get name() {
@@ -242,6 +242,9 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
242
242
  }
243
243
  });
244
244
  switch (args.options.output) {
245
+ case 'text':
246
+ logger.log(this.getTextReport(findingsToReport));
247
+ break;
245
248
  case 'json':
246
249
  logger.log(findingsToReport);
247
250
  break;
@@ -252,7 +255,7 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
252
255
  logger.log(this.getMdReport(findingsToReport));
253
256
  break;
254
257
  default:
255
- logger.log(this.getTextReport(findingsToReport));
258
+ logger.log(findingsToReport);
256
259
  }
257
260
  cb();
258
261
  }