@sprucelabs/spruce-cli 19.1.20 → 19.1.23

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 (1054) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/GlobalEmitter.js +2 -2
  3. package/build/GlobalEmitter.js.map +1 -1
  4. package/build/InFlightEntertainment.js +2 -2
  5. package/build/InFlightEntertainment.js.map +1 -1
  6. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
  7. package/build/__tests__/behavioral/DeployingToSandbox.test.js +6 -6
  8. package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
  9. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +1 -1
  10. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
  11. package/build/__tests__/behavioral/events/CreatingAListener.test.js +2 -2
  12. package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
  13. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +2 -2
  14. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
  15. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
  16. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +2 -2
  17. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
  18. package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js +1 -1
  19. package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js.map +1 -1
  20. package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js +1 -1
  21. package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js.map +1 -1
  22. package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js +2 -2
  23. package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
  24. package/build/__tests__/behavioral/skill/BootingASkill.test.js +1 -1
  25. package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
  26. package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
  27. package/build/__tests__/behavioral/tests/RunningTests.test.js +2 -2
  28. package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
  29. package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js +1 -1
  30. package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js.map +1 -1
  31. package/build/__tests__/implementation/EventContractCleanerUtil.test.js +2 -2
  32. package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
  33. package/build/__tests__/implementation/EventStore.test.js +1 -1
  34. package/build/__tests__/implementation/EventStore.test.js.map +1 -1
  35. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +2 -2
  36. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
  37. package/build/__tests__/implementation/SchemaStore.test.js +2 -2
  38. package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
  39. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +2 -2
  40. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
  41. package/build/cli/Cli.js +2 -2
  42. package/build/cli/Cli.js.map +1 -1
  43. package/build/components/AbstractComponent.js +2 -2
  44. package/build/components/AbstractComponent.js.map +1 -1
  45. package/build/components/FormComponent.js +2 -2
  46. package/build/components/FormComponent.js.map +1 -1
  47. package/build/components/QuizComponent.js +2 -2
  48. package/build/components/QuizComponent.js.map +1 -1
  49. package/build/features/AbstractAction.js +2 -2
  50. package/build/features/AbstractAction.js.map +1 -1
  51. package/build/features/AbstractFeature.js +2 -2
  52. package/build/features/AbstractFeature.js.map +1 -1
  53. package/build/features/ActionExecuter.js +2 -2
  54. package/build/features/ActionExecuter.js.map +1 -1
  55. package/build/features/ActionFactory.js +2 -2
  56. package/build/features/ActionFactory.js.map +1 -1
  57. package/build/features/ActionQuestionAsker.js +2 -2
  58. package/build/features/ActionQuestionAsker.js.map +1 -1
  59. package/build/features/FeatureCommandAttacher.js +2 -2
  60. package/build/features/FeatureCommandAttacher.js.map +1 -1
  61. package/build/features/FeatureInstaller.js +14 -14
  62. package/build/features/FeatureInstaller.js.map +1 -1
  63. package/build/features/OverrideActionDecorator.js +4 -4
  64. package/build/features/OverrideActionDecorator.js.map +1 -1
  65. package/build/features/conversation/actions/TestAction.js +3 -3
  66. package/build/features/conversation/actions/TestAction.js.map +1 -1
  67. package/build/features/deploy/actions/HerokuAction.js +1 -1
  68. package/build/features/deploy/actions/HerokuAction.js.map +1 -1
  69. package/build/features/error/actions/CreateAction.js +2 -2
  70. package/build/features/error/actions/CreateAction.js.map +1 -1
  71. package/build/features/error/actions/SyncAction.js +2 -2
  72. package/build/features/error/actions/SyncAction.js.map +1 -1
  73. package/build/features/error/writers/ErrorWriter.js +2 -2
  74. package/build/features/error/writers/ErrorWriter.js.map +1 -1
  75. package/build/features/event/actions/CreateAction.js +2 -2
  76. package/build/features/event/actions/CreateAction.js.map +1 -1
  77. package/build/features/event/actions/ListenAction.js +2 -2
  78. package/build/features/event/actions/ListenAction.js.map +1 -1
  79. package/build/features/event/actions/SyncAction.js.map +1 -1
  80. package/build/features/event/builders/EventContractBuilder.js +2 -2
  81. package/build/features/event/builders/EventContractBuilder.js.map +1 -1
  82. package/build/features/event/builders/ListenerTemplateItemBuilder.js +2 -2
  83. package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
  84. package/build/features/event/stores/EventStore.js +5 -5
  85. package/build/features/event/stores/EventStore.js.map +1 -1
  86. package/build/features/event/stores/ListenerStore.js +2 -2
  87. package/build/features/event/stores/ListenerStore.js.map +1 -1
  88. package/build/features/event/writers/EventWriter.js +2 -2
  89. package/build/features/event/writers/EventWriter.js.map +1 -1
  90. package/build/features/eventContract/actions/PullAction.js +2 -2
  91. package/build/features/eventContract/actions/PullAction.js.map +1 -1
  92. package/build/features/features.types.js.map +1 -1
  93. package/build/features/node/NodeFeature.d.ts +2 -7
  94. package/build/features/node/NodeFeature.js +2 -2
  95. package/build/features/node/NodeFeature.js.map +1 -1
  96. package/build/features/node/actions/UpgradeAction.js +2 -2
  97. package/build/features/node/actions/UpgradeAction.js.map +1 -1
  98. package/build/features/node/writers/NodeWriter.js +2 -2
  99. package/build/features/node/writers/NodeWriter.js.map +1 -1
  100. package/build/features/onboard/ScriptPlayer.js.map +1 -1
  101. package/build/features/permission/actions/CreateAction.js +2 -2
  102. package/build/features/permission/actions/CreateAction.js.map +1 -1
  103. package/build/features/person/actions/LoginAction.js +2 -2
  104. package/build/features/person/actions/LoginAction.js.map +1 -1
  105. package/build/features/schema/actions/CreateAction.js +2 -2
  106. package/build/features/schema/actions/CreateAction.js.map +1 -1
  107. package/build/features/schema/stores/SchemaStore.js +5 -5
  108. package/build/features/schema/stores/SchemaStore.js.map +1 -1
  109. package/build/features/schema/utilities/schemaDisk.utility.js +2 -2
  110. package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
  111. package/build/features/schema/writers/SchemaWriter.js +2 -2
  112. package/build/features/schema/writers/SchemaWriter.js.map +1 -1
  113. package/build/features/skill/SkillFeature.js +2 -2
  114. package/build/features/skill/SkillFeature.js.map +1 -1
  115. package/build/features/skill/actions/BootAction.js +2 -2
  116. package/build/features/skill/actions/BootAction.js.map +1 -1
  117. package/build/features/skill/actions/CreateAction.js +2 -2
  118. package/build/features/skill/actions/CreateAction.js.map +1 -1
  119. package/build/features/skill/actions/RebuildAction.js +1 -1
  120. package/build/features/skill/actions/RebuildAction.js.map +1 -1
  121. package/build/features/skill/stores/SkillStore.js +2 -2
  122. package/build/features/skill/stores/SkillStore.js.map +1 -1
  123. package/build/features/skill/writers/SkillWriter.js +2 -2
  124. package/build/features/skill/writers/SkillWriter.js.map +1 -1
  125. package/build/features/store/actions/CreateAction.js +2 -2
  126. package/build/features/store/actions/CreateAction.js.map +1 -1
  127. package/build/features/test/TestFeature.js +2 -2
  128. package/build/features/test/TestFeature.js.map +1 -1
  129. package/build/features/test/TestLogItemGenerator.js +2 -2
  130. package/build/features/test/TestLogItemGenerator.js.map +1 -1
  131. package/build/features/test/TestReporter.js +19 -19
  132. package/build/features/test/TestReporter.js.map +1 -1
  133. package/build/features/test/TestRunner.js +2 -2
  134. package/build/features/test/TestRunner.js.map +1 -1
  135. package/build/features/test/actions/CreateAction.js +2 -2
  136. package/build/features/test/actions/CreateAction.js.map +1 -1
  137. package/build/features/test/actions/TestAction.js +25 -25
  138. package/build/features/test/actions/TestAction.js.map +1 -1
  139. package/build/features/universalDevDependencies.d.ts +2 -7
  140. package/build/features/universalDevDependencies.js +0 -1
  141. package/build/features/universalDevDependencies.js.map +1 -1
  142. package/build/features/validateAndNormalize.utility.js +2 -2
  143. package/build/features/validateAndNormalize.utility.js.map +1 -1
  144. package/build/features/view/actions/CreateAction.js +2 -2
  145. package/build/features/view/actions/CreateAction.js.map +1 -1
  146. package/build/features/view/writers/ViewWriter.js +2 -2
  147. package/build/features/view/writers/ViewWriter.js.map +1 -1
  148. package/build/features/vscode/actions/SetupAction.js +1 -1
  149. package/build/features/vscode/actions/SetupAction.js.map +1 -1
  150. package/build/features/watch/WatchFeature.js.map +1 -1
  151. package/build/interfaces/SpyInterface.js +11 -11
  152. package/build/interfaces/SpyInterface.js.map +1 -1
  153. package/build/interfaces/TerminalInterface.js +3 -3
  154. package/build/interfaces/TerminalInterface.js.map +1 -1
  155. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js +2 -2
  156. package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
  157. package/build/schemas/v2020_07_22/createErrorOptions.builder.js +2 -2
  158. package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
  159. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js +2 -2
  160. package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
  161. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js +2 -2
  162. package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
  163. package/build/schemas/v2020_07_22/listenEventOptions.builder.js +2 -2
  164. package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
  165. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js +2 -2
  166. package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
  167. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js +2 -2
  168. package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
  169. package/build/services/CommandService.js +10 -10
  170. package/build/services/CommandService.js.map +1 -1
  171. package/build/services/GameService.js +2 -2
  172. package/build/services/GameService.js.map +1 -1
  173. package/build/stores/AbstractLocalStore.js +2 -2
  174. package/build/stores/AbstractLocalStore.js.map +1 -1
  175. package/build/stores/AbstractStore.js.map +1 -1
  176. package/build/stores/StoreFactory.js +2 -2
  177. package/build/stores/StoreFactory.js.map +1 -1
  178. package/build/templateItemBuilders/EventTemplateItemBuilder.js +2 -2
  179. package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
  180. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js +4 -4
  181. package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
  182. package/build/tests/AbstractCliTest.js +2 -2
  183. package/build/tests/AbstractCliTest.js.map +1 -1
  184. package/build/tests/AbstractEventTest.js +2 -2
  185. package/build/tests/AbstractEventTest.js.map +1 -1
  186. package/build/tests/AbstractSchemaTest.js +2 -2
  187. package/build/tests/AbstractSchemaTest.js.map +1 -1
  188. package/build/tests/JestJsonParser.js +3 -3
  189. package/build/tests/JestJsonParser.js.map +1 -1
  190. package/build/tests/fixtures/FeatureFixture.js +2 -2
  191. package/build/tests/fixtures/FeatureFixture.js.map +1 -1
  192. package/build/tests/fixtures/OrganizationFixture.js +2 -2
  193. package/build/tests/fixtures/PersonFixture.js +2 -2
  194. package/build/tests/fixtures/PersonFixture.js.map +1 -1
  195. package/build/tests/fixtures/SkillFixture.js +2 -2
  196. package/build/tests/fixtures/SkillFixture.js.map +1 -1
  197. package/build/updaters/ScriptUpdater.js +2 -2
  198. package/build/updaters/ScriptUpdater.js.map +1 -1
  199. package/build/utilities/commander.utility.js +2 -2
  200. package/build/utilities/commander.utility.js.map +1 -1
  201. package/build/utilities/eventContractCleaner.utility.js +2 -2
  202. package/build/utilities/eventContractCleaner.utility.js.map +1 -1
  203. package/build/utilities/form.utility.js.map +1 -1
  204. package/build/widgets/WidgetFactory.js +2 -2
  205. package/build/widgets/WidgetFactory.js.map +1 -1
  206. package/build/widgets/keySelectChoices.js.map +1 -1
  207. package/build/widgets/terminalKit/TKButtonWidget.js +2 -2
  208. package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
  209. package/build/widgets/terminalKit/TkBaseWidget.js +4 -4
  210. package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -1
  211. package/build/widgets/terminalKit/TkInputWidget.js +2 -2
  212. package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
  213. package/build/widgets/terminalKit/TkLayoutCellWidget.js +2 -2
  214. package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -1
  215. package/build/widgets/terminalKit/TkLayoutWidget.js +2 -2
  216. package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
  217. package/build/widgets/terminalKit/TkMenuBarWidget.js +2 -2
  218. package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
  219. package/build/widgets/terminalKit/TkPopupWidget.js +2 -2
  220. package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
  221. package/build/widgets/terminalKit/TkProgressBarWidget.js +2 -2
  222. package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -1
  223. package/build/widgets/terminalKit/TkTextWidget.js +2 -2
  224. package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
  225. package/build/widgets/terminalKit/termKit.utility.js +2 -2
  226. package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
  227. package/build/writers/AbstractWriter.js +2 -2
  228. package/build/writers/AbstractWriter.js.map +1 -1
  229. package/build/writers/WriterFactory.js +2 -2
  230. package/build/writers/WriterFactory.js.map +1 -1
  231. package/package.json +32 -32
  232. package/src/__tests__/behavioral/CreatingAConversationTopic.test.ts +2 -3
  233. package/src/__tests__/behavioral/events/KeepingEventsInSync.test.ts +2 -3
  234. package/src/__tests__/behavioral/events/RegisteringGlobalEvents.test.ts +4 -6
  235. package/src/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.ts +2 -3
  236. package/src/__tests__/behavioral/tests/CreatingATest.test.ts +4 -6
  237. package/src/components/FormComponent.ts +3 -4
  238. package/src/features/AbstractFeature.ts +1 -1
  239. package/src/features/ActionQuestionAsker.ts +1 -1
  240. package/src/features/FeatureInstaller.ts +1 -2
  241. package/src/features/event/actions/SyncAction.ts +2 -3
  242. package/src/features/features.types.ts +1 -1
  243. package/src/features/node/NodeFeature.ts +1 -1
  244. package/src/features/onboard/ScriptPlayer.ts +3 -4
  245. package/src/features/skill/SkillFeature.ts +1 -1
  246. package/src/features/universalDevDependencies.ts +1 -1
  247. package/src/features/watch/WatchFeature.ts +6 -3
  248. package/src/stores/AbstractLocalStore.ts +1 -1
  249. package/src/stores/AbstractStore.ts +1 -1
  250. package/src/tests/AbstractCliTest.ts +2 -2
  251. package/src/utilities/form.utility.ts +4 -2
  252. package/src/widgets/keySelectChoices.ts +1 -1
  253. package/node_modules/@typescript-eslint/parser/LICENSE +0 -22
  254. package/node_modules/@typescript-eslint/parser/README.md +0 -10
  255. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +0 -8
  256. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +0 -22
  257. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +0 -8
  258. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +0 -1
  259. package/node_modules/@typescript-eslint/parser/dist/index.js +0 -17
  260. package/node_modules/@typescript-eslint/parser/dist/index.js.map +0 -1
  261. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +0 -19
  262. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +0 -1
  263. package/node_modules/@typescript-eslint/parser/dist/parser.js +0 -131
  264. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +0 -1
  265. package/node_modules/@typescript-eslint/parser/package.json +0 -75
  266. package/node_modules/@typescript-eslint/scope-manager/LICENSE +0 -21
  267. package/node_modules/@typescript-eslint/scope-manager/README.md +0 -8
  268. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +0 -4
  269. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +0 -1
  270. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +0 -22
  271. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +0 -1
  272. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +0 -73
  273. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +0 -1
  274. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +0 -183
  275. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +0 -1
  276. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +0 -62
  277. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +0 -1
  278. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +0 -58
  279. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +0 -1
  280. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +0 -3
  281. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +0 -1
  282. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +0 -11
  283. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +0 -1
  284. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +0 -10
  285. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +0 -1
  286. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +0 -14
  287. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +0 -1
  288. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +0 -10
  289. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +0 -1
  290. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +0 -14
  291. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +0 -1
  292. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +0 -14
  293. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +0 -1
  294. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +0 -3
  295. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +0 -1
  296. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +0 -39
  297. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +0 -1
  298. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +0 -19
  299. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +0 -1
  300. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +0 -15
  301. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +0 -1
  302. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +0 -18
  303. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +0 -1
  304. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +0 -10
  305. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +0 -1
  306. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +0 -14
  307. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +0 -1
  308. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +0 -10
  309. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +0 -1
  310. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +0 -14
  311. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +0 -1
  312. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +0 -11
  313. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +0 -1
  314. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +0 -14
  315. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +0 -1
  316. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +0 -14
  317. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +0 -1
  318. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +0 -15
  319. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +0 -1
  320. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +0 -10
  321. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +0 -1
  322. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +0 -14
  323. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +0 -1
  324. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +0 -10
  325. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +0 -1
  326. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +0 -14
  327. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +0 -1
  328. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +0 -10
  329. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +0 -1
  330. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +0 -14
  331. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +0 -1
  332. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +0 -10
  333. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +0 -1
  334. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +0 -14
  335. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +0 -1
  336. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +0 -10
  337. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +0 -1
  338. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +0 -14
  339. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +0 -1
  340. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +0 -14
  341. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +0 -1
  342. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +0 -30
  343. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +0 -1
  344. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +0 -9
  345. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +0 -1
  346. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +0 -31
  347. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +0 -1
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +0 -16
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +0 -1
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +0 -23
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +0 -1
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +0 -3
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +0 -1
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +0 -21
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +0 -1
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +0 -3
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +0 -1
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +0 -15
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +0 -1
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +0 -3
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +0 -1
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +0 -3
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +0 -1
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +0 -71
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +0 -1
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +0 -1317
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +0 -1
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +0 -3
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +0 -1
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +0 -21
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +0 -1
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +0 -3
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +0 -1
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +0 -23
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +0 -1
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +0 -3
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +0 -1
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +0 -3
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +0 -1
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +0 -11
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +0 -1
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +0 -3
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +0 -1
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +0 -11
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +0 -1
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +0 -19
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +0 -1
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +0 -3
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +0 -1
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +0 -12
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +0 -1
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +0 -3
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +0 -1
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +0 -13
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +0 -1
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +0 -3
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +0 -1
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +0 -12
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +0 -1
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +0 -3
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +0 -1
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +0 -12
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +0 -1
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +0 -3
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +0 -1
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +0 -11
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +0 -1
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +0 -3
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +0 -1
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +0 -22
  411. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +0 -1
  412. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +0 -3
  413. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +0 -1
  414. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +0 -3
  415. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +0 -1
  416. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +0 -14
  417. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +0 -1
  418. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +0 -11
  419. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +0 -1
  420. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +0 -3
  421. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +0 -1
  422. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +0 -3
  423. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +0 -1
  424. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +0 -14
  425. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +0 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +0 -3
  427. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +0 -1
  428. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +0 -12
  429. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +0 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +0 -15
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +0 -1
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +0 -3
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +0 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +0 -12
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +0 -1
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +0 -3
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +0 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +0 -12
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +0 -1
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +0 -3
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +0 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +0 -12
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +0 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +0 -3
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +0 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +0 -20
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +0 -1
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +0 -3
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +0 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +0 -11
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +0 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +0 -3
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +0 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +0 -12
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +0 -1
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +0 -3
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +0 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +0 -3
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +0 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +0 -14
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +0 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +0 -3
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +0 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +0 -12
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +0 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +0 -15
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +0 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +0 -3
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +0 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +0 -12
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +0 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +0 -3
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +0 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +0 -14
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +0 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +0 -3
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +0 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +0 -14
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +0 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +0 -3
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +0 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +0 -3
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +0 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +0 -14
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +0 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +0 -3
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +0 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +0 -12
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +0 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +0 -15
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +0 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +0 -3
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +0 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +0 -11
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +0 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +0 -3
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +0 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +0 -12
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +0 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +0 -3
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +0 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +0 -12
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +0 -1
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +0 -3
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +0 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +0 -11
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +0 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +0 -3
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +0 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +0 -3
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +0 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +0 -11
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +0 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +0 -3
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +0 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +0 -14
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +0 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +0 -3
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +0 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +0 -11
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +0 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +0 -18
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +0 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +0 -3
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +0 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +0 -11
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +0 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +0 -3
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +0 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +0 -15
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +0 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +0 -3
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +0 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +0 -12
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +0 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +0 -3
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +0 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +0 -11
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +0 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +0 -3
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +0 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +0 -12
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +0 -1
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +0 -3
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +0 -1
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +0 -3
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +0 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +0 -14
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +0 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +0 -3
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +0 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +0 -12
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +0 -1
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +0 -14
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +0 -1
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +0 -3
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +0 -1
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +0 -14
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +0 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +0 -3
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +0 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +0 -12
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +0 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +0 -3
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +0 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +0 -15
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +0 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +0 -3
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +0 -1
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +0 -24
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +0 -1
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +0 -3
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +0 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +0 -3
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +0 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +0 -21
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +0 -1
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +0 -3
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +0 -1
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +0 -14
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +0 -1
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +0 -3
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +0 -1
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +0 -12
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +0 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +0 -17
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +0 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +0 -3
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +0 -1
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +0 -12
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +0 -1
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +0 -3
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +0 -1
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +0 -15
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +0 -1
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +0 -3
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +0 -1
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +0 -12
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +0 -1
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +0 -3
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +0 -1
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +0 -12
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +0 -1
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +0 -3
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +0 -1
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +0 -24
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +0 -1
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +0 -3
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +0 -1
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +0 -3
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +0 -1
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +0 -14
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +0 -1
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +0 -11
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +0 -1
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +0 -3
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +0 -1
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +0 -12
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +0 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +0 -3
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +0 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +0 -19
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +0 -1
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +0 -3
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +0 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +0 -11
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +0 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +0 -3
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +0 -1
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +0 -24
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +0 -1
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +0 -3
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +0 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +0 -12
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +0 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +0 -3
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +0 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +0 -11
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +0 -1
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +0 -3
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +0 -1
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +0 -3
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +0 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +0 -14
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +0 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +0 -3
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +0 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +0 -12
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +0 -1
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +0 -11
  651. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +0 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +0 -3
  653. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +0 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +0 -14
  655. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +0 -1
  656. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +0 -3
  657. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +0 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +0 -12
  659. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +0 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +0 -3
  661. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +0 -1
  662. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +0 -12
  663. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +0 -1
  664. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +0 -3
  665. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +0 -1
  666. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +0 -15
  667. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +0 -1
  668. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +0 -88
  669. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +0 -1
  670. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +0 -179
  671. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +0 -1
  672. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +0 -3
  673. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +0 -1
  674. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +0 -13
  675. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +0 -1
  676. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +0 -3
  677. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +0 -1
  678. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +0 -24
  679. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +0 -1
  680. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +0 -3
  681. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +0 -1
  682. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +0 -3
  683. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +0 -1
  684. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +0 -9
  685. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +0 -1
  686. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +0 -3
  687. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +0 -1
  688. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +0 -30
  689. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +0 -1
  690. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +0 -495
  691. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +0 -1
  692. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +0 -29
  693. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +0 -1
  694. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +0 -329
  695. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +0 -1
  696. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +0 -15
  697. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +0 -1
  698. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +0 -84
  699. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +0 -1
  700. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +0 -14
  701. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +0 -1
  702. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +0 -50
  703. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +0 -1
  704. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +0 -29
  705. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +0 -1
  706. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +0 -109
  707. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +0 -1
  708. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +0 -89
  709. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +0 -1
  710. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +0 -107
  711. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +0 -1
  712. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +0 -86
  713. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +0 -1
  714. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +0 -547
  715. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +0 -1
  716. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +0 -33
  717. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +0 -1
  718. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +0 -228
  719. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +0 -1
  720. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +0 -13
  721. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +0 -1
  722. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +0 -41
  723. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +0 -1
  724. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +0 -22
  725. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +0 -1
  726. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +0 -82
  727. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +0 -1
  728. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +0 -2
  729. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +0 -1
  730. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +0 -6
  731. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +0 -1
  732. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +0 -10
  733. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +0 -1
  734. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +0 -12
  735. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +0 -1
  736. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +0 -10
  737. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +0 -1
  738. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +0 -12
  739. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +0 -1
  740. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +0 -10
  741. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +0 -1
  742. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +0 -12
  743. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +0 -1
  744. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +0 -10
  745. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +0 -1
  746. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +0 -12
  747. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +0 -1
  748. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +0 -10
  749. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +0 -1
  750. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +0 -12
  751. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +0 -1
  752. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +0 -10
  753. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +0 -1
  754. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +0 -12
  755. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +0 -1
  756. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +0 -10
  757. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +0 -1
  758. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +0 -12
  759. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +0 -1
  760. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +0 -11
  761. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +0 -1
  762. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +0 -17
  763. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +0 -1
  764. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +0 -13
  765. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +0 -1
  766. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +0 -37
  767. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +0 -1
  768. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +0 -10
  769. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +0 -1
  770. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +0 -12
  771. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +0 -1
  772. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +0 -18
  773. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +0 -1
  774. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +0 -39
  775. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +0 -1
  776. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +0 -10
  777. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +0 -1
  778. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +0 -12
  779. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +0 -1
  780. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +0 -10
  781. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +0 -1
  782. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +0 -12
  783. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +0 -1
  784. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +0 -21
  785. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +0 -1
  786. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +0 -3
  787. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +0 -1
  788. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +0 -107
  789. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +0 -1
  790. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +0 -363
  791. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +0 -1
  792. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +0 -22
  793. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +0 -1
  794. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +0 -25
  795. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +0 -1
  796. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +0 -10
  797. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +0 -1
  798. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +0 -12
  799. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +0 -1
  800. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +0 -10
  801. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +0 -1
  802. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +0 -12
  803. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +0 -1
  804. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +0 -10
  805. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +0 -1
  806. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +0 -12
  807. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +0 -1
  808. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +0 -10
  809. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +0 -1
  810. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +0 -12
  811. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +0 -1
  812. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +0 -11
  813. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +0 -1
  814. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +0 -22
  815. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +0 -1
  816. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +0 -20
  817. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +0 -1
  818. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +0 -36
  819. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +0 -1
  820. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +0 -34
  821. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +0 -1
  822. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +0 -12
  823. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +0 -1
  824. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +0 -25
  825. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +0 -1
  826. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +0 -19
  827. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +0 -1
  828. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +0 -18
  829. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +0 -1
  830. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +0 -33
  831. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +0 -1
  832. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +0 -44
  833. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +0 -1
  834. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +0 -39
  835. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +0 -1
  836. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +0 -4
  837. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +0 -1
  838. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +0 -10
  839. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +0 -1
  840. package/node_modules/@typescript-eslint/scope-manager/package.json +0 -67
  841. package/node_modules/@typescript-eslint/types/LICENSE +0 -21
  842. package/node_modules/@typescript-eslint/types/README.md +0 -12
  843. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +0 -1806
  844. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +0 -5
  845. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +0 -3
  846. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +0 -40
  847. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +0 -9
  848. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +0 -1803
  849. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +0 -1
  850. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +0 -202
  851. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +0 -1
  852. package/node_modules/@typescript-eslint/types/dist/index.d.ts +0 -5
  853. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +0 -1
  854. package/node_modules/@typescript-eslint/types/dist/index.js +0 -24
  855. package/node_modules/@typescript-eslint/types/dist/index.js.map +0 -1
  856. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +0 -3
  857. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +0 -1
  858. package/node_modules/@typescript-eslint/types/dist/lib.js +0 -7
  859. package/node_modules/@typescript-eslint/types/dist/lib.js.map +0 -1
  860. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +0 -40
  861. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +0 -1
  862. package/node_modules/@typescript-eslint/types/dist/parser-options.js +0 -3
  863. package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +0 -1
  864. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +0 -8
  865. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +0 -1
  866. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +0 -28
  867. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +0 -1
  868. package/node_modules/@typescript-eslint/types/package.json +0 -84
  869. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +0 -26
  870. package/node_modules/@typescript-eslint/typescript-estree/README.md +0 -10
  871. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +0 -9
  872. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/clear-caches.d.ts +0 -10
  873. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +0 -11
  874. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +0 -159
  875. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
  876. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +0 -9
  877. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +0 -9
  878. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +0 -9
  879. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +0 -5
  880. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/describeFilePath.d.ts +0 -2
  881. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +0 -5
  882. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getWatchProgramsForProjects.d.ts +0 -15
  883. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +0 -29
  884. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +0 -13
  885. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/getModifiers.d.ts +0 -4
  886. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +0 -12
  887. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +0 -2
  888. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +0 -231
  889. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/ExpiringCache.d.ts +0 -17
  890. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/createParseSettings.d.ts +0 -5
  891. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/getProjectConfigFiles.d.ts +0 -12
  892. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/index.d.ts +0 -107
  893. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/inferSingleRun.d.ts +0 -15
  894. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/resolveProjectList.d.ts +0 -19
  895. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/warnAboutTSVersion.d.ts +0 -3
  896. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +0 -181
  897. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +0 -25
  898. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +0 -13
  899. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +0 -9
  900. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -178
  901. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +0 -4
  902. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +0 -20
  903. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +0 -3
  904. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +0 -9
  905. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +0 -1
  906. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +0 -60
  907. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +0 -1
  908. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts +0 -10
  909. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map +0 -1
  910. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +0 -24
  911. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +0 -1
  912. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +0 -11
  913. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +0 -1
  914. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +0 -63
  915. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +0 -1
  916. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +0 -159
  917. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +0 -1
  918. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +0 -2423
  919. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +0 -1
  920. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
  921. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +0 -1
  922. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +0 -6
  923. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +0 -1
  924. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +0 -9
  925. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +0 -1
  926. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +0 -65
  927. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +0 -1
  928. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +0 -9
  929. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +0 -1
  930. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +0 -83
  931. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +0 -1
  932. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +0 -9
  933. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +0 -1
  934. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +0 -102
  935. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +0 -1
  936. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +0 -5
  937. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +0 -1
  938. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +0 -40
  939. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +0 -1
  940. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts +0 -2
  941. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts.map +0 -1
  942. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +0 -32
  943. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +0 -1
  944. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +0 -5
  945. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +0 -1
  946. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +0 -72
  947. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +0 -1
  948. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts +0 -15
  949. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +0 -1
  950. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +0 -409
  951. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +0 -1
  952. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +0 -29
  953. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +0 -1
  954. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +0 -130
  955. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +0 -1
  956. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +0 -13
  957. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +0 -1
  958. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +0 -93
  959. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +0 -1
  960. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +0 -4
  961. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +0 -1
  962. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +0 -68
  963. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +0 -1
  964. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +0 -12
  965. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +0 -1
  966. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +0 -38
  967. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +0 -1
  968. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +0 -2
  969. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +0 -1
  970. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +0 -259
  971. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +0 -1
  972. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +0 -228
  973. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +0 -1
  974. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +0 -597
  975. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +0 -1
  976. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts +0 -17
  977. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts.map +0 -1
  978. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +0 -62
  979. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +0 -1
  980. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +0 -5
  981. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +0 -1
  982. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +0 -119
  983. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +0 -1
  984. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts +0 -12
  985. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +0 -1
  986. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +0 -70
  987. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +0 -1
  988. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +0 -107
  989. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +0 -1
  990. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +0 -3
  991. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js.map +0 -1
  992. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.d.ts +0 -15
  993. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.d.ts.map +0 -1
  994. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +0 -53
  995. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map +0 -1
  996. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts +0 -19
  997. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts.map +0 -1
  998. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +0 -103
  999. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +0 -1
  1000. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts +0 -3
  1001. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map +0 -1
  1002. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +0 -68
  1003. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +0 -1
  1004. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +0 -181
  1005. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +0 -1
  1006. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +0 -3
  1007. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +0 -1
  1008. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +0 -25
  1009. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +0 -1
  1010. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +0 -173
  1011. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +0 -1
  1012. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +0 -13
  1013. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +0 -1
  1014. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +0 -93
  1015. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +0 -1
  1016. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +0 -9
  1017. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +0 -1
  1018. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +0 -54
  1019. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +0 -1
  1020. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -178
  1021. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +0 -1
  1022. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +0 -3
  1023. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +0 -1
  1024. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +0 -4
  1025. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +0 -1
  1026. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +0 -25
  1027. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +0 -1
  1028. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +0 -20
  1029. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +0 -1
  1030. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +0 -3
  1031. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +0 -1
  1032. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +0 -3
  1033. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +0 -1
  1034. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +0 -55
  1035. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +0 -1
  1036. package/node_modules/@typescript-eslint/typescript-estree/package.json +0 -85
  1037. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +0 -21
  1038. package/node_modules/@typescript-eslint/visitor-keys/README.md +0 -10
  1039. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +0 -4
  1040. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +0 -3
  1041. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +0 -6
  1042. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +0 -4
  1043. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +0 -1
  1044. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +0 -7
  1045. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +0 -1
  1046. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +0 -3
  1047. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +0 -1
  1048. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +0 -8
  1049. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +0 -1
  1050. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +0 -6
  1051. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +0 -1
  1052. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +0 -175
  1053. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +0 -1
  1054. package/node_modules/@typescript-eslint/visitor-keys/package.json +0 -60
@@ -172,7 +172,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
172
172
  name = _change$values.name;
173
173
  if (this.doWeCareAboutThisFileChanging(path)) {
174
174
  var _this$testReporter3;
175
- (_this$testReporter3 = this.testReporter) === null || _this$testReporter3 === void 0 ? void 0 : _this$testReporter3.setStatusLabel("Built file: ".concat(name));
175
+ (_this$testReporter3 = this.testReporter) === null || _this$testReporter3 === void 0 || _this$testReporter3.setStatusLabel("Built file: ".concat(name));
176
176
  shouldRestart = true;
177
177
  filesWeCareAbout.push(path);
178
178
  break;
@@ -188,7 +188,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
188
188
  if (this.fileChangeTimeout) {
189
189
  clearTimeout(this.fileChangeTimeout);
190
190
  }
191
- (_this$testReporter2 = this.testReporter) === null || _this$testReporter2 === void 0 ? void 0 : _this$testReporter2.startCountdownTimer(this.watchDelaySec);
191
+ (_this$testReporter2 = this.testReporter) === null || _this$testReporter2 === void 0 || _this$testReporter2.startCountdownTimer(this.watchDelaySec);
192
192
  this.fileChangeTimeout = setTimeout(function () {
193
193
  if (_this2.watchMode === 'smart') {
194
194
  var smartFilter = _this2.generateFilterFromChangedFiles(filesWeCareAbout);
@@ -235,7 +235,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
235
235
  } else {
236
236
  this.inspect = this.originalInspect;
237
237
  }
238
- (_this$testReporter4 = this.testReporter) === null || _this$testReporter4 === void 0 ? void 0 : _this$testReporter4.setIsDebugging(!!this.inspect);
238
+ (_this$testReporter4 = this.testReporter) === null || _this$testReporter4 === void 0 || _this$testReporter4.setIsDebugging(!!this.inspect);
239
239
  this.restart();
240
240
  }
241
241
  }, {
@@ -243,7 +243,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
243
243
  value: function handletoggleStandardWatch() {
244
244
  if (this.watchMode === 'standard') {
245
245
  var _this$testReporter5;
246
- (_this$testReporter5 = this.testReporter) === null || _this$testReporter5 === void 0 ? void 0 : _this$testReporter5.setWatchMode('off');
246
+ (_this$testReporter5 = this.testReporter) === null || _this$testReporter5 === void 0 || _this$testReporter5.setWatchMode('off');
247
247
  } else {
248
248
  this.setWatchMode('standard');
249
249
  }
@@ -262,7 +262,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
262
262
  value: function setWatchMode(mode) {
263
263
  var _this$testReporter6;
264
264
  this.watchMode = mode;
265
- (_this$testReporter6 = this.testReporter) === null || _this$testReporter6 === void 0 ? void 0 : _this$testReporter6.setWatchMode(mode);
265
+ (_this$testReporter6 = this.testReporter) === null || _this$testReporter6 === void 0 || _this$testReporter6.setWatchMode(mode);
266
266
  this.hasWatchEverBeenEnabled = true;
267
267
  }
268
268
  }, {
@@ -282,7 +282,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
282
282
  value: function handleRerunTestFile(file) {
283
283
  var _this$testReporter7;
284
284
  var name = this.fileToFilterPattern(file);
285
- (_this$testReporter7 = this.testReporter) === null || _this$testReporter7 === void 0 ? void 0 : _this$testReporter7.setFilterPattern(name);
285
+ (_this$testReporter7 = this.testReporter) === null || _this$testReporter7 === void 0 || _this$testReporter7.setFilterPattern(name);
286
286
  this.handleFilterPatternChange(name);
287
287
  }
288
288
  }, {
@@ -299,7 +299,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
299
299
  value: function handleFilterPatternChange(filterPattern) {
300
300
  var _this$testReporter8;
301
301
  this.pattern = filterPattern;
302
- (_this$testReporter8 = this.testReporter) === null || _this$testReporter8 === void 0 ? void 0 : _this$testReporter8.setFilterPattern(filterPattern);
302
+ (_this$testReporter8 = this.testReporter) === null || _this$testReporter8 === void 0 || _this$testReporter8.setFilterPattern(filterPattern);
303
303
  this.restart();
304
304
  }
305
305
  }, {
@@ -308,7 +308,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
308
308
  if (this.runnerStatus === 'hold') {
309
309
  var _this$holdPromiseReso;
310
310
  this.runnerStatus = 'run';
311
- (_this$holdPromiseReso = this.holdPromiseResolve) === null || _this$holdPromiseReso === void 0 ? void 0 : _this$holdPromiseReso.call(this);
311
+ (_this$holdPromiseReso = this.holdPromiseResolve) === null || _this$holdPromiseReso === void 0 || _this$holdPromiseReso.call(this);
312
312
  this.holdPromiseResolve = undefined;
313
313
  } else if (this.runnerStatus === 'run') {
314
314
  this.runnerStatus = 'hold';
@@ -324,8 +324,8 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
324
324
  key: "kill",
325
325
  value: function kill() {
326
326
  var _this$testRunner, _this$holdPromiseReso2;
327
- (_this$testRunner = this.testRunner) === null || _this$testRunner === void 0 ? void 0 : _this$testRunner.kill();
328
- (_this$holdPromiseReso2 = this.holdPromiseResolve) === null || _this$holdPromiseReso2 === void 0 ? void 0 : _this$holdPromiseReso2.call(this);
327
+ (_this$testRunner = this.testRunner) === null || _this$testRunner === void 0 || _this$testRunner.kill();
328
+ (_this$holdPromiseReso2 = this.holdPromiseResolve) === null || _this$holdPromiseReso2 === void 0 || _this$holdPromiseReso2.call(this);
329
329
  this.holdPromiseResolve = undefined;
330
330
  }
331
331
  }, {
@@ -376,8 +376,8 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
376
376
  }
377
377
  return _context3.abrupt("return", this.lastTestResults);
378
378
  case 5:
379
- (_this$testReporter9 = this.testReporter) === null || _this$testReporter9 === void 0 ? void 0 : _this$testReporter9.setStatus('ready');
380
- (_this$testReporter10 = this.testReporter) === null || _this$testReporter10 === void 0 ? void 0 : _this$testReporter10.stopCountdownTimer();
379
+ (_this$testReporter9 = this.testReporter) === null || _this$testReporter9 === void 0 || _this$testReporter9.setStatus('ready');
380
+ (_this$testReporter10 = this.testReporter) === null || _this$testReporter10 === void 0 || _this$testReporter10.stopCountdownTimer();
381
381
  this.testRunner = new _TestRunner["default"]({
382
382
  cwd: this.cwd,
383
383
  commandService: this.Service('command')
@@ -393,8 +393,8 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
393
393
  if (firstUpdate) {
394
394
  var _this4$testReporter, _this4$testReporter2;
395
395
  firstUpdate = false;
396
- (_this4$testReporter = _this4.testReporter) === null || _this4$testReporter === void 0 ? void 0 : _this4$testReporter.setStatus('running');
397
- (_this4$testReporter2 = _this4.testReporter) === null || _this4$testReporter2 === void 0 ? void 0 : _this4$testReporter2.reset();
396
+ (_this4$testReporter = _this4.testReporter) === null || _this4$testReporter === void 0 || _this4$testReporter.setStatus('running');
397
+ (_this4$testReporter2 = _this4.testReporter) === null || _this4$testReporter2 === void 0 || _this4$testReporter2.reset();
398
398
  }
399
399
  if (_this4.watchMode === 'smart' && payload.results.totalFailed > 0) {
400
400
  var failed = payload.results.testFiles.find(function (file) {
@@ -408,15 +408,15 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
408
408
  return;
409
409
  }
410
410
  }
411
- (_this4$testReporter3 = _this4.testReporter) === null || _this4$testReporter3 === void 0 ? void 0 : _this4$testReporter3.updateResults(payload.results);
412
- (_this4$testReporter4 = _this4.testReporter) === null || _this4$testReporter4 === void 0 ? void 0 : _this4$testReporter4.render();
411
+ (_this4$testReporter3 = _this4.testReporter) === null || _this4$testReporter3 === void 0 || _this4$testReporter3.updateResults(payload.results);
412
+ (_this4$testReporter4 = _this4.testReporter) === null || _this4$testReporter4 === void 0 || _this4$testReporter4.render();
413
413
  });
414
414
  case 12:
415
415
  _context3.next = 14;
416
416
  return this.testRunner.on('did-error', function (payload) {
417
417
  var _this4$testReporter5, _this4$testReporter6;
418
- (_this4$testReporter5 = _this4.testReporter) === null || _this4$testReporter5 === void 0 ? void 0 : _this4$testReporter5.appendError(payload.message);
419
- (_this4$testReporter6 = _this4.testReporter) === null || _this4$testReporter6 === void 0 ? void 0 : _this4$testReporter6.render();
418
+ (_this4$testReporter5 = _this4.testReporter) === null || _this4$testReporter5 === void 0 || _this4$testReporter5.appendError(payload.message);
419
+ (_this4$testReporter6 = _this4.testReporter) === null || _this4$testReporter6 === void 0 || _this4$testReporter6.render();
420
420
  });
421
421
  case 14:
422
422
  this.runnerStatus = 'run';
@@ -439,15 +439,15 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
439
439
  _context3.next = 27;
440
440
  break;
441
441
  }
442
- (_this$testReporter11 = this.testReporter) === null || _this$testReporter11 === void 0 ? void 0 : _this$testReporter11.setStatusLabel('Restarting...');
442
+ (_this$testReporter11 = this.testReporter) === null || _this$testReporter11 === void 0 || _this$testReporter11.setStatusLabel('Restarting...');
443
443
  this.runnerStatus = 'restart';
444
- (_this$testReporter12 = this.testReporter) === null || _this$testReporter12 === void 0 ? void 0 : _this$testReporter12.startCountdownTimer(3);
444
+ (_this$testReporter12 = this.testReporter) === null || _this$testReporter12 === void 0 || _this$testReporter12.startCountdownTimer(3);
445
445
  _context3.next = 26;
446
446
  return new Promise(function (resolve) {
447
447
  setTimeout(function () {
448
448
  var _this4$testReporter7;
449
449
  _this4.pattern = '';
450
- (_this4$testReporter7 = _this4.testReporter) === null || _this4$testReporter7 === void 0 ? void 0 : _this4$testReporter7.setFilterPattern('');
450
+ (_this4$testReporter7 = _this4.testReporter) === null || _this4$testReporter7 === void 0 || _this4$testReporter7.setFilterPattern('');
451
451
  resolve(_this4.startTestRunner(options));
452
452
  }, 3000);
453
453
  });
@@ -457,7 +457,7 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
457
457
  if (this.runnerStatus === 'run') {
458
458
  this.runnerStatus = 'hold';
459
459
  }
460
- (_this$testReporter13 = this.testReporter) === null || _this$testReporter13 === void 0 ? void 0 : _this$testReporter13.setStatus('stopped');
460
+ (_this$testReporter13 = this.testReporter) === null || _this$testReporter13 === void 0 || _this$testReporter13.setStatus('stopped');
461
461
  this.lastTestResults = testResults;
462
462
  return _context3.abrupt("return", this.startTestRunner(options));
463
463
  case 31:
@@ -523,11 +523,11 @@ var TestAction = /*#__PURE__*/function (_AbstractAction) {
523
523
  var _testResults$testFile,
524
524
  _this6 = this;
525
525
  var errors = [];
526
- (_testResults$testFile = testResults.testFiles) === null || _testResults$testFile === void 0 ? void 0 : _testResults$testFile.forEach(function (file) {
526
+ (_testResults$testFile = testResults.testFiles) === null || _testResults$testFile === void 0 || _testResults$testFile.forEach(function (file) {
527
527
  var _file$tests;
528
- (_file$tests = file.tests) === null || _file$tests === void 0 ? void 0 : _file$tests.forEach(function (test) {
528
+ (_file$tests = file.tests) === null || _file$tests === void 0 || _file$tests.forEach(function (test) {
529
529
  var _test$errorMessages;
530
- (_test$errorMessages = test.errorMessages) === null || _test$errorMessages === void 0 ? void 0 : _test$errorMessages.forEach(function (message) {
530
+ (_test$errorMessages = test.errorMessages) === null || _test$errorMessages === void 0 || _test$errorMessages.forEach(function (message) {
531
531
  var err = _this6.mapErrorResultToSpruceError(test, file, message);
532
532
  errors.push(err);
533
533
  });
@@ -1 +1 @@
1
- {"version":3,"file":"TestAction.js","names":["_path","_interopRequireDefault","require","_spruceSkillUtils","_open","_testOptions","_SpruceError","_AbstractAction2","_TestReporter","_TestRunner","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","valueOf","optionsSchema","testOptionsSchema","exports","TestAction","_AbstractAction","_inherits2","_super","options","_this","_classCallCheck2","_defineProperty2","_assertThisInitialized2","totalTestFiles","_createClass2","key","_execute","_asyncToGenerator2","_regenerator","mark","_callee","_this$watcher","_this$testReporter","_testResults$totalTes","_testResults$totalPas","_testResults$totalFai","_testResults$totalSki","_testResults$totalTod","_testResults$totalFai2","_settings$get","settings","normalizedOptions","pattern","shouldReportWhileRunning","inspect","shouldHoldAtStart","watchMode","shouldReturnImmediately","_this$handleToggleSma","promise","testResults","actionResponse","wrap","_callee$","_context","prev","Service","get","validateAndNormalizeOptions","originalInspect","hasWatchEverBeenEnabled","testReporter","TestReporter","cwd","status","isDebugging","filterPattern","undefined","handleRestart","bind","handleStartStop","handleQuit","handleRerunTestFile","handleOpenTestFile","handleFilterPatternChange","handleToggleDebug","handletoggleStandardWatch","handleToggleSmartWatch","start","watcher","getFeature","startWatching","delay","emitter","on","handleFileChange","runnerStatus","startTestRunner","abrupt","meta","emit","reporter","sent","stopWatching","destroy","summaryLines","concat","totalTests","totalPassed","totalFailed","totalSkipped","totalTodo","errors","generateErrorsFromTestResults","stop","execute","_x","payload","_this2","changes","shouldRestart","filesWeCareAbout","_iterator","_step","change","_change$values","values","path","doWeCareAboutThisFileChanging","_this$testReporter3","setStatusLabel","push","_this$testReporter2","fileChangeTimeout","clearTimeout","startCountdownTimer","watchDelaySec","setTimeout","smartFilter","generateFilterFromChangedFiles","restart","_this3","filter","file","search","map","fileToFilterPattern","join","ext","pathUtil","extname","_this$testReporter4","setIsDebugging","_this$testReporter5","setWatchMode","mode","_this$testReporter6","kill","_this$testReporter7","setFilterPattern","_pathUtil$dirname$spl","filename","basename","replace","dirname","split","sep","pop","_this$testReporter8","_this$holdPromiseReso","holdPromiseResolve","_this$testRunner","_this$holdPromiseReso2","testRunner","_handleOpenTestFile","_callee2","fileName","_callee2$","_context2","openTestFile","_x2","_startTestRunner","_callee3","_this$testReporter9","_this$testReporter10","_this4","_this$testRunner2","_this$testRunner3","_this$pattern","_this$testReporter13","firstUpdate","_this$testReporter11","_this$testReporter12","_callee3$","_context3","waitForStart","lastTestResults","setStatus","stopCountdownTimer","TestRunner","commandService","_this4$testReporter3","_this4$testReporter4","_this4$testReporter","_this4$testReporter2","reset","results","failed","testFiles","find","updateResults","render","_this4$testReporter5","_this4$testReporter6","appendError","message","run","debugPort","hasFailedTests","hasSkippedTests","Promise","resolve","_this4$testReporter7","_x3","_waitForStart","_callee4","_this5","_callee4$","_context4","_openTestFile","_callee5","_callee5$","_context5","diskUtil","resolvePath","open","_x4","_testResults$testFile","_this6","forEach","_file$tests","tests","_test$errorMessages","errorMessages","mapErrorResultToSpruceError","SpruceError","code","testName","errorMessage","getWatchMode","AbstractAction"],"sources":["../../../../src/features/test/actions/TestAction.ts"],"sourcesContent":["import pathUtil from 'path'\nimport { SpruceSchemas } from '@sprucelabs/mercury-types'\nimport { SchemaValues } from '@sprucelabs/schema'\nimport { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport open from 'open'\nimport testOptionsSchema from '#spruce/schemas/spruceCli/v2020_07_22/testOptions.schema'\nimport SpruceError from '../../../errors/SpruceError'\nimport AbstractAction from '../../AbstractAction'\nimport { FeatureActionResponse, ActionOptions } from '../../features.types'\nimport WatchFeature from '../../watch/WatchFeature'\nimport {\n\tSpruceTestFile,\n\tSpruceTestFileTest,\n\tSpruceTestResults,\n} from '../test.types'\nimport TestReporter, { WatchMode } from '../TestReporter'\nimport TestRunner from '../TestRunner'\n\nexport const optionsSchema = testOptionsSchema\n\nexport type OptionsSchema = typeof optionsSchema\n\ntype DidChangePayload =\n\tSchemaValues<SpruceSchemas.SpruceCli.v2020_07_22.WatcherDidDetectChangesEmitPayloadSchema>\n\nexport default class TestAction extends AbstractAction<OptionsSchema> {\n\tpublic optionsSchema = optionsSchema\n\tpublic invocationMessage = 'Starting tests... 🛡'\n\n\tprivate testReporter?: TestReporter | undefined\n\tprivate testRunner?: TestRunner\n\tprivate runnerStatus: 'hold' | 'quit' | 'run' | 'restart' = 'hold'\n\tprivate pattern: string | undefined\n\tprivate inspect?: number | null\n\tprivate holdPromiseResolve?: () => void\n\tprivate lastTestResults: SpruceTestResults = { totalTestFiles: 0 }\n\tprivate originalInspect!: number\n\tprivate watcher?: WatchFeature\n\tprivate watchMode: WatchMode = 'off'\n\tprivate fileChangeTimeout?: any\n\tprivate hasWatchEverBeenEnabled = false\n\n\tprivate readonly watchDelaySec = 2\n\n\tpublic constructor(options: ActionOptions) {\n\t\tsuper(options)\n\t}\n\n\tpublic async execute(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<FeatureActionResponse> {\n\t\tif (!options.watchMode) {\n\t\t\tconst settings = this.Service('settings')\n\t\t\toptions.watchMode = settings.get('test.watchMode') ?? 'off'\n\t\t}\n\n\t\tconst normalizedOptions = this.validateAndNormalizeOptions(options)\n\n\t\tconst {\n\t\t\tpattern,\n\t\t\tshouldReportWhileRunning,\n\t\t\tinspect,\n\t\t\tshouldHoldAtStart,\n\t\t\twatchMode,\n\t\t\tshouldReturnImmediately,\n\t\t} = normalizedOptions\n\n\t\tthis.originalInspect = inspect ?? 5200\n\t\tthis.inspect = inspect\n\t\tthis.pattern = pattern\n\t\tthis.hasWatchEverBeenEnabled = watchMode !== 'off'\n\t\tthis.watchMode = watchMode as WatchMode\n\n\t\tif (shouldReportWhileRunning) {\n\t\t\tthis.testReporter = new TestReporter({\n\t\t\t\tcwd: this.cwd,\n\t\t\t\twatchMode: this.watchMode,\n\t\t\t\tstatus: shouldHoldAtStart ? 'stopped' : 'ready',\n\t\t\t\tisDebugging: !!inspect,\n\t\t\t\tfilterPattern: pattern ?? undefined,\n\t\t\t\thandleRestart: this.handleRestart.bind(this),\n\t\t\t\thandleStartStop: this.handleStartStop.bind(this),\n\t\t\t\thandleQuit: this.handleQuit.bind(this),\n\t\t\t\thandleRerunTestFile: this.handleRerunTestFile.bind(this),\n\t\t\t\thandleOpenTestFile: this.handleOpenTestFile.bind(this),\n\t\t\t\thandleFilterPatternChange: this.handleFilterPatternChange.bind(this),\n\t\t\t\thandleToggleDebug: this.handleToggleDebug.bind(this),\n\t\t\t\thandletoggleStandardWatch: this.handletoggleStandardWatch.bind(this),\n\t\t\t\thandleToggleSmartWatch: this.handleToggleSmartWatch?.bind(this),\n\t\t\t})\n\n\t\t\tawait this.testReporter.start()\n\t\t}\n\n\t\tthis.watcher = this.getFeature('watch') as WatchFeature\n\t\tvoid this.watcher.startWatching({ delay: 0 })\n\n\t\tawait this.emitter.on(\n\t\t\t'watcher.did-detect-change',\n\t\t\tthis.handleFileChange.bind(this)\n\t\t)\n\n\t\tthis.runnerStatus = shouldHoldAtStart ? 'hold' : 'run'\n\n\t\tconst promise = this.startTestRunner(normalizedOptions)\n\n\t\tif (shouldReturnImmediately) {\n\t\t\treturn {\n\t\t\t\tmeta: {\n\t\t\t\t\tpromise,\n\t\t\t\t\ttest: this,\n\t\t\t\t},\n\t\t\t}\n\t\t}\n\n\t\tvoid this.emitter.emit('test.reporter-did-boot', {\n\t\t\treporter: this,\n\t\t})\n\n\t\tconst testResults = await promise\n\n\t\tawait this.watcher?.stopWatching()\n\t\tawait this.testReporter?.destroy()\n\n\t\tconst actionResponse: FeatureActionResponse = {\n\t\t\tmeta: { testResults },\n\t\t\tsummaryLines: [\n\t\t\t\t`Test files: ${testResults.totalTestFiles}`,\n\t\t\t\t`Tests: ${testResults.totalTests ?? '0'}`,\n\t\t\t\t`Passed: ${testResults.totalPassed ?? '0'}`,\n\t\t\t\t`Failed: ${testResults.totalFailed ?? '0'}`,\n\t\t\t\t`Skipped: ${testResults.totalSkipped ?? '0'}`,\n\t\t\t\t`Todo: ${testResults.totalTodo ?? '0'}`,\n\t\t\t],\n\t\t}\n\n\t\tif (testResults.totalFailed ?? 0 > 0) {\n\t\t\tactionResponse.errors = this.generateErrorsFromTestResults(testResults)\n\t\t}\n\n\t\treturn actionResponse\n\t}\n\n\tprivate handleFileChange(payload: DidChangePayload) {\n\t\tif (\n\t\t\tthis.watchMode === 'off' ||\n\t\t\t!(this.runnerStatus === 'run' || this.runnerStatus == 'hold')\n\t\t) {\n\t\t\treturn\n\t\t}\n\n\t\tconst { changes } = payload\n\n\t\tlet shouldRestart = false\n\t\tconst filesWeCareAbout: string[] = []\n\n\t\tfor (const change of changes) {\n\t\t\tconst { path, name } = change.values\n\n\t\t\tif (this.doWeCareAboutThisFileChanging(path)) {\n\t\t\t\tthis.testReporter?.setStatusLabel(`Built file: ${name}`)\n\t\t\t\tshouldRestart = true\n\t\t\t\tfilesWeCareAbout.push(path)\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\tif (shouldRestart) {\n\t\t\tif (this.fileChangeTimeout) {\n\t\t\t\tclearTimeout(this.fileChangeTimeout)\n\t\t\t}\n\n\t\t\tthis.testReporter?.startCountdownTimer(this.watchDelaySec)\n\t\t\tthis.fileChangeTimeout = setTimeout(() => {\n\t\t\t\tif (this.watchMode === 'smart') {\n\t\t\t\t\tconst smartFilter =\n\t\t\t\t\t\tthis.generateFilterFromChangedFiles(filesWeCareAbout)\n\t\t\t\t\tif (smartFilter.length > 0) {\n\t\t\t\t\t\tthis.handleFilterPatternChange(smartFilter)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.restart()\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.restart()\n\t\t\t\t}\n\t\t\t}, this.watchDelaySec * 1000) as any\n\t\t}\n\t}\n\n\tprivate generateFilterFromChangedFiles(filesWeCareAbout: string[]): string {\n\t\tconst filter = filesWeCareAbout\n\t\t\t.filter((file) => file.search('test.js') > -1)\n\t\t\t.map((file) => this.fileToFilterPattern(file))\n\t\t\t.join(' ')\n\n\t\treturn filter\n\t}\n\n\tprivate doWeCareAboutThisFileChanging(path: string) {\n\t\tconst ext = pathUtil.extname(path)\n\n\t\tif (\n\t\t\tpath.search('testDirsAndFiles') > -1 ||\n\t\t\tpath.search('.change_cache') > -1\n\t\t) {\n\t\t\treturn false\n\t\t}\n\n\t\tif (ext === '.js') {\n\t\t\treturn true\n\t\t}\n\n\t\treturn false\n\t}\n\n\tprivate handleToggleDebug() {\n\t\tif (this.inspect) {\n\t\t\tthis.inspect = undefined\n\t\t} else {\n\t\t\tthis.inspect = this.originalInspect\n\t\t}\n\n\t\tthis.testReporter?.setIsDebugging(!!this.inspect)\n\t\tthis.restart()\n\t}\n\n\tprivate handletoggleStandardWatch() {\n\t\tif (this.watchMode === 'standard') {\n\t\t\tthis.testReporter?.setWatchMode('off')\n\t\t} else {\n\t\t\tthis.setWatchMode('standard')\n\t\t}\n\t}\n\n\tprivate handleToggleSmartWatch() {\n\t\tif (this.watchMode === 'smart') {\n\t\t\tthis.setWatchMode('off')\n\t\t} else {\n\t\t\tthis.setWatchMode('smart')\n\t\t}\n\t}\n\n\tpublic setWatchMode(mode: WatchMode) {\n\t\tthis.watchMode = mode\n\t\tthis.testReporter?.setWatchMode(mode)\n\t\tthis.hasWatchEverBeenEnabled = true\n\t}\n\n\tprivate restart() {\n\t\tthis.runnerStatus = 'restart'\n\t\tthis.kill()\n\t}\n\n\tprivate handleQuit() {\n\t\tthis.runnerStatus = 'quit'\n\t\tthis.kill()\n\t}\n\n\tprivate handleRerunTestFile(file: string) {\n\t\tconst name = this.fileToFilterPattern(file)\n\n\t\tthis.testReporter?.setFilterPattern(name)\n\t\tthis.handleFilterPatternChange(name)\n\t}\n\n\tprivate fileToFilterPattern(file: string) {\n\t\tconst filename = pathUtil\n\t\t\t.basename(file, '.ts')\n\t\t\t.replace('.tsx', '')\n\t\t\t.replace('.js', '')\n\t\tconst dirname = pathUtil.dirname(file).split(pathUtil.sep).pop() ?? ''\n\n\t\tconst name = pathUtil.join(dirname, filename)\n\t\treturn name\n\t}\n\n\tprivate handleFilterPatternChange(filterPattern?: string) {\n\t\tthis.pattern = filterPattern\n\t\tthis.testReporter?.setFilterPattern(filterPattern)\n\n\t\tthis.restart()\n\t}\n\n\tprivate handleStartStop() {\n\t\tif (this.runnerStatus === 'hold') {\n\t\t\tthis.runnerStatus = 'run'\n\t\t\tthis.holdPromiseResolve?.()\n\t\t\tthis.holdPromiseResolve = undefined\n\t\t} else if (this.runnerStatus === 'run') {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t\tthis.kill()\n\t\t}\n\t}\n\n\tprivate handleRestart() {\n\t\tthis.restart()\n\t}\n\n\tpublic kill() {\n\t\tthis.testRunner?.kill()\n\t\tthis.holdPromiseResolve?.()\n\t\tthis.holdPromiseResolve = undefined\n\t}\n\n\tprivate async handleOpenTestFile(fileName: string) {\n\t\tawait this.openTestFile(fileName)\n\t}\n\n\tprivate async startTestRunner(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<SpruceTestResults> {\n\t\tif (this.runnerStatus === 'hold') {\n\t\t\tawait this.waitForStart()\n\t\t}\n\n\t\tif (this.runnerStatus === 'quit') {\n\t\t\treturn this.lastTestResults\n\t\t}\n\n\t\tthis.testReporter?.setStatus('ready')\n\t\tthis.testReporter?.stopCountdownTimer()\n\n\t\tthis.testRunner = new TestRunner({\n\t\t\tcwd: this.cwd,\n\t\t\tcommandService: this.Service('command'),\n\t\t})\n\n\t\tlet firstUpdate = true\n\n\t\tif (this.testReporter) {\n\t\t\tawait this.testRunner.on('did-update', (payload) => {\n\t\t\t\tif (firstUpdate) {\n\t\t\t\t\tfirstUpdate = false\n\t\t\t\t\tthis.testReporter?.setStatus('running')\n\t\t\t\t\tthis.testReporter?.reset()\n\t\t\t\t}\n\n\t\t\t\tif (this.watchMode === 'smart' && payload.results.totalFailed > 0) {\n\t\t\t\t\tconst failed = payload.results.testFiles.find(\n\t\t\t\t\t\t(file: any) => file.status === 'failed'\n\t\t\t\t\t)\n\n\t\t\t\t\tif (failed) {\n\t\t\t\t\t\tconst pattern = this.fileToFilterPattern(failed.path)\n\t\t\t\t\t\tif (this.pattern !== pattern) {\n\t\t\t\t\t\t\tthis.handleFilterPatternChange(pattern)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.testReporter?.updateResults(payload.results)\n\t\t\t\tthis.testReporter?.render()\n\t\t\t})\n\n\t\t\tawait this.testRunner.on('did-error', (payload) => {\n\t\t\t\tthis.testReporter?.appendError(payload.message)\n\t\t\t\tthis.testReporter?.render()\n\t\t\t})\n\t\t}\n\n\t\tthis.runnerStatus = 'run'\n\n\t\tlet testResults: SpruceTestResults = await this.testRunner.run({\n\t\t\tpattern: this.pattern,\n\t\t\tdebugPort: this.inspect,\n\t\t})\n\n\t\tif (\n\t\t\t//@ts-ignore\n\t\t\tthis.runnerStatus !== 'restart' &&\n\t\t\t(!options.shouldReportWhileRunning ||\n\t\t\t\t!this.hasWatchEverBeenEnabled ||\n\t\t\t\t(this.runnerStatus as any) === 'quit')\n\t\t) {\n\t\t\treturn testResults\n\t\t}\n\n\t\tif (\n\t\t\tthis.runnerStatus === 'run' &&\n\t\t\tthis.watchMode === 'smart' &&\n\t\t\tthis.testRunner?.hasFailedTests() === false &&\n\t\t\t!this.testRunner?.hasSkippedTests() &&\n\t\t\t(this.pattern ?? []).length > 0\n\t\t) {\n\t\t\tthis.testReporter?.setStatusLabel('Restarting...')\n\t\t\tthis.runnerStatus = 'restart'\n\t\t\tthis.testReporter?.startCountdownTimer(3)\n\n\t\t\treturn await new Promise((resolve) => {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.pattern = ''\n\t\t\t\t\tthis.testReporter?.setFilterPattern('')\n\t\t\t\t\tresolve(this.startTestRunner(options))\n\t\t\t\t}, 3000)\n\t\t\t})\n\t\t}\n\n\t\tif (this.runnerStatus === 'run') {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t}\n\n\t\tthis.testReporter?.setStatus('stopped')\n\n\t\tthis.lastTestResults = testResults\n\n\t\treturn this.startTestRunner(options)\n\t}\n\n\tpublic async waitForStart() {\n\t\tawait new Promise((resolve: any) => {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t\tthis.holdPromiseResolve = resolve\n\t\t})\n\t}\n\n\tprivate async openTestFile(fileName: string): Promise<void> {\n\t\tconst path = diskUtil.resolvePath(this.cwd, 'src', '__tests__', fileName)\n\t\tawait open(path)\n\t}\n\n\tprivate generateErrorsFromTestResults(testResults: SpruceTestResults) {\n\t\tconst errors: SpruceError[] = []\n\t\ttestResults.testFiles?.forEach((file) => {\n\t\t\tfile.tests?.forEach((test) => {\n\t\t\t\ttest.errorMessages?.forEach((message) => {\n\t\t\t\t\tconst err = this.mapErrorResultToSpruceError(test, file, message)\n\t\t\t\t\terrors.push(err)\n\t\t\t\t})\n\t\t\t})\n\t\t})\n\t\tif (errors.length > 0) {\n\t\t\treturn errors\n\t\t}\n\n\t\treturn undefined\n\t}\n\n\tprivate mapErrorResultToSpruceError(\n\t\ttest: SpruceTestFileTest,\n\t\tfile: SpruceTestFile,\n\t\tmessage: string\n\t) {\n\t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":["_path","_interopRequireDefault","require","_spruceSkillUtils","_open","_testOptions","_SpruceError","_AbstractAction2","_TestReporter","_TestRunner","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","valueOf","optionsSchema","testOptionsSchema","exports","TestAction","_AbstractAction","_inherits2","_super","options","_this","_classCallCheck2","_defineProperty2","_assertThisInitialized2","totalTestFiles","_createClass2","key","_execute","_asyncToGenerator2","_regenerator","mark","_callee","_this$watcher","_this$testReporter","_testResults$totalTes","_testResults$totalPas","_testResults$totalFai","_testResults$totalSki","_testResults$totalTod","_testResults$totalFai2","_settings$get","settings","normalizedOptions","pattern","shouldReportWhileRunning","inspect","shouldHoldAtStart","watchMode","shouldReturnImmediately","_this$handleToggleSma","promise","testResults","actionResponse","wrap","_callee$","_context","prev","Service","get","validateAndNormalizeOptions","originalInspect","hasWatchEverBeenEnabled","testReporter","TestReporter","cwd","status","isDebugging","filterPattern","undefined","handleRestart","bind","handleStartStop","handleQuit","handleRerunTestFile","handleOpenTestFile","handleFilterPatternChange","handleToggleDebug","handletoggleStandardWatch","handleToggleSmartWatch","start","watcher","getFeature","startWatching","delay","emitter","on","handleFileChange","runnerStatus","startTestRunner","abrupt","meta","emit","reporter","sent","stopWatching","destroy","summaryLines","concat","totalTests","totalPassed","totalFailed","totalSkipped","totalTodo","errors","generateErrorsFromTestResults","stop","execute","_x","payload","_this2","changes","shouldRestart","filesWeCareAbout","_iterator","_step","change","_change$values","values","path","doWeCareAboutThisFileChanging","_this$testReporter3","setStatusLabel","push","_this$testReporter2","fileChangeTimeout","clearTimeout","startCountdownTimer","watchDelaySec","setTimeout","smartFilter","generateFilterFromChangedFiles","restart","_this3","filter","file","search","map","fileToFilterPattern","join","ext","pathUtil","extname","_this$testReporter4","setIsDebugging","_this$testReporter5","setWatchMode","mode","_this$testReporter6","kill","_this$testReporter7","setFilterPattern","_pathUtil$dirname$spl","filename","basename","replace","dirname","split","sep","pop","_this$testReporter8","_this$holdPromiseReso","holdPromiseResolve","_this$testRunner","_this$holdPromiseReso2","testRunner","_handleOpenTestFile","_callee2","fileName","_callee2$","_context2","openTestFile","_x2","_startTestRunner","_callee3","_this$testReporter9","_this$testReporter10","_this4","_this$testRunner2","_this$testRunner3","_this$pattern","_this$testReporter13","firstUpdate","_this$testReporter11","_this$testReporter12","_callee3$","_context3","waitForStart","lastTestResults","setStatus","stopCountdownTimer","TestRunner","commandService","_this4$testReporter3","_this4$testReporter4","_this4$testReporter","_this4$testReporter2","reset","results","failed","testFiles","find","updateResults","render","_this4$testReporter5","_this4$testReporter6","appendError","message","run","debugPort","hasFailedTests","hasSkippedTests","Promise","resolve","_this4$testReporter7","_x3","_waitForStart","_callee4","_this5","_callee4$","_context4","_openTestFile","_callee5","_callee5$","_context5","diskUtil","resolvePath","open","_x4","_testResults$testFile","_this6","forEach","_file$tests","tests","_test$errorMessages","errorMessages","mapErrorResultToSpruceError","SpruceError","code","testName","errorMessage","getWatchMode","AbstractAction"],"sources":["../../../../src/features/test/actions/TestAction.ts"],"sourcesContent":["import pathUtil from 'path'\nimport { SpruceSchemas } from '@sprucelabs/mercury-types'\nimport { SchemaValues } from '@sprucelabs/schema'\nimport { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport open from 'open'\nimport testOptionsSchema from '#spruce/schemas/spruceCli/v2020_07_22/testOptions.schema'\nimport SpruceError from '../../../errors/SpruceError'\nimport AbstractAction from '../../AbstractAction'\nimport { FeatureActionResponse, ActionOptions } from '../../features.types'\nimport WatchFeature from '../../watch/WatchFeature'\nimport {\n\tSpruceTestFile,\n\tSpruceTestFileTest,\n\tSpruceTestResults,\n} from '../test.types'\nimport TestReporter, { WatchMode } from '../TestReporter'\nimport TestRunner from '../TestRunner'\n\nexport const optionsSchema = testOptionsSchema\n\nexport type OptionsSchema = typeof optionsSchema\n\ntype DidChangePayload =\n\tSchemaValues<SpruceSchemas.SpruceCli.v2020_07_22.WatcherDidDetectChangesEmitPayloadSchema>\n\nexport default class TestAction extends AbstractAction<OptionsSchema> {\n\tpublic optionsSchema = optionsSchema\n\tpublic invocationMessage = 'Starting tests... 🛡'\n\n\tprivate testReporter?: TestReporter | undefined\n\tprivate testRunner?: TestRunner\n\tprivate runnerStatus: 'hold' | 'quit' | 'run' | 'restart' = 'hold'\n\tprivate pattern: string | undefined\n\tprivate inspect?: number | null\n\tprivate holdPromiseResolve?: () => void\n\tprivate lastTestResults: SpruceTestResults = { totalTestFiles: 0 }\n\tprivate originalInspect!: number\n\tprivate watcher?: WatchFeature\n\tprivate watchMode: WatchMode = 'off'\n\tprivate fileChangeTimeout?: any\n\tprivate hasWatchEverBeenEnabled = false\n\n\tprivate readonly watchDelaySec = 2\n\n\tpublic constructor(options: ActionOptions) {\n\t\tsuper(options)\n\t}\n\n\tpublic async execute(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<FeatureActionResponse> {\n\t\tif (!options.watchMode) {\n\t\t\tconst settings = this.Service('settings')\n\t\t\toptions.watchMode = settings.get('test.watchMode') ?? 'off'\n\t\t}\n\n\t\tconst normalizedOptions = this.validateAndNormalizeOptions(options)\n\n\t\tconst {\n\t\t\tpattern,\n\t\t\tshouldReportWhileRunning,\n\t\t\tinspect,\n\t\t\tshouldHoldAtStart,\n\t\t\twatchMode,\n\t\t\tshouldReturnImmediately,\n\t\t} = normalizedOptions\n\n\t\tthis.originalInspect = inspect ?? 5200\n\t\tthis.inspect = inspect\n\t\tthis.pattern = pattern\n\t\tthis.hasWatchEverBeenEnabled = watchMode !== 'off'\n\t\tthis.watchMode = watchMode as WatchMode\n\n\t\tif (shouldReportWhileRunning) {\n\t\t\tthis.testReporter = new TestReporter({\n\t\t\t\tcwd: this.cwd,\n\t\t\t\twatchMode: this.watchMode,\n\t\t\t\tstatus: shouldHoldAtStart ? 'stopped' : 'ready',\n\t\t\t\tisDebugging: !!inspect,\n\t\t\t\tfilterPattern: pattern ?? undefined,\n\t\t\t\thandleRestart: this.handleRestart.bind(this),\n\t\t\t\thandleStartStop: this.handleStartStop.bind(this),\n\t\t\t\thandleQuit: this.handleQuit.bind(this),\n\t\t\t\thandleRerunTestFile: this.handleRerunTestFile.bind(this),\n\t\t\t\thandleOpenTestFile: this.handleOpenTestFile.bind(this),\n\t\t\t\thandleFilterPatternChange: this.handleFilterPatternChange.bind(this),\n\t\t\t\thandleToggleDebug: this.handleToggleDebug.bind(this),\n\t\t\t\thandletoggleStandardWatch: this.handletoggleStandardWatch.bind(this),\n\t\t\t\thandleToggleSmartWatch: this.handleToggleSmartWatch?.bind(this),\n\t\t\t})\n\n\t\t\tawait this.testReporter.start()\n\t\t}\n\n\t\tthis.watcher = this.getFeature('watch') as WatchFeature\n\t\tvoid this.watcher.startWatching({ delay: 0 })\n\n\t\tawait this.emitter.on(\n\t\t\t'watcher.did-detect-change',\n\t\t\tthis.handleFileChange.bind(this)\n\t\t)\n\n\t\tthis.runnerStatus = shouldHoldAtStart ? 'hold' : 'run'\n\n\t\tconst promise = this.startTestRunner(normalizedOptions)\n\n\t\tif (shouldReturnImmediately) {\n\t\t\treturn {\n\t\t\t\tmeta: {\n\t\t\t\t\tpromise,\n\t\t\t\t\ttest: this,\n\t\t\t\t},\n\t\t\t}\n\t\t}\n\n\t\tvoid this.emitter.emit('test.reporter-did-boot', {\n\t\t\treporter: this,\n\t\t})\n\n\t\tconst testResults = await promise\n\n\t\tawait this.watcher?.stopWatching()\n\t\tawait this.testReporter?.destroy()\n\n\t\tconst actionResponse: FeatureActionResponse = {\n\t\t\tmeta: { testResults },\n\t\t\tsummaryLines: [\n\t\t\t\t`Test files: ${testResults.totalTestFiles}`,\n\t\t\t\t`Tests: ${testResults.totalTests ?? '0'}`,\n\t\t\t\t`Passed: ${testResults.totalPassed ?? '0'}`,\n\t\t\t\t`Failed: ${testResults.totalFailed ?? '0'}`,\n\t\t\t\t`Skipped: ${testResults.totalSkipped ?? '0'}`,\n\t\t\t\t`Todo: ${testResults.totalTodo ?? '0'}`,\n\t\t\t],\n\t\t}\n\n\t\tif (testResults.totalFailed ?? 0 > 0) {\n\t\t\tactionResponse.errors = this.generateErrorsFromTestResults(testResults)\n\t\t}\n\n\t\treturn actionResponse\n\t}\n\n\tprivate handleFileChange(payload: DidChangePayload) {\n\t\tif (\n\t\t\tthis.watchMode === 'off' ||\n\t\t\t!(this.runnerStatus === 'run' || this.runnerStatus == 'hold')\n\t\t) {\n\t\t\treturn\n\t\t}\n\n\t\tconst { changes } = payload\n\n\t\tlet shouldRestart = false\n\t\tconst filesWeCareAbout: string[] = []\n\n\t\tfor (const change of changes) {\n\t\t\tconst { path, name } = change.values\n\n\t\t\tif (this.doWeCareAboutThisFileChanging(path)) {\n\t\t\t\tthis.testReporter?.setStatusLabel(`Built file: ${name}`)\n\t\t\t\tshouldRestart = true\n\t\t\t\tfilesWeCareAbout.push(path)\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\tif (shouldRestart) {\n\t\t\tif (this.fileChangeTimeout) {\n\t\t\t\tclearTimeout(this.fileChangeTimeout)\n\t\t\t}\n\n\t\t\tthis.testReporter?.startCountdownTimer(this.watchDelaySec)\n\t\t\tthis.fileChangeTimeout = setTimeout(() => {\n\t\t\t\tif (this.watchMode === 'smart') {\n\t\t\t\t\tconst smartFilter =\n\t\t\t\t\t\tthis.generateFilterFromChangedFiles(filesWeCareAbout)\n\t\t\t\t\tif (smartFilter.length > 0) {\n\t\t\t\t\t\tthis.handleFilterPatternChange(smartFilter)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.restart()\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.restart()\n\t\t\t\t}\n\t\t\t}, this.watchDelaySec * 1000) as any\n\t\t}\n\t}\n\n\tprivate generateFilterFromChangedFiles(filesWeCareAbout: string[]): string {\n\t\tconst filter = filesWeCareAbout\n\t\t\t.filter((file) => file.search('test.js') > -1)\n\t\t\t.map((file) => this.fileToFilterPattern(file))\n\t\t\t.join(' ')\n\n\t\treturn filter\n\t}\n\n\tprivate doWeCareAboutThisFileChanging(path: string) {\n\t\tconst ext = pathUtil.extname(path)\n\n\t\tif (\n\t\t\tpath.search('testDirsAndFiles') > -1 ||\n\t\t\tpath.search('.change_cache') > -1\n\t\t) {\n\t\t\treturn false\n\t\t}\n\n\t\tif (ext === '.js') {\n\t\t\treturn true\n\t\t}\n\n\t\treturn false\n\t}\n\n\tprivate handleToggleDebug() {\n\t\tif (this.inspect) {\n\t\t\tthis.inspect = undefined\n\t\t} else {\n\t\t\tthis.inspect = this.originalInspect\n\t\t}\n\n\t\tthis.testReporter?.setIsDebugging(!!this.inspect)\n\t\tthis.restart()\n\t}\n\n\tprivate handletoggleStandardWatch() {\n\t\tif (this.watchMode === 'standard') {\n\t\t\tthis.testReporter?.setWatchMode('off')\n\t\t} else {\n\t\t\tthis.setWatchMode('standard')\n\t\t}\n\t}\n\n\tprivate handleToggleSmartWatch() {\n\t\tif (this.watchMode === 'smart') {\n\t\t\tthis.setWatchMode('off')\n\t\t} else {\n\t\t\tthis.setWatchMode('smart')\n\t\t}\n\t}\n\n\tpublic setWatchMode(mode: WatchMode) {\n\t\tthis.watchMode = mode\n\t\tthis.testReporter?.setWatchMode(mode)\n\t\tthis.hasWatchEverBeenEnabled = true\n\t}\n\n\tprivate restart() {\n\t\tthis.runnerStatus = 'restart'\n\t\tthis.kill()\n\t}\n\n\tprivate handleQuit() {\n\t\tthis.runnerStatus = 'quit'\n\t\tthis.kill()\n\t}\n\n\tprivate handleRerunTestFile(file: string) {\n\t\tconst name = this.fileToFilterPattern(file)\n\n\t\tthis.testReporter?.setFilterPattern(name)\n\t\tthis.handleFilterPatternChange(name)\n\t}\n\n\tprivate fileToFilterPattern(file: string) {\n\t\tconst filename = pathUtil\n\t\t\t.basename(file, '.ts')\n\t\t\t.replace('.tsx', '')\n\t\t\t.replace('.js', '')\n\t\tconst dirname = pathUtil.dirname(file).split(pathUtil.sep).pop() ?? ''\n\n\t\tconst name = pathUtil.join(dirname, filename)\n\t\treturn name\n\t}\n\n\tprivate handleFilterPatternChange(filterPattern?: string) {\n\t\tthis.pattern = filterPattern\n\t\tthis.testReporter?.setFilterPattern(filterPattern)\n\n\t\tthis.restart()\n\t}\n\n\tprivate handleStartStop() {\n\t\tif (this.runnerStatus === 'hold') {\n\t\t\tthis.runnerStatus = 'run'\n\t\t\tthis.holdPromiseResolve?.()\n\t\t\tthis.holdPromiseResolve = undefined\n\t\t} else if (this.runnerStatus === 'run') {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t\tthis.kill()\n\t\t}\n\t}\n\n\tprivate handleRestart() {\n\t\tthis.restart()\n\t}\n\n\tpublic kill() {\n\t\tthis.testRunner?.kill()\n\t\tthis.holdPromiseResolve?.()\n\t\tthis.holdPromiseResolve = undefined\n\t}\n\n\tprivate async handleOpenTestFile(fileName: string) {\n\t\tawait this.openTestFile(fileName)\n\t}\n\n\tprivate async startTestRunner(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<SpruceTestResults> {\n\t\tif (this.runnerStatus === 'hold') {\n\t\t\tawait this.waitForStart()\n\t\t}\n\n\t\tif (this.runnerStatus === 'quit') {\n\t\t\treturn this.lastTestResults\n\t\t}\n\n\t\tthis.testReporter?.setStatus('ready')\n\t\tthis.testReporter?.stopCountdownTimer()\n\n\t\tthis.testRunner = new TestRunner({\n\t\t\tcwd: this.cwd,\n\t\t\tcommandService: this.Service('command'),\n\t\t})\n\n\t\tlet firstUpdate = true\n\n\t\tif (this.testReporter) {\n\t\t\tawait this.testRunner.on('did-update', (payload) => {\n\t\t\t\tif (firstUpdate) {\n\t\t\t\t\tfirstUpdate = false\n\t\t\t\t\tthis.testReporter?.setStatus('running')\n\t\t\t\t\tthis.testReporter?.reset()\n\t\t\t\t}\n\n\t\t\t\tif (this.watchMode === 'smart' && payload.results.totalFailed > 0) {\n\t\t\t\t\tconst failed = payload.results.testFiles.find(\n\t\t\t\t\t\t(file: any) => file.status === 'failed'\n\t\t\t\t\t)\n\n\t\t\t\t\tif (failed) {\n\t\t\t\t\t\tconst pattern = this.fileToFilterPattern(failed.path)\n\t\t\t\t\t\tif (this.pattern !== pattern) {\n\t\t\t\t\t\t\tthis.handleFilterPatternChange(pattern)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.testReporter?.updateResults(payload.results)\n\t\t\t\tthis.testReporter?.render()\n\t\t\t})\n\n\t\t\tawait this.testRunner.on('did-error', (payload) => {\n\t\t\t\tthis.testReporter?.appendError(payload.message)\n\t\t\t\tthis.testReporter?.render()\n\t\t\t})\n\t\t}\n\n\t\tthis.runnerStatus = 'run'\n\n\t\tlet testResults: SpruceTestResults = await this.testRunner.run({\n\t\t\tpattern: this.pattern,\n\t\t\tdebugPort: this.inspect,\n\t\t})\n\n\t\tif (\n\t\t\t//@ts-ignore\n\t\t\tthis.runnerStatus !== 'restart' &&\n\t\t\t(!options.shouldReportWhileRunning ||\n\t\t\t\t!this.hasWatchEverBeenEnabled ||\n\t\t\t\t(this.runnerStatus as any) === 'quit')\n\t\t) {\n\t\t\treturn testResults\n\t\t}\n\n\t\tif (\n\t\t\tthis.runnerStatus === 'run' &&\n\t\t\tthis.watchMode === 'smart' &&\n\t\t\tthis.testRunner?.hasFailedTests() === false &&\n\t\t\t!this.testRunner?.hasSkippedTests() &&\n\t\t\t(this.pattern ?? []).length > 0\n\t\t) {\n\t\t\tthis.testReporter?.setStatusLabel('Restarting...')\n\t\t\tthis.runnerStatus = 'restart'\n\t\t\tthis.testReporter?.startCountdownTimer(3)\n\n\t\t\treturn await new Promise((resolve) => {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.pattern = ''\n\t\t\t\t\tthis.testReporter?.setFilterPattern('')\n\t\t\t\t\tresolve(this.startTestRunner(options))\n\t\t\t\t}, 3000)\n\t\t\t})\n\t\t}\n\n\t\tif (this.runnerStatus === 'run') {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t}\n\n\t\tthis.testReporter?.setStatus('stopped')\n\n\t\tthis.lastTestResults = testResults\n\n\t\treturn this.startTestRunner(options)\n\t}\n\n\tpublic async waitForStart() {\n\t\tawait new Promise((resolve: any) => {\n\t\t\tthis.runnerStatus = 'hold'\n\t\t\tthis.holdPromiseResolve = resolve\n\t\t})\n\t}\n\n\tprivate async openTestFile(fileName: string): Promise<void> {\n\t\tconst path = diskUtil.resolvePath(this.cwd, 'src', '__tests__', fileName)\n\t\tawait open(path)\n\t}\n\n\tprivate generateErrorsFromTestResults(testResults: SpruceTestResults) {\n\t\tconst errors: SpruceError[] = []\n\t\ttestResults.testFiles?.forEach((file) => {\n\t\t\tfile.tests?.forEach((test) => {\n\t\t\t\ttest.errorMessages?.forEach((message) => {\n\t\t\t\t\tconst err = this.mapErrorResultToSpruceError(test, file, message)\n\t\t\t\t\terrors.push(err)\n\t\t\t\t})\n\t\t\t})\n\t\t})\n\t\tif (errors.length > 0) {\n\t\t\treturn errors\n\t\t}\n\n\t\treturn undefined\n\t}\n\n\tprivate mapErrorResultToSpruceError(\n\t\ttest: SpruceTestFileTest,\n\t\tfile: SpruceTestFile,\n\t\tmessage: string\n\t) {\n\t\treturn new SpruceError({\n\t\t\tcode: 'TEST_FAILED',\n\t\t\ttestName: test.name,\n\t\t\tfileName: file.path,\n\t\t\terrorMessage: message,\n\t\t})\n\t}\n\n\tpublic getWatchMode() {\n\t\treturn this.watchMode\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,KA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mBAAA;UAC7B,CAAAA,mBAAA,GAAAnP,IAAI,CAACoP,aAAa,cAAAD,mBAAA,eAAlBA,mBAAA,CAAoBH,OAAO,CAAC,UAACxB,OAAO,EAAK;YACxC,IAAMtO,GAAG,GAAG6P,MAAI,CAACM,2BAA2B,CAACrP,IAAI,EAAEgJ,IAAI,EAAEwE,OAAO,CAAC;YACjEvG,MAAM,CAACmB,IAAI,CAAClJ,GAAG,CAAC;UACjB,CAAC,CAAC;QACH,CAAC,CAAC;MACH,CAAC,CAAC;MACF,IAAI+H,MAAM,CAAC5I,MAAM,GAAG,CAAC,EAAE;QACtB,OAAO4I,MAAM;MACd;MAEA,OAAOnC,SAAS;IACjB;EAAC;IAAA1C,GAAA;IAAAzD,KAAA,EAED,SAAA0Q,4BACCrP,IAAwB,EACxBgJ,IAAoB,EACpBwE,OAAe,EACd;MACD,OAAO,IAAI8B,uBAAW,CAAC;QACtBC,IAAI,EAAE,aAAa;QACnBC,QAAQ,EAAExP,IAAI,CAACF,IAAI;QACnBmL,QAAQ,EAAEjC,IAAI,CAAChB,IAAI;QACnByH,YAAY,EAAEjC;MACf,CAAC,CAAC;IACH;EAAC;IAAApL,GAAA;IAAAzD,KAAA,EAED,SAAA+Q,aAAA,EAAsB;MACrB,OAAO,IAAI,CAACjM,SAAS;IACtB;EAAC;EAAA,OAAAhC,UAAA;AAAA,EA5asCkO,2BAAc;AAAAnO,OAAA,cAAAC,UAAA"}
@@ -1,10 +1,5 @@
1
- declare const universalDevDependencies: ({
1
+ declare const universalDevDependencies: {
2
2
  name: string;
3
3
  isDev: boolean;
4
- version?: undefined;
5
- } | {
6
- name: string;
7
- version: string;
8
- isDev: boolean;
9
- })[];
4
+ }[];
10
5
  export default universalDevDependencies;
@@ -21,7 +21,6 @@ var universalDevDependencies = [{
21
21
  isDev: true
22
22
  }, {
23
23
  name: 'prettier',
24
- version: '2.8.8',
25
24
  isDev: true
26
25
  }, {
27
26
  name: 'chokidar-cli',
@@ -1 +1 @@
1
- {"version":3,"file":"universalDevDependencies.js","names":["universalDevDependencies","name","isDev","version","_default","exports"],"sources":["../../src/features/universalDevDependencies.ts"],"sourcesContent":["const universalDevDependencies = [\n\t{ name: '@sprucelabs/resolve-path-aliases', isDev: true },\n\t{ name: '@types/node', isDev: true },\n\t{ name: 'typescript', isDev: true },\n\t{ name: 'eslint', isDev: true },\n\t{ name: 'eslint-config-spruce', isDev: true },\n\t{ name: 'prettier', version: '2.8.8', isDev: true },\n\t{ name: 'chokidar-cli', isDev: true },\n\t{ name: 'concurrently', isDev: true },\n\t{ name: 'tsc-watch', isDev: true },\n\t{ name: 'ts-node', isDev: true },\n]\n\nexport default universalDevDependencies\n"],"mappings":";;;;;;AAAA,IAAMA,wBAAwB,GAAG,CAChC;EAAEC,IAAI,EAAE,kCAAkC;EAAEC,KAAK,EAAE;AAAK,CAAC,EACzD;EAAED,IAAI,EAAE,aAAa;EAAEC,KAAK,EAAE;AAAK,CAAC,EACpC;EAAED,IAAI,EAAE,YAAY;EAAEC,KAAK,EAAE;AAAK,CAAC,EACnC;EAAED,IAAI,EAAE,QAAQ;EAAEC,KAAK,EAAE;AAAK,CAAC,EAC/B;EAAED,IAAI,EAAE,sBAAsB;EAAEC,KAAK,EAAE;AAAK,CAAC,EAC7C;EAAED,IAAI,EAAE,UAAU;EAAEE,OAAO,EAAE,OAAO;EAAED,KAAK,EAAE;AAAK,CAAC,EACnD;EAAED,IAAI,EAAE,cAAc;EAAEC,KAAK,EAAE;AAAK,CAAC,EACrC;EAAED,IAAI,EAAE,cAAc;EAAEC,KAAK,EAAE;AAAK,CAAC,EACrC;EAAED,IAAI,EAAE,WAAW;EAAEC,KAAK,EAAE;AAAK,CAAC,EAClC;EAAED,IAAI,EAAE,SAAS;EAAEC,KAAK,EAAE;AAAK,CAAC,CAChC;AAAA,IAAAE,QAAA,GAEcJ,wBAAwB;AAAAK,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"universalDevDependencies.js","names":["universalDevDependencies","name","isDev","_default","exports"],"sources":["../../src/features/universalDevDependencies.ts"],"sourcesContent":["const universalDevDependencies = [\n\t{ name: '@sprucelabs/resolve-path-aliases', isDev: true },\n\t{ name: '@types/node', isDev: true },\n\t{ name: 'typescript', isDev: true },\n\t{ name: 'eslint', isDev: true },\n\t{ name: 'eslint-config-spruce', isDev: true },\n\t{ name: 'prettier', isDev: true },\n\t{ name: 'chokidar-cli', isDev: true },\n\t{ name: 'concurrently', isDev: true },\n\t{ name: 'tsc-watch', isDev: true },\n\t{ name: 'ts-node', isDev: true },\n]\n\nexport default universalDevDependencies\n"],"mappings":";;;;;;AAAA,IAAMA,wBAAwB,GAAG,CAChC;EAAEC,IAAI,EAAE,kCAAkC;EAAEC,KAAK,EAAE;AAAK,CAAC,EACzD;EAAED,IAAI,EAAE,aAAa;EAAEC,KAAK,EAAE;AAAK,CAAC,EACpC;EAAED,IAAI,EAAE,YAAY;EAAEC,KAAK,EAAE;AAAK,CAAC,EACnC;EAAED,IAAI,EAAE,QAAQ;EAAEC,KAAK,EAAE;AAAK,CAAC,EAC/B;EAAED,IAAI,EAAE,sBAAsB;EAAEC,KAAK,EAAE;AAAK,CAAC,EAC7C;EAAED,IAAI,EAAE,UAAU;EAAEC,KAAK,EAAE;AAAK,CAAC,EACjC;EAAED,IAAI,EAAE,cAAc;EAAEC,KAAK,EAAE;AAAK,CAAC,EACrC;EAAED,IAAI,EAAE,cAAc;EAAEC,KAAK,EAAE;AAAK,CAAC,EACrC;EAAED,IAAI,EAAE,WAAW;EAAEC,KAAK,EAAE;AAAK,CAAC,EAClC;EAAED,IAAI,EAAE,SAAS;EAAEC,KAAK,EAAE;AAAK,CAAC,CAChC;AAAA,IAAAC,QAAA,GAEcH,wBAAwB;AAAAI,OAAA,cAAAD,QAAA"}
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports["default"] = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _schema = require("@sprucelabs/schema");
10
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
12
  var validateAndNormalizer = {
13
13
  validateAndNormalize: function validateAndNormalize(schema, options) {
14
14
  var values = _objectSpread(_objectSpread({}, (0, _schema.defaultSchemaValues)(schema)), this.stripUndefined(options));
@@ -1 +1 @@
1
- {"version":3,"file":"validateAndNormalize.utility.js","names":["_schema","require","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","validateAndNormalizer","validateAndNormalize","schema","options","values","defaultSchemaValues","stripUndefined","validateSchemaValues","normalized","normalizeSchemaValues","noUndefined","undefined","_default","exports"],"sources":["../../src/features/validateAndNormalize.utility.ts"],"sourcesContent":["import {\n\tdefaultSchemaValues,\n\tnormalizeSchemaValues,\n\tSchema,\n\tSchemaPartialValues,\n\tSchemaValuesWithDefaults,\n\tvalidateSchemaValues,\n} from '@sprucelabs/schema'\n\ntype StripNulls<T extends Record<string, any>> = {\n\t[K in keyof T]: Exclude<T[K], null>\n}\n\nconst validateAndNormalizer = {\n\tvalidateAndNormalize<S extends Schema = Schema>(\n\t\tschema: S,\n\t\toptions: SchemaPartialValues<S, false>\n\t) {\n\t\tconst values = {\n\t\t\t...defaultSchemaValues(schema),\n\t\t\t...this.stripUndefined(options),\n\t\t} as SchemaPartialValues<S, false>\n\n\t\tvalidateSchemaValues(schema, values, {})\n\n\t\tconst normalized = normalizeSchemaValues(schema, values)\n\n\t\treturn this.stripUndefined(normalized) as StripNulls<\n\t\t\tSchemaValuesWithDefaults<S>\n\t\t>\n\t},\n\n\tstripUndefined(normalized: Record<string, any>) {\n\t\tconst noUndefined = {}\n\n\t\tObject.keys(normalized).forEach((key: string) => {\n\t\t\t// @ts-ignore\n\t\t\tif (normalized[key] !== undefined) {\n\t\t\t\t//@ts-ignore\n\t\t\t\tnoUndefined[key] = normalized[key]\n\t\t\t}\n\t\t})\n\t\treturn noUndefined\n\t},\n}\n\nexport default validateAndNormalizer\n"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAO2B,SAAAC,QAAAC,MAAA,EAAAC,cAAA,QAAAC,IAAA,GAAAC,MAAA,CAAAD,IAAA,CAAAF,MAAA,OAAAG,MAAA,CAAAC,qBAAA,QAAAC,OAAA,GAAAF,MAAA,CAAAC,qBAAA,CAAAJ,MAAA,GAAAC,cAAA,KAAAI,OAAA,GAAAA,OAAA,CAAAC,MAAA,WAAAC,GAAA,WAAAJ,MAAA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W,GAAG,CAAC,CAAC;IAEtB/B,MAAM,CAACD,IAAI,CAAC8B,UAAU,CAAC,CAACd,OAAO,CAAC,UAACC,GAAW,EAAK;MAChD;MACA,IAAIa,UAAU,CAACb,GAAG,CAAC,KAAKgB,SAAS,EAAE;QAClC;QACAD,WAAW,CAACf,GAAG,CAAC,GAAGa,UAAU,CAACb,GAAG,CAAC;MACnC;IACD,CAAC,CAAC;IACF,OAAOe,WAAW;EACnB;AACD,CAAC;AAAA,IAAAE,QAAA,GAEcZ,qBAAqB;AAAAa,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"validateAndNormalize.utility.js","names":["_schema","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","validateAndNormalizer","validateAndNormalize","schema","options","values","defaultSchemaValues","stripUndefined","validateSchemaValues","normalized","normalizeSchemaValues","noUndefined","key","undefined","_default","exports"],"sources":["../../src/features/validateAndNormalize.utility.ts"],"sourcesContent":["import {\n\tdefaultSchemaValues,\n\tnormalizeSchemaValues,\n\tSchema,\n\tSchemaPartialValues,\n\tSchemaValuesWithDefaults,\n\tvalidateSchemaValues,\n} from '@sprucelabs/schema'\n\ntype StripNulls<T extends Record<string, any>> = {\n\t[K in keyof T]: Exclude<T[K], null>\n}\n\nconst validateAndNormalizer = {\n\tvalidateAndNormalize<S extends Schema = Schema>(\n\t\tschema: S,\n\t\toptions: SchemaPartialValues<S, false>\n\t) {\n\t\tconst values = {\n\t\t\t...defaultSchemaValues(schema),\n\t\t\t...this.stripUndefined(options),\n\t\t} as SchemaPartialValues<S, false>\n\n\t\tvalidateSchemaValues(schema, values, {})\n\n\t\tconst normalized = normalizeSchemaValues(schema, values)\n\n\t\treturn this.stripUndefined(normalized) as StripNulls<\n\t\t\tSchemaValuesWithDefaults<S>\n\t\t>\n\t},\n\n\tstripUndefined(normalized: Record<string, any>) {\n\t\tconst noUndefined = {}\n\n\t\tObject.keys(normalized).forEach((key: string) => {\n\t\t\t// @ts-ignore\n\t\t\tif (normalized[key] !== undefined) {\n\t\t\t\t//@ts-ignore\n\t\t\t\tnoUndefined[key] = normalized[key]\n\t\t\t}\n\t\t})\n\t\treturn noUndefined\n\t},\n}\n\nexport default validateAndNormalizer\n"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAO2B,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OAAA,CAAAI,MAAA,CAAAD,CAAA,GAAAa,OAAA,WAAAd,CAAA,IAAAE,MAAA,CAAAgB,cAAA,CAAAnB,CAAA,EAAAC,CAAA,EAAAE,MAAA,CAAAK,wBAAA,CAAAN,CAAA,EAAAD,CAAA,iBAAAD,CAAA;AAM3B,IAAMoB,qBAAqB,GAAG;EAC7BC,oBAAoB,WAAAA,qBACnBC,MAAS,EACTC,OAAsC,EACrC;IACD,IAAMC,MAAM,GAAAZ,aAAA,CAAAA,aAAA,KACR,IAAAa,2BAAmB,EAACH,MAAM,CAAC,GAC3B,IAAI,CAACI,cAAc,CAACH,OAAO,CAAC,CACE;IAElC,IAAAI,4BAAoB,EAACL,MAAM,EAAEE,MAAM,EAAE,CAAC,CAAC,CAAC;IAExC,IAAMI,UAAU,GAAG,IAAAC,6BAAqB,EAACP,MAAM,EAAEE,MAAM,CAAC;IAExD,OAAO,IAAI,CAACE,cAAc,CAACE,UAAU,CAAC;EAGvC,CAAC;EAEDF,cAAc,WAAAA,eAACE,UAA+B,EAAE;IAC/C,IAAME,WAAW,GAAG,CAAC,CAAC;IAEtB3B,MAAM,CAACC,IAAI,CAACwB,UAAU,CAAC,CAACb,OAAO,CAAC,UAACgB,GAAW,EAAK;MAChD;MACA,IAAIH,UAAU,CAACG,GAAG,CAAC,KAAKC,SAAS,EAAE;QAClC;QACAF,WAAW,CAACC,GAAG,CAAC,GAAGH,UAAU,CAACG,GAAG,CAAC;MACnC;IACD,CAAC,CAAC;IACF,OAAOD,WAAW;EACnB;AACD,CAAC;AAAA,IAAAG,QAAA,GAEcb,qBAAqB;AAAAc,OAAA,cAAAD,QAAA"}
@@ -23,8 +23,8 @@ var _form = _interopRequireDefault(require("../../../utilities/form.utility"));
23
23
  var _AbstractAction2 = _interopRequireDefault(require("../../AbstractAction"));
24
24
  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); }; }
25
25
  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; } }
26
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
27
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
26
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28
28
  var viewTypeChoices = [{
29
29
  value: 'skillView',
30
30
  label: 'Skill View Controller'
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAction.js","names":["_schema","require","_spruceSkillUtils","_FormComponent","_interopRequireDefault","_namedTemplateItem","_action","_form","_AbstractAction2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","_objectSpread","target","i","length","source","forEach","key","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","viewTypeChoices","value","label","viewModels","sort","optionsSchema","buildSchema","id","description","fields","viewType","type","isRequired","options","choices","isRoot","nameReadable","namedTemplateItemBuilder","namePascal","viewModel","hint","map","model","followUpSchema","CreateAction","_AbstractAction","_inherits2","_super","_this","_classCallCheck2","_len","args","Array","_key","concat","_assertThisInitialized2","_createClass2","_execute","_asyncToGenerator2","_regenerator","mark","_callee","_namePascal","_this$validateAndNorm","writer","form","answers","files","syncResults","merged","wrap","_callee$","_context","prev","next","validateAndNormalizeOptions","Writer","doesRootControllerExist","cwd","ui","confirm","sent","FormComponent","schema","onWillAskQuestion","formUtil","onWillAskQuestionHandler","present","prompt","namesUtil","toPascal","nameKebab","toKebab","Action","execute","actionUtil","mergeActionResults","abrupt","stop","_x","AbstractAction","exports"],"sources":["../../../../src/features/view/actions/CreateAction.ts"],"sourcesContent":["import { buildSchema, SchemaValues } from '@sprucelabs/schema'\nimport { namesUtil } from '@sprucelabs/spruce-skill-utils'\nimport FormComponent from '../../../components/FormComponent'\nimport namedTemplateItemBuilder from '../../../schemas/v2020_07_22/namedTemplateItem.builder'\nimport actionUtil from '../../../utilities/action.utility'\nimport formUtil from '../../../utilities/form.utility'\nimport AbstractAction from '../../AbstractAction'\nimport { FeatureActionResponse } from '../../features.types'\n\nconst viewTypeChoices = [\n\t{\n\t\tvalue: 'skillView',\n\t\tlabel: 'Skill View Controller',\n\t},\n\t{\n\t\tvalue: 'view',\n\t\tlabel: 'View Controller',\n\t},\n]\n\nconst viewModels = [\n\t'BigForm',\n\t'Button',\n\t'Calendar',\n\t'Card',\n\t'CardBody',\n\t'CardHeader',\n\t'Dialog',\n\t'Form',\n\t'List',\n\t'CalendarEvent',\n].sort()\n\nconst optionsSchema = buildSchema({\n\tid: 'createViewOptions',\n\tdescription:\n\t\t'Create a new Heartwood view to render on web enabled and mobile devices.',\n\tfields: {\n\t\tviewType: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Which are you creating?',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: viewTypeChoices,\n\t\t\t},\n\t\t},\n\t\tisRoot: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Make this the Root View Controller?',\n\t\t},\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Controller name',\n\t\t\tisRequired: false,\n\t\t},\n\t\tnamePascal: {\n\t\t\t...namedTemplateItemBuilder.fields.namePascal,\n\t\t\tisRequired: false,\n\t\t},\n\t\tviewModel: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'View model',\n\t\t\thint: 'Which type of view will your controller render?',\n\t\t\toptions: {\n\t\t\t\tchoices: viewModels.map((model) => ({ value: model, label: model })),\n\t\t\t},\n\t\t},\n\t},\n})\n\nconst followUpSchema = buildSchema({\n\tid: 'creatViewFollowup',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...optionsSchema.fields.nameReadable,\n\t\t\tisRequired: true,\n\t\t},\n\t\tnamePascal: {\n\t\t\t...optionsSchema.fields.namePascal,\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\ntype OptionsSchema = typeof optionsSchema\n\nexport default class CreateAction extends AbstractAction<OptionsSchema> {\n\tpublic optionsSchema: OptionsSchema = optionsSchema\n\tpublic commandAliases = ['create.view']\n\tpublic invocationMessage = 'Creating your new view controller... 🌲'\n\n\tpublic async execute(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<FeatureActionResponse> {\n\t\tlet { viewType, isRoot, nameReadable, namePascal, viewModel } =\n\t\t\tthis.validateAndNormalizeOptions(options)\n\n\t\tconst writer = this.Writer('view')\n\n\t\tif (\n\t\t\tviewType === 'skillView' &&\n\t\t\t!isRoot &&\n\t\t\t!writer.doesRootControllerExist(this.cwd)\n\t\t) {\n\t\t\tisRoot = await this.ui.confirm(\n\t\t\t\t'Do you want to create a root view controller?'\n\t\t\t)\n\t\t}\n\n\t\tif (!isRoot && !nameReadable) {\n\t\t\tconst form = new FormComponent({\n\t\t\t\tui: this.ui,\n\t\t\t\tschema: followUpSchema,\n\t\t\t\tonWillAskQuestion: formUtil.onWillAskQuestionHandler,\n\t\t\t})\n\t\t\tconst answers = await form.present()\n\n\t\t\tnamePascal = answers.namePascal\n\t\t\tnameReadable = answers.nameReadable\n\t\t}\n\n\t\tif (isRoot) {\n\t\t\tnameReadable = 'Root'\n\t\t}\n\n\t\tif (!viewModel && viewType === 'view') {\n\t\t\tviewModel = await this.ui.prompt({\n\t\t\t\t...optionsSchema.fields.viewModel,\n\t\t\t\tisRequired: true,\n\t\t\t})\n\t\t}\n\n\t\tnamePascal = namePascal ?? namesUtil.toPascal(nameReadable as string)\n\n\t\tconst files = await writer[\n\t\t\tviewType === 'skillView'\n\t\t\t\t? 'writeSkillViewController'\n\t\t\t\t: 'writeViewController'\n\t\t](this.cwd, {\n\t\t\tviewType,\n\t\t\tnamePascal,\n\t\t\tviewModel: viewModel as string,\n\t\t\tnameKebab: namesUtil.toKebab(namePascal),\n\t\t})\n\n\t\tconst syncResults = await this.Action('view', 'sync').execute({})\n\n\t\tconst merged = actionUtil.mergeActionResults(\n\t\t\t{\n\t\t\t\tfiles,\n\t\t\t},\n\t\t\tsyncResults\n\t\t)\n\n\t\treturn merged\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,kBAAA,GAAAD,sBAAA,CAA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qB,CACxB,CAAC,IAAI,CAACgD,GAAG,EAAE;gBACXhD,QAAQ,EAARA,QAAQ;gBACRQ,UAAU,EAAVA,UAAU;gBACVC,SAAS,EAAEA,SAAmB;gBAC9BoD,SAAS,EAAEF,2BAAS,CAACG,OAAO,CAACtD,UAAU;cACxC,CAAC,CAAC;YAAA;cATI6B,KAAK,GAAAK,QAAA,CAAAS,IAAA;cAAAT,QAAA,CAAAE,IAAA;cAAA,OAWe,IAAI,CAACmB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;YAAA;cAA3D1B,WAAW,GAAAI,QAAA,CAAAS,IAAA;cAEXZ,MAAM,GAAG0B,kBAAU,CAACC,kBAAkB,CAC3C;gBACC7B,KAAK,EAALA;cACD,CAAC,EACDC,WACD,CAAC;cAAA,OAAAI,QAAA,CAAAyB,MAAA,WAEM5B,MAAM;YAAA;YAAA;cAAA,OAAAG,QAAA,CAAA0B,IAAA;UAAA;QAAA,GAAArC,OAAA;MAAA,CACb;MAAA,SAAAiC,QAAAK,EAAA;QAAA,OAAA1C,QAAA,CAAArE,KAAA,OAAAD,SAAA;MAAA;MAAA,OAAA2G,OAAA;IAAA;EAAA;EAAA,OAAAlD,YAAA;AAAA,EArEwCwD,2BAAc;AAAAC,OAAA,cAAAzD,YAAA"}
1
+ {"version":3,"file":"CreateAction.js","names":["_schema","require","_spruceSkillUtils","_FormComponent","_interopRequireDefault","_namedTemplateItem","_action","_form","_AbstractAction2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ownKeys","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","viewTypeChoices","value","label","viewModels","sort","optionsSchema","buildSchema","id","description","fields","viewType","type","isRequired","options","choices","isRoot","nameReadable","namedTemplateItemBuilder","namePascal","viewModel","hint","map","model","followUpSchema","CreateAction","_AbstractAction","_inherits2","_super","_this","_classCallCheck2","_len","args","Array","_key","concat","_assertThisInitialized2","_createClass2","key","_execute","_asyncToGenerator2","_regenerator","mark","_callee","_namePascal","_this$validateAndNorm","writer","form","answers","files","syncResults","merged","wrap","_callee$","_context","prev","next","validateAndNormalizeOptions","Writer","doesRootControllerExist","cwd","ui","confirm","sent","FormComponent","schema","onWillAskQuestion","formUtil","onWillAskQuestionHandler","present","prompt","namesUtil","toPascal","nameKebab","toKebab","Action","execute","actionUtil","mergeActionResults","abrupt","stop","_x","AbstractAction","exports"],"sources":["../../../../src/features/view/actions/CreateAction.ts"],"sourcesContent":["import { buildSchema, SchemaValues } from '@sprucelabs/schema'\nimport { namesUtil } from '@sprucelabs/spruce-skill-utils'\nimport FormComponent from '../../../components/FormComponent'\nimport namedTemplateItemBuilder from '../../../schemas/v2020_07_22/namedTemplateItem.builder'\nimport actionUtil from '../../../utilities/action.utility'\nimport formUtil from '../../../utilities/form.utility'\nimport AbstractAction from '../../AbstractAction'\nimport { FeatureActionResponse } from '../../features.types'\n\nconst viewTypeChoices = [\n\t{\n\t\tvalue: 'skillView',\n\t\tlabel: 'Skill View Controller',\n\t},\n\t{\n\t\tvalue: 'view',\n\t\tlabel: 'View Controller',\n\t},\n]\n\nconst viewModels = [\n\t'BigForm',\n\t'Button',\n\t'Calendar',\n\t'Card',\n\t'CardBody',\n\t'CardHeader',\n\t'Dialog',\n\t'Form',\n\t'List',\n\t'CalendarEvent',\n].sort()\n\nconst optionsSchema = buildSchema({\n\tid: 'createViewOptions',\n\tdescription:\n\t\t'Create a new Heartwood view to render on web enabled and mobile devices.',\n\tfields: {\n\t\tviewType: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'Which are you creating?',\n\t\t\tisRequired: true,\n\t\t\toptions: {\n\t\t\t\tchoices: viewTypeChoices,\n\t\t\t},\n\t\t},\n\t\tisRoot: {\n\t\t\ttype: 'boolean',\n\t\t\tlabel: 'Make this the Root View Controller?',\n\t\t},\n\t\tnameReadable: {\n\t\t\t...namedTemplateItemBuilder.fields.nameReadable,\n\t\t\tlabel: 'Controller name',\n\t\t\tisRequired: false,\n\t\t},\n\t\tnamePascal: {\n\t\t\t...namedTemplateItemBuilder.fields.namePascal,\n\t\t\tisRequired: false,\n\t\t},\n\t\tviewModel: {\n\t\t\ttype: 'select',\n\t\t\tlabel: 'View model',\n\t\t\thint: 'Which type of view will your controller render?',\n\t\t\toptions: {\n\t\t\t\tchoices: viewModels.map((model) => ({ value: model, label: model })),\n\t\t\t},\n\t\t},\n\t},\n})\n\nconst followUpSchema = buildSchema({\n\tid: 'creatViewFollowup',\n\tfields: {\n\t\tnameReadable: {\n\t\t\t...optionsSchema.fields.nameReadable,\n\t\t\tisRequired: true,\n\t\t},\n\t\tnamePascal: {\n\t\t\t...optionsSchema.fields.namePascal,\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n\ntype OptionsSchema = typeof optionsSchema\n\nexport default class CreateAction extends AbstractAction<OptionsSchema> {\n\tpublic optionsSchema: OptionsSchema = optionsSchema\n\tpublic commandAliases = ['create.view']\n\tpublic invocationMessage = 'Creating your new view controller... 🌲'\n\n\tpublic async execute(\n\t\toptions: SchemaValues<OptionsSchema>\n\t): Promise<FeatureActionResponse> {\n\t\tlet { viewType, isRoot, nameReadable, namePascal, viewModel } =\n\t\t\tthis.validateAndNormalizeOptions(options)\n\n\t\tconst writer = this.Writer('view')\n\n\t\tif (\n\t\t\tviewType === 'skillView' &&\n\t\t\t!isRoot &&\n\t\t\t!writer.doesRootControllerExist(this.cwd)\n\t\t) {\n\t\t\tisRoot = await this.ui.confirm(\n\t\t\t\t'Do you want to create a root view controller?'\n\t\t\t)\n\t\t}\n\n\t\tif (!isRoot && !nameReadable) {\n\t\t\tconst form = new FormComponent({\n\t\t\t\tui: this.ui,\n\t\t\t\tschema: followUpSchema,\n\t\t\t\tonWillAskQuestion: formUtil.onWillAskQuestionHandler,\n\t\t\t})\n\t\t\tconst answers = await form.present()\n\n\t\t\tnamePascal = answers.namePascal\n\t\t\tnameReadable = answers.nameReadable\n\t\t}\n\n\t\tif (isRoot) {\n\t\t\tnameReadable = 'Root'\n\t\t}\n\n\t\tif (!viewModel && viewType === 'view') {\n\t\t\tviewModel = await this.ui.prompt({\n\t\t\t\t...optionsSchema.fields.viewModel,\n\t\t\t\tisRequired: true,\n\t\t\t})\n\t\t}\n\n\t\tnamePascal = namePascal ?? namesUtil.toPascal(nameReadable as string)\n\n\t\tconst files = await writer[\n\t\t\tviewType === 'skillView'\n\t\t\t\t? 'writeSkillViewController'\n\t\t\t\t: 'writeViewController'\n\t\t](this.cwd, {\n\t\t\tviewType,\n\t\t\tnamePascal,\n\t\t\tviewModel: viewModel as string,\n\t\t\tnameKebab: namesUtil.toKebab(namePascal),\n\t\t})\n\n\t\tconst syncResults = await this.Action('view', 'sync').execute({})\n\n\t\tconst merged = actionUtil.mergeActionResults(\n\t\t\t{\n\t\t\t\tfiles,\n\t\t\t},\n\t\t\tsyncResults\n\t\t)\n\n\t\treturn merged\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,kBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,OAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,KAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,gBAAA,GAAAJ,sBAAA,CAAAH,OAAA;AAAiD,SAAAQ,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAA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C,MAAM,EAAE,MAAM,CAAC,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;YAAA;cAA3D1B,WAAW,GAAAI,QAAA,CAAAS,IAAA;cAEXZ,MAAM,GAAG0B,kBAAU,CAACC,kBAAkB,CAC3C;gBACC7B,KAAK,EAALA;cACD,CAAC,EACDC,WACD,CAAC;cAAA,OAAAI,QAAA,CAAAyB,MAAA,WAEM5B,MAAM;YAAA;YAAA;cAAA,OAAAG,QAAA,CAAA0B,IAAA;UAAA;QAAA,GAAArC,OAAA;MAAA,CACb;MAAA,SAAAiC,QAAAK,EAAA;QAAA,OAAA1C,QAAA,CAAAjE,KAAA,OAAAD,SAAA;MAAA;MAAA,OAAAuG,OAAA;IAAA;EAAA;EAAA,OAAAnD,YAAA;AAAA,EArEwCyD,2BAAc;AAAAC,OAAA,cAAA1D,YAAA"}
@@ -18,8 +18,8 @@ var _spruceSkillUtils = require("@sprucelabs/spruce-skill-utils");
18
18
  var _SpruceError = _interopRequireDefault(require("../../../errors/SpruceError"));
19
19
  var _AbstractWriter2 = _interopRequireDefault(require("../../../writers/AbstractWriter"));
20
20
  var _excluded = ["vcTemplateItems", "svcTemplateItems"];
21
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
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
25
  var ViewWriter = /*#__PURE__*/function (_AbstractWriter) {