@sprucelabs/spruce-cli 19.1.25 → 19.1.26

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 (1052) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/.spruce/errors/spruceCli/actionCancelled.schema.js +1 -2
  3. package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -1
  4. package/build/.spruce/errors/spruceCli/bootError.schema.js +1 -2
  5. package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -1
  6. package/build/.spruce/errors/spruceCli/buildFailed.schema.js +1 -2
  7. package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -1
  8. package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js +1 -2
  9. package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -1
  10. package/build/.spruce/errors/spruceCli/commandAborted.schema.js +1 -2
  11. package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -1
  12. package/build/.spruce/errors/spruceCli/commandBlocked.schema.js +1 -2
  13. package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -1
  14. package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js +1 -2
  15. package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -1
  16. package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js +1 -2
  17. package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -1
  18. package/build/.spruce/errors/spruceCli/dependencyExists.schema.js +1 -2
  19. package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -1
  20. package/build/.spruce/errors/spruceCli/deployFailed.schema.js +1 -2
  21. package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -1
  22. package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js +1 -2
  23. package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -1
  24. package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js +1 -2
  25. package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -1
  26. package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js +1 -2
  27. package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -1
  28. package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js +1 -2
  29. package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -1
  30. package/build/.spruce/errors/spruceCli/failedToImport.schema.js +1 -2
  31. package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -1
  32. package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js +1 -2
  33. package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -1
  34. package/build/.spruce/errors/spruceCli/fileExists.schema.js +1 -2
  35. package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -1
  36. package/build/.spruce/errors/spruceCli/generic.schema.js +1 -2
  37. package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -1
  38. package/build/.spruce/errors/spruceCli/invalidCommand.schema.js +1 -2
  39. package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -1
  40. package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js +1 -2
  41. package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -1
  42. package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js +1 -2
  43. package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -1
  44. package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js +1 -2
  45. package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -1
  46. package/build/.spruce/errors/spruceCli/lintFailed.schema.js +1 -2
  47. package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -1
  48. package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js +1 -2
  49. package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -1
  50. package/build/.spruce/errors/spruceCli/missingDependencies.schema.js +1 -2
  51. package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -1
  52. package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js +1 -2
  53. package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -1
  54. package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js +1 -2
  55. package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -1
  56. package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js +1 -2
  57. package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -1
  58. package/build/.spruce/errors/spruceCli/notImplemented.schema.js +1 -2
  59. package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -1
  60. package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js +1 -2
  61. package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -1
  62. package/build/.spruce/errors/spruceCli/schemaExists.schema.js +1 -2
  63. package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -1
  64. package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js +1 -2
  65. package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -1
  66. package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js +1 -2
  67. package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -1
  68. package/build/.spruce/errors/spruceCli/skillNotFound.schema.js +1 -2
  69. package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -1
  70. package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js +1 -2
  71. package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -1
  72. package/build/.spruce/errors/spruceCli/skillViewExists.schema.js +1 -2
  73. package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -1
  74. package/build/.spruce/errors/spruceCli/storeExists.schema.js +1 -2
  75. package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -1
  76. package/build/.spruce/errors/spruceCli/testFailed.schema.js +1 -2
  77. package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -1
  78. package/build/.spruce/errors/spruceCli/themeExists.schema.js +1 -2
  79. package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -1
  80. package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js +1 -2
  81. package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -1
  82. package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js +1 -2
  83. package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -1
  84. package/build/.spruce/events/events.contract.js +1 -2
  85. package/build/.spruce/events/events.contract.js.map +1 -1
  86. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js +1 -2
  87. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
  88. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js +1 -2
  89. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
  90. package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js +1 -2
  91. package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js.map +1 -1
  92. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js +1 -2
  93. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
  94. package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js +1 -2
  95. package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -1
  96. package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js +1 -2
  97. package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js.map +1 -1
  98. package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js +1 -2
  99. package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -1
  100. package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js +1 -2
  101. package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js.map +1 -1
  102. package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js +1 -2
  103. package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js.map +1 -1
  104. package/build/.spruce/schemas/fields/fieldClassMap.js +1 -2
  105. package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -1
  106. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js +1 -2
  107. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js.map +1 -1
  108. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js +1 -2
  109. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js.map +1 -1
  110. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js +1 -2
  111. package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  112. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js +1 -2
  113. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js.map +1 -1
  114. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js +1 -2
  115. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js.map +1 -1
  116. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js +1 -2
  117. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js.map +1 -1
  118. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js +1 -2
  119. package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js.map +1 -1
  120. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js +1 -2
  121. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js.map +1 -1
  122. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js +1 -2
  123. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js.map +1 -1
  124. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js +1 -2
  125. package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js.map +1 -1
  126. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js +1 -2
  127. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  128. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js +1 -2
  129. package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js.map +1 -1
  130. package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js +1 -2
  131. package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js.map +1 -1
  132. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js +1 -2
  133. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -1
  134. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js +1 -2
  135. package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -1
  136. package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js +1 -2
  137. package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js.map +1 -1
  138. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js +1 -2
  139. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js.map +1 -1
  140. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js +1 -2
  141. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  142. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js +1 -2
  143. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js.map +1 -1
  144. package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js +1 -2
  145. package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js.map +1 -1
  146. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js +1 -2
  147. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js.map +1 -1
  148. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js +1 -2
  149. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js.map +1 -1
  150. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js +1 -2
  151. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js.map +1 -1
  152. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js +1 -2
  153. package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js.map +1 -1
  154. package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js +1 -2
  155. package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js.map +1 -1
  156. package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js +1 -2
  157. package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -1
  158. package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js +1 -2
  159. package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -1
  160. package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js +1 -2
  161. package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -1
  162. package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js +1 -2
  163. package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -1
  164. package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js +1 -2
  165. package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -1
  166. package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js +1 -2
  167. package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
  168. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js +1 -2
  169. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -1
  170. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js +1 -2
  171. package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -1
  172. package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js +1 -2
  173. package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -1
  174. package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js +1 -2
  175. package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -1
  176. package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js +1 -2
  177. package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -1
  178. package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js +1 -2
  179. package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
  180. package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js +1 -2
  181. package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js.map +1 -1
  182. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js +1 -2
  183. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -1
  184. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js +1 -2
  185. package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -1
  186. package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js +1 -2
  187. package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -1
  188. package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js +1 -2
  189. package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -1
  190. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js +1 -2
  191. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
  192. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js +1 -2
  193. package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -1
  194. package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js +1 -2
  195. package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -1
  196. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js +1 -2
  197. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -1
  198. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js +1 -2
  199. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -1
  200. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js +1 -2
  201. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -1
  202. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js +1 -2
  203. package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -1
  204. package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js +1 -2
  205. package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -1
  206. package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js +1 -2
  207. package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -1
  208. package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js +1 -2
  209. package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -1
  210. package/build/GlobalEmitter.js +2 -4
  211. package/build/GlobalEmitter.js.map +1 -1
  212. package/build/InFlightEntertainment.js +1 -2
  213. package/build/InFlightEntertainment.js.map +1 -1
  214. package/build/__tests__/behavioral/AddingADependency.test.js +57 -30
  215. package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
  216. package/build/__tests__/behavioral/BlockingCommands.test.js +17 -10
  217. package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
  218. package/build/__tests__/behavioral/BootingTheCli.test.js +17 -10
  219. package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
  220. package/build/__tests__/behavioral/BootingWithBadFiles.test.js +25 -14
  221. package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
  222. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js +25 -14
  223. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
  224. package/build/__tests__/behavioral/DeployingASkill.test.js +145 -74
  225. package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
  226. package/build/__tests__/behavioral/DeployingToSandbox.test.js +121 -62
  227. package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
  228. package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js +65 -34
  229. package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
  230. package/build/__tests__/behavioral/GettingCliVersion.test.js +25 -14
  231. package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
  232. package/build/__tests__/behavioral/ManagingDependencies.test.js +41 -22
  233. package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
  234. package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js +17 -10
  235. package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
  236. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +18 -11
  237. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
  238. package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js +33 -18
  239. package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
  240. package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js +57 -30
  241. package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
  242. package/build/__tests__/behavioral/SettingRemote.test.js +41 -22
  243. package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
  244. package/build/__tests__/behavioral/SettingUpVscode.test.js +17 -10
  245. package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
  246. package/build/__tests__/behavioral/TestingAConversation.test.js +49 -26
  247. package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
  248. package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js +41 -22
  249. package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
  250. package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js +17 -10
  251. package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
  252. package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js +41 -22
  253. package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
  254. package/build/__tests__/behavioral/errors/SettingUpErrors.test.js +17 -10
  255. package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
  256. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +89 -46
  257. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
  258. package/build/__tests__/behavioral/events/CreatingAListener.test.js +145 -74
  259. package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
  260. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +105 -54
  261. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
  262. package/build/__tests__/behavioral/events/EventWriter.test.js +9 -6
  263. package/build/__tests__/behavioral/events/EventWriter.test.js.map +1 -1
  264. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +121 -62
  265. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
  266. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +81 -42
  267. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
  268. package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js +25 -14
  269. package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
  270. package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js +17 -10
  271. package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
  272. package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js +17 -10
  273. package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js.map +1 -1
  274. package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js +26 -15
  275. package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js.map +1 -1
  276. package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js +50 -27
  277. package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js.map +1 -1
  278. package/build/__tests__/behavioral/events/SettingUpEvents.test.js +9 -6
  279. package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
  280. package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js +25 -14
  281. package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
  282. package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js +25 -14
  283. package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
  284. package/build/__tests__/behavioral/node/CreatingANodeModule.test.js +25 -14
  285. package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
  286. package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js +25 -14
  287. package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
  288. package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js +17 -10
  289. package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
  290. package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js +25 -14
  291. package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -1
  292. package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js +17 -10
  293. package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js.map +1 -1
  294. package/build/__tests__/behavioral/permissions/PermissionStore.test.js +97 -50
  295. package/build/__tests__/behavioral/permissions/PermissionStore.test.js.map +1 -1
  296. package/build/__tests__/behavioral/permissions/PermissionWriter.test.js +17 -10
  297. package/build/__tests__/behavioral/permissions/PermissionWriter.test.js.map +1 -1
  298. package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js +113 -60
  299. package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js.map +1 -1
  300. package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js +25 -14
  301. package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js.map +1 -1
  302. package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js +73 -38
  303. package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
  304. package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js +25 -14
  305. package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
  306. package/build/__tests__/behavioral/polish/SettingUpPolish.test.js +57 -30
  307. package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -1
  308. package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js +81 -42
  309. package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
  310. package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js +9 -6
  311. package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js.map +1 -1
  312. package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js +17 -10
  313. package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
  314. package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js +33 -18
  315. package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
  316. package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js +41 -22
  317. package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
  318. package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js +9 -6
  319. package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
  320. package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js +161 -82
  321. package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
  322. package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js +25 -14
  323. package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
  324. package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js +97 -50
  325. package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
  326. package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js +9 -6
  327. package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
  328. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js +9 -6
  329. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
  330. package/build/__tests__/behavioral/skill/BootingASkill.test.js +25 -14
  331. package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
  332. package/build/__tests__/behavioral/skill/CreatingASkill.test.js +17 -10
  333. package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
  334. package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js +65 -34
  335. package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js.map +1 -1
  336. package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js +73 -38
  337. package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js.map +1 -1
  338. package/build/__tests__/behavioral/skill/RebuildingASkill.test.js +25 -14
  339. package/build/__tests__/behavioral/skill/RebuildingASkill.test.js.map +1 -1
  340. package/build/__tests__/behavioral/skill/RegisteringASkill.test.js +33 -18
  341. package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
  342. package/build/__tests__/behavioral/skill/SettingUpASkill.test.js +57 -30
  343. package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
  344. package/build/__tests__/behavioral/stores/CreatingADataStore.test.js +89 -46
  345. package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
  346. package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js +81 -42
  347. package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
  348. package/build/__tests__/behavioral/tests/CreatingATest.test.js +81 -42
  349. package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
  350. package/build/__tests__/behavioral/tests/RunningTests.test.js +33 -18
  351. package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
  352. package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js +89 -46
  353. package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
  354. package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js +41 -22
  355. package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js.map +1 -1
  356. package/build/__tests__/behavioral/tests/SettingUpTests.test.js +17 -10
  357. package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
  358. package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js +17 -10
  359. package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js.map +1 -1
  360. package/build/__tests__/behavioral/tests/TestingDataStores.test.js +17 -10
  361. package/build/__tests__/behavioral/tests/TestingDataStores.test.js.map +1 -1
  362. package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js +33 -18
  363. package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
  364. package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js +41 -22
  365. package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
  366. package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js +33 -18
  367. package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
  368. package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js +81 -42
  369. package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
  370. package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js +57 -30
  371. package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
  372. package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js +81 -42
  373. package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
  374. package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js +33 -18
  375. package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
  376. package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js +57 -30
  377. package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
  378. package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js +32 -19
  379. package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
  380. package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js +57 -30
  381. package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
  382. package/build/__tests__/behavioral/views/CreatingASkillView.test.js +105 -54
  383. package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
  384. package/build/__tests__/behavioral/views/CreatingATheme.test.js +56 -31
  385. package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
  386. package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +49 -26
  387. package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
  388. package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js +49 -26
  389. package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js.map +1 -1
  390. package/build/__tests__/behavioral/views/SettingUpViews.test.js +17 -10
  391. package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
  392. package/build/__tests__/behavioral/views/TestingViewControllers.test.js +41 -22
  393. package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
  394. package/build/__tests__/behavioral/views/WatchingSkillViews.test.js +25 -14
  395. package/build/__tests__/behavioral/views/WatchingSkillViews.test.js.map +1 -1
  396. package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js +105 -54
  397. package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
  398. package/build/__tests__/implementation/ActionExecuter.test.js +17 -10
  399. package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
  400. package/build/__tests__/implementation/ActionExecuter2.test.js +65 -34
  401. package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
  402. package/build/__tests__/implementation/ActionExecuter3.test.js +33 -18
  403. package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
  404. package/build/__tests__/implementation/ActionExecuter4.test.js +25 -14
  405. package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
  406. package/build/__tests__/implementation/ArgParser.test.js +18 -11
  407. package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
  408. package/build/__tests__/implementation/BuildService.test.js +17 -10
  409. package/build/__tests__/implementation/BuildService.test.js.map +1 -1
  410. package/build/__tests__/implementation/BulkImporting.test.js +81 -42
  411. package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
  412. package/build/__tests__/implementation/CachingImports.test.js +41 -22
  413. package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
  414. package/build/__tests__/implementation/CommandOptionBuilder.test.js +1 -2
  415. package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
  416. package/build/__tests__/implementation/CommanderCommandResultMapper.test.js +73 -38
  417. package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
  418. package/build/__tests__/implementation/DataStoreStore.test.js +81 -42
  419. package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
  420. package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js +25 -14
  421. package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
  422. package/build/__tests__/implementation/EventContractCleanerUtil.test.js +33 -18
  423. package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
  424. package/build/__tests__/implementation/EventStore.test.js +113 -59
  425. package/build/__tests__/implementation/EventStore.test.js.map +1 -1
  426. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +25 -14
  427. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
  428. package/build/__tests__/implementation/FeatureCommandAttacher.test.js +73 -38
  429. package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
  430. package/build/__tests__/implementation/FeatureFixture.test.js +33 -18
  431. package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
  432. package/build/__tests__/implementation/FeatureInstaller.test.js +33 -18
  433. package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
  434. package/build/__tests__/implementation/FeaturesUtil.test.js +9 -6
  435. package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
  436. package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js +9 -6
  437. package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
  438. package/build/__tests__/implementation/GlobalEmitter.test.js +17 -10
  439. package/build/__tests__/implementation/GlobalEmitter.test.js.map +1 -1
  440. package/build/__tests__/implementation/Introspection.test.js +1 -2
  441. package/build/__tests__/implementation/Introspection.test.js.map +1 -1
  442. package/build/__tests__/implementation/JestJsonParser.test.js +9 -6
  443. package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
  444. package/build/__tests__/implementation/LintService.test.js +17 -10
  445. package/build/__tests__/implementation/LintService.test.js.map +1 -1
  446. package/build/__tests__/implementation/ListenerStore.test.js +1 -2
  447. package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
  448. package/build/__tests__/implementation/OnboardingScriptLoader.test.js +34 -20
  449. package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
  450. package/build/__tests__/implementation/OnboardingScriptPlayer.test.js +103 -59
  451. package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
  452. package/build/__tests__/implementation/OnboardingStore.test.js +17 -10
  453. package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
  454. package/build/__tests__/implementation/OrganizationStore.test.js +41 -22
  455. package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
  456. package/build/__tests__/implementation/ParentTestFinder.test.js +25 -14
  457. package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
  458. package/build/__tests__/implementation/PkgService.test.js +49 -26
  459. package/build/__tests__/implementation/PkgService.test.js.map +1 -1
  460. package/build/__tests__/implementation/SchemaStore.test.js +129 -66
  461. package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
  462. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +9 -6
  463. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
  464. package/build/__tests__/implementation/SchemaValueTypeWriter.test.js +58 -31
  465. package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
  466. package/build/__tests__/implementation/ServiceFactory.test.js +9 -6
  467. package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
  468. package/build/__tests__/implementation/SettingUpANodeModule.test.js +25 -14
  469. package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
  470. package/build/__tests__/implementation/SkillStore.test.js +65 -34
  471. package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
  472. package/build/__tests__/implementation/StoreFeature.test.js +16 -11
  473. package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
  474. package/build/__tests__/implementation/TestReporter.test.js +33 -18
  475. package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
  476. package/build/__tests__/implementation/TestRunner.test.js +73 -38
  477. package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
  478. package/build/__tests__/implementation/ValueTypeMapping.test.js +17 -10
  479. package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
  480. package/build/__tests__/implementation/Widgets.test.js +33 -18
  481. package/build/__tests__/implementation/Widgets.test.js.map +1 -1
  482. package/build/__tests__/support/EventFaker.js +9 -6
  483. package/build/__tests__/support/EventFaker.js.map +1 -1
  484. package/build/__tests__/support/onTestFileResult.js +1 -2
  485. package/build/__tests__/support/onTestFileResult.js.map +1 -1
  486. package/build/__tests__/support/scripts/first.script.js +8 -7
  487. package/build/__tests__/support/scripts/first.script.js.map +1 -1
  488. package/build/__tests__/support/scripts/second.script.js +1 -2
  489. package/build/__tests__/support/scripts/second.script.js.map +1 -1
  490. package/build/__tests__/support/scripts/third.test.script.js +1 -2
  491. package/build/__tests__/support/scripts/third.test.script.js.map +1 -1
  492. package/build/boot.js +12 -5
  493. package/build/boot.js.map +1 -1
  494. package/build/cli/Cli.js +80 -43
  495. package/build/cli/Cli.js.map +1 -1
  496. package/build/components/AbstractComponent.js +1 -2
  497. package/build/components/AbstractComponent.js.map +1 -1
  498. package/build/components/FormComponent.js +17 -10
  499. package/build/components/FormComponent.js.map +1 -1
  500. package/build/components/QuizComponent.js +17 -10
  501. package/build/components/QuizComponent.js.map +1 -1
  502. package/build/constants.js +5 -10
  503. package/build/constants.js.map +1 -1
  504. package/build/errors/SpruceError.js +1 -2
  505. package/build/errors/SpruceError.js.map +1 -1
  506. package/build/errors/actionCancelled.builder.js +1 -2
  507. package/build/errors/actionCancelled.builder.js.map +1 -1
  508. package/build/errors/bootError.builder.js +1 -2
  509. package/build/errors/bootError.builder.js.map +1 -1
  510. package/build/errors/buildFailed.builder.js +1 -2
  511. package/build/errors/buildFailed.builder.js.map +1 -1
  512. package/build/errors/cacheNotEnabled.builder.js +1 -2
  513. package/build/errors/cacheNotEnabled.builder.js.map +1 -1
  514. package/build/errors/commandAborted.builder.js +1 -2
  515. package/build/errors/commandAborted.builder.js.map +1 -1
  516. package/build/errors/commandBlocked.builder.js +1 -2
  517. package/build/errors/commandBlocked.builder.js.map +1 -1
  518. package/build/errors/commandNotImplemented.builder.js +1 -2
  519. package/build/errors/commandNotImplemented.builder.js.map +1 -1
  520. package/build/errors/createAutoloaderFailed.builder.js +1 -2
  521. package/build/errors/createAutoloaderFailed.builder.js.map +1 -1
  522. package/build/errors/dependencyExists.builder.js +1 -2
  523. package/build/errors/dependencyExists.builder.js.map +1 -1
  524. package/build/errors/deployFailed.builder.js +1 -2
  525. package/build/errors/deployFailed.builder.js.map +1 -1
  526. package/build/errors/directoryEmpty.builder.js +1 -2
  527. package/build/errors/directoryEmpty.builder.js.map +1 -1
  528. package/build/errors/directoryNotSkill.builder.js +1 -2
  529. package/build/errors/directoryNotSkill.builder.js.map +1 -1
  530. package/build/errors/dockerNotStarted.builder.js +1 -2
  531. package/build/errors/dockerNotStarted.builder.js.map +1 -1
  532. package/build/errors/executingCommandFailed.builder.js +1 -2
  533. package/build/errors/executingCommandFailed.builder.js.map +1 -1
  534. package/build/errors/failedToImport.builder.js +1 -2
  535. package/build/errors/failedToImport.builder.js.map +1 -1
  536. package/build/errors/featureNotInstalled.builder.js +1 -2
  537. package/build/errors/featureNotInstalled.builder.js.map +1 -1
  538. package/build/errors/fileExists.builder.js +1 -2
  539. package/build/errors/fileExists.builder.js.map +1 -1
  540. package/build/errors/generic.builder.js +1 -2
  541. package/build/errors/generic.builder.js.map +1 -1
  542. package/build/errors/invalidCommand.builder.js +1 -2
  543. package/build/errors/invalidCommand.builder.js.map +1 -1
  544. package/build/errors/invalidEventContract.builder.js +1 -2
  545. package/build/errors/invalidEventContract.builder.js.map +1 -1
  546. package/build/errors/invalidFeatureCode.builder.js +1 -2
  547. package/build/errors/invalidFeatureCode.builder.js.map +1 -1
  548. package/build/errors/invalidTestDirectory.builder.js +1 -2
  549. package/build/errors/invalidTestDirectory.builder.js.map +1 -1
  550. package/build/errors/lintFailed.builder.js +1 -2
  551. package/build/errors/lintFailed.builder.js.map +1 -1
  552. package/build/errors/mercuryResponseError.builder.js +1 -2
  553. package/build/errors/mercuryResponseError.builder.js.map +1 -1
  554. package/build/errors/missingDependencies.builder.js +1 -2
  555. package/build/errors/missingDependencies.builder.js.map +1 -1
  556. package/build/errors/noOrganizationsFound.builder.js +1 -2
  557. package/build/errors/noOrganizationsFound.builder.js.map +1 -1
  558. package/build/errors/noSkillsRegistered.builder.js +1 -2
  559. package/build/errors/noSkillsRegistered.builder.js.map +1 -1
  560. package/build/errors/notImplemented.builder.js +1 -2
  561. package/build/errors/notImplemented.builder.js.map +1 -1
  562. package/build/errors/notLoggedIn.builder.js +1 -2
  563. package/build/errors/notLoggedIn.builder.js.map +1 -1
  564. package/build/errors/schemaExists.builder.js +1 -2
  565. package/build/errors/schemaExists.builder.js.map +1 -1
  566. package/build/errors/schemaFailedToImport.builder.js +1 -2
  567. package/build/errors/schemaFailedToImport.builder.js.map +1 -1
  568. package/build/errors/schemaTemplateItemBuildingFailed.builder.js +1 -2
  569. package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -1
  570. package/build/errors/skillNotFound.builder.js +1 -2
  571. package/build/errors/skillNotFound.builder.js.map +1 -1
  572. package/build/errors/skillNotRegistered.builder.js +1 -2
  573. package/build/errors/skillNotRegistered.builder.js.map +1 -1
  574. package/build/errors/skillViewExists.builder.js +1 -2
  575. package/build/errors/skillViewExists.builder.js.map +1 -1
  576. package/build/errors/storeExists.builder.js +1 -2
  577. package/build/errors/storeExists.builder.js.map +1 -1
  578. package/build/errors/testFailed.builder.js +1 -2
  579. package/build/errors/testFailed.builder.js.map +1 -1
  580. package/build/errors/themeExists.builder.js +1 -2
  581. package/build/errors/themeExists.builder.js.map +1 -1
  582. package/build/errors/transportAlreadyExists.builder.js +1 -2
  583. package/build/errors/transportAlreadyExists.builder.js.map +1 -1
  584. package/build/errors/vscodeNotInstalled.builder.js +1 -2
  585. package/build/errors/vscodeNotInstalled.builder.js.map +1 -1
  586. package/build/features/AbstractAction.js +25 -14
  587. package/build/features/AbstractAction.js.map +1 -1
  588. package/build/features/AbstractFeature.js +33 -18
  589. package/build/features/AbstractFeature.js.map +1 -1
  590. package/build/features/ActionExecuter.js +17 -12
  591. package/build/features/ActionExecuter.js.map +1 -1
  592. package/build/features/ActionFactory.js +1 -2
  593. package/build/features/ActionFactory.js.map +1 -1
  594. package/build/features/ActionQuestionAsker.js +65 -36
  595. package/build/features/ActionQuestionAsker.js.map +1 -1
  596. package/build/features/FeatureCommandAttacher.js +9 -6
  597. package/build/features/FeatureCommandAttacher.js.map +1 -1
  598. package/build/features/FeatureInstaller.js +81 -44
  599. package/build/features/FeatureInstaller.js.map +1 -1
  600. package/build/features/FeatureInstallerFactory.js +1 -2
  601. package/build/features/FeatureInstallerFactory.js.map +1 -1
  602. package/build/features/OverrideActionDecorator.js +9 -8
  603. package/build/features/OverrideActionDecorator.js.map +1 -1
  604. package/build/features/cache/CacheFeature.js +9 -6
  605. package/build/features/cache/CacheFeature.js.map +1 -1
  606. package/build/features/cache/actions/DisableAction.js +9 -6
  607. package/build/features/cache/actions/DisableAction.js.map +1 -1
  608. package/build/features/cache/actions/EnableAction.js +9 -6
  609. package/build/features/cache/actions/EnableAction.js.map +1 -1
  610. package/build/features/cache/constants.js +2 -4
  611. package/build/features/cache/constants.js.map +1 -1
  612. package/build/features/conversation/ConversationFeature.js +25 -14
  613. package/build/features/conversation/ConversationFeature.js.map +1 -1
  614. package/build/features/conversation/actions/CreateAction.js +9 -6
  615. package/build/features/conversation/actions/CreateAction.js.map +1 -1
  616. package/build/features/conversation/actions/TestAction.js +24 -15
  617. package/build/features/conversation/actions/TestAction.js.map +1 -1
  618. package/build/features/conversation/stores/ConversationStore.js +9 -6
  619. package/build/features/conversation/stores/ConversationStore.js.map +1 -1
  620. package/build/features/conversation/writers/ConversationWriter.js +9 -6
  621. package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
  622. package/build/features/dependencies/DependencyFeature.js +9 -6
  623. package/build/features/dependencies/DependencyFeature.js.map +1 -1
  624. package/build/features/dependencies/actions/AddAction.js +9 -6
  625. package/build/features/dependencies/actions/AddAction.js.map +1 -1
  626. package/build/features/dependencies/actions/ManageAction.js +9 -6
  627. package/build/features/dependencies/actions/ManageAction.js.map +1 -1
  628. package/build/features/deploy/DeployFeature.js +9 -6
  629. package/build/features/deploy/DeployFeature.js.map +1 -1
  630. package/build/features/deploy/actions/HerokuAction.js +81 -42
  631. package/build/features/deploy/actions/HerokuAction.js.map +1 -1
  632. package/build/features/deploy/writers/DeployWriter.js +1 -2
  633. package/build/features/deploy/writers/DeployWriter.js.map +1 -1
  634. package/build/features/error/ErrorFeature.js +25 -14
  635. package/build/features/error/ErrorFeature.js.map +1 -1
  636. package/build/features/error/ParentTestFinder.js +9 -6
  637. package/build/features/error/ParentTestFinder.js.map +1 -1
  638. package/build/features/error/actions/CreateAction.js +9 -6
  639. package/build/features/error/actions/CreateAction.js.map +1 -1
  640. package/build/features/error/actions/SyncAction.js +25 -14
  641. package/build/features/error/actions/SyncAction.js.map +1 -1
  642. package/build/features/error/writers/ErrorWriter.js +41 -22
  643. package/build/features/error/writers/ErrorWriter.js.map +1 -1
  644. package/build/features/event/EventFeature.js +57 -30
  645. package/build/features/event/EventFeature.js.map +1 -1
  646. package/build/features/event/actions/CreateAction.js +9 -6
  647. package/build/features/event/actions/CreateAction.js.map +1 -1
  648. package/build/features/event/actions/ListenAction.js +58 -32
  649. package/build/features/event/actions/ListenAction.js.map +1 -1
  650. package/build/features/event/actions/SetRemoteAction.js +9 -6
  651. package/build/features/event/actions/SetRemoteAction.js.map +1 -1
  652. package/build/features/event/actions/SyncAction.js +9 -6
  653. package/build/features/event/actions/SyncAction.js.map +1 -1
  654. package/build/features/event/actions/SyncListenersAction.js +9 -6
  655. package/build/features/event/actions/SyncListenersAction.js.map +1 -1
  656. package/build/features/event/builders/EventContractBuilder.js +33 -18
  657. package/build/features/event/builders/EventContractBuilder.js.map +1 -1
  658. package/build/features/event/builders/ListenerTemplateItemBuilder.js +1 -2
  659. package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
  660. package/build/features/event/services/EventSettingsService.js +1 -2
  661. package/build/features/event/services/EventSettingsService.js.map +1 -1
  662. package/build/features/event/services/RemoteService.js +1 -2
  663. package/build/features/event/services/RemoteService.js.map +1 -1
  664. package/build/features/event/stores/EventStore.js +48 -27
  665. package/build/features/event/stores/EventStore.js.map +1 -1
  666. package/build/features/event/stores/ListenerStore.js +9 -6
  667. package/build/features/event/stores/ListenerStore.js.map +1 -1
  668. package/build/features/event/writers/EventWriter.js +49 -26
  669. package/build/features/event/writers/EventWriter.js.map +1 -1
  670. package/build/features/eventContract/EventContractFeature.js +1 -2
  671. package/build/features/eventContract/EventContractFeature.js.map +1 -1
  672. package/build/features/eventContract/actions/PullAction.js +17 -10
  673. package/build/features/eventContract/actions/PullAction.js.map +1 -1
  674. package/build/features/feature.utilities.js +1 -2
  675. package/build/features/feature.utilities.js.map +1 -1
  676. package/build/features/log/LogFeature.js +1 -2
  677. package/build/features/log/LogFeature.js.map +1 -1
  678. package/build/features/log/actions/CreateTransportAction.js +9 -6
  679. package/build/features/log/actions/CreateTransportAction.js.map +1 -1
  680. package/build/features/log/writers/LogWriter.js +9 -6
  681. package/build/features/log/writers/LogWriter.js.map +1 -1
  682. package/build/features/node/NodeFeature.js +40 -23
  683. package/build/features/node/NodeFeature.js.map +1 -1
  684. package/build/features/node/actions/CreateAction.js +9 -6
  685. package/build/features/node/actions/CreateAction.js.map +1 -1
  686. package/build/features/node/actions/UpdateDependenciesAction.js +17 -10
  687. package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
  688. package/build/features/node/actions/UpgradeAction.js +25 -14
  689. package/build/features/node/actions/UpgradeAction.js.map +1 -1
  690. package/build/features/node/writers/NodeWriter.js +10 -8
  691. package/build/features/node/writers/NodeWriter.js.map +1 -1
  692. package/build/features/onboard/OnboardFeature.js +33 -19
  693. package/build/features/onboard/OnboardFeature.js.map +1 -1
  694. package/build/features/onboard/ScriptLoader.js +9 -6
  695. package/build/features/onboard/ScriptLoader.js.map +1 -1
  696. package/build/features/onboard/ScriptPlayer.js +25 -14
  697. package/build/features/onboard/ScriptPlayer.js.map +1 -1
  698. package/build/features/onboard/actions/OnboardAction.js +9 -6
  699. package/build/features/onboard/actions/OnboardAction.js.map +1 -1
  700. package/build/features/onboard/scripts/onboarding.first.script.js +38 -20
  701. package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
  702. package/build/features/onboard/scripts/onboarding.immersive.script.js +14 -10
  703. package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
  704. package/build/features/onboard/scripts/onboarding.returning.script.js +8 -7
  705. package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
  706. package/build/features/onboard/scripts/onboarding.short.script.js +32 -19
  707. package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
  708. package/build/features/onboard/scripts/todo/todo.create.skill.script.js +8 -7
  709. package/build/features/onboard/scripts/todo/todo.create.skill.script.js.map +1 -1
  710. package/build/features/onboard/scripts/todo/todo.test.script.js +8 -7
  711. package/build/features/onboard/scripts/todo/todo.test.script.js.map +1 -1
  712. package/build/features/onboard/scripts/wrongCommand.script.js +8 -7
  713. package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
  714. package/build/features/onboard/stores/OnboardingStore.js +1 -2
  715. package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
  716. package/build/features/organization/OrganizationFeature.js +1 -2
  717. package/build/features/organization/OrganizationFeature.js.map +1 -1
  718. package/build/features/organization/actions/CreateAction.js +9 -6
  719. package/build/features/organization/actions/CreateAction.js.map +1 -1
  720. package/build/features/organization/actions/InstallAction.js +9 -6
  721. package/build/features/organization/actions/InstallAction.js.map +1 -1
  722. package/build/features/organization/stores/OrganizationStore.js +41 -22
  723. package/build/features/organization/stores/OrganizationStore.js.map +1 -1
  724. package/build/features/permission/PermissionFeature.js +33 -18
  725. package/build/features/permission/PermissionFeature.js.map +1 -1
  726. package/build/features/permission/actions/CreateAction.js +9 -6
  727. package/build/features/permission/actions/CreateAction.js.map +1 -1
  728. package/build/features/permission/actions/SyncAction.js +15 -9
  729. package/build/features/permission/actions/SyncAction.js.map +1 -1
  730. package/build/features/permission/stores/PermissionStore.js +17 -10
  731. package/build/features/permission/stores/PermissionStore.js.map +1 -1
  732. package/build/features/permission/writers/PermissionWriter.js +25 -14
  733. package/build/features/permission/writers/PermissionWriter.js.map +1 -1
  734. package/build/features/person/PersonFeature.js +1 -2
  735. package/build/features/person/PersonFeature.js.map +1 -1
  736. package/build/features/person/actions/LoginAction.js +9 -6
  737. package/build/features/person/actions/LoginAction.js.map +1 -1
  738. package/build/features/person/actions/LogoutAction.js +9 -6
  739. package/build/features/person/actions/LogoutAction.js.map +1 -1
  740. package/build/features/person/actions/WhoamiAction.js +9 -6
  741. package/build/features/person/actions/WhoamiAction.js.map +1 -1
  742. package/build/features/polish/PolishFeature.js +1 -2
  743. package/build/features/polish/PolishFeature.js.map +1 -1
  744. package/build/features/polish/actions/SetupAction.js +9 -6
  745. package/build/features/polish/actions/SetupAction.js.map +1 -1
  746. package/build/features/polish/writers/PolishWriter.js +9 -6
  747. package/build/features/polish/writers/PolishWriter.js.map +1 -1
  748. package/build/features/sandbox/SandboxFeature.js +8 -7
  749. package/build/features/sandbox/SandboxFeature.js.map +1 -1
  750. package/build/features/sandbox/actions/SetupAction.js +9 -6
  751. package/build/features/sandbox/actions/SetupAction.js.map +1 -1
  752. package/build/features/sandbox/writers/SandboxWriter.js +9 -6
  753. package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
  754. package/build/features/schema/SchemaFeature.js +33 -18
  755. package/build/features/schema/SchemaFeature.js.map +1 -1
  756. package/build/features/schema/ValueTypeBuilder.js +9 -6
  757. package/build/features/schema/ValueTypeBuilder.js.map +1 -1
  758. package/build/features/schema/actions/CreateAction.js +9 -6
  759. package/build/features/schema/actions/CreateAction.js.map +1 -1
  760. package/build/features/schema/actions/SyncAction.js +41 -22
  761. package/build/features/schema/actions/SyncAction.js.map +1 -1
  762. package/build/features/schema/actions/SyncFieldsAction.js +9 -6
  763. package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
  764. package/build/features/schema/services/SchemaService.js +9 -6
  765. package/build/features/schema/services/SchemaService.js.map +1 -1
  766. package/build/features/schema/stores/SchemaStore.js +58 -34
  767. package/build/features/schema/stores/SchemaStore.js.map +1 -1
  768. package/build/features/schema/utilities/schema.utility.js +1 -2
  769. package/build/features/schema/utilities/schema.utility.js.map +1 -1
  770. package/build/features/schema/utilities/schemaDisk.utility.js +1 -2
  771. package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
  772. package/build/features/schema/utilities/schemaGenerator.utility.js +1 -2
  773. package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
  774. package/build/features/schema/writers/SchemaWriter.js +49 -26
  775. package/build/features/schema/writers/SchemaWriter.js.map +1 -1
  776. package/build/features/skill/SkillFeature.js +49 -26
  777. package/build/features/skill/SkillFeature.js.map +1 -1
  778. package/build/features/skill/actions/BootAction.js +17 -10
  779. package/build/features/skill/actions/BootAction.js.map +1 -1
  780. package/build/features/skill/actions/CreateAction.js +9 -6
  781. package/build/features/skill/actions/CreateAction.js.map +1 -1
  782. package/build/features/skill/actions/DashboardAction.js +10 -8
  783. package/build/features/skill/actions/DashboardAction.js.map +1 -1
  784. package/build/features/skill/actions/LoginAction.js +9 -6
  785. package/build/features/skill/actions/LoginAction.js.map +1 -1
  786. package/build/features/skill/actions/RebuildAction.js +9 -6
  787. package/build/features/skill/actions/RebuildAction.js.map +1 -1
  788. package/build/features/skill/actions/RegisterAction.js +9 -6
  789. package/build/features/skill/actions/RegisterAction.js.map +1 -1
  790. package/build/features/skill/stores/SkillStore.js +73 -38
  791. package/build/features/skill/stores/SkillStore.js.map +1 -1
  792. package/build/features/skill/updaters/Updater.js +9 -6
  793. package/build/features/skill/updaters/Updater.js.map +1 -1
  794. package/build/features/skill/writers/SkillWriter.js +9 -6
  795. package/build/features/skill/writers/SkillWriter.js.map +1 -1
  796. package/build/features/store/StoreFeature.js +25 -14
  797. package/build/features/store/StoreFeature.js.map +1 -1
  798. package/build/features/store/actions/CreateAction.js +9 -6
  799. package/build/features/store/actions/CreateAction.js.map +1 -1
  800. package/build/features/store/actions/SyncAction.js +9 -6
  801. package/build/features/store/actions/SyncAction.js.map +1 -1
  802. package/build/features/store/stores/StoreStore.js +9 -6
  803. package/build/features/store/stores/StoreStore.js.map +1 -1
  804. package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js +1 -2
  805. package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
  806. package/build/features/store/writers/StoreWriter.js +33 -18
  807. package/build/features/store/writers/StoreWriter.js.map +1 -1
  808. package/build/features/test/TestFeature.js +17 -10
  809. package/build/features/test/TestFeature.js.map +1 -1
  810. package/build/features/test/TestLogItemGenerator.js +1 -2
  811. package/build/features/test/TestLogItemGenerator.js.map +1 -1
  812. package/build/features/test/TestReporter.js +33 -18
  813. package/build/features/test/TestReporter.js.map +1 -1
  814. package/build/features/test/TestRunner.js +26 -15
  815. package/build/features/test/TestRunner.js.map +1 -1
  816. package/build/features/test/actions/CreateAction.js +33 -18
  817. package/build/features/test/actions/CreateAction.js.map +1 -1
  818. package/build/features/test/actions/SetupAction.js +9 -6
  819. package/build/features/test/actions/SetupAction.js.map +1 -1
  820. package/build/features/test/actions/TestAction.js +42 -24
  821. package/build/features/test/actions/TestAction.js.map +1 -1
  822. package/build/features/test/writers/TestWriter.js +9 -6
  823. package/build/features/test/writers/TestWriter.js.map +1 -1
  824. package/build/features/universalDevDependencies.js +1 -2
  825. package/build/features/universalDevDependencies.js.map +1 -1
  826. package/build/features/universalFileDescriptions.js +1 -2
  827. package/build/features/universalFileDescriptions.js.map +1 -1
  828. package/build/features/universalScripts.js +1 -2
  829. package/build/features/universalScripts.js.map +1 -1
  830. package/build/features/validateAndNormalize.utility.js +1 -2
  831. package/build/features/validateAndNormalize.utility.js.map +1 -1
  832. package/build/features/view/ViewFeature.js +16 -11
  833. package/build/features/view/ViewFeature.js.map +1 -1
  834. package/build/features/view/actions/CreateAction.js +9 -6
  835. package/build/features/view/actions/CreateAction.js.map +1 -1
  836. package/build/features/view/actions/CreateThemeAction.js +9 -6
  837. package/build/features/view/actions/CreateThemeAction.js.map +1 -1
  838. package/build/features/view/actions/SyncAction.js +9 -6
  839. package/build/features/view/actions/SyncAction.js.map +1 -1
  840. package/build/features/view/actions/WatchAction.js +9 -6
  841. package/build/features/view/actions/WatchAction.js.map +1 -1
  842. package/build/features/view/stores/ViewStore.js +9 -6
  843. package/build/features/view/stores/ViewStore.js.map +1 -1
  844. package/build/features/view/writers/ViewWriter.js +17 -10
  845. package/build/features/view/writers/ViewWriter.js.map +1 -1
  846. package/build/features/vscode/VsCodeFeature.js +1 -2
  847. package/build/features/vscode/VsCodeFeature.js.map +1 -1
  848. package/build/features/vscode/actions/SetupAction.js +41 -22
  849. package/build/features/vscode/actions/SetupAction.js.map +1 -1
  850. package/build/features/vscode/services/VsCodeService.js +25 -14
  851. package/build/features/vscode/services/VsCodeService.js.map +1 -1
  852. package/build/features/vscode/writers/VsCodeWriter.js +9 -6
  853. package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
  854. package/build/features/watch/WatchFeature.js +41 -24
  855. package/build/features/watch/WatchFeature.js.map +1 -1
  856. package/build/interfaces/SpyInterface.js +49 -26
  857. package/build/interfaces/SpyInterface.js.map +1 -1
  858. package/build/interfaces/TerminalInterface.js +65 -34
  859. package/build/interfaces/TerminalInterface.js.map +1 -1
  860. package/build/schemas/v2020_07_22/actionResponse.builder.js +1 -2
  861. package/build/schemas/v2020_07_22/actionResponse.builder.js.map +1 -1
  862. package/build/schemas/v2020_07_22/bootSkillOptions.builder.js +1 -2
  863. package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
  864. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js +1 -2
  865. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
  866. package/build/schemas/v2020_07_22/createErrorOptions.builder.js +1 -2
  867. package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
  868. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js +1 -2
  869. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
  870. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js +1 -2
  871. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
  872. package/build/schemas/v2020_07_22/createTestOptions.builder.js +1 -2
  873. package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
  874. package/build/schemas/v2020_07_22/generatedFile.builder.js +1 -2
  875. package/build/schemas/v2020_07_22/generatedFile.builder.js.map +1 -1
  876. package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js +1 -2
  877. package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
  878. package/build/schemas/v2020_07_22/listenEventOptions.builder.js +1 -2
  879. package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
  880. package/build/schemas/v2020_07_22/namedTemplateItem.builder.js +1 -2
  881. package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
  882. package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js +1 -2
  883. package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
  884. package/build/schemas/v2020_07_22/onboardOptions.builder.js +1 -2
  885. package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
  886. package/build/schemas/v2020_07_22/onboarding.builder.js +1 -2
  887. package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
  888. package/build/schemas/v2020_07_22/personWithToken.builder.js +1 -2
  889. package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
  890. package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js +1 -2
  891. package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
  892. package/build/schemas/v2020_07_22/setupTestsOptions.builder.js +1 -2
  893. package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
  894. package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js +1 -2
  895. package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
  896. package/build/schemas/v2020_07_22/skillFeature.builder.js +1 -2
  897. package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
  898. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js +1 -2
  899. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
  900. package/build/schemas/v2020_07_22/syncEventOptions.builder.js +1 -2
  901. package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
  902. package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js +1 -2
  903. package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
  904. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js +1 -2
  905. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
  906. package/build/schemas/v2020_07_22/testOptions.builder.js +1 -2
  907. package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
  908. package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js +1 -2
  909. package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
  910. package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js +1 -2
  911. package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
  912. package/build/services/BuildService.js +9 -6
  913. package/build/services/BuildService.js.map +1 -1
  914. package/build/services/CommandService.js +9 -6
  915. package/build/services/CommandService.js.map +1 -1
  916. package/build/services/DependencyService.js +1 -2
  917. package/build/services/DependencyService.js.map +1 -1
  918. package/build/services/GameService.js +9 -6
  919. package/build/services/GameService.js.map +1 -1
  920. package/build/services/ImportService.js +31 -22
  921. package/build/services/ImportService.js.map +1 -1
  922. package/build/services/LintService.js +9 -8
  923. package/build/services/LintService.js.map +1 -1
  924. package/build/services/PkgService.js +17 -10
  925. package/build/services/PkgService.js.map +1 -1
  926. package/build/services/ServiceFactory.js +1 -2
  927. package/build/services/ServiceFactory.js.map +1 -1
  928. package/build/services/TypeCheckerService.js +9 -8
  929. package/build/services/TypeCheckerService.js.map +1 -1
  930. package/build/stores/AbstractLocalStore.js +1 -2
  931. package/build/stores/AbstractLocalStore.js.map +1 -1
  932. package/build/stores/AbstractStore.js +9 -6
  933. package/build/stores/AbstractStore.js.map +1 -1
  934. package/build/stores/StoreFactory.js +1 -2
  935. package/build/stores/StoreFactory.js.map +1 -1
  936. package/build/templateItemBuilders/EventTemplateItemBuilder.js +1 -2
  937. package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
  938. package/build/templateItemBuilders/FieldTemplateItemBuilder.js +1 -2
  939. package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
  940. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js +1 -2
  941. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
  942. package/build/tests/AbstractCliTest.js +121 -62
  943. package/build/tests/AbstractCliTest.js.map +1 -1
  944. package/build/tests/AbstractErrorTest.js +9 -6
  945. package/build/tests/AbstractErrorTest.js.map +1 -1
  946. package/build/tests/AbstractEventTest.js +33 -18
  947. package/build/tests/AbstractEventTest.js.map +1 -1
  948. package/build/tests/AbstractSchemaTest.js +25 -14
  949. package/build/tests/AbstractSchemaTest.js.map +1 -1
  950. package/build/tests/AbstractSkillTest.js +25 -14
  951. package/build/tests/AbstractSkillTest.js.map +1 -1
  952. package/build/tests/AbstractTestTest.js +9 -6
  953. package/build/tests/AbstractTestTest.js.map +1 -1
  954. package/build/tests/CommandFaker.js +1 -2
  955. package/build/tests/CommandFaker.js.map +1 -1
  956. package/build/tests/JestJsonParser.js +1 -2
  957. package/build/tests/JestJsonParser.js.map +1 -1
  958. package/build/tests/MockProgramFactory.js +16 -12
  959. package/build/tests/MockProgramFactory.js.map +1 -1
  960. package/build/tests/buildTestCache.js +49 -32
  961. package/build/tests/buildTestCache.js.map +1 -1
  962. package/build/tests/cleanTestData.js +45 -27
  963. package/build/tests/cleanTestData.js.map +1 -1
  964. package/build/tests/constants.js +8 -16
  965. package/build/tests/constants.js.map +1 -1
  966. package/build/tests/fixtures/FeatureFixture.js +49 -26
  967. package/build/tests/fixtures/FeatureFixture.js.map +1 -1
  968. package/build/tests/fixtures/MercuryFixture.js +9 -6
  969. package/build/tests/fixtures/MercuryFixture.js.map +1 -1
  970. package/build/tests/fixtures/OrganizationFixture.js +25 -14
  971. package/build/tests/fixtures/OrganizationFixture.js.map +1 -1
  972. package/build/tests/fixtures/PersonFixture.js +18 -12
  973. package/build/tests/fixtures/PersonFixture.js.map +1 -1
  974. package/build/tests/fixtures/SkillFixture.js +57 -32
  975. package/build/tests/fixtures/SkillFixture.js.map +1 -1
  976. package/build/tests/fixtures/ViewFixture.js +9 -6
  977. package/build/tests/fixtures/ViewFixture.js.map +1 -1
  978. package/build/tests/utilities/test.utility.js +1 -2
  979. package/build/tests/utilities/test.utility.js.map +1 -1
  980. package/build/tests/utilities/uiAssert.utility.js +1 -2
  981. package/build/tests/utilities/uiAssert.utility.js.map +1 -1
  982. package/build/updaters/ScriptUpdater.js +9 -6
  983. package/build/updaters/ScriptUpdater.js.map +1 -1
  984. package/build/utilities/action.utility.js +1 -2
  985. package/build/utilities/action.utility.js.map +1 -1
  986. package/build/utilities/apiClient.utility.js +1 -2
  987. package/build/utilities/apiClient.utility.js.map +1 -1
  988. package/build/utilities/argParser.utility.js +1 -2
  989. package/build/utilities/argParser.utility.js.map +1 -1
  990. package/build/utilities/commander.utility.js +1 -2
  991. package/build/utilities/commander.utility.js.map +1 -1
  992. package/build/utilities/duration.utility.js +1 -2
  993. package/build/utilities/duration.utility.js.map +1 -1
  994. package/build/utilities/eventContractCleaner.utility.js +1 -2
  995. package/build/utilities/eventContractCleaner.utility.js.map +1 -1
  996. package/build/utilities/form.utility.js +1 -2
  997. package/build/utilities/form.utility.js.map +1 -1
  998. package/build/utilities/introspection.utility.js +1 -2
  999. package/build/utilities/introspection.utility.js.map +1 -1
  1000. package/build/utilities/tsConfig.utility.js +1 -2
  1001. package/build/utilities/tsConfig.utility.js.map +1 -1
  1002. package/build/utilities/ui.utility.js +1 -2
  1003. package/build/utilities/ui.utility.js.map +1 -1
  1004. package/build/widgets/Theme.js +1 -2
  1005. package/build/widgets/Theme.js.map +1 -1
  1006. package/build/widgets/WidgetFactory.js +1 -2
  1007. package/build/widgets/WidgetFactory.js.map +1 -1
  1008. package/build/widgets/keySelectChoices.js +1 -2
  1009. package/build/widgets/keySelectChoices.js.map +1 -1
  1010. package/build/widgets/terminalKit/TKButtonWidget.js +1 -2
  1011. package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
  1012. package/build/widgets/terminalKit/TkBaseWidget.js +9 -6
  1013. package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -1
  1014. package/build/widgets/terminalKit/TkInputWidget.js +17 -10
  1015. package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
  1016. package/build/widgets/terminalKit/TkLayoutCellWidget.js +1 -2
  1017. package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -1
  1018. package/build/widgets/terminalKit/TkLayoutWidget.js +9 -6
  1019. package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
  1020. package/build/widgets/terminalKit/TkMenuBarWidget.js +1 -2
  1021. package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
  1022. package/build/widgets/terminalKit/TkPopupWidget.js +1 -2
  1023. package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
  1024. package/build/widgets/terminalKit/TkProgressBarWidget.js +1 -2
  1025. package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -1
  1026. package/build/widgets/terminalKit/TkTextWidget.js +9 -6
  1027. package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
  1028. package/build/widgets/terminalKit/TkWindowWidget.js +17 -10
  1029. package/build/widgets/terminalKit/TkWindowWidget.js.map +1 -1
  1030. package/build/widgets/terminalKit/termKit.utility.js +1 -2
  1031. package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
  1032. package/build/widgets/types/button.types.js +1 -2
  1033. package/build/widgets/types/button.types.js.map +1 -1
  1034. package/build/widgets/types/factory.types.js +2 -4
  1035. package/build/widgets/types/factory.types.js.map +1 -1
  1036. package/build/widgets/types/input.types.js +1 -2
  1037. package/build/widgets/types/input.types.js.map +1 -1
  1038. package/build/widgets/types/menuBar.types.js +1 -2
  1039. package/build/widgets/types/menuBar.types.js.map +1 -1
  1040. package/build/widgets/types/popup.types.js +1 -2
  1041. package/build/widgets/types/popup.types.js.map +1 -1
  1042. package/build/widgets/types/text.types.js +1 -2
  1043. package/build/widgets/types/text.types.js.map +1 -1
  1044. package/build/widgets/types/window.types.js +1 -2
  1045. package/build/widgets/types/window.types.js.map +1 -1
  1046. package/build/widgets/widget.utilities.js +1 -2
  1047. package/build/widgets/widget.utilities.js.map +1 -1
  1048. package/build/writers/AbstractWriter.js +25 -14
  1049. package/build/writers/AbstractWriter.js.map +1 -1
  1050. package/build/writers/WriterFactory.js +1 -2
  1051. package/build/writers/WriterFactory.js.map +1 -1
  1052. package/package.json +38 -38
@@ -21,7 +21,7 @@ var _test = _interopRequireDefault(require("../../../tests/utilities/test.utilit
21
21
  var _dec, _dec2, _dec3, _dec4, _dec5, _class;
22
22
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
23
23
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
24
- var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), _dec4 = (0, _testUtils.test)(), _dec5 = (0, _testUtils.test)(), (_class = /*#__PURE__*/function (_AbstractErrorTest, _hasSyncErrorAction, _returnsHelpfulErrorWhenTsNodeIsRemoved, _errorsStayInSyncWhenSchemasAreDeleted, _canHandleNestedSchemasWithoutAddingThemToOptions, _canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields) {
24
+ var KeepingErrorsInSyncTest = exports["default"] = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), _dec4 = (0, _testUtils.test)(), _dec5 = (0, _testUtils.test)(), (_class = /*#__PURE__*/function (_AbstractErrorTest) {
25
25
  (0, _inherits2["default"])(KeepingErrorsInSyncTest, _AbstractErrorTest);
26
26
  var _super = _createSuper(KeepingErrorsInSyncTest);
27
27
  function KeepingErrorsInSyncTest() {
@@ -30,8 +30,8 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
30
30
  }
31
31
  (0, _createClass2["default"])(KeepingErrorsInSyncTest, null, [{
32
32
  key: "hasSyncErrorAction",
33
- value: function hasSyncErrorAction() {
34
- return (_hasSyncErrorAction = _hasSyncErrorAction || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
33
+ value: function () {
34
+ var _hasSyncErrorAction = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
35
35
  return _regenerator["default"].wrap(function _callee$(_context) {
36
36
  while (1) switch (_context.prev = _context.next) {
37
37
  case 0:
@@ -44,12 +44,16 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
44
44
  return _context.stop();
45
45
  }
46
46
  }, _callee, this);
47
- }))).apply(this, arguments);
48
- }
47
+ }));
48
+ function hasSyncErrorAction() {
49
+ return _hasSyncErrorAction.apply(this, arguments);
50
+ }
51
+ return hasSyncErrorAction;
52
+ }()
49
53
  }, {
50
54
  key: "returnsHelpfulErrorWhenTsNodeIsRemoved",
51
- value: function returnsHelpfulErrorWhenTsNodeIsRemoved() {
52
- return (_returnsHelpfulErrorWhenTsNodeIsRemoved = _returnsHelpfulErrorWhenTsNodeIsRemoved || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
55
+ value: function () {
56
+ var _returnsHelpfulErrorWhenTsNodeIsRemoved = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
53
57
  var createAction, pkg, results;
54
58
  return _regenerator["default"].wrap(function _callee2$(_context2) {
55
59
  while (1) switch (_context2.prev = _context2.next) {
@@ -80,12 +84,16 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
80
84
  return _context2.stop();
81
85
  }
82
86
  }, _callee2, this);
83
- }))).apply(this, arguments);
84
- }
87
+ }));
88
+ function returnsHelpfulErrorWhenTsNodeIsRemoved() {
89
+ return _returnsHelpfulErrorWhenTsNodeIsRemoved.apply(this, arguments);
90
+ }
91
+ return returnsHelpfulErrorWhenTsNodeIsRemoved;
92
+ }()
85
93
  }, {
86
94
  key: "errorsStayInSyncWhenSchemasAreDeleted",
87
- value: function errorsStayInSyncWhenSchemasAreDeleted() {
88
- return (_errorsStayInSyncWhenSchemasAreDeleted = _errorsStayInSyncWhenSchemasAreDeleted || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
95
+ value: function () {
96
+ var _errorsStayInSyncWhenSchemasAreDeleted = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
89
97
  var createAction, results, optionsMatch, typesMatch, optionsContent, typesContent, builderMatch, testError1, testError1SchemaMatch, testError1BuilderMatch;
90
98
  return _regenerator["default"].wrap(function _callee3$(_context3) {
91
99
  while (1) switch (_context3.prev = _context3.next) {
@@ -168,12 +176,16 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
168
176
  return _context3.stop();
169
177
  }
170
178
  }, _callee3, this);
171
- }))).apply(this, arguments);
172
- }
179
+ }));
180
+ function errorsStayInSyncWhenSchemasAreDeleted() {
181
+ return _errorsStayInSyncWhenSchemasAreDeleted.apply(this, arguments);
182
+ }
183
+ return errorsStayInSyncWhenSchemasAreDeleted;
184
+ }()
173
185
  }, {
174
186
  key: "canHandleNestedSchemasWithoutAddingThemToOptions",
175
- value: function canHandleNestedSchemasWithoutAddingThemToOptions() {
176
- return (_canHandleNestedSchemasWithoutAddingThemToOptions = _canHandleNestedSchemasWithoutAddingThemToOptions || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
187
+ value: function () {
188
+ var _canHandleNestedSchemasWithoutAddingThemToOptions = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
177
189
  var source, destination, results, errorTypesFile, typeChecker, errorOptionsFile, contents, errorClassFile, classContents, createAction, syncResults, parentSchema, parentSchemaContents;
178
190
  return _regenerator["default"].wrap(function _callee4$(_context4) {
179
191
  while (1) switch (_context4.prev = _context4.next) {
@@ -225,12 +237,16 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
225
237
  return _context4.stop();
226
238
  }
227
239
  }, _callee4, this);
228
- }))).apply(this, arguments);
229
- }
240
+ }));
241
+ function canHandleNestedSchemasWithoutAddingThemToOptions() {
242
+ return _canHandleNestedSchemasWithoutAddingThemToOptions.apply(this, arguments);
243
+ }
244
+ return canHandleNestedSchemasWithoutAddingThemToOptions;
245
+ }()
230
246
  }, {
231
247
  key: "canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields",
232
- value: function canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields() {
233
- return (_canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields = _canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
248
+ value: function () {
249
+ var _canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
234
250
  var createAction, results, syncAction, syncResults;
235
251
  return _regenerator["default"].wrap(function _callee5$(_context5) {
236
252
  while (1) switch (_context5.prev = _context5.next) {
@@ -263,10 +279,13 @@ var KeepingErrorsInSyncTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testU
263
279
  return _context5.stop();
264
280
  }
265
281
  }, _callee5, this);
266
- }))).apply(this, arguments);
267
- }
282
+ }));
283
+ function canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields() {
284
+ return _canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields.apply(this, arguments);
285
+ }
286
+ return canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields;
287
+ }()
268
288
  }]);
269
289
  return KeepingErrorsInSyncTest;
270
290
  }(_AbstractErrorTest2["default"]), ((0, _applyDecoratedDescriptor2["default"])(_class, "hasSyncErrorAction", [_dec], Object.getOwnPropertyDescriptor(_class, "hasSyncErrorAction"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "returnsHelpfulErrorWhenTsNodeIsRemoved", [_dec2], Object.getOwnPropertyDescriptor(_class, "returnsHelpfulErrorWhenTsNodeIsRemoved"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "errorsStayInSyncWhenSchemasAreDeleted", [_dec3], Object.getOwnPropertyDescriptor(_class, "errorsStayInSyncWhenSchemasAreDeleted"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "canHandleNestedSchemasWithoutAddingThemToOptions", [_dec4], Object.getOwnPropertyDescriptor(_class, "canHandleNestedSchemasWithoutAddingThemToOptions"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields", [_dec5], Object.getOwnPropertyDescriptor(_class, "canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields"), _class)), _class));
271
- exports["default"] = KeepingErrorsInSyncTest;
272
291
  //# sourceMappingURL=KeepingErrorsInSync.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeepingErrorsInSync.test.js","names":["_spruceSkillUtils","require","_testUtils","_ImportService","_interopRequireDefault","_AbstractErrorTest2","_test","_dec","_dec2","_dec3","_dec4","_dec5","_class","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","KeepingErrorsInSyncTest","test","_AbstractErrorTest","_hasSyncErrorAction","_returnsHelpfulErrorWhenTsNodeIsRemoved","_errorsStayInSyncWhenSchemasAreDeleted","_canHandleNestedSchemasWithoutAddingThemToOptions","_canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields","_inherits2","_super","_classCallCheck2","_createClass2","key","value","hasSyncErrorAction","_asyncToGenerator2","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","Cli","assert","isFunction","Action","execute","stop","returnsHelpfulErrorWhenTsNodeIsRemoved","_callee2","createAction","pkg","results","_callee2$","_context2","installErrorFeature","nameReadable","nameCamel","Service","uninstall","ImportService","clearCache","sent","isTruthy","errors","isLength","errorsStayInSyncWhenSchemasAreDeleted","_callee3","optionsMatch","typesMatch","optionsContent","typesContent","builderMatch","testError1","testError1SchemaMatch","testError1BuilderMatch","_callee3$","_context3","testUtil","assertFileByNameInGeneratedFiles","files","check","diskUtil","readFile","doesInclude","deleteFile","isFalse","doesFileExist","resolveHashSprucePath","isTrue","errorTypesFile","doesNotInclude","canHandleNestedSchemasWithoutAddingThemToOptions","_callee4","source","destination","typeChecker","errorOptionsFile","contents","errorClassFile","classContents","syncResults","parentSchema","parentSchemaContents","_callee4$","_context4","resolveTestPath","resolvePath","copyDir","assertValidActionResponseFiles","cwd","canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields","_callee5","syncAction","_callee5$","_context5","shouldFetchCoreSchemas","isFalsy","writeFile","path","AbstractErrorTest","_applyDecoratedDescriptor2","Object","getOwnPropertyDescriptor","exports"],"sources":["../../../../src/__tests__/behavioral/errors/KeepingErrorsInSync.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { assert, test } from '@sprucelabs/test-utils'\nimport ImportService from '../../../services/ImportService'\nimport AbstractErrorTest from '../../../tests/AbstractErrorTest'\nimport testUtil from '../../../tests/utilities/test.utility'\n\nexport default class KeepingErrorsInSyncTest extends AbstractErrorTest {\n\t@test()\n\tprotected static async hasSyncErrorAction() {\n\t\tawait this.Cli()\n\t\tassert.isFunction(this.Action('error', 'sync').execute)\n\t}\n\n\t@test()\n\tprotected static async returnsHelpfulErrorWhenTsNodeIsRemoved() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tawait createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t})\n\n\t\tconst pkg = this.Service('pkg')\n\t\tawait pkg.uninstall('ts-node')\n\n\t\tImportService.clearCache()\n\n\t\tconst results = await this.Action('error', 'sync').execute({})\n\n\t\tassert.isTruthy(results.errors)\n\t\tassert.isLength(results.errors, 1)\n\t}\n\n\t@test()\n\tprotected static async errorsStayInSyncWhenSchemasAreDeleted() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tconst results = await createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t})\n\n\t\tconst optionsMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/^options\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tawait this.Service('typeChecker').check(optionsMatch)\n\n\t\tconst typesMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/^errors\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\t// should contain our test error\n\t\tlet optionsContent = diskUtil.readFile(optionsMatch)\n\t\tassert.doesInclude(optionsContent, /SpruceErrors\\.TestingErrors\\.TestError/)\n\n\t\tlet typesContent = diskUtil.readFile(typesMatch)\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError/gis\n\t\t)\n\n\t\t// delete our testError\n\t\tconst builderMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/testError\\.builder/,\n\t\t\tresults.files\n\t\t)\n\n\t\tdiskUtil.deleteFile(builderMatch)\n\n\t\t// resync\n\t\tawait this.Action('error', 'sync').execute({})\n\n\t\t// #spruce/errors should not exist\n\t\tassert.isFalse(diskUtil.doesFileExist(this.resolveHashSprucePath('errors')))\n\n\t\t// build 2 errors\n\t\tconst testError1 = await createAction.execute({\n\t\t\tnameCamel: 'testError1',\n\t\t\tnameReadable: 'Test error 1',\n\t\t})\n\n\t\tconst testError1SchemaMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'testError1.schema',\n\t\t\ttestError1.files\n\t\t)\n\n\t\tconst testError1BuilderMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'testError1.builder',\n\t\t\ttestError1.files\n\t\t)\n\n\t\tawait createAction.execute({\n\t\t\tnameCamel: 'testError2',\n\t\t\tnameReadable: 'Test error 2',\n\t\t})\n\n\t\t// #spruce/errors should exist\n\t\tassert.isTrue(diskUtil.doesFileExist(this.resolveHashSprucePath('errors')))\n\n\t\ttypesContent = diskUtil.readFile(this.errorTypesFile)\n\n\t\t// types should include both\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError1/gis\n\t\t)\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError2/gis\n\t\t)\n\n\t\t// definition file for testError1\n\t\tassert.isTrue(diskUtil.doesFileExist(testError1SchemaMatch))\n\n\t\t// delete builder 1\n\t\tdiskUtil.deleteFile(testError1BuilderMatch)\n\t\tassert.isFalse(diskUtil.doesFileExist(testError1BuilderMatch))\n\n\t\t// sync\n\t\tawait this.Action('error', 'sync').execute({})\n\n\t\t// types should no longer include test error 1\n\t\ttypesContent = diskUtil.readFile(this.errorTypesFile)\n\t\tassert.doesNotInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError1/\n\t\t)\n\n\t\t// the definition file should be gone now\n\t\tassert.isFalse(diskUtil.doesFileExist(testError1SchemaMatch))\n\t}\n\n\t@test()\n\tprotected static async canHandleNestedSchemasWithoutAddingThemToOptions() {\n\t\tawait this.installErrorFeature('errors')\n\t\tconst source = this.resolveTestPath('nested_error_schemas')\n\t\tconst destination = this.resolvePath('src/errors')\n\n\t\tawait diskUtil.copyDir(source, destination)\n\n\t\tconst results = await this.Action('error', 'sync').execute({})\n\t\tconst errorTypesFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/errors\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tconst typeChecker = this.Service('typeChecker')\n\t\tawait typeChecker.check(errorTypesFile)\n\n\t\tconst errorOptionsFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/options\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tconst contents = diskUtil.readFile(errorOptionsFile)\n\t\tassert.doesNotInclude(contents, 'INestedSchema')\n\n\t\tconst errorClassFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'SpruceError.ts',\n\t\t\tresults.files\n\t\t)\n\t\tlet classContents = diskUtil.readFile(errorClassFile)\n\t\tassert.doesNotInclude(classContents, /NESTED_SCHEMA/)\n\n\t\tconst createAction = this.Action('error', 'create')\n\t\tawait createAction.execute({\n\t\t\tnameCamel: 'testError2',\n\t\t\tnameReadable: 'Test error 2',\n\t\t})\n\n\t\tconst syncResults = await this.Action('error', 'sync').execute({})\n\n\t\tclassContents = diskUtil.readFile(errorClassFile)\n\t\tassert.doesNotInclude(classContents, /NESTED_SCHEMA/)\n\n\t\tawait this.assertValidActionResponseFiles(syncResults)\n\n\t\tconst parentSchema = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'good.schema.ts',\n\t\t\tsyncResults.files\n\t\t)\n\n\t\tconst parentSchemaContents = diskUtil.readFile(parentSchema)\n\n\t\tassert.doesNotInclude(parentSchemaContents, this.cwd)\n\t}\n\n\t@test()\n\tprotected static async canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tconst results = await createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t\tshouldFetchCoreSchemas: false,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isTruthy(results.files)\n\t\tdiskUtil.writeFile(\n\t\t\tresults.files[0].path,\n\t\t\t`import { buildErrorSchema } from '@sprucelabs/schema'\n\n\n\t\texport default buildErrorSchema({\n\t\t\tid: 'testError',\n\t\t\tname: 'Test error',\n\t\t\tdescription: '',\n\t\t\tfields: {\n\t\t\t}\n\t\t})`\n\t\t)\n\n\t\tconst syncAction = this.Action('error', 'sync')\n\t\tconst syncResults = await syncAction.execute({\n\t\t\tshouldFetchCoreSchemas: false,\n\t\t})\n\t\tassert.isFalsy(syncResults.errors)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,KAAA,GAAAF,sBAAA,CAAAH,OAAA;AAA4D,IAAAM,IAAA,EAAAC,KAAA,EAAAC,KAAA,EAAAC,KAAA,EAAAC,KAAA,EAAAC,MAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO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mDsG,8BAAiB,QAAAC,0BAAA,aAAA9H,MAAA,yBAAAL,IAAA,GAAAoI,MAAA,CAAAC,wBAAA,CAAAhI,MAAA,yBAAAA,MAAA,OAAA8H,0BAAA,aAAA9H,MAAA,6CAAAJ,KAAA,GAAAmI,MAAA,CAAAC,wBAAA,CAAAhI,MAAA,6CAAAA,MAAA,OAAA8H,0BAAA,aAAA9H,MAAA,4CAAAH,KAAA,GAAAkI,MAAA,CAAAC,wBAAA,CAAAhI,MAAA,4CAAAA,MAAA,OAAA8H,0BAAA,aAAA9H,MAAA,uDAAAF,KAAA,GAAAiI,MAAA,CAAAC,wBAAA,CAAAhI,MAAA,uDAAAA,MAAA,OAAA8H,0BAAA,aAAA9H,MAAA,yDAAAD,KAAA,GAAAgI,MAAA,CAAAC,wBAAA,CAAAhI,MAAA,yDAAAA,MAAA,IAAAA,MAAA;AAAAiI,OAAA,cAAA1G,uBAAA"}
1
+ {"version":3,"file":"KeepingErrorsInSync.test.js","names":["_spruceSkillUtils","require","_testUtils","_ImportService","_interopRequireDefault","_AbstractErrorTest2","_test","_dec","_dec2","_dec3","_dec4","_dec5","_class","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","KeepingErrorsInSyncTest","exports","test","_AbstractErrorTest","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_hasSyncErrorAction","_asyncToGenerator2","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","Cli","assert","isFunction","Action","execute","stop","hasSyncErrorAction","_returnsHelpfulErrorWhenTsNodeIsRemoved","_callee2","createAction","pkg","results","_callee2$","_context2","installErrorFeature","nameReadable","nameCamel","Service","uninstall","ImportService","clearCache","sent","isTruthy","errors","isLength","returnsHelpfulErrorWhenTsNodeIsRemoved","_errorsStayInSyncWhenSchemasAreDeleted","_callee3","optionsMatch","typesMatch","optionsContent","typesContent","builderMatch","testError1","testError1SchemaMatch","testError1BuilderMatch","_callee3$","_context3","testUtil","assertFileByNameInGeneratedFiles","files","check","diskUtil","readFile","doesInclude","deleteFile","isFalse","doesFileExist","resolveHashSprucePath","isTrue","errorTypesFile","doesNotInclude","errorsStayInSyncWhenSchemasAreDeleted","_canHandleNestedSchemasWithoutAddingThemToOptions","_callee4","source","destination","typeChecker","errorOptionsFile","contents","errorClassFile","classContents","syncResults","parentSchema","parentSchemaContents","_callee4$","_context4","resolveTestPath","resolvePath","copyDir","assertValidActionResponseFiles","cwd","canHandleNestedSchemasWithoutAddingThemToOptions","_canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields","_callee5","syncAction","_callee5$","_context5","shouldFetchCoreSchemas","isFalsy","writeFile","path","canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields","AbstractErrorTest","_applyDecoratedDescriptor2","Object","getOwnPropertyDescriptor"],"sources":["../../../../src/__tests__/behavioral/errors/KeepingErrorsInSync.test.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { assert, test } from '@sprucelabs/test-utils'\nimport ImportService from '../../../services/ImportService'\nimport AbstractErrorTest from '../../../tests/AbstractErrorTest'\nimport testUtil from '../../../tests/utilities/test.utility'\n\nexport default class KeepingErrorsInSyncTest extends AbstractErrorTest {\n\t@test()\n\tprotected static async hasSyncErrorAction() {\n\t\tawait this.Cli()\n\t\tassert.isFunction(this.Action('error', 'sync').execute)\n\t}\n\n\t@test()\n\tprotected static async returnsHelpfulErrorWhenTsNodeIsRemoved() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tawait createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t})\n\n\t\tconst pkg = this.Service('pkg')\n\t\tawait pkg.uninstall('ts-node')\n\n\t\tImportService.clearCache()\n\n\t\tconst results = await this.Action('error', 'sync').execute({})\n\n\t\tassert.isTruthy(results.errors)\n\t\tassert.isLength(results.errors, 1)\n\t}\n\n\t@test()\n\tprotected static async errorsStayInSyncWhenSchemasAreDeleted() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tconst results = await createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t})\n\n\t\tconst optionsMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/^options\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tawait this.Service('typeChecker').check(optionsMatch)\n\n\t\tconst typesMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/^errors\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\t// should contain our test error\n\t\tlet optionsContent = diskUtil.readFile(optionsMatch)\n\t\tassert.doesInclude(optionsContent, /SpruceErrors\\.TestingErrors\\.TestError/)\n\n\t\tlet typesContent = diskUtil.readFile(typesMatch)\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError/gis\n\t\t)\n\n\t\t// delete our testError\n\t\tconst builderMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/testError\\.builder/,\n\t\t\tresults.files\n\t\t)\n\n\t\tdiskUtil.deleteFile(builderMatch)\n\n\t\t// resync\n\t\tawait this.Action('error', 'sync').execute({})\n\n\t\t// #spruce/errors should not exist\n\t\tassert.isFalse(diskUtil.doesFileExist(this.resolveHashSprucePath('errors')))\n\n\t\t// build 2 errors\n\t\tconst testError1 = await createAction.execute({\n\t\t\tnameCamel: 'testError1',\n\t\t\tnameReadable: 'Test error 1',\n\t\t})\n\n\t\tconst testError1SchemaMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'testError1.schema',\n\t\t\ttestError1.files\n\t\t)\n\n\t\tconst testError1BuilderMatch = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'testError1.builder',\n\t\t\ttestError1.files\n\t\t)\n\n\t\tawait createAction.execute({\n\t\t\tnameCamel: 'testError2',\n\t\t\tnameReadable: 'Test error 2',\n\t\t})\n\n\t\t// #spruce/errors should exist\n\t\tassert.isTrue(diskUtil.doesFileExist(this.resolveHashSprucePath('errors')))\n\n\t\ttypesContent = diskUtil.readFile(this.errorTypesFile)\n\n\t\t// types should include both\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError1/gis\n\t\t)\n\t\tassert.doesInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError2/gis\n\t\t)\n\n\t\t// definition file for testError1\n\t\tassert.isTrue(diskUtil.doesFileExist(testError1SchemaMatch))\n\n\t\t// delete builder 1\n\t\tdiskUtil.deleteFile(testError1BuilderMatch)\n\t\tassert.isFalse(diskUtil.doesFileExist(testError1BuilderMatch))\n\n\t\t// sync\n\t\tawait this.Action('error', 'sync').execute({})\n\n\t\t// types should no longer include test error 1\n\t\ttypesContent = diskUtil.readFile(this.errorTypesFile)\n\t\tassert.doesNotInclude(\n\t\t\ttypesContent,\n\t\t\t/SpruceErrors\\.TestingErrors.*?TestError1/\n\t\t)\n\n\t\t// the definition file should be gone now\n\t\tassert.isFalse(diskUtil.doesFileExist(testError1SchemaMatch))\n\t}\n\n\t@test()\n\tprotected static async canHandleNestedSchemasWithoutAddingThemToOptions() {\n\t\tawait this.installErrorFeature('errors')\n\t\tconst source = this.resolveTestPath('nested_error_schemas')\n\t\tconst destination = this.resolvePath('src/errors')\n\n\t\tawait diskUtil.copyDir(source, destination)\n\n\t\tconst results = await this.Action('error', 'sync').execute({})\n\t\tconst errorTypesFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/errors\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tconst typeChecker = this.Service('typeChecker')\n\t\tawait typeChecker.check(errorTypesFile)\n\n\t\tconst errorOptionsFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t/options\\.types/,\n\t\t\tresults.files\n\t\t)\n\n\t\tconst contents = diskUtil.readFile(errorOptionsFile)\n\t\tassert.doesNotInclude(contents, 'INestedSchema')\n\n\t\tconst errorClassFile = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'SpruceError.ts',\n\t\t\tresults.files\n\t\t)\n\t\tlet classContents = diskUtil.readFile(errorClassFile)\n\t\tassert.doesNotInclude(classContents, /NESTED_SCHEMA/)\n\n\t\tconst createAction = this.Action('error', 'create')\n\t\tawait createAction.execute({\n\t\t\tnameCamel: 'testError2',\n\t\t\tnameReadable: 'Test error 2',\n\t\t})\n\n\t\tconst syncResults = await this.Action('error', 'sync').execute({})\n\n\t\tclassContents = diskUtil.readFile(errorClassFile)\n\t\tassert.doesNotInclude(classContents, /NESTED_SCHEMA/)\n\n\t\tawait this.assertValidActionResponseFiles(syncResults)\n\n\t\tconst parentSchema = testUtil.assertFileByNameInGeneratedFiles(\n\t\t\t'good.schema.ts',\n\t\t\tsyncResults.files\n\t\t)\n\n\t\tconst parentSchemaContents = diskUtil.readFile(parentSchema)\n\n\t\tassert.doesNotInclude(parentSchemaContents, this.cwd)\n\t}\n\n\t@test()\n\tprotected static async canCreateAndSyncErrorsWithNoCoreSchemasAndNoFields() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst createAction = this.Action('error', 'create')\n\n\t\tconst results = await createAction.execute({\n\t\t\tnameReadable: 'Test error',\n\t\t\tnameCamel: 'testError',\n\t\t\tshouldFetchCoreSchemas: false,\n\t\t})\n\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isTruthy(results.files)\n\t\tdiskUtil.writeFile(\n\t\t\tresults.files[0].path,\n\t\t\t`import { buildErrorSchema } from '@sprucelabs/schema'\n\n\n\t\texport default buildErrorSchema({\n\t\t\tid: 'testError',\n\t\t\tname: 'Test error',\n\t\t\tdescription: '',\n\t\t\tfields: {\n\t\t\t}\n\t\t})`\n\t\t)\n\n\t\tconst syncAction = this.Action('error', 'sync')\n\t\tconst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AAA,OAAA+H,0BAAA,aAAA/H,MAAA,yDAAAD,KAAA,GAAAiI,MAAA,CAAAC,wBAAA,CAAAjI,MAAA,yDAAAA,MAAA,IAAAA,MAAA"}
@@ -18,7 +18,7 @@ var _AbstractErrorTest2 = _interopRequireDefault(require("../../../tests/Abstrac
18
18
  var _dec, _dec2, _class;
19
19
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
20
20
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
21
- var SettingUpErrorTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), (_class = /*#__PURE__*/function (_AbstractErrorTest, _failsIfSkillIsNotInstalled, _installsSchemasIfNotInstalled) {
21
+ var SettingUpErrorTest = exports["default"] = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), (_class = /*#__PURE__*/function (_AbstractErrorTest) {
22
22
  (0, _inherits2["default"])(SettingUpErrorTest, _AbstractErrorTest);
23
23
  var _super = _createSuper(SettingUpErrorTest);
24
24
  function SettingUpErrorTest() {
@@ -27,8 +27,8 @@ var SettingUpErrorTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.
27
27
  }
28
28
  (0, _createClass2["default"])(SettingUpErrorTest, null, [{
29
29
  key: "failsIfSkillIsNotInstalled",
30
- value: function failsIfSkillIsNotInstalled() {
31
- return (_failsIfSkillIsNotInstalled = _failsIfSkillIsNotInstalled || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
30
+ value: function () {
31
+ var _failsIfSkillIsNotInstalled = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
32
32
  var fixture, err;
33
33
  return _regenerator["default"].wrap(function _callee$(_context) {
34
34
  while (1) switch (_context.prev = _context.next) {
@@ -48,12 +48,16 @@ var SettingUpErrorTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.
48
48
  return _context.stop();
49
49
  }
50
50
  }, _callee, this);
51
- }))).apply(this, arguments);
52
- }
51
+ }));
52
+ function failsIfSkillIsNotInstalled() {
53
+ return _failsIfSkillIsNotInstalled.apply(this, arguments);
54
+ }
55
+ return failsIfSkillIsNotInstalled;
56
+ }()
53
57
  }, {
54
58
  key: "installsSchemasIfNotInstalled",
55
- value: function installsSchemasIfNotInstalled() {
56
- return (_installsSchemasIfNotInstalled = _installsSchemasIfNotInstalled || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
59
+ value: function () {
60
+ var _installsSchemasIfNotInstalled = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
57
61
  var installer, isSchemaInstalled, isErrorInstalled;
58
62
  return _regenerator["default"].wrap(function _callee2$(_context2) {
59
63
  while (1) switch (_context2.prev = _context2.next) {
@@ -77,10 +81,13 @@ var SettingUpErrorTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.
77
81
  return _context2.stop();
78
82
  }
79
83
  }, _callee2, this);
80
- }))).apply(this, arguments);
81
- }
84
+ }));
85
+ function installsSchemasIfNotInstalled() {
86
+ return _installsSchemasIfNotInstalled.apply(this, arguments);
87
+ }
88
+ return installsSchemasIfNotInstalled;
89
+ }()
82
90
  }]);
83
91
  return SettingUpErrorTest;
84
92
  }(_AbstractErrorTest2["default"]), ((0, _applyDecoratedDescriptor2["default"])(_class, "failsIfSkillIsNotInstalled", [_dec], Object.getOwnPropertyDescriptor(_class, "failsIfSkillIsNotInstalled"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "installsSchemasIfNotInstalled", [_dec2], Object.getOwnPropertyDescriptor(_class, "installsSchemasIfNotInstalled"), _class)), _class));
85
- exports["default"] = SettingUpErrorTest;
86
93
  //# sourceMappingURL=SettingUpErrors.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SettingUpErrors.test.js","names":["_testUtils","require","_AbstractErrorTest2","_interopRequireDefault","_dec","_dec2","_class","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","SettingUpErrorTest","test","_AbstractErrorTest","_failsIfSkillIsNotInstalled","_installsSchemasIfNotInstalled","_inherits2","_super","_classCallCheck2","_createClass2","key","value","failsIfSkillIsNotInstalled","_asyncToGenerator2","_regenerator","mark","_callee","fixture","err","wrap","_callee$","_context","prev","next","FeatureFixture","assert","doesThrowAsync","installFeatures","code","sent","errorAssert","assertError","stop","installsSchemasIfNotInstalled","_callee2","installer","isSchemaInstalled","isErrorInstalled","_callee2$","_context2","installErrorFeature","featureInstaller","isInstalled","isTrue","AbstractErrorTest","_applyDecoratedDescriptor2","Object","getOwnPropertyDescriptor","exports"],"sources":["../../../../src/__tests__/behavioral/errors/SettingUpErrors.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test-utils'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractErrorTest from '../../../tests/AbstractErrorTest'\n\nexport default class SettingUpErrorTest extends AbstractErrorTest {\n\t@test()\n\tprotected static async failsIfSkillIsNotInstalled() {\n\t\tconst fixture = this.FeatureFixture()\n\t\tconst err = await assert.doesThrowAsync(() =>\n\t\t\tfixture.installFeatures([\n\t\t\t\t{\n\t\t\t\t\tcode: 'error',\n\t\t\t\t},\n\t\t\t])\n\t\t)\n\n\t\terrorAssert.assertError(err, 'VALIDATION_FAILED')\n\t}\n\n\t@test()\n\tprotected static async installsSchemasIfNotInstalled() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst installer = this.featureInstaller\n\n\t\tconst isSchemaInstalled = await installer.isInstalled('schema')\n\t\tassert.isTrue(isSchemaInstalled)\n\n\t\tconst isErrorInstalled = await installer.isInstalled('error')\n\t\tassert.isTrue(isErrorInstalled)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,mBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAgE,IAAAG,IAAA,EAAAC,KAAA,EAAAC,MAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA;AAAA,IAE3CC,kBAAkB,IAAAzB,IAAA,GACrC,IAAA0B,eAAI,EAAC,CAAC,EAAAzB,KAAA,GAcN,IAAAyB,eAAI,EAAC,CAAC,GAAAxB,MAAA,0BAAAyB,kBAAA,EAAAC,2BAAA,EAAAC,8BAAA;EAAA,IAAAC,UAAA,aAAAL,kBAAA,EAAAE,kBAAA;EAAA,IAAAI,MAAA,GAAA5B,YAAA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IAAA;cAAA,OAEO,IAAI,CAACiB,mBAAmB,CAAC,QAAQ,CAAC;YAAA;cAElCL,SAAS,GAAG,IAAI,CAACM,gBAAgB;cAAAF,SAAA,CAAAhB,IAAA;cAAA,OAEPY,SAAS,CAACO,WAAW,CAAC,QAAQ,CAAC;YAAA;cAAzDN,iBAAiB,GAAAG,SAAA,CAAAV,IAAA;cACvBJ,iBAAM,CAACkB,MAAM,CAACP,iBAAiB,CAAC;cAAAG,SAAA,CAAAhB,IAAA;cAAA,OAEDY,SAAS,CAACO,WAAW,CAAC,OAAO,CAAC;YAAA;cAAvDL,gBAAgB,GAAAE,SAAA,CAAAV,IAAA;cACtBJ,iBAAM,CAACkB,MAAM,CAACN,gBAAgB,CAAC;YAAA;YAAA;cAAA,OAAAE,SAAA,CAAAP,IAAA;UAAA;QAAA,GAAAE,QAAA;MAAA,CAC/B,IAAA1C,KAAA,OAAAD,SAAA;IAAA;EAAA;EAAA,OAAAU,kBAAA;AAAA,EA1B8C2C,8BAAiB,QAAAC,0BAAA,aAAAnE,MAAA,iCAAAF,IAAA,GAAAsE,MAAA,CAAAC,wBAAA,CAAArE,MAAA,iCAAAA,MAAA,OAAAmE,0BAAA,aAAAnE,MAAA,oCAAAD,KAAA,GAAAqE,MAAA,CAAAC,wBAAA,CAAArE,MAAA,oCAAAA,MAAA,IAAAA,MAAA;AAAAsE,OAAA,cAAA/C,kBAAA"}
1
+ {"version":3,"file":"SettingUpErrors.test.js","names":["_testUtils","require","_AbstractErrorTest2","_interopRequireDefault","_dec","_dec2","_class","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","SettingUpErrorTest","exports","test","_AbstractErrorTest","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_failsIfSkillIsNotInstalled","_asyncToGenerator2","_regenerator","mark","_callee","fixture","err","wrap","_callee$","_context","prev","next","FeatureFixture","assert","doesThrowAsync","installFeatures","code","sent","errorAssert","assertError","stop","failsIfSkillIsNotInstalled","_installsSchemasIfNotInstalled","_callee2","installer","isSchemaInstalled","isErrorInstalled","_callee2$","_context2","installErrorFeature","featureInstaller","isInstalled","isTrue","installsSchemasIfNotInstalled","AbstractErrorTest","_applyDecoratedDescriptor2","Object","getOwnPropertyDescriptor"],"sources":["../../../../src/__tests__/behavioral/errors/SettingUpErrors.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test-utils'\nimport { errorAssert } from '@sprucelabs/test-utils'\nimport AbstractErrorTest from '../../../tests/AbstractErrorTest'\n\nexport default class SettingUpErrorTest extends AbstractErrorTest {\n\t@test()\n\tprotected static async failsIfSkillIsNotInstalled() {\n\t\tconst fixture = this.FeatureFixture()\n\t\tconst err = await assert.doesThrowAsync(() =>\n\t\t\tfixture.installFeatures([\n\t\t\t\t{\n\t\t\t\t\tcode: 'error',\n\t\t\t\t},\n\t\t\t])\n\t\t)\n\n\t\terrorAssert.assertError(err, 'VALIDATION_FAILED')\n\t}\n\n\t@test()\n\tprotected static async installsSchemasIfNotInstalled() {\n\t\tawait this.installErrorFeature('errors')\n\n\t\tconst installer = this.featureInstaller\n\n\t\tconst isSchemaInstalled = await installer.isInstalled('schema')\n\t\tassert.isTrue(isSchemaInstalled)\n\n\t\tconst isErrorInstalled = await installer.isInstalled('error')\n\t\tassert.isTrue(isErrorInstalled)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,mBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAgE,IAAAG,IAAA,EAAAC,KAAA,EAAAC,MAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,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,OAAAX,8BAAA,CAAAzC,KAAA,OAAAD,SAAA;MAAA;MAAA,OAAAqD,6BAAA;IAAA;EAAA;EAAA,OAAA3C,kBAAA;AAAA,EA1B8C4C,8BAAiB,QAAAC,0BAAA,aAAApE,MAAA,iCAAAF,IAAA,GAAAuE,MAAA,CAAAC,wBAAA,CAAAtE,MAAA,iCAAAA,MAAA,OAAAoE,0BAAA,aAAApE,MAAA,oCAAAD,KAAA,GAAAsE,MAAA,CAAAC,wBAAA,CAAAtE,MAAA,oCAAAA,MAAA,IAAAA,MAAA"}
@@ -22,7 +22,7 @@ var _test = _interopRequireDefault(require("../../../tests/utilities/test.utilit
22
22
  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2;
23
23
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
24
24
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
25
- var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), _dec4 = (0, _testUtils.test)(), _dec5 = (0, _testUtils.test)(), _dec6 = (0, _testUtils.test)(), _dec7 = (0, _testUtils.test)(), _dec8 = (0, _testUtils.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest, _beforeEach, _hasEventContractFeature, _hasPullFeature, _generatesContractAtCwd, _generatesAtDestination, _savesContractLocallyAndImportsAsDefault, _doesNotPullGlobalContracts, _contractHasTypes, _generatingASecondTimeReportsAnUpdate, _installSkillAndPullContracts, _pullContracts) {
25
+ var GeneratingMercuryEventContractTest = exports["default"] = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), _dec4 = (0, _testUtils.test)(), _dec5 = (0, _testUtils.test)(), _dec6 = (0, _testUtils.test)(), _dec7 = (0, _testUtils.test)(), _dec8 = (0, _testUtils.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
26
26
  (0, _inherits2["default"])(GeneratingMercuryEventContractTest, _AbstractCliTest);
27
27
  var _super = _createSuper(GeneratingMercuryEventContractTest);
28
28
  function GeneratingMercuryEventContractTest() {
@@ -31,8 +31,8 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
31
31
  }
32
32
  (0, _createClass2["default"])(GeneratingMercuryEventContractTest, null, [{
33
33
  key: "beforeEach",
34
- value: function beforeEach() {
35
- return (_beforeEach = _beforeEach || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
34
+ value: function () {
35
+ var _beforeEach = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
36
36
  return _regenerator["default"].wrap(function _callee$(_context) {
37
37
  while (1) switch (_context.prev = _context.next) {
38
38
  case 0:
@@ -49,12 +49,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
49
49
  return _context.stop();
50
50
  }
51
51
  }, _callee, this);
52
- }))).apply(this, arguments);
53
- }
52
+ }));
53
+ function beforeEach() {
54
+ return _beforeEach.apply(this, arguments);
55
+ }
56
+ return beforeEach;
57
+ }()
54
58
  }, {
55
59
  key: "hasEventContractFeature",
56
- value: function hasEventContractFeature() {
57
- return (_hasEventContractFeature = _hasEventContractFeature || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
60
+ value: function () {
61
+ var _hasEventContractFeature = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
58
62
  return _regenerator["default"].wrap(function _callee2$(_context2) {
59
63
  while (1) switch (_context2.prev = _context2.next) {
60
64
  case 0:
@@ -64,12 +68,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
64
68
  return _context2.stop();
65
69
  }
66
70
  }, _callee2, this);
67
- }))).apply(this, arguments);
68
- }
71
+ }));
72
+ function hasEventContractFeature() {
73
+ return _hasEventContractFeature.apply(this, arguments);
74
+ }
75
+ return hasEventContractFeature;
76
+ }()
69
77
  }, {
70
78
  key: "hasPullFeature",
71
- value: function hasPullFeature() {
72
- return (_hasPullFeature = _hasPullFeature || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
79
+ value: function () {
80
+ var _hasPullFeature = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
73
81
  return _regenerator["default"].wrap(function _callee3$(_context3) {
74
82
  while (1) switch (_context3.prev = _context3.next) {
75
83
  case 0:
@@ -79,12 +87,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
79
87
  return _context3.stop();
80
88
  }
81
89
  }, _callee3, this);
82
- }))).apply(this, arguments);
83
- }
90
+ }));
91
+ function hasPullFeature() {
92
+ return _hasPullFeature.apply(this, arguments);
93
+ }
94
+ return hasPullFeature;
95
+ }()
84
96
  }, {
85
97
  key: "generatesContractAtCwd",
86
- value: function generatesContractAtCwd() {
87
- return (_generatesContractAtCwd = _generatesContractAtCwd || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
98
+ value: function () {
99
+ var _generatesContractAtCwd = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
88
100
  var _results$files;
89
101
  var results, match, contents;
90
102
  return _regenerator["default"].wrap(function _callee4$(_context4) {
@@ -111,12 +123,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
111
123
  return _context4.stop();
112
124
  }
113
125
  }, _callee4, this);
114
- }))).apply(this, arguments);
115
- }
126
+ }));
127
+ function generatesContractAtCwd() {
128
+ return _generatesContractAtCwd.apply(this, arguments);
129
+ }
130
+ return generatesContractAtCwd;
131
+ }()
116
132
  }, {
117
133
  key: "generatesAtDestination",
118
- value: function generatesAtDestination() {
119
- return (_generatesAtDestination = _generatesAtDestination || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
134
+ value: function () {
135
+ var _generatesAtDestination = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
120
136
  var results, match, expected;
121
137
  return _regenerator["default"].wrap(function _callee5$(_context5) {
122
138
  while (1) switch (_context5.prev = _context5.next) {
@@ -138,12 +154,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
138
154
  return _context5.stop();
139
155
  }
140
156
  }, _callee5, this);
141
- }))).apply(this, arguments);
142
- }
157
+ }));
158
+ function generatesAtDestination() {
159
+ return _generatesAtDestination.apply(this, arguments);
160
+ }
161
+ return generatesAtDestination;
162
+ }()
143
163
  }, {
144
164
  key: "savesContractLocallyAndImportsAsDefault",
145
- value: function savesContractLocallyAndImportsAsDefault() {
146
- return (_savesContractLocallyAndImportsAsDefault = _savesContractLocallyAndImportsAsDefault || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6() {
165
+ value: function () {
166
+ var _savesContractLocallyAndImportsAsDefault = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6() {
147
167
  var contracts;
148
168
  return _regenerator["default"].wrap(function _callee6$(_context6) {
149
169
  while (1) switch (_context6.prev = _context6.next) {
@@ -160,12 +180,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
160
180
  return _context6.stop();
161
181
  }
162
182
  }, _callee6, this);
163
- }))).apply(this, arguments);
164
- }
183
+ }));
184
+ function savesContractLocallyAndImportsAsDefault() {
185
+ return _savesContractLocallyAndImportsAsDefault.apply(this, arguments);
186
+ }
187
+ return savesContractLocallyAndImportsAsDefault;
188
+ }()
165
189
  }, {
166
190
  key: "doesNotPullGlobalContracts",
167
- value: function doesNotPullGlobalContracts() {
168
- return (_doesNotPullGlobalContracts = _doesNotPullGlobalContracts || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7() {
191
+ value: function () {
192
+ var _doesNotPullGlobalContracts = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7() {
169
193
  var events, contracts;
170
194
  return _regenerator["default"].wrap(function _callee7$(_context7) {
171
195
  while (1) switch (_context7.prev = _context7.next) {
@@ -206,12 +230,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
206
230
  return _context7.stop();
207
231
  }
208
232
  }, _callee7, this);
209
- }))).apply(this, arguments);
210
- }
233
+ }));
234
+ function doesNotPullGlobalContracts() {
235
+ return _doesNotPullGlobalContracts.apply(this, arguments);
236
+ }
237
+ return doesNotPullGlobalContracts;
238
+ }()
211
239
  }, {
212
240
  key: "contractHasTypes",
213
- value: function contractHasTypes() {
214
- return (_contractHasTypes = _contractHasTypes || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8() {
241
+ value: function () {
242
+ var _contractHasTypes = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8() {
215
243
  var promise, results, match, contents;
216
244
  return _regenerator["default"].wrap(function _callee8$(_context8) {
217
245
  while (1) switch (_context8.prev = _context8.next) {
@@ -237,12 +265,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
237
265
  return _context8.stop();
238
266
  }
239
267
  }, _callee8, this);
240
- }))).apply(this, arguments);
241
- }
268
+ }));
269
+ function contractHasTypes() {
270
+ return _contractHasTypes.apply(this, arguments);
271
+ }
272
+ return contractHasTypes;
273
+ }()
242
274
  }, {
243
275
  key: "generatingASecondTimeReportsAnUpdate",
244
- value: function generatingASecondTimeReportsAnUpdate() {
245
- return (_generatingASecondTimeReportsAnUpdate = _generatingASecondTimeReportsAnUpdate || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9() {
276
+ value: function () {
277
+ var _generatingASecondTimeReportsAnUpdate = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9() {
246
278
  var _results$files2;
247
279
  var results;
248
280
  return _regenerator["default"].wrap(function _callee9$(_context9) {
@@ -269,12 +301,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
269
301
  return _context9.stop();
270
302
  }
271
303
  }, _callee9, this);
272
- }))).apply(this, arguments);
273
- }
304
+ }));
305
+ function generatingASecondTimeReportsAnUpdate() {
306
+ return _generatingASecondTimeReportsAnUpdate.apply(this, arguments);
307
+ }
308
+ return generatingASecondTimeReportsAnUpdate;
309
+ }()
274
310
  }, {
275
311
  key: "installSkillAndPullContracts",
276
- value: function installSkillAndPullContracts() {
277
- return (_installSkillAndPullContracts = _installSkillAndPullContracts || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee10() {
312
+ value: function () {
313
+ var _installSkillAndPullContracts = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee10() {
278
314
  return _regenerator["default"].wrap(function _callee10$(_context10) {
279
315
  while (1) switch (_context10.prev = _context10.next) {
280
316
  case 0:
@@ -291,12 +327,16 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
291
327
  return _context10.stop();
292
328
  }
293
329
  }, _callee10, this);
294
- }))).apply(this, arguments);
295
- }
330
+ }));
331
+ function installSkillAndPullContracts() {
332
+ return _installSkillAndPullContracts.apply(this, arguments);
333
+ }
334
+ return installSkillAndPullContracts;
335
+ }()
296
336
  }, {
297
337
  key: "pullContracts",
298
- value: function pullContracts() {
299
- return (_pullContracts = _pullContracts || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee11() {
338
+ value: function () {
339
+ var _pullContracts = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee11() {
300
340
  var results, match, contracts;
301
341
  return _regenerator["default"].wrap(function _callee11$(_context11) {
302
342
  while (1) switch (_context11.prev = _context11.next) {
@@ -316,10 +356,13 @@ var GeneratingMercuryEventContractTest = (_dec = (0, _testUtils.test)(), _dec2 =
316
356
  return _context11.stop();
317
357
  }
318
358
  }, _callee11, this);
319
- }))).apply(this, arguments);
320
- }
359
+ }));
360
+ function pullContracts() {
361
+ return _pullContracts.apply(this, arguments);
362
+ }
363
+ return pullContracts;
364
+ }()
321
365
  }]);
322
366
  return GeneratingMercuryEventContractTest;
323
367
  }(_AbstractCliTest2["default"]), (0, _defineProperty2["default"])(_class2, "cli", void 0), _class2), ((0, _applyDecoratedDescriptor2["default"])(_class, "hasEventContractFeature", [_dec], Object.getOwnPropertyDescriptor(_class, "hasEventContractFeature"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "hasPullFeature", [_dec2], Object.getOwnPropertyDescriptor(_class, "hasPullFeature"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "generatesContractAtCwd", [_dec3], Object.getOwnPropertyDescriptor(_class, "generatesContractAtCwd"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "generatesAtDestination", [_dec4], Object.getOwnPropertyDescriptor(_class, "generatesAtDestination"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "savesContractLocallyAndImportsAsDefault", [_dec5], Object.getOwnPropertyDescriptor(_class, "savesContractLocallyAndImportsAsDefault"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "doesNotPullGlobalContracts", [_dec6], Object.getOwnPropertyDescriptor(_class, "doesNotPullGlobalContracts"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "contractHasTypes", [_dec7], Object.getOwnPropertyDescriptor(_class, "contractHasTypes"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "generatingASecondTimeReportsAnUpdate", [_dec8], Object.getOwnPropertyDescriptor(_class, "generatingASecondTimeReportsAnUpdate"), _class)), _class));
324
- exports["default"] = GeneratingMercuryEventContractTest;
325
368
  //# sourceMappingURL=PullingMercuryEventContract.test.js.map