@sprucelabs/spruce-cli 19.0.0 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.DS_Store +0 -0
- package/.env +25 -0
- package/.eslintcache +1 -0
- package/CHANGELOG.md +6 -0
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -1
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -1
- package/build/.spruce/events/events.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js.map +1 -1
- package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -1
- package/build/.spruce/schemas/fields/fields.types.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/theme.schema.js.map +1 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js.map +1 -1
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/location.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/message.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/organization.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/person.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/role.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/skill.schema.js.map +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema.js.map +1 -1
- package/build/.spruce/skill.types.js.map +1 -1
- package/build/GlobalEmitter.js.map +1 -1
- package/build/InFlightEntertainment.js.map +1 -1
- package/build/__tests__/behavioral/AddingADependency.test.js +130 -144
- package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
- package/build/__tests__/behavioral/BlockingCommands.test.js +59 -63
- package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingTheCli.test.d.ts +2 -1
- package/build/__tests__/behavioral/BootingTheCli.test.js +60 -22
- package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js +46 -52
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js +50 -56
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingASkill.test.js +512 -548
- package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/DeployingToSandbox.test.js +321 -351
- package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js +137 -153
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
- package/build/__tests__/behavioral/GettingCliVersion.test.js +31 -37
- package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
- package/build/__tests__/behavioral/ManagingDependencies.test.js +112 -122
- package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js +41 -45
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +55 -59
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js +56 -64
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js +90 -104
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingRemote.test.js +64 -74
- package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
- package/build/__tests__/behavioral/SettingUpVscode.test.js +52 -56
- package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
- package/build/__tests__/behavioral/TestingAConversation.test.js +143 -157
- package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js +90 -100
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js +74 -78
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js +180 -190
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js +34 -38
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +179 -201
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAListener.test.js +423 -459
- package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +287 -315
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
- package/build/__tests__/behavioral/events/EventWriter.test.js +64 -66
- package/build/__tests__/behavioral/events/EventWriter.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +286 -316
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +398 -420
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js +43 -49
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js +55 -59
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
- package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js +31 -35
- package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js +98 -104
- package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js +123 -135
- package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js +15 -17
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js +66 -72
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
- package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js +76 -82
- package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js +49 -55
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js +79 -85
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js +45 -49
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js +40 -46
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js +15 -19
- package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionStore.test.js +174 -198
- package/build/__tests__/behavioral/permissions/PermissionStore.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/PermissionWriter.test.js +23 -27
- package/build/__tests__/behavioral/permissions/PermissionWriter.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.d.ts +1 -0
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js +209 -208
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js +34 -40
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/generateShortAlphaId.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/renderPermissionTestFile.js.map +1 -1
- package/build/__tests__/behavioral/permissions/support/sortPermissionContracts.js.map +1 -1
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js +153 -171
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js +40 -46
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js +102 -116
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js +227 -247
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js +27 -29
- package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js +38 -42
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js +65 -73
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js +100 -110
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js +25 -27
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js +425 -465
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js +49 -55
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js +435 -467
- package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js +19 -21
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js +9 -11
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/BootingASkill.test.js +61 -67
- package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js +37 -41
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js +183 -199
- package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js +153 -171
- package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/RebuildingASkill.test.js +37 -43
- package/build/__tests__/behavioral/skill/RebuildingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js +96 -104
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js +168 -184
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js +169 -191
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js +105 -125
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/CreatingATest.test.js +208 -232
- package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/RunningTests.test.js +75 -79
- package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js +293 -355
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js +65 -75
- package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js +29 -33
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js +50 -54
- package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js.map +1 -1
- package/build/__tests__/behavioral/tests/TestingDataStores.test.js +87 -95
- package/build/__tests__/behavioral/tests/TestingDataStores.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js +57 -65
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js +146 -156
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js +79 -87
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js +282 -302
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js +183 -197
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js +214 -238
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js +118 -126
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js +138 -152
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js +61 -69
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js +90 -104
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js +194 -220
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingATheme.test.js +83 -97
- package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +64 -76
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js +102 -114
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js.map +1 -1
- package/build/__tests__/behavioral/views/SettingUpViews.test.js +33 -37
- package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js +94 -106
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
- package/build/__tests__/behavioral/views/WatchingSkillViews.test.js +32 -38
- package/build/__tests__/behavioral/views/WatchingSkillViews.test.js.map +1 -1
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js +302 -336
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter.test.js +132 -136
- package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter2.test.js +270 -286
- package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter3.test.js +64 -72
- package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
- package/build/__tests__/implementation/ActionExecuter4.test.js +41 -47
- package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
- package/build/__tests__/implementation/ArgParser.test.js +13 -17
- package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
- package/build/__tests__/implementation/BuildService.test.js +25 -29
- package/build/__tests__/implementation/BuildService.test.js.map +1 -1
- package/build/__tests__/implementation/BulkImporting.test.js +116 -136
- package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
- package/build/__tests__/implementation/CachingImports.test.js +89 -99
- package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
- package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js +72 -90
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
- package/build/__tests__/implementation/DataStoreStore.test.js +127 -147
- package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js +46 -52
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js +27 -35
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
- package/build/__tests__/implementation/EventStore.test.js +371 -399
- package/build/__tests__/implementation/EventStore.test.js.map +1 -1
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +21 -27
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js +155 -173
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureFixture.test.js +54 -62
- package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
- package/build/__tests__/implementation/FeatureInstaller.test.js +69 -77
- package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
- package/build/__tests__/implementation/FeaturesUtil.test.js +7 -9
- package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js +6 -8
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/GlobalEmitter.test.js +29 -33
- package/build/__tests__/implementation/GlobalEmitter.test.js.map +1 -1
- package/build/__tests__/implementation/Introspection.test.js.map +1 -1
- package/build/__tests__/implementation/JestJsonParser.test.js +9 -11
- package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
- package/build/__tests__/implementation/LintService.test.js +32 -36
- package/build/__tests__/implementation/LintService.test.js.map +1 -1
- package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js +72 -80
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js +217 -243
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
- package/build/__tests__/implementation/OnboardingStore.test.js +19 -23
- package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
- package/build/__tests__/implementation/OrganizationStore.test.js +114 -124
- package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
- package/build/__tests__/implementation/ParentTestFinder.test.js +38 -44
- package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
- package/build/__tests__/implementation/PkgService.test.js +63 -75
- package/build/__tests__/implementation/PkgService.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaStore.test.js +314 -346
- package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +9 -11
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js +128 -142
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
- package/build/__tests__/implementation/ServiceFactory.test.js +8 -10
- package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
- package/build/__tests__/implementation/SettingUpANodeModule.test.js +59 -65
- package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
- package/build/__tests__/implementation/SkillStore.test.js +153 -169
- package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
- package/build/__tests__/implementation/StoreFeature.test.js +49 -53
- package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
- package/build/__tests__/implementation/TestReporter.test.js +31 -39
- package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
- package/build/__tests__/implementation/TestRunner.test.js +215 -233
- package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
- package/build/__tests__/implementation/ValueTypeMapping.test.js +24 -28
- package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
- package/build/__tests__/implementation/Widgets.test.js +34 -42
- package/build/__tests__/implementation/Widgets.test.js.map +1 -1
- package/build/__tests__/support/EventFaker.js +12 -14
- package/build/__tests__/support/EventFaker.js.map +1 -1
- package/build/__tests__/support/onTestFileResult.js.map +1 -1
- package/build/__tests__/support/scripts/first.script.js +7 -9
- package/build/__tests__/support/scripts/first.script.js.map +1 -1
- package/build/__tests__/support/scripts/second.script.js.map +1 -1
- package/build/__tests__/support/scripts/third.test.script.js.map +1 -1
- package/build/addons/filePrompt.addon.js.map +1 -1
- package/build/boot.d.ts +2 -0
- package/build/boot.js +162 -0
- package/build/boot.js.map +1 -0
- package/build/{cli.d.ts → cli/Cli.d.ts} +9 -33
- package/build/cli/Cli.js +528 -0
- package/build/cli/Cli.js.map +1 -0
- package/build/components/AbstractComponent.js.map +1 -1
- package/build/components/FormComponent.js +156 -160
- package/build/components/FormComponent.js.map +1 -1
- package/build/components/QuizComponent.js +124 -128
- package/build/components/QuizComponent.js.map +1 -1
- package/build/constants.js.map +1 -1
- package/build/errors/SpruceError.js +1 -1
- package/build/errors/SpruceError.js.map +1 -1
- package/build/errors/actionCancelled.builder.js.map +1 -1
- package/build/errors/bootError.builder.js.map +1 -1
- package/build/errors/buildFailed.builder.js.map +1 -1
- package/build/errors/cacheNotEnabled.builder.js.map +1 -1
- package/build/errors/commandAborted.builder.js.map +1 -1
- package/build/errors/commandBlocked.builder.js.map +1 -1
- package/build/errors/commandNotImplemented.builder.js.map +1 -1
- package/build/errors/createAutoloaderFailed.builder.js.map +1 -1
- package/build/errors/dependencyExists.builder.js.map +1 -1
- package/build/errors/deployFailed.builder.js.map +1 -1
- package/build/errors/directoryEmpty.builder.js.map +1 -1
- package/build/errors/directoryNotSkill.builder.js.map +1 -1
- package/build/errors/dockerNotStarted.builder.js.map +1 -1
- package/build/errors/executingCommandFailed.builder.js.map +1 -1
- package/build/errors/failedToImport.builder.js.map +1 -1
- package/build/errors/featureNotInstalled.builder.js.map +1 -1
- package/build/errors/fileExists.builder.js.map +1 -1
- package/build/errors/generic.builder.js.map +1 -1
- package/build/errors/invalidCommand.builder.js.map +1 -1
- package/build/errors/invalidEventContract.builder.js.map +1 -1
- package/build/errors/invalidFeatureCode.builder.js.map +1 -1
- package/build/errors/invalidTestDirectory.builder.js.map +1 -1
- package/build/errors/lintFailed.builder.js.map +1 -1
- package/build/errors/mercuryResponseError.builder.js.map +1 -1
- package/build/errors/missingDependencies.builder.js.map +1 -1
- package/build/errors/noOrganizationsFound.builder.js.map +1 -1
- package/build/errors/noSkillsRegistered.builder.js.map +1 -1
- package/build/errors/notImplemented.builder.js.map +1 -1
- package/build/errors/notLoggedIn.builder.js.map +1 -1
- package/build/errors/schemaExists.builder.js.map +1 -1
- package/build/errors/schemaFailedToImport.builder.js.map +1 -1
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -1
- package/build/errors/skillNotFound.builder.js.map +1 -1
- package/build/errors/skillNotRegistered.builder.js.map +1 -1
- package/build/errors/skillViewExists.builder.js.map +1 -1
- package/build/errors/storeExists.builder.js.map +1 -1
- package/build/errors/testFailed.builder.js.map +1 -1
- package/build/errors/themeExists.builder.js.map +1 -1
- package/build/errors/transportAlreadyExists.builder.js.map +1 -1
- package/build/errors/vscodeNotInstalled.builder.js.map +1 -1
- package/build/features/AbstractAction.js +65 -71
- package/build/features/AbstractAction.js.map +1 -1
- package/build/features/AbstractFeature.js +54 -62
- package/build/features/AbstractFeature.js.map +1 -1
- package/build/features/ActionExecuter.js +206 -210
- package/build/features/ActionExecuter.js.map +1 -1
- package/build/features/ActionFactory.js.map +1 -1
- package/build/features/ActionQuestionAsker.js +304 -320
- package/build/features/ActionQuestionAsker.js.map +1 -1
- package/build/features/FeatureCommandAttacher.js +45 -49
- package/build/features/FeatureCommandAttacher.js.map +1 -1
- package/build/features/FeatureInstaller.js +353 -375
- package/build/features/FeatureInstaller.js.map +1 -1
- package/build/features/FeatureInstallerFactory.js.map +1 -1
- package/build/features/OverrideActionDecorator.js +13 -15
- package/build/features/OverrideActionDecorator.js.map +1 -1
- package/build/features/cache/CacheFeature.js +6 -8
- package/build/features/cache/CacheFeature.js.map +1 -1
- package/build/features/cache/actions/DisableAction.js +42 -44
- package/build/features/cache/actions/DisableAction.js.map +1 -1
- package/build/features/cache/actions/EnableAction.js +37 -39
- package/build/features/cache/actions/EnableAction.js.map +1 -1
- package/build/features/cache/constants.js.map +1 -1
- package/build/features/conversation/ConversationFeature.js +40 -46
- package/build/features/conversation/ConversationFeature.js.map +1 -1
- package/build/features/conversation/actions/CreateAction.js +16 -18
- package/build/features/conversation/actions/CreateAction.js.map +1 -1
- package/build/features/conversation/actions/TestAction.js +96 -102
- package/build/features/conversation/actions/TestAction.js.map +1 -1
- package/build/features/conversation/stores/ConversationStore.js +19 -21
- package/build/features/conversation/stores/ConversationStore.js.map +1 -1
- package/build/features/conversation/writers/ConversationWriter.js +22 -24
- package/build/features/conversation/writers/ConversationWriter.js.map +1 -1
- package/build/features/dependencies/DependencyFeature.js +6 -8
- package/build/features/dependencies/DependencyFeature.js.map +1 -1
- package/build/features/dependencies/actions/AddAction.js +64 -66
- package/build/features/dependencies/actions/AddAction.js.map +1 -1
- package/build/features/dependencies/actions/ManageAction.js +63 -65
- package/build/features/dependencies/actions/ManageAction.js.map +1 -1
- package/build/features/deploy/DeployFeature.js +12 -14
- package/build/features/deploy/DeployFeature.js.map +1 -1
- package/build/features/deploy/actions/HerokuAction.js +389 -409
- package/build/features/deploy/actions/HerokuAction.js.map +1 -1
- package/build/features/deploy/writers/DeployWriter.js.map +1 -1
- package/build/features/error/ErrorFeature.js +84 -92
- package/build/features/error/ErrorFeature.js.map +1 -1
- package/build/features/error/ParentTestFinder.js +22 -24
- package/build/features/error/ParentTestFinder.js.map +1 -1
- package/build/features/error/actions/CreateAction.js +24 -26
- package/build/features/error/actions/CreateAction.js.map +1 -1
- package/build/features/error/actions/SyncAction.js +85 -91
- package/build/features/error/actions/SyncAction.js.map +1 -1
- package/build/features/error/writers/ErrorWriter.js +130 -140
- package/build/features/error/writers/ErrorWriter.js.map +1 -1
- package/build/features/event/EventFeature.js +153 -167
- package/build/features/event/EventFeature.js.map +1 -1
- package/build/features/event/actions/CreateAction.js +59 -61
- package/build/features/event/actions/CreateAction.js.map +1 -1
- package/build/features/event/actions/ListenAction.js +205 -219
- package/build/features/event/actions/ListenAction.js.map +1 -1
- package/build/features/event/actions/SetRemoteAction.js +11 -13
- package/build/features/event/actions/SetRemoteAction.js.map +1 -1
- package/build/features/event/actions/SyncAction.js +25 -27
- package/build/features/event/actions/SyncAction.js.map +1 -1
- package/build/features/event/actions/SyncListenersAction.js +23 -25
- package/build/features/event/actions/SyncListenersAction.js.map +1 -1
- package/build/features/event/builders/EventContractBuilder.js +136 -144
- package/build/features/event/builders/EventContractBuilder.js.map +1 -1
- package/build/features/event/builders/ListenerTemplateItemBuilder.js +1 -1
- package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -1
- package/build/features/event/services/EventSettingsService.js.map +1 -1
- package/build/features/event/services/RemoteService.js.map +1 -1
- package/build/features/event/stores/EventStore.js +246 -258
- package/build/features/event/stores/EventStore.js.map +1 -1
- package/build/features/event/stores/ListenerStore.js +26 -28
- package/build/features/event/stores/ListenerStore.js.map +1 -1
- package/build/features/event/writers/EventWriter.js +171 -183
- package/build/features/event/writers/EventWriter.js.map +1 -1
- package/build/features/eventContract/EventContractFeature.js +6 -8
- package/build/features/eventContract/EventContractFeature.js.map +1 -1
- package/build/features/eventContract/actions/PullAction.js +58 -62
- package/build/features/eventContract/actions/PullAction.js.map +1 -1
- package/build/features/feature.utilities.js.map +1 -1
- package/build/features/log/LogFeature.js.map +1 -1
- package/build/features/log/actions/CreateTransportAction.js +16 -18
- package/build/features/log/actions/CreateTransportAction.js.map +1 -1
- package/build/features/log/writers/LogWriter.js +23 -25
- package/build/features/log/writers/LogWriter.js.map +1 -1
- package/build/features/node/NodeFeature.js +110 -122
- package/build/features/node/NodeFeature.js.map +1 -1
- package/build/features/node/actions/CreateAction.js +9 -11
- package/build/features/node/actions/CreateAction.js.map +1 -1
- package/build/features/node/actions/UpdateDependenciesAction.js +140 -113
- package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -1
- package/build/features/node/actions/UpgradeAction.js +70 -76
- package/build/features/node/actions/UpgradeAction.js.map +1 -1
- package/build/features/node/writers/NodeWriter.js +29 -31
- package/build/features/node/writers/NodeWriter.js.map +1 -1
- package/build/features/onboard/OnboardFeature.js +77 -87
- package/build/features/onboard/OnboardFeature.js.map +1 -1
- package/build/features/onboard/ScriptLoader.js +31 -33
- package/build/features/onboard/ScriptLoader.js.map +1 -1
- package/build/features/onboard/ScriptPlayer.js +80 -86
- package/build/features/onboard/ScriptPlayer.js.map +1 -1
- package/build/features/onboard/actions/OnboardAction.js +36 -38
- package/build/features/onboard/actions/OnboardAction.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.first.script.js +68 -80
- package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.immersive.script.js +24 -28
- package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.returning.script.js +42 -44
- package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -1
- package/build/features/onboard/scripts/onboarding.short.script.js +38 -48
- package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js +9 -11
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js.map +1 -1
- package/build/features/onboard/scripts/todo/todo.test.script.js +7 -9
- package/build/features/onboard/scripts/todo/todo.test.script.js.map +1 -1
- package/build/features/onboard/scripts/wrongCommand.script.js +40 -42
- package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -1
- package/build/features/onboard/stores/OnboardingStore.js.map +1 -1
- package/build/features/organization/OrganizationFeature.js.map +1 -1
- package/build/features/organization/actions/CreateAction.js +18 -20
- package/build/features/organization/actions/CreateAction.js.map +1 -1
- package/build/features/organization/actions/InstallAction.js +81 -83
- package/build/features/organization/actions/InstallAction.js.map +1 -1
- package/build/features/organization/stores/OrganizationStore.js +101 -111
- package/build/features/organization/stores/OrganizationStore.js.map +1 -1
- package/build/features/permission/PermissionFeature.js +73 -79
- package/build/features/permission/PermissionFeature.js.map +1 -1
- package/build/features/permission/actions/CreateAction.js +23 -25
- package/build/features/permission/actions/CreateAction.js.map +1 -1
- package/build/features/permission/actions/SyncAction.js +50 -54
- package/build/features/permission/actions/SyncAction.js.map +1 -1
- package/build/features/permission/stores/PermissionStore.js +100 -104
- package/build/features/permission/stores/PermissionStore.js.map +1 -1
- package/build/features/permission/writers/PermissionWriter.js +57 -63
- package/build/features/permission/writers/PermissionWriter.js.map +1 -1
- package/build/features/person/PersonFeature.js.map +1 -1
- package/build/features/person/actions/LoginAction.js +69 -71
- package/build/features/person/actions/LoginAction.js.map +1 -1
- package/build/features/person/actions/LogoutAction.js +21 -23
- package/build/features/person/actions/LogoutAction.js.map +1 -1
- package/build/features/person/actions/WhoamiAction.js +24 -26
- package/build/features/person/actions/WhoamiAction.js.map +1 -1
- package/build/features/polish/PolishFeature.js.map +1 -1
- package/build/features/polish/actions/SetupAction.js +23 -25
- package/build/features/polish/actions/SetupAction.js.map +1 -1
- package/build/features/polish/writers/PolishWriter.js +16 -18
- package/build/features/polish/writers/PolishWriter.js.map +1 -1
- package/build/features/sandbox/SandboxFeature.js +20 -22
- package/build/features/sandbox/SandboxFeature.js.map +1 -1
- package/build/features/sandbox/actions/SetupAction.js +42 -44
- package/build/features/sandbox/actions/SetupAction.js.map +1 -1
- package/build/features/sandbox/writers/SandboxWriter.js +9 -11
- package/build/features/sandbox/writers/SandboxWriter.js.map +1 -1
- package/build/features/schema/SchemaFeature.js +82 -90
- package/build/features/schema/SchemaFeature.js.map +1 -1
- package/build/features/schema/ValueTypeBuilder.js +26 -28
- package/build/features/schema/ValueTypeBuilder.js.map +1 -1
- package/build/features/schema/actions/CreateAction.js +48 -50
- package/build/features/schema/actions/CreateAction.js.map +1 -1
- package/build/features/schema/actions/SyncAction.js +260 -270
- package/build/features/schema/actions/SyncAction.js.map +1 -1
- package/build/features/schema/actions/SyncFieldsAction.js +42 -44
- package/build/features/schema/actions/SyncFieldsAction.js.map +1 -1
- package/build/features/schema/services/SchemaService.js +24 -26
- package/build/features/schema/services/SchemaService.js.map +1 -1
- package/build/features/schema/stores/SchemaStore.js +205 -219
- package/build/features/schema/stores/SchemaStore.js.map +1 -1
- package/build/features/schema/utilities/schema.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaDisk.utility.js +15 -17
- package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -1
- package/build/features/schema/utilities/schemaGenerator.utility.js +40 -42
- package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -1
- package/build/features/schema/writers/SchemaWriter.js +173 -185
- package/build/features/schema/writers/SchemaWriter.js.map +1 -1
- package/build/features/skill/SkillFeature.js +99 -112
- package/build/features/skill/SkillFeature.js.map +1 -1
- package/build/features/skill/actions/BootAction.js +92 -96
- package/build/features/skill/actions/BootAction.js.map +1 -1
- package/build/features/skill/actions/CreateAction.js +9 -11
- package/build/features/skill/actions/CreateAction.js.map +1 -1
- package/build/features/skill/actions/DashboardAction.js +8 -10
- package/build/features/skill/actions/DashboardAction.js.map +1 -1
- package/build/features/skill/actions/LoginAction.js +122 -124
- package/build/features/skill/actions/LoginAction.js.map +1 -1
- package/build/features/skill/actions/RebuildAction.js +33 -35
- package/build/features/skill/actions/RebuildAction.js.map +1 -1
- package/build/features/skill/actions/RegisterAction.js +38 -40
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/build/features/skill/stores/SkillStore.d.ts +2 -2
- package/build/features/skill/stores/SkillStore.js +198 -216
- package/build/features/skill/stores/SkillStore.js.map +1 -1
- package/build/features/skill/updaters/Updater.js +38 -40
- package/build/features/skill/updaters/Updater.js.map +1 -1
- package/build/features/skill/writers/SkillWriter.js +15 -17
- package/build/features/skill/writers/SkillWriter.js.map +1 -1
- package/build/features/store/StoreFeature.js +50 -56
- package/build/features/store/StoreFeature.js.map +1 -1
- package/build/features/store/actions/CreateAction.js +29 -31
- package/build/features/store/actions/CreateAction.js.map +1 -1
- package/build/features/store/actions/SyncAction.js +35 -37
- package/build/features/store/actions/SyncAction.js.map +1 -1
- package/build/features/store/stores/StoreStore.js +39 -41
- package/build/features/store/stores/StoreStore.js.map +1 -1
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js +1 -1
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -1
- package/build/features/store/writers/StoreWriter.js +65 -73
- package/build/features/store/writers/StoreWriter.js.map +1 -1
- package/build/features/test/TestFeature.js +98 -102
- package/build/features/test/TestFeature.js.map +1 -1
- package/build/features/test/TestLogItemGenerator.js.map +1 -1
- package/build/features/test/TestReporter.d.ts +19 -19
- package/build/features/test/TestReporter.js +74 -82
- package/build/features/test/TestReporter.js.map +1 -1
- package/build/features/test/TestRunner.js +82 -88
- package/build/features/test/TestRunner.js.map +1 -1
- package/build/features/test/actions/CreateAction.js +145 -153
- package/build/features/test/actions/CreateAction.js.map +1 -1
- package/build/features/test/actions/SetupAction.js +37 -39
- package/build/features/test/actions/SetupAction.js.map +1 -1
- package/build/features/test/actions/TestAction.js +203 -213
- package/build/features/test/actions/TestAction.js.map +1 -1
- package/build/features/test/test.types.d.ts +1 -1
- package/build/features/test/test.types.js.map +1 -1
- package/build/features/test/writers/TestWriter.js +17 -19
- package/build/features/test/writers/TestWriter.js.map +1 -1
- package/build/features/universalDevDependencies.js.map +1 -1
- package/build/features/universalFileDescriptions.js.map +1 -1
- package/build/features/universalScripts.js.map +1 -1
- package/build/features/validateAndNormalize.utility.js.map +1 -1
- package/build/features/view/ViewFeature.js +52 -58
- package/build/features/view/ViewFeature.js.map +1 -1
- package/build/features/view/actions/CreateAction.js +64 -66
- package/build/features/view/actions/CreateAction.js.map +1 -1
- package/build/features/view/actions/CreateThemeAction.js +35 -37
- package/build/features/view/actions/CreateThemeAction.js.map +1 -1
- package/build/features/view/actions/SyncAction.js +61 -63
- package/build/features/view/actions/SyncAction.js.map +1 -1
- package/build/features/view/actions/WatchAction.d.ts +1 -0
- package/build/features/view/actions/WatchAction.js +26 -27
- package/build/features/view/actions/WatchAction.js.map +1 -1
- package/build/features/view/stores/ViewStore.js +35 -37
- package/build/features/view/stores/ViewStore.js.map +1 -1
- package/build/features/view/writers/ViewWriter.js +47 -51
- package/build/features/view/writers/ViewWriter.js.map +1 -1
- package/build/features/vscode/VsCodeFeature.js +18 -20
- package/build/features/vscode/VsCodeFeature.js.map +1 -1
- package/build/features/vscode/actions/SetupAction.js +173 -183
- package/build/features/vscode/actions/SetupAction.js.map +1 -1
- package/build/features/vscode/services/VsCodeService.js +63 -69
- package/build/features/vscode/services/VsCodeService.js.map +1 -1
- package/build/features/vscode/writers/VsCodeWriter.js +12 -14
- package/build/features/vscode/writers/VsCodeWriter.js.map +1 -1
- package/build/features/watch/WatchFeature.js +77 -88
- package/build/features/watch/WatchFeature.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/interfaces/SpyInterface.d.ts +1 -0
- package/build/interfaces/SpyInterface.js +139 -148
- package/build/interfaces/SpyInterface.js.map +1 -1
- package/build/interfaces/TerminalInterface.d.ts +1 -0
- package/build/interfaces/TerminalInterface.js +196 -207
- package/build/interfaces/TerminalInterface.js.map +1 -1
- package/build/schemas/v2020_07_22/actionResponse.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/generatedFile.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -1
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -1
- package/build/services/BuildService.js +16 -18
- package/build/services/BuildService.js.map +1 -1
- package/build/services/CommandService.js +107 -109
- package/build/services/CommandService.js.map +1 -1
- package/build/services/DependencyService.js.map +1 -1
- package/build/services/GameService.js +49 -51
- package/build/services/GameService.js.map +1 -1
- package/build/services/ImportService.js +186 -194
- package/build/services/ImportService.js.map +1 -1
- package/build/services/LintService.js +81 -83
- package/build/services/LintService.js.map +1 -1
- package/build/services/PkgService.js +85 -89
- package/build/services/PkgService.js.map +1 -1
- package/build/services/ServiceFactory.js.map +1 -1
- package/build/services/TypeCheckerService.js +7 -9
- package/build/services/TypeCheckerService.js.map +1 -1
- package/build/stores/AbstractLocalStore.js.map +1 -1
- package/build/stores/AbstractStore.js +6 -8
- package/build/stores/AbstractStore.js.map +1 -1
- package/build/stores/StoreFactory.js.map +1 -1
- package/build/templateItemBuilders/EventTemplateItemBuilder.js +1 -1
- package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js +1 -1
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -1
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js +1 -1
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -1
- package/build/tests/AbstractCliTest.d.ts +2 -3
- package/build/tests/AbstractCliTest.js +236 -266
- package/build/tests/AbstractCliTest.js.map +1 -1
- package/build/tests/AbstractErrorTest.d.ts +1 -1
- package/build/tests/AbstractErrorTest.js +19 -21
- package/build/tests/AbstractErrorTest.js.map +1 -1
- package/build/tests/AbstractEventTest.d.ts +3 -3
- package/build/tests/AbstractEventTest.js +89 -97
- package/build/tests/AbstractEventTest.js.map +1 -1
- package/build/tests/AbstractSchemaTest.d.ts +3 -3
- package/build/tests/AbstractSchemaTest.js +92 -98
- package/build/tests/AbstractSchemaTest.js.map +1 -1
- package/build/tests/AbstractSkillTest.d.ts +1 -1
- package/build/tests/AbstractSkillTest.js +40 -46
- package/build/tests/AbstractSkillTest.js.map +1 -1
- package/build/tests/AbstractTestTest.d.ts +1 -1
- package/build/tests/AbstractTestTest.js +14 -16
- package/build/tests/AbstractTestTest.js.map +1 -1
- package/build/tests/CommandFaker.js.map +1 -1
- package/build/tests/JestJsonParser.js +5 -2
- package/build/tests/JestJsonParser.js.map +1 -1
- package/build/tests/MockProgramFactory.js +11 -15
- package/build/tests/MockProgramFactory.js.map +1 -1
- package/build/tests/buildTestCache.js +223 -243
- package/build/tests/buildTestCache.js.map +1 -1
- package/build/tests/cleanTestCache.js.map +1 -1
- package/build/tests/cleanTestData.js +70 -72
- package/build/tests/cleanTestData.js.map +1 -1
- package/build/tests/constants.js.map +1 -1
- package/build/tests/fixtures/FeatureFixture.d.ts +15 -16
- package/build/tests/fixtures/FeatureFixture.js +142 -154
- package/build/tests/fixtures/FeatureFixture.js.map +1 -1
- package/build/tests/fixtures/MercuryFixture.js +9 -11
- package/build/tests/fixtures/MercuryFixture.js.map +1 -1
- package/build/tests/fixtures/OrganizationFixture.js +62 -68
- package/build/tests/fixtures/OrganizationFixture.js.map +1 -1
- package/build/tests/fixtures/PersonFixture.js +69 -73
- package/build/tests/fixtures/PersonFixture.js.map +1 -1
- package/build/tests/fixtures/SkillFixture.js +123 -137
- package/build/tests/fixtures/SkillFixture.js.map +1 -1
- package/build/tests/fixtures/ViewFixture.js +13 -15
- package/build/tests/fixtures/ViewFixture.js.map +1 -1
- package/build/tests/utilities/test.utility.js.map +1 -1
- package/build/tests/utilities/uiAssert.utility.js +31 -35
- package/build/tests/utilities/uiAssert.utility.js.map +1 -1
- package/build/types/cli.types.d.ts +26 -0
- package/build/types/cli.types.js.map +1 -1
- package/build/types/graphicsInterface.types.js.map +1 -1
- package/build/updaters/ScriptUpdater.js +78 -80
- package/build/updaters/ScriptUpdater.js.map +1 -1
- package/build/utilities/action.utility.js.map +1 -1
- package/build/utilities/apiClient.utility.js.map +1 -1
- package/build/utilities/argParser.utility.js +1 -1
- package/build/utilities/argParser.utility.js.map +1 -1
- package/build/utilities/commander.utility.js.map +1 -1
- package/build/utilities/duration.utility.js.map +1 -1
- package/build/utilities/eventContractCleaner.utility.js +1 -1
- package/build/utilities/eventContractCleaner.utility.js.map +1 -1
- package/build/utilities/form.utility.js.map +1 -1
- package/build/utilities/introspection.utility.js +3 -3
- package/build/utilities/introspection.utility.js.map +1 -1
- package/build/utilities/isCi.js.map +1 -1
- package/build/utilities/tsConfig.utility.js.map +1 -1
- package/build/utilities/ui.utility.js.map +1 -1
- package/build/widgets/Theme.js.map +1 -1
- package/build/widgets/WidgetFactory.js.map +1 -1
- package/build/widgets/keySelectChoices.js.map +1 -1
- package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkBaseWidget.js +8 -10
- package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkInputWidget.js +16 -20
- package/build/widgets/terminalKit/TkInputWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkLayoutWidget.js +6 -8
- package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkMenuBarWidget.js +1 -1
- package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkTextWidget.js +13 -15
- package/build/widgets/terminalKit/TkTextWidget.js.map +1 -1
- package/build/widgets/terminalKit/TkWindowWidget.js +39 -45
- package/build/widgets/terminalKit/TkWindowWidget.js.map +1 -1
- package/build/widgets/terminalKit/termKit.utility.js +1 -1
- package/build/widgets/terminalKit/termKit.utility.js.map +1 -1
- package/build/widgets/types/button.types.js.map +1 -1
- package/build/widgets/types/factory.types.js.map +1 -1
- package/build/widgets/types/input.types.js.map +1 -1
- package/build/widgets/types/menuBar.types.js.map +1 -1
- package/build/widgets/types/popup.types.js.map +1 -1
- package/build/widgets/types/text.types.js.map +1 -1
- package/build/widgets/types/window.types.js.map +1 -1
- package/build/widgets/widget.utilities.js.map +1 -1
- package/build/writers/AbstractWriter.js +160 -166
- package/build/writers/AbstractWriter.js.map +1 -1
- package/build/writers/WriterFactory.js.map +1 -1
- package/junit.xml +7 -0
- package/node_modules/@typescript-eslint/parser/package.json +5 -5
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +2 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +62 -7
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +6 -2
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +62 -7
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +6 -2
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/package.json +4 -4
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/clear-caches.d.ts +10 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/describeFilePath.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +7 -1
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/ExpiringCache.d.ts +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/createParseSettings.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/index.d.ts +6 -1
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/resolveProjectList.d.ts +19 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +22 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts +10 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +24 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +38 -12
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +5 -10
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +32 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +2 -15
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +7 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +15 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +2 -4
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +62 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +22 -48
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +70 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +6 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts +19 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +103 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +22 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/package.json +4 -5
- package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
- package/package.json +592 -597
- package/src/.DS_Store +0 -0
- package/src/__tests__/behavioral/BootingTheCli.test.ts +32 -2
- package/src/__tests__/behavioral/CreatingAConversationTopic.test.ts +1 -1
- package/src/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.ts +1 -1
- package/src/__tests__/behavioral/events/CreatingAnEvent.test.ts +1 -2
- package/src/__tests__/behavioral/permissions/SyncingPermissions.test.ts +11 -0
- package/src/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.ts +1 -1
- package/src/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.ts +1 -1
- package/src/__tests__/behavioral/upgrading/UpgradingASkill.test.ts +1 -2
- package/src/__tests__/implementation/TestRunner.test.ts +1 -1
- package/src/boot.ts +92 -0
- package/src/{cli.ts → cli/Cli.ts} +48 -150
- package/src/features/AbstractFeature.ts +1 -1
- package/src/features/FeatureInstaller.ts +3 -3
- package/src/features/error/ParentTestFinder.ts +1 -1
- package/src/features/event/builders/EventContractBuilder.ts +1 -1
- package/src/features/event/stores/EventStore.ts +4 -2
- package/src/features/event/stores/ListenerStore.ts +1 -1
- package/src/features/onboard/ScriptLoader.ts +1 -1
- package/src/features/permission/PermissionFeature.ts +3 -1
- package/src/features/permission/stores/PermissionStore.ts +1 -1
- package/src/features/schema/stores/SchemaStore.ts +1 -1
- package/src/features/schema/utilities/schemaGenerator.utility.ts +1 -1
- package/src/features/skill/SkillFeature.ts +1 -1
- package/src/features/store/stores/StoreStore.ts +1 -1
- package/src/features/test/TestReporter.ts +25 -25
- package/src/features/test/test.types.ts +8 -1
- package/src/features/view/actions/SyncAction.ts +1 -1
- package/src/features/view/actions/WatchAction.ts +8 -3
- package/src/index.ts +1 -1
- package/src/interfaces/SpyInterface.ts +2 -0
- package/src/interfaces/TerminalInterface.ts +5 -1
- package/src/tests/AbstractCliTest.ts +2 -3
- package/src/tests/AbstractSchemaTest.ts +1 -1
- package/src/tests/AbstractSkillTest.ts +1 -1
- package/src/tests/JestJsonParser.ts +4 -1
- package/src/tests/fixtures/FeatureFixture.ts +24 -20
- package/src/tests/fixtures/MercuryFixture.ts +1 -1
- package/src/types/cli.types.ts +30 -0
- package/yarn-error.log +12174 -0
- package/LICENSE +0 -21
- package/build/__tests__/behavioral/events/EverythingInstalledInstaller.d.ts +0 -17
- package/build/__tests__/behavioral/events/EverythingInstalledInstaller.js +0 -137
- package/build/__tests__/behavioral/events/EverythingInstalledInstaller.js.map +0 -1
- package/build/cli.js +0 -690
- package/build/cli.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +0 -120
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +0 -186
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +0 -181
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +0 -82
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +0 -170
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +0 -46
- package/src/__tests__/behavioral/events/EverythingInstalledInstaller.ts +0 -46
|
@@ -12,19 +12,17 @@ var _onboardingFirst = require("./onboarding.first.script");
|
|
|
12
12
|
var script = [/*#__PURE__*/function () {
|
|
13
13
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
14
14
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
15
|
-
while (1) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return _context.stop();
|
|
27
|
-
}
|
|
15
|
+
while (1) switch (_context.prev = _context.next) {
|
|
16
|
+
case 0:
|
|
17
|
+
player.ui.clear();
|
|
18
|
+
_context.next = 3;
|
|
19
|
+
return player.ui.renderImage(_spruceSkillUtils.diskUtil.resolvePath(__dirname, '../../../../docs/images/listen.jpg'), {
|
|
20
|
+
width: 100,
|
|
21
|
+
height: 23
|
|
22
|
+
});
|
|
23
|
+
case 3:
|
|
24
|
+
case "end":
|
|
25
|
+
return _context.stop();
|
|
28
26
|
}
|
|
29
27
|
}, _callee);
|
|
30
28
|
}));
|
|
@@ -34,21 +32,19 @@ var script = [/*#__PURE__*/function () {
|
|
|
34
32
|
}(), 'You approach the "Immersive" door and grab the handle...', "It won't budge no matter how hard you try.", 'You hear a sound, so you put your ear to the door.', 'From the other side, someone yells, "Work in progress. Try the door on the left! Thaaaaaanks!!"', 'You back away...', /*#__PURE__*/function () {
|
|
35
33
|
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(player) {
|
|
36
34
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
37
|
-
while (1) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return _context2.stop();
|
|
51
|
-
}
|
|
35
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
36
|
+
case 0:
|
|
37
|
+
_context2.next = 2;
|
|
38
|
+
return player.ui.waitForEnter();
|
|
39
|
+
case 2:
|
|
40
|
+
player.ui.clear();
|
|
41
|
+
_context2.next = 5;
|
|
42
|
+
return (0, _onboardingFirst.renderDoors)(player.ui);
|
|
43
|
+
case 5:
|
|
44
|
+
return _context2.abrupt("return", (0, _onboardingFirst.chooseOnboardingAdventure)(player));
|
|
45
|
+
case 6:
|
|
46
|
+
case "end":
|
|
47
|
+
return _context2.stop();
|
|
52
48
|
}
|
|
53
49
|
}, _callee2);
|
|
54
50
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding.immersive.script.js","names":["script","player","ui","clear","renderImage","diskUtil","resolvePath","__dirname","width","height","waitForEnter","renderDoors","chooseOnboardingAdventure"],"sources":["../../../../src/features/onboard/scripts/onboarding.immersive.script.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { Script } from '../ScriptPlayer'\nimport {\n\trenderDoors,\n\tchooseOnboardingAdventure,\n} from './onboarding.first.script'\n\nconst script: Script = [\n\tasync (player) => {\n\t\tplayer.ui.clear()\n\t\tawait player.ui.renderImage(\n\t\t\tdiskUtil.resolvePath(__dirname, '../../../../docs/images/listen.jpg'),\n\t\t\t{\n\t\t\t\twidth: 100,\n\t\t\t\theight: 23,\n\t\t\t}\n\t\t)\n\t},\n\t'You approach the \"Immersive\" door and grab the handle...',\n\t\"It won't budge no matter how hard you try.\",\n\t'You hear a sound, so you put your ear to the door.',\n\t'From the other side, someone yells, \"Work in progress. Try the door on the left! Thaaaaaanks!!\"',\n\t'You back away...',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter()\n\t\tplayer.ui.clear()\n\t\tawait renderDoors(player.ui)\n\t\treturn chooseOnboardingAdventure(player)\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAAA;AAEA;AAKA,
|
|
1
|
+
{"version":3,"file":"onboarding.immersive.script.js","names":["_spruceSkillUtils","require","_onboardingFirst","script","_ref","_asyncToGenerator2","_regenerator","mark","_callee","player","wrap","_callee$","_context","prev","next","ui","clear","renderImage","diskUtil","resolvePath","__dirname","width","height","stop","_x","apply","arguments","_ref2","_callee2","_callee2$","_context2","waitForEnter","renderDoors","abrupt","chooseOnboardingAdventure","_x2","_default","exports"],"sources":["../../../../src/features/onboard/scripts/onboarding.immersive.script.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { Script } from '../ScriptPlayer'\nimport {\n\trenderDoors,\n\tchooseOnboardingAdventure,\n} from './onboarding.first.script'\n\nconst script: Script = [\n\tasync (player) => {\n\t\tplayer.ui.clear()\n\t\tawait player.ui.renderImage(\n\t\t\tdiskUtil.resolvePath(__dirname, '../../../../docs/images/listen.jpg'),\n\t\t\t{\n\t\t\t\twidth: 100,\n\t\t\t\theight: 23,\n\t\t\t}\n\t\t)\n\t},\n\t'You approach the \"Immersive\" door and grab the handle...',\n\t\"It won't budge no matter how hard you try.\",\n\t'You hear a sound, so you put your ear to the door.',\n\t'From the other side, someone yells, \"Work in progress. Try the door on the left! Thaaaaaanks!!\"',\n\t'You back away...',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter()\n\t\tplayer.ui.clear()\n\t\tawait renderDoors(player.ui)\n\t\treturn chooseOnboardingAdventure(player)\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAEA,IAAAC,gBAAA,GAAAD,OAAA;AAKA,IAAME,MAAc,GAAG;EAAA,IAAAC,IAAA,OAAAC,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CACtB,SAAAC,QAAOC,MAAM;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UACZL,MAAM,CAACM,EAAE,CAACC,KAAK,EAAE;UAAAJ,QAAA,CAAAE,IAAA;UAAA,OACXL,MAAM,CAACM,EAAE,CAACE,WAAW,CAC1BC,0BAAQ,CAACC,WAAW,CAACC,SAAS,EAAE,oCAAoC,CAAC,EACrE;YACCC,KAAK,EAAE,GAAG;YACVC,MAAM,EAAE;UACT,CAAC,CACD;QAAA;QAAA;UAAA,OAAAV,QAAA,CAAAW,IAAA;MAAA;IAAA,GAAAf,OAAA;EAAA,CACD;EAAA,iBAAAgB,EAAA;IAAA,OAAApB,IAAA,CAAAqB,KAAA,OAAAC,SAAA;EAAA;AAAA,KACD,0DAA0D,EAC1D,4CAA4C,EAC5C,oDAAoD,EACpD,iGAAiG,EACjG,kBAAkB;EAAA,IAAAC,KAAA,OAAAtB,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CAClB,SAAAqB,SAAOnB,MAAM;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAmB,UAAAC,SAAA;MAAA,kBAAAA,SAAA,CAAAjB,IAAA,GAAAiB,SAAA,CAAAhB,IAAA;QAAA;UAAAgB,SAAA,CAAAhB,IAAA;UAAA,OACNL,MAAM,CAACM,EAAE,CAACgB,YAAY,EAAE;QAAA;UAC9BtB,MAAM,CAACM,EAAE,CAACC,KAAK,EAAE;UAAAc,SAAA,CAAAhB,IAAA;UAAA,OACX,IAAAkB,4BAAW,EAACvB,MAAM,CAACM,EAAE,CAAC;QAAA;UAAA,OAAAe,SAAA,CAAAG,MAAA,WACrB,IAAAC,0CAAyB,EAACzB,MAAM,CAAC;QAAA;QAAA;UAAA,OAAAqB,SAAA,CAAAP,IAAA;MAAA;IAAA,GAAAK,QAAA;EAAA,CACxC;EAAA,iBAAAO,GAAA;IAAA,OAAAR,KAAA,CAAAF,KAAA,OAAAC,SAAA;EAAA;AAAA,IACD;AAAA,IAAAU,QAAA,GAEcjC,MAAM;AAAAkC,OAAA,cAAAD,QAAA"}
|
|
@@ -19,50 +19,48 @@ var script = [function (player) {
|
|
|
19
19
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
20
20
|
var stage, answer;
|
|
21
21
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
22
|
-
while (1) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return _context.stop();
|
|
65
|
-
}
|
|
22
|
+
while (1) switch (_context.prev = _context.next) {
|
|
23
|
+
case 0:
|
|
24
|
+
stage = player.onboardingStore.getStage();
|
|
25
|
+
_context.next = 3;
|
|
26
|
+
return player.ui.prompt({
|
|
27
|
+
type: 'select',
|
|
28
|
+
label: "Lemme know what you'd like to do",
|
|
29
|
+
options: {
|
|
30
|
+
choices: [{
|
|
31
|
+
label: "Run `spruce ".concat(stage, "` for me!"),
|
|
32
|
+
value: 'run'
|
|
33
|
+
}, {
|
|
34
|
+
label: "Start over",
|
|
35
|
+
value: 'startOver'
|
|
36
|
+
}, {
|
|
37
|
+
label: "Stop onboarding",
|
|
38
|
+
value: 'stop'
|
|
39
|
+
}]
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
case 3:
|
|
43
|
+
answer = _context.sent;
|
|
44
|
+
_context.t0 = answer;
|
|
45
|
+
_context.next = _context.t0 === 'startOver' ? 7 : _context.t0 === 'stop' ? 10 : _context.t0 === 'run' ? 12 : 15;
|
|
46
|
+
break;
|
|
47
|
+
case 7:
|
|
48
|
+
player.onboardingStore.reset();
|
|
49
|
+
player.ui.clear();
|
|
50
|
+
return _context.abrupt("return", player.redirect('onboarding.first'));
|
|
51
|
+
case 10:
|
|
52
|
+
player.onboardingStore.reset();
|
|
53
|
+
return _context.abrupt("break", 15);
|
|
54
|
+
case 12:
|
|
55
|
+
_context.next = 14;
|
|
56
|
+
return player.executeCommand(stage);
|
|
57
|
+
case 14:
|
|
58
|
+
return _context.abrupt("break", 15);
|
|
59
|
+
case 15:
|
|
60
|
+
return _context.abrupt("return");
|
|
61
|
+
case 16:
|
|
62
|
+
case "end":
|
|
63
|
+
return _context.stop();
|
|
66
64
|
}
|
|
67
65
|
}, _callee);
|
|
68
66
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding.returning.script.js","names":["script","player","ui","clear","renderEnter","stage","onboardingStore","getStage","renderCommand","prompt","type","label","options","choices","value","
|
|
1
|
+
{"version":3,"file":"onboarding.returning.script.js","names":["_onboardingShort","require","script","player","ui","clear","renderEnter","stage","onboardingStore","getStage","renderCommand","concat","_ref","_asyncToGenerator2","_regenerator","mark","_callee","answer","wrap","_callee$","_context","prev","next","prompt","type","label","options","choices","value","sent","t0","reset","abrupt","redirect","executeCommand","stop","_x","apply","arguments","_default","exports"],"sources":["../../../../src/features/onboard/scripts/onboarding.returning.script.ts"],"sourcesContent":["import { Script } from '../ScriptPlayer'\nimport { renderCommand, renderEnter } from './onboarding.short.script'\n\nconst script: Script = [\n\t(player) => player.ui.clear(),\n\t(player) => renderEnter(player),\n\t'You return to the doors in the forest and enter the one on the left.',\n\t'\"Welcome back!\", shouts Sprucebot.',\n\t'\"It looks like you\\'re supposed to be running\"',\n\t(player) => {\n\t\tconst stage = player.onboardingStore.getStage()\n\t\trenderCommand(player.ui, `spruce ${stage}`)\n\t},\n\tasync (player) => {\n\t\tconst stage = player.onboardingStore.getStage()\n\t\tconst answer = await player.ui.prompt({\n\t\t\ttype: 'select',\n\t\t\tlabel: \"Lemme know what you'd like to do\",\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: `Run \\`spruce ${stage}\\` for me!`,\n\t\t\t\t\t\tvalue: 'run',\n\t\t\t\t\t} as const,\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: `Start over`,\n\t\t\t\t\t\tvalue: 'startOver',\n\t\t\t\t\t} as const,\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: `Stop onboarding`,\n\t\t\t\t\t\tvalue: 'stop',\n\t\t\t\t\t} as const,\n\t\t\t\t],\n\t\t\t},\n\t\t})\n\n\t\tswitch (answer) {\n\t\t\tcase 'startOver':\n\t\t\t\tplayer.onboardingStore.reset()\n\t\t\t\tplayer.ui.clear()\n\t\t\t\treturn player.redirect('onboarding.first')\n\t\t\tcase 'stop':\n\t\t\t\tplayer.onboardingStore.reset()\n\t\t\t\tbreak\n\t\t\tcase 'run':\n\t\t\t\tawait player.executeCommand(stage as string)\n\t\t\t\tbreak\n\t\t}\n\n\t\treturn\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAMC,MAAc,GAAG,CACtB,UAACC,MAAM;EAAA,OAAKA,MAAM,CAACC,EAAE,CAACC,KAAK,EAAE;AAAA,GAC7B,UAACF,MAAM;EAAA,OAAK,IAAAG,4BAAW,EAACH,MAAM,CAAC;AAAA,GAC/B,sEAAsE,EACtE,oCAAoC,EACpC,gDAAgD,EAChD,UAACA,MAAM,EAAK;EACX,IAAMI,KAAK,GAAGJ,MAAM,CAACK,eAAe,CAACC,QAAQ,EAAE;EAC/C,IAAAC,8BAAa,EAACP,MAAM,CAACC,EAAE,YAAAO,MAAA,CAAYJ,KAAK,EAAG;AAC5C,CAAC;EAAA,IAAAK,IAAA,OAAAC,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CACD,SAAAC,QAAOb,MAAM;IAAA,IAAAI,KAAA,EAAAU,MAAA;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UACNf,KAAK,GAAGJ,MAAM,CAACK,eAAe,CAACC,QAAQ,EAAE;UAAAW,QAAA,CAAAE,IAAA;UAAA,OAC1BnB,MAAM,CAACC,EAAE,CAACmB,MAAM,CAAC;YACrCC,IAAI,EAAE,QAAQ;YACdC,KAAK,EAAE,kCAAkC;YACzCC,OAAO,EAAE;cACRC,OAAO,EAAE,CACR;gBACCF,KAAK,iBAAAd,MAAA,CAAkBJ,KAAK,cAAY;gBACxCqB,KAAK,EAAE;cACR,CAAC,EACD;gBACCH,KAAK,cAAc;gBACnBG,KAAK,EAAE;cACR,CAAC,EACD;gBACCH,KAAK,mBAAmB;gBACxBG,KAAK,EAAE;cACR,CAAC;YAEH;UACD,CAAC,CAAC;QAAA;UAnBIX,MAAM,GAAAG,QAAA,CAAAS,IAAA;UAAAT,QAAA,CAAAU,EAAA,GAqBJb,MAAM;UAAAG,QAAA,CAAAE,IAAA,GAAAF,QAAA,CAAAU,EAAA,KACR,WAAW,OAAAV,QAAA,CAAAU,EAAA,KAIX,MAAM,QAAAV,QAAA,CAAAU,EAAA,KAGN,KAAK;UAAA;QAAA;UANT3B,MAAM,CAACK,eAAe,CAACuB,KAAK,EAAE;UAC9B5B,MAAM,CAACC,EAAE,CAACC,KAAK,EAAE;UAAA,OAAAe,QAAA,CAAAY,MAAA,WACV7B,MAAM,CAAC8B,QAAQ,CAAC,kBAAkB,CAAC;QAAA;UAE1C9B,MAAM,CAACK,eAAe,CAACuB,KAAK,EAAE;UAAA,OAAAX,QAAA,CAAAY,MAAA;QAAA;UAAAZ,QAAA,CAAAE,IAAA;UAAA,OAGxBnB,MAAM,CAAC+B,cAAc,CAAC3B,KAAK,CAAW;QAAA;UAAA,OAAAa,QAAA,CAAAY,MAAA;QAAA;UAAA,OAAAZ,QAAA,CAAAY,MAAA;QAAA;QAAA;UAAA,OAAAZ,QAAA,CAAAe,IAAA;MAAA;IAAA,GAAAnB,OAAA;EAAA,CAK9C;EAAA,iBAAAoB,EAAA;IAAA,OAAAxB,IAAA,CAAAyB,KAAA,OAAAC,SAAA;EAAA;AAAA,IACD;AAAA,IAAAC,QAAA,GAEcrC,MAAM;AAAAsC,OAAA,cAAAD,QAAA"}
|
|
@@ -15,16 +15,14 @@ var _feature = _interopRequireDefault(require("../../feature.utilities"));
|
|
|
15
15
|
var script = [/*#__PURE__*/function () {
|
|
16
16
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
17
17
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
18
|
-
while (1) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return _context.stop();
|
|
27
|
-
}
|
|
18
|
+
while (1) switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
player.ui.clear();
|
|
21
|
+
_context.next = 3;
|
|
22
|
+
return renderEnter(player);
|
|
23
|
+
case 3:
|
|
24
|
+
case "end":
|
|
25
|
+
return _context.stop();
|
|
28
26
|
}
|
|
29
27
|
}, _callee);
|
|
30
28
|
}));
|
|
@@ -35,16 +33,14 @@ var script = [/*#__PURE__*/function () {
|
|
|
35
33
|
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(player) {
|
|
36
34
|
var line;
|
|
37
35
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
38
|
-
while (1) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return _context2.stop();
|
|
47
|
-
}
|
|
36
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
37
|
+
case 0:
|
|
38
|
+
line = "This is so much fun! I love playing both the narrator and a character!";
|
|
39
|
+
player.ui.renderLine(line, [_graphicsInterface.GraphicsTextEffect.Italic]);
|
|
40
|
+
player.ui.renderLine('');
|
|
41
|
+
case 3:
|
|
42
|
+
case "end":
|
|
43
|
+
return _context2.stop();
|
|
48
44
|
}
|
|
49
45
|
}, _callee2);
|
|
50
46
|
}));
|
|
@@ -54,14 +50,12 @@ var script = [/*#__PURE__*/function () {
|
|
|
54
50
|
}(), 'Anyway... "How about we create a simple todo app."', '"Go ahead and run"', /*#__PURE__*/function () {
|
|
55
51
|
var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(player) {
|
|
56
52
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
57
|
-
while (1) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
return _context3.stop();
|
|
64
|
-
}
|
|
53
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
54
|
+
case 0:
|
|
55
|
+
renderCommand(player.ui, 'spruce create.skill todos');
|
|
56
|
+
case 1:
|
|
57
|
+
case "end":
|
|
58
|
+
return _context3.stop();
|
|
65
59
|
}
|
|
66
60
|
}, _callee3);
|
|
67
61
|
}));
|
|
@@ -71,14 +65,12 @@ var script = [/*#__PURE__*/function () {
|
|
|
71
65
|
}(), '"Tip! If you ever get lost, just run"', /*#__PURE__*/function () {
|
|
72
66
|
var _ref4 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(player) {
|
|
73
67
|
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
74
|
-
while (1) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return _context4.stop();
|
|
81
|
-
}
|
|
68
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
69
|
+
case 0:
|
|
70
|
+
renderCommand(player.ui, "spruce onboard");
|
|
71
|
+
case 1:
|
|
72
|
+
case "end":
|
|
73
|
+
return _context4.stop();
|
|
82
74
|
}
|
|
83
75
|
}, _callee4);
|
|
84
76
|
}));
|
|
@@ -88,18 +80,16 @@ var script = [/*#__PURE__*/function () {
|
|
|
88
80
|
}(), '"and I\'ll get you back on track."', /*#__PURE__*/function () {
|
|
89
81
|
var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(player) {
|
|
90
82
|
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
91
|
-
while (1) {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return _context5.stop();
|
|
102
|
-
}
|
|
83
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
84
|
+
case 0:
|
|
85
|
+
_context5.next = 2;
|
|
86
|
+
return player.ui.waitForEnter('"Lets do it!"');
|
|
87
|
+
case 2:
|
|
88
|
+
player.onboardingStore.setMode('short');
|
|
89
|
+
player.onboardingStore.setStage(_feature["default"].generateCommand('skill', 'create'));
|
|
90
|
+
case 4:
|
|
91
|
+
case "end":
|
|
92
|
+
return _context5.stop();
|
|
103
93
|
}
|
|
104
94
|
}, _callee5);
|
|
105
95
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding.short.script.js","names":["script","player","ui","clear","renderEnter","line","renderLine","GraphicsTextEffect","Italic","renderCommand","waitForEnter","onboardingStore","setMode","setStage","featuresUtil","generateCommand","renderImage","diskUtil","resolvePath","__dirname","width","height","command","BgMagenta","White"],"sources":["../../../../src/features/onboard/scripts/onboarding.short.script.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { GraphicsInterface } from '../../../types/cli.types'\nimport { GraphicsTextEffect } from '../../../types/graphicsInterface.types'\nimport featuresUtil from '../../feature.utilities'\nimport { CallbackPlayer, Script } from '../ScriptPlayer'\n\nconst script: Script = [\n\tasync (player) => {\n\t\tplayer.ui.clear()\n\t\tawait renderEnter(player)\n\t},\n\t\"You push the door open and enter into the largest room you've ever seen.\",\n\t\"So big, in fact, you can't see where the floors end and the walls begin.\",\n\t'A familiar voice echos...',\n\t'\"Hey! It\\'s Sprucebot again! 🌲🤖\"',\n\tasync (player) => {\n\t\tconst line = `This is so much fun! I love playing both the narrator and a character!`\n\t\tplayer.ui.renderLine(line, [GraphicsTextEffect.Italic])\n\t\tplayer.ui.renderLine('')\n\t},\n\t'Anyway... \"How about we create a simple todo app.\"',\n\t'\"Go ahead and run\"',\n\tasync (player) => {\n\t\trenderCommand(player.ui, 'spruce create.skill todos')\n\t},\n\n\t'\"Tip! If you ever get lost, just run\"',\n\tasync (player) => {\n\t\trenderCommand(player.ui, `spruce onboard`)\n\t},\n\t'\"and I\\'ll get you back on track.\"',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('\"Lets do it!\"')\n\n\t\tplayer.onboardingStore.setMode('short')\n\t\tplayer.onboardingStore.setStage(\n\t\t\tfeaturesUtil.generateCommand('skill', 'create') as 'create.skill'\n\t\t)\n\t},\n]\n\nexport function renderEnter(player: CallbackPlayer) {\n\treturn player.ui.renderImage(\n\t\tdiskUtil.resolvePath(__dirname, '../../../../docs/images/inside.jpg'),\n\t\t{\n\t\t\twidth: 100,\n\t\t\theight: 35,\n\t\t}\n\t)\n}\n\nexport function renderCommand(ui: GraphicsInterface, command: string) {\n\tui.renderLine(command, [\n\t\tGraphicsTextEffect.BgMagenta,\n\t\tGraphicsTextEffect.White,\n\t])\n\tui.renderLine('')\n}\n\nexport default script\n"],"mappings":";;;;;;;;;;;AAAA;AAEA;AACA;AAGA,
|
|
1
|
+
{"version":3,"file":"onboarding.short.script.js","names":["_spruceSkillUtils","require","_graphicsInterface","_feature","_interopRequireDefault","script","_ref","_asyncToGenerator2","_regenerator","mark","_callee","player","wrap","_callee$","_context","prev","next","ui","clear","renderEnter","stop","_x","apply","arguments","_ref2","_callee2","line","_callee2$","_context2","renderLine","GraphicsTextEffect","Italic","_x2","_ref3","_callee3","_callee3$","_context3","renderCommand","_x3","_ref4","_callee4","_callee4$","_context4","_x4","_ref5","_callee5","_callee5$","_context5","waitForEnter","onboardingStore","setMode","setStage","featuresUtil","generateCommand","_x5","renderImage","diskUtil","resolvePath","__dirname","width","height","command","BgMagenta","White","_default","exports"],"sources":["../../../../src/features/onboard/scripts/onboarding.short.script.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { GraphicsInterface } from '../../../types/cli.types'\nimport { GraphicsTextEffect } from '../../../types/graphicsInterface.types'\nimport featuresUtil from '../../feature.utilities'\nimport { CallbackPlayer, Script } from '../ScriptPlayer'\n\nconst script: Script = [\n\tasync (player) => {\n\t\tplayer.ui.clear()\n\t\tawait renderEnter(player)\n\t},\n\t\"You push the door open and enter into the largest room you've ever seen.\",\n\t\"So big, in fact, you can't see where the floors end and the walls begin.\",\n\t'A familiar voice echos...',\n\t'\"Hey! It\\'s Sprucebot again! 🌲🤖\"',\n\tasync (player) => {\n\t\tconst line = `This is so much fun! I love playing both the narrator and a character!`\n\t\tplayer.ui.renderLine(line, [GraphicsTextEffect.Italic])\n\t\tplayer.ui.renderLine('')\n\t},\n\t'Anyway... \"How about we create a simple todo app.\"',\n\t'\"Go ahead and run\"',\n\tasync (player) => {\n\t\trenderCommand(player.ui, 'spruce create.skill todos')\n\t},\n\n\t'\"Tip! If you ever get lost, just run\"',\n\tasync (player) => {\n\t\trenderCommand(player.ui, `spruce onboard`)\n\t},\n\t'\"and I\\'ll get you back on track.\"',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('\"Lets do it!\"')\n\n\t\tplayer.onboardingStore.setMode('short')\n\t\tplayer.onboardingStore.setStage(\n\t\t\tfeaturesUtil.generateCommand('skill', 'create') as 'create.skill'\n\t\t)\n\t},\n]\n\nexport function renderEnter(player: CallbackPlayer) {\n\treturn player.ui.renderImage(\n\t\tdiskUtil.resolvePath(__dirname, '../../../../docs/images/inside.jpg'),\n\t\t{\n\t\t\twidth: 100,\n\t\t\theight: 35,\n\t\t}\n\t)\n}\n\nexport function renderCommand(ui: GraphicsInterface, command: string) {\n\tui.renderLine(command, [\n\t\tGraphicsTextEffect.BgMagenta,\n\t\tGraphicsTextEffect.White,\n\t])\n\tui.renderLine('')\n}\n\nexport default script\n"],"mappings":"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"}
|
|
@@ -10,17 +10,15 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
10
10
|
var script = ['Great work!', "I'm going to walk you through creating a skill.", "Because we follow the 3 Laws of Test Driven Development (https://bit.ly/3ls9phs), we're going to get all the way to our first failing test.", 'First step, you gotta name your skill.', "Let's call it 'Todos' to start.", 'The description is up to you!', "I'll meet you on the other side!", /*#__PURE__*/function () {
|
|
11
11
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
12
12
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
13
|
-
while (1) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return _context.stop();
|
|
23
|
-
}
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return player.ui.waitForEnter('');
|
|
17
|
+
case 2:
|
|
18
|
+
player.onboardingStore.setStage('test');
|
|
19
|
+
case 3:
|
|
20
|
+
case "end":
|
|
21
|
+
return _context.stop();
|
|
24
22
|
}
|
|
25
23
|
}, _callee);
|
|
26
24
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todo.create.skill.script.js","names":["script","player","ui","waitForEnter","onboardingStore","setStage"],"sources":["../../../../../src/features/onboard/scripts/todo/todo.create.skill.script.ts"],"sourcesContent":["import { Script } from '../../ScriptPlayer'\n\nconst script: Script = [\n\t'Great work!',\n\t\"I'm going to walk you through creating a skill.\",\n\t\"Because we follow the 3 Laws of Test Driven Development (https://bit.ly/3ls9phs), we're going to get all the way to our first failing test.\",\n\t'First step, you gotta name your skill.',\n\t\"Let's call it 'Todos' to start.\",\n\t'The description is up to you!',\n\t\"I'll meet you on the other side!\",\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('')\n\t\tplayer.onboardingStore.setStage('test')\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAEA,IAAMA,MAAc,GAAG,CACtB,aAAa,EACb,iDAAiD,EACjD,6IAA6I,EAC7I,wCAAwC,EACxC,iCAAiC,EACjC,+BAA+B,EAC/B,kCAAkC;EAAA,
|
|
1
|
+
{"version":3,"file":"todo.create.skill.script.js","names":["script","_ref","_asyncToGenerator2","_regenerator","mark","_callee","player","wrap","_callee$","_context","prev","next","ui","waitForEnter","onboardingStore","setStage","stop","_x","apply","arguments","_default","exports"],"sources":["../../../../../src/features/onboard/scripts/todo/todo.create.skill.script.ts"],"sourcesContent":["import { Script } from '../../ScriptPlayer'\n\nconst script: Script = [\n\t'Great work!',\n\t\"I'm going to walk you through creating a skill.\",\n\t\"Because we follow the 3 Laws of Test Driven Development (https://bit.ly/3ls9phs), we're going to get all the way to our first failing test.\",\n\t'First step, you gotta name your skill.',\n\t\"Let's call it 'Todos' to start.\",\n\t'The description is up to you!',\n\t\"I'll meet you on the other side!\",\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('')\n\t\tplayer.onboardingStore.setStage('test')\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAEA,IAAMA,MAAc,GAAG,CACtB,aAAa,EACb,iDAAiD,EACjD,6IAA6I,EAC7I,wCAAwC,EACxC,iCAAiC,EACjC,+BAA+B,EAC/B,kCAAkC;EAAA,IAAAC,IAAA,OAAAC,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CAClC,SAAAC,QAAOC,MAAM;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UAAAF,QAAA,CAAAE,IAAA;UAAA,OACNL,MAAM,CAACM,EAAE,CAACC,YAAY,CAAC,EAAE,CAAC;QAAA;UAChCP,MAAM,CAACQ,eAAe,CAACC,QAAQ,CAAC,MAAM,CAAC;QAAA;QAAA;UAAA,OAAAN,QAAA,CAAAO,IAAA;MAAA;IAAA,GAAAX,OAAA;EAAA,CACvC;EAAA,iBAAAY,EAAA;IAAA,OAAAhB,IAAA,CAAAiB,KAAA,OAAAC,SAAA;EAAA;AAAA,IACD;AAAA,IAAAC,QAAA,GAEcpB,MAAM;AAAAqB,OAAA,cAAAD,QAAA"}
|
|
@@ -10,15 +10,13 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
10
10
|
var script = ['Look at us go! 😄', "I'm about to setup testing.", 'Real testing.', 'Remember the whole 3 Laws of Test Driven Development thing? You are def gonna wanna watch this before continuing -> https://youtu.be/qkblc5WRn-U', 'Ok, getting down off my robot soapbox.', 'Next thing I gotta do is install some more dependencies (I know right?).', 'You ready to go?', /*#__PURE__*/function () {
|
|
11
11
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
12
12
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
13
|
-
while (1) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return _context.stop();
|
|
21
|
-
}
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return player.ui.waitForEnter('');
|
|
17
|
+
case 2:
|
|
18
|
+
case "end":
|
|
19
|
+
return _context.stop();
|
|
22
20
|
}
|
|
23
21
|
}, _callee);
|
|
24
22
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todo.test.script.js","names":["script","player","ui","waitForEnter"],"sources":["../../../../../src/features/onboard/scripts/todo/todo.test.script.ts"],"sourcesContent":["import { Script } from '../../ScriptPlayer'\n\nconst script: Script = [\n\t'Look at us go! 😄',\n\t\"I'm about to setup testing.\",\n\t'Real testing.',\n\t'Remember the whole 3 Laws of Test Driven Development thing? You are def gonna wanna watch this before continuing -> https://youtu.be/qkblc5WRn-U',\n\t'Ok, getting down off my robot soapbox.',\n\t'Next thing I gotta do is install some more dependencies (I know right?).',\n\t'You ready to go?',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('')\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAEA,IAAMA,MAAc,GAAG,CACtB,mBAAmB,EACnB,6BAA6B,EAC7B,eAAe,EACf,kJAAkJ,EAClJ,wCAAwC,EACxC,0EAA0E,EAC1E,kBAAkB;EAAA,
|
|
1
|
+
{"version":3,"file":"todo.test.script.js","names":["script","_ref","_asyncToGenerator2","_regenerator","mark","_callee","player","wrap","_callee$","_context","prev","next","ui","waitForEnter","stop","_x","apply","arguments","_default","exports"],"sources":["../../../../../src/features/onboard/scripts/todo/todo.test.script.ts"],"sourcesContent":["import { Script } from '../../ScriptPlayer'\n\nconst script: Script = [\n\t'Look at us go! 😄',\n\t\"I'm about to setup testing.\",\n\t'Real testing.',\n\t'Remember the whole 3 Laws of Test Driven Development thing? You are def gonna wanna watch this before continuing -> https://youtu.be/qkblc5WRn-U',\n\t'Ok, getting down off my robot soapbox.',\n\t'Next thing I gotta do is install some more dependencies (I know right?).',\n\t'You ready to go?',\n\tasync (player) => {\n\t\tawait player.ui.waitForEnter('')\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AAEA,IAAMA,MAAc,GAAG,CACtB,mBAAmB,EACnB,6BAA6B,EAC7B,eAAe,EACf,kJAAkJ,EAClJ,wCAAwC,EACxC,0EAA0E,EAC1E,kBAAkB;EAAA,IAAAC,IAAA,OAAAC,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CAClB,SAAAC,QAAOC,MAAM;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UAAAF,QAAA,CAAAE,IAAA;UAAA,OACNL,MAAM,CAACM,EAAE,CAACC,YAAY,CAAC,EAAE,CAAC;QAAA;QAAA;UAAA,OAAAJ,QAAA,CAAAK,IAAA;MAAA;IAAA,GAAAT,OAAA;EAAA,CAChC;EAAA,iBAAAU,EAAA;IAAA,OAAAd,IAAA,CAAAe,KAAA,OAAAC,SAAA;EAAA;AAAA,IACD;AAAA,IAAAC,QAAA,GAEclB,MAAM;AAAAmB,OAAA,cAAAD,QAAA"}
|
|
@@ -14,48 +14,46 @@ var script = ['Hold on! ✋', "I don't think you're supposed to be here!", 'I wa
|
|
|
14
14
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(player) {
|
|
15
15
|
var stage, answer;
|
|
16
16
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
17
|
-
while (1) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return _context.stop();
|
|
58
|
-
}
|
|
17
|
+
while (1) switch (_context.prev = _context.next) {
|
|
18
|
+
case 0:
|
|
19
|
+
stage = player.onboardingStore.getStage();
|
|
20
|
+
_context.next = 3;
|
|
21
|
+
return player.ui.prompt({
|
|
22
|
+
type: 'select',
|
|
23
|
+
label: 'What should we do?',
|
|
24
|
+
options: {
|
|
25
|
+
choices: [{
|
|
26
|
+
label: 'Continue forward',
|
|
27
|
+
value: 'letMePass'
|
|
28
|
+
}, {
|
|
29
|
+
label: 'Stop onboarding',
|
|
30
|
+
value: 'disable'
|
|
31
|
+
}, {
|
|
32
|
+
label: "Execute `".concat(stage, "`"),
|
|
33
|
+
value: 'executeCommand'
|
|
34
|
+
}]
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
case 3:
|
|
38
|
+
answer = _context.sent;
|
|
39
|
+
_context.t0 = answer;
|
|
40
|
+
_context.next = _context.t0 === 'disable' ? 7 : _context.t0 === 'letMePass' ? 11 : 14;
|
|
41
|
+
break;
|
|
42
|
+
case 7:
|
|
43
|
+
player.onboardingStore.reset();
|
|
44
|
+
player.ui.renderLine('');
|
|
45
|
+
player.ui.renderLine("Ok, I've disabled onboarding for now. Hope to see you again soon!");
|
|
46
|
+
player.ui.renderLine('');
|
|
47
|
+
case 11:
|
|
48
|
+
_context.next = 13;
|
|
49
|
+
return player.ui.waitForEnter('As you were!');
|
|
50
|
+
case 13:
|
|
51
|
+
return _context.abrupt("break", 15);
|
|
52
|
+
case 14:
|
|
53
|
+
throw new Error('Coming soon! For now you have to manually run!');
|
|
54
|
+
case 15:
|
|
55
|
+
case "end":
|
|
56
|
+
return _context.stop();
|
|
59
57
|
}
|
|
60
58
|
}, _callee);
|
|
61
59
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrongCommand.script.js","names":["script","player","renderCommand","ui","onboardingStore","getStage","stage","prompt","type","label","options","choices","value","
|
|
1
|
+
{"version":3,"file":"wrongCommand.script.js","names":["_onboardingShort","require","script","player","renderCommand","ui","onboardingStore","getStage","_ref","_asyncToGenerator2","_regenerator","mark","_callee","stage","answer","wrap","_callee$","_context","prev","next","prompt","type","label","options","choices","value","concat","sent","t0","reset","renderLine","waitForEnter","abrupt","Error","stop","_x","apply","arguments","_default","exports"],"sources":["../../../../src/features/onboard/scripts/wrongCommand.script.ts"],"sourcesContent":["import { Script } from '../ScriptPlayer'\nimport { renderCommand } from './onboarding.short.script'\n\nconst script: Script = [\n\t'Hold on! ✋',\n\t\"I don't think you're supposed to be here!\",\n\t'I was really expecting you to run:',\n\t(player) => {\n\t\trenderCommand(player.ui, player.onboardingStore.getStage() as string)\n\t},\n\t'But you are in a completely different place.',\n\tasync (player) => {\n\t\tconst stage = player.onboardingStore.getStage() as string\n\t\tconst answer = await player.ui.prompt({\n\t\t\ttype: 'select',\n\t\t\tlabel: 'What should we do?',\n\t\t\toptions: {\n\t\t\t\tchoices: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Continue forward',\n\t\t\t\t\t\tvalue: 'letMePass',\n\t\t\t\t\t} as const,\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Stop onboarding',\n\t\t\t\t\t\tvalue: 'disable',\n\t\t\t\t\t} as const,\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: `Execute \\`${stage}\\``,\n\t\t\t\t\t\tvalue: 'executeCommand',\n\t\t\t\t\t} as const,\n\t\t\t\t],\n\t\t\t},\n\t\t})\n\n\t\tswitch (answer) {\n\t\t\tcase 'disable':\n\t\t\t\tplayer.onboardingStore.reset()\n\t\t\t\tplayer.ui.renderLine('')\n\t\t\t\tplayer.ui.renderLine(\n\t\t\t\t\t`Ok, I've disabled onboarding for now. Hope to see you again soon!`\n\t\t\t\t)\n\t\t\t\tplayer.ui.renderLine('')\n\t\t\t// eslint-disable-next-line no-fallthrough\n\t\t\tcase 'letMePass':\n\t\t\t\tawait player.ui.waitForEnter('As you were!')\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tthrow new Error('Coming soon! For now you have to manually run!')\n\t\t}\n\t},\n]\n\nexport default script\n"],"mappings":";;;;;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAMC,MAAc,GAAG,CACtB,YAAY,EACZ,2CAA2C,EAC3C,oCAAoC,EACpC,UAACC,MAAM,EAAK;EACX,IAAAC,8BAAa,EAACD,MAAM,CAACE,EAAE,EAAEF,MAAM,CAACG,eAAe,CAACC,QAAQ,EAAE,CAAW;AACtE,CAAC,EACD,8CAA8C;EAAA,IAAAC,IAAA,OAAAC,kBAAA,2BAAAC,YAAA,YAAAC,IAAA,CAC9C,SAAAC,QAAOT,MAAM;IAAA,IAAAU,KAAA,EAAAC,MAAA;IAAA,OAAAJ,YAAA,YAAAK,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UACNN,KAAK,GAAGV,MAAM,CAACG,eAAe,CAACC,QAAQ,EAAE;UAAAU,QAAA,CAAAE,IAAA;UAAA,OAC1BhB,MAAM,CAACE,EAAE,CAACe,MAAM,CAAC;YACrCC,IAAI,EAAE,QAAQ;YACdC,KAAK,EAAE,oBAAoB;YAC3BC,OAAO,EAAE;cACRC,OAAO,EAAE,CACR;gBACCF,KAAK,EAAE,kBAAkB;gBACzBG,KAAK,EAAE;cACR,CAAC,EACD;gBACCH,KAAK,EAAE,iBAAiB;gBACxBG,KAAK,EAAE;cACR,CAAC,EACD;gBACCH,KAAK,cAAAI,MAAA,CAAeb,KAAK,MAAI;gBAC7BY,KAAK,EAAE;cACR,CAAC;YAEH;UACD,CAAC,CAAC;QAAA;UAnBIX,MAAM,GAAAG,QAAA,CAAAU,IAAA;UAAAV,QAAA,CAAAW,EAAA,GAqBJd,MAAM;UAAAG,QAAA,CAAAE,IAAA,GAAAF,QAAA,CAAAW,EAAA,KACR,SAAS,OAAAX,QAAA,CAAAW,EAAA,KAQT,WAAW;UAAA;QAAA;UAPfzB,MAAM,CAACG,eAAe,CAACuB,KAAK,EAAE;UAC9B1B,MAAM,CAACE,EAAE,CAACyB,UAAU,CAAC,EAAE,CAAC;UACxB3B,MAAM,CAACE,EAAE,CAACyB,UAAU,qEAEnB;UACD3B,MAAM,CAACE,EAAE,CAACyB,UAAU,CAAC,EAAE,CAAC;QAAA;UAAAb,QAAA,CAAAE,IAAA;UAAA,OAGlBhB,MAAM,CAACE,EAAE,CAAC0B,YAAY,CAAC,cAAc,CAAC;QAAA;UAAA,OAAAd,QAAA,CAAAe,MAAA;QAAA;UAAA,MAGtC,IAAIC,KAAK,CAAC,gDAAgD,CAAC;QAAA;QAAA;UAAA,OAAAhB,QAAA,CAAAiB,IAAA;MAAA;IAAA,GAAAtB,OAAA;EAAA,CAEnE;EAAA,iBAAAuB,EAAA;IAAA,OAAA3B,IAAA,CAAA4B,KAAA,OAAAC,SAAA;EAAA;AAAA,IACD;AAAA,IAAAC,QAAA,GAEcpC,MAAM;AAAAqC,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OnboardingStore.js","names":["OnboardingStore","options","cwd","generateCwd","load","schemasByHome","homeDir","SchemaEntityFactory","Entity","onboardingSchema","values","schema","getValues","writeValues","saved","readValues","setValues","stage","mode","
|
|
1
|
+
{"version":3,"file":"OnboardingStore.js","names":["_schema","require","_spruceSkillUtils","_onboarding","_interopRequireDefault","_AbstractLocalStore2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","OnboardingStore","_AbstractLocalStore","_inherits2","_super","options","_this","_classCallCheck2","_defineProperty2","_assertThisInitialized2","cwd","generateCwd","load","_createClass2","key","get","schemasByHome","homeDir","SchemaEntityFactory","Entity","onboardingSchema","value","save","values","schema","getValues","writeValues","_saved$stage","_saved$mode","saved","readValues","setValues","stage","mode","getMode","setMode","set","validate","getStage","setStage","reset","undefined","_OnboardingStore$cwdO","home","cwdOverride","diskUtil","createTempDir","overrideCwd","AbstractLocalStore","exports"],"sources":["../../../../src/features/onboard/stores/OnboardingStore.ts"],"sourcesContent":["import { SchemaEntityFactory, StaticSchemaEntity } from '@sprucelabs/schema'\nimport { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport { SpruceSchemas } from '#spruce/schemas/schemas.types'\nimport onboardingSchema from '#spruce/schemas/spruceCli/v2020_07_22/onboarding.schema'\nimport AbstractLocalStore, {\n\tLocalStoreSettings,\n} from '../../../stores/AbstractLocalStore'\nimport { StoreOptions } from '../../../stores/AbstractStore'\n\nexport interface OnboardingStoreSettings\n\textends LocalStoreSettings,\n\t\tSpruceSchemas.SpruceCli.v2020_07_22.Onboarding {}\n\ntype OnboardingSchema = SpruceSchemas.SpruceCli.v2020_07_22.OnboardingSchema\nexport type OnboardingMode = OnboardingStoreSettings['mode']\nexport type OnboardingStage = OnboardingStoreSettings['stage']\n\nexport default class OnboardingStore extends AbstractLocalStore<OnboardingStoreSettings> {\n\tpublic readonly name = 'onboarding'\n\tprivate static cwdOverride: string\n\n\tprivate static schemasByHome: Record<\n\t\tstring,\n\t\tStaticSchemaEntity<OnboardingSchema>\n\t> = {}\n\n\tpublic constructor(options: StoreOptions) {\n\t\tsuper(options)\n\t\tthis.cwd = this.generateCwd()\n\t\tthis.load()\n\t}\n\n\tprivate get schema() {\n\t\tif (!OnboardingStore.schemasByHome[this.homeDir]) {\n\t\t\tOnboardingStore.schemasByHome[this.homeDir] =\n\t\t\t\tSchemaEntityFactory.Entity(onboardingSchema)\n\t\t}\n\n\t\treturn OnboardingStore.schemasByHome[this.homeDir]\n\t}\n\n\tprivate save() {\n\t\tconst values = this.schema.getValues()\n\t\tthis.writeValues(values)\n\t\treturn this\n\t}\n\n\tprivate load() {\n\t\tconst saved = this.readValues()\n\t\tthis.schema.setValues({\n\t\t\tstage: saved.stage ?? null,\n\t\t\tmode: saved.mode ?? 'off',\n\t\t})\n\t\treturn this\n\t}\n\n\tpublic getMode(): OnboardingMode {\n\t\treturn this.schema.get('mode')\n\t}\n\n\tpublic setMode(mode: OnboardingMode) {\n\t\tthis.schema.set('mode', mode)\n\t\tthis.schema.validate()\n\t\tthis.save()\n\t}\n\n\tpublic getStage() {\n\t\treturn this.schema.get('stage')\n\t}\n\n\tpublic setStage(stage: OnboardingStage) {\n\t\tthis.schema.set('stage', stage)\n\t\tthis.schema.validate()\n\t\tthis.save()\n\t}\n\n\tpublic reset() {\n\t\tthis.schema.set('stage', undefined)\n\t\tthis.setMode('off')\n\t}\n\n\tpublic static overrideCwd(cwd: string) {\n\t\tthis.cwdOverride = cwd\n\t}\n\n\tprotected generateCwd() {\n\t\tconst home =\n\t\t\tOnboardingStore.cwdOverride ?? diskUtil.createTempDir('spruce-cli')\n\t\treturn home\n\t}\n}\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationFeature.js","names":["OrganizationFeature","code","isRequired","diskUtil","resolvePath","__dirname","AbstractFeature"],"sources":["../../../src/features/organization/OrganizationFeature.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport AbstractFeature, { FeatureDependency } from '../AbstractFeature'\nimport { FeatureCode } from '../features.types'\n\nexport default class OrganizationFeature extends AbstractFeature {\n\tpublic code: FeatureCode = 'organization'\n\tpublic nameReadable = 'Organization'\n\tpublic description = 'Manage the organizations you are part of'\n\tpublic dependencies: FeatureDependency[] = [\n\t\t{\n\t\t\tcode: 'skill',\n\t\t\tisRequired: true,\n\t\t},\n\t\t{\n\t\t\tcode: 'event',\n\t\t\tisRequired: true,\n\t\t},\n\t]\n\tpublic packageDependencies = []\n\n\tpublic actionsDir = diskUtil.resolvePath(__dirname, 'actions')\n}\n\ndeclare module '../../features/features.types' {\n\tinterface FeatureMap {\n\t\torganization: OrganizationFeature\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AAAuE;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"OrganizationFeature.js","names":["_spruceSkillUtils","require","_AbstractFeature2","_interopRequireDefault","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","OrganizationFeature","_AbstractFeature","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","code","isRequired","diskUtil","resolvePath","__dirname","_createClass2","AbstractFeature","exports"],"sources":["../../../src/features/organization/OrganizationFeature.ts"],"sourcesContent":["import { diskUtil } from '@sprucelabs/spruce-skill-utils'\nimport AbstractFeature, { FeatureDependency } from '../AbstractFeature'\nimport { FeatureCode } from '../features.types'\n\nexport default class OrganizationFeature extends AbstractFeature {\n\tpublic code: FeatureCode = 'organization'\n\tpublic nameReadable = 'Organization'\n\tpublic description = 'Manage the organizations you are part of'\n\tpublic dependencies: FeatureDependency[] = [\n\t\t{\n\t\t\tcode: 'skill',\n\t\t\tisRequired: true,\n\t\t},\n\t\t{\n\t\t\tcode: 'event',\n\t\t\tisRequired: true,\n\t\t},\n\t]\n\tpublic packageDependencies = []\n\n\tpublic actionsDir = diskUtil.resolvePath(__dirname, 'actions')\n}\n\ndeclare module '../../features/features.types' {\n\tinterface FeatureMap {\n\t\torganization: OrganizationFeature\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAuE,SAAAG,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA;AAAA,IAGlDC,mBAAmB,0BAAAC,gBAAA;EAAA,IAAAC,UAAA,aAAAF,mBAAA,EAAAC,gBAAA;EAAA,IAAAE,MAAA,GAAAzB,YAAA,CAAAsB,mBAAA;EAAA,SAAAA,oBAAA;IAAA,IAAAI,KAAA;IAAA,IAAAC,gBAAA,mBAAAL,mBAAA;IAAA,SAAAM,IAAA,GAAAhB,SAAA,CAAAiB,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;MAAAF,IAAA,CAAAE,IAAA,IAAApB,SAAA,CAAAoB,IAAA;IAAA;IAAAN,KAAA,GAAAD,MAAA,CAAAL,IAAA,CAAAP,KAAA,CAAAY,MAAA,SAAAQ,MAAA,CAAAH,IAAA;IAAA,IAAAI,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,WACZ,cAAc;IAAA,IAAAQ,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,mBACnB,cAAc;IAAA,IAAAQ,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,kBACf,0CAA0C;IAAA,IAAAQ,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,mBACpB,CAC1C;MACCU,IAAI,EAAE,OAAO;MACbC,UAAU,EAAE;IACb,CAAC,EACD;MACCD,IAAI,EAAE,OAAO;MACbC,UAAU,EAAE;IACb,CAAC,CACD;IAAA,IAAAH,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,0BAC4B,EAAE;IAAA,IAAAQ,gBAAA,iBAAAC,uBAAA,aAAAT,KAAA,iBAEXY,0BAAQ,CAACC,WAAW,CAACC,SAAS,EAAE,SAAS,CAAC;IAAA,OAAAd,KAAA;EAAA;EAAA,WAAAe,aAAA,aAAAnB,mBAAA;AAAA,EAhBdoB,4BAAe;AAAAC,OAAA,cAAArB,mBAAA"}
|