@sprucelabs/spruce-cli 19.1.22 → 19.1.24
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/CHANGELOG.md +16 -0
- package/build/.spruce/errors/errors.types.js +6 -0
- package/build/.spruce/errors/errors.types.js.map +1 -0
- package/build/.spruce/errors/options.types.d.ts +1 -1
- package/build/.spruce/errors/options.types.js +6 -0
- package/build/.spruce/errors/options.types.js.map +1 -0
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/actionCancelled.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/bootError.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/bootError.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js +26 -0
- package/build/.spruce/errors/spruceCli/buildFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/cacheNotEnabled.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js +25 -0
- package/build/.spruce/errors/spruceCli/commandAborted.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js +30 -0
- package/build/.spruce/errors/spruceCli/commandBlocked.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js +35 -0
- package/build/.spruce/errors/spruceCli/commandNotImplemented.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js +52 -0
- package/build/.spruce/errors/spruceCli/createAutoloaderFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/dependencyExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js +47 -0
- package/build/.spruce/errors/spruceCli/deployFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/directoryEmpty.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/directoryNotSkill.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/dockerNotStarted.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js +50 -0
- package/build/.spruce/errors/spruceCli/executingCommandFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/failedToImport.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/featureNotInstalled.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/fileExists.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/fileExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/generic.schema.js +25 -0
- package/build/.spruce/errors/spruceCli/generic.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/invalidCommand.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js +30 -0
- package/build/.spruce/errors/spruceCli/invalidEventContract.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/invalidFeatureCode.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/invalidTestDirectory.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/lintFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/mercuryResponseError.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js +29 -0
- package/build/.spruce/errors/spruceCli/missingDependencies.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js +30 -0
- package/build/.spruce/errors/spruceCli/missingDependenciesDependency.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/noOrganizationsFound.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/noSkillsRegistered.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js +18 -0
- package/build/.spruce/errors/spruceCli/notImplemented.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/notLoggedIn.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js +31 -0
- package/build/.spruce/errors/spruceCli/schemaExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js +27 -0
- package/build/.spruce/errors/spruceCli/schemaFailedToImport.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js +44 -0
- package/build/.spruce/errors/spruceCli/schemaTemplateItemBuildingFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/skillNotFound.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/skillNotRegistered.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js +24 -0
- package/build/.spruce/errors/spruceCli/skillViewExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/storeExists.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/storeExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/testFailed.schema.js +36 -0
- package/build/.spruce/errors/spruceCli/testFailed.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/themeExists.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/themeExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js +25 -0
- package/build/.spruce/errors/spruceCli/transportAlreadyExists.schema.js.map +1 -0
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js +17 -0
- package/build/.spruce/errors/spruceCli/vscodeNotInstalled.schema.js.map +1 -0
- package/build/.spruce/events/events.contract.d.ts +77 -77
- package/build/.spruce/events/events.contract.js +21 -0
- package/build/.spruce/events/events.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.d.ts +4 -4
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js +49 -0
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.d.ts +7 -7
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js +57 -0
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.d.ts +8 -8
- package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js +57 -0
- package/build/.spruce/events/heartwood/getActiveTheme.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.d.ts +7 -7
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js +57 -0
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.d.ts +5 -5
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js +49 -0
- package/build/.spruce/events/heartwood/listViews.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.d.ts +9 -9
- package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js +78 -0
- package/build/.spruce/events/heartwood/registerDashboardCards.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.d.ts +5 -5
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js +45 -0
- package/build/.spruce/events/heartwood/registerSkillViews.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.d.ts +7 -7
- package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js +51 -0
- package/build/.spruce/events/heartwood/upsertTheme.v2021_02_11.contract.js.map +1 -0
- package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.d.ts +1 -1
- package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js +17 -0
- package/build/.spruce/events/spruceCli/registerSkillViews.v2021_04_11.contract.js.map +1 -0
- package/build/.spruce/schemas/fields/fieldClassMap.js +10 -0
- package/build/.spruce/schemas/fields/fieldClassMap.js.map +1 -0
- package/build/.spruce/schemas/fields/fields.types.js +31 -0
- package/build/.spruce/schemas/fields/fields.types.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js +26 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js +25 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js +47 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/didRegisterSkillViewsEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js +27 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js +28 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js +45 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js +26 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/generateUrlResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js +25 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js +38 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js +28 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getActiveThemeResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js +38 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js +47 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getSkillViewsResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js +25 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/getViewControllersEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js +31 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js +45 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/listViewsResult.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js +27 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerDashboardCardsResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js +41 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js +38 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js +26 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js +41 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/theme.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js +29 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js +25 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js +47 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js +29 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/upsertThemeResponsePayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/theme.schema.js +13 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/theme.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js +13 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js.map +1 -0
- package/build/.spruce/schemas/schemas.types.d.ts +1 -1
- package/build/.spruce/schemas/schemas.types.js +14 -0
- package/build/.spruce/schemas/schemas.types.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/location.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/location.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/message.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/message.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/organization.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/organization.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/person.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/person.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/role.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/role.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/skill.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/skill.schema.js.map +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js +13 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js +70 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/actionResponse.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js +50 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/bootSkillOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js +36 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createConversationTopicOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js +218 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createErrorOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js +35 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createOrganizationOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js +235 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createSchemaOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js +66 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/createTestOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js +56 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedDir.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js +56 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/generatedFile.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js +26 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/installSkillAtOrganizationOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js +85 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/listenEventOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js +100 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/namedTemplateItem.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js +40 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/nodeFeatureOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js +35 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/npmPackage.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js +19 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboardOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js +52 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/onboarding.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js +47 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/personWithToken.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js +26 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js +34 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupTestsOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js +26 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/setupVscodeOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js +39 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js +178 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncErrorOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js +57 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncEventOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js +46 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemaFieldsOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js +171 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/syncSchemasOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js +75 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/testOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js +38 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/upgradeSkillOptions.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js +31 -0
- package/build/.spruce/schemas/spruceCli/v2020_07_22/watcherDidDetectChangesEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema.js +13 -0
- package/build/.spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema.js.map +1 -0
- package/build/.spruce/settings.json +46 -0
- package/build/.spruce/skill.types.js +7 -0
- package/build/.spruce/skill.types.js.map +1 -0
- package/build/GlobalEmitter.d.ts +74 -32
- package/build/GlobalEmitter.js +185 -0
- package/build/GlobalEmitter.js.map +1 -0
- package/build/InFlightEntertainment.js +53 -0
- package/build/InFlightEntertainment.js.map +1 -0
- package/build/__tests__/behavioral/AddingADependency.test.js +263 -0
- package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -0
- package/build/__tests__/behavioral/BlockingCommands.test.js +121 -0
- package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -0
- package/build/__tests__/behavioral/BootingTheCli.test.js +96 -0
- package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -0
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js +122 -0
- package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -0
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js +125 -0
- package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -0
- package/build/__tests__/behavioral/DeployingASkill.test.js +806 -0
- package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/DeployingToSandbox.test.js +575 -0
- package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -0
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js +293 -0
- package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -0
- package/build/__tests__/behavioral/GettingCliVersion.test.js +105 -0
- package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -0
- package/build/__tests__/behavioral/ManagingDependencies.test.js +214 -0
- package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -0
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js +119 -0
- package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -0
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +102 -0
- package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -0
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js +164 -0
- package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -0
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js +228 -0
- package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/SettingRemote.test.js +168 -0
- package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -0
- package/build/__tests__/behavioral/SettingUpVscode.test.js +113 -0
- package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -0
- package/build/__tests__/behavioral/TestingAConversation.test.js +268 -0
- package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -0
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js +192 -0
- package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -0
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js +140 -0
- package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js +292 -0
- package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js +94 -0
- package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -0
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +369 -0
- package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -0
- package/build/__tests__/behavioral/events/CreatingAListener.test.js +739 -0
- package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -0
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +496 -0
- package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -0
- package/build/__tests__/behavioral/events/EventWriter.test.js +114 -0
- package/build/__tests__/behavioral/events/EventWriter.test.js.map +1 -0
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +608 -0
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +596 -0
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -0
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js +126 -0
- package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js +118 -0
- package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -0
- package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js +93 -0
- package/build/__tests__/behavioral/events/ListeningToCoreEvents.test.js.map +1 -0
- package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js +157 -0
- package/build/__tests__/behavioral/events/RegisteringEventsOnBoot.test.js.map +1 -0
- package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js +236 -0
- package/build/__tests__/behavioral/events/RegisteringGlobalEvents.test.js.map +1 -0
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js +61 -0
- package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -0
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js +147 -0
- package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -0
- package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js +159 -0
- package/build/__tests__/behavioral/events/SyncingEventsOnlyFromDependencies.test.js.map +1 -0
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js +124 -0
- package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -0
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js +176 -0
- package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -0
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js +106 -0
- package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js +120 -0
- package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js +81 -0
- package/build/__tests__/behavioral/permissions/PermissionPlugin.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/PermissionStore.test.js +430 -0
- package/build/__tests__/behavioral/permissions/PermissionStore.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/PermissionWriter.test.js +84 -0
- package/build/__tests__/behavioral/permissions/PermissionWriter.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js +421 -0
- package/build/__tests__/behavioral/permissions/SyncingPermissions.test.js.map +1 -0
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.d.ts +1 -1
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js +111 -0
- package/build/__tests__/behavioral/permissions/support/AbstractPermissionsTest.js.map +1 -0
- package/build/__tests__/behavioral/permissions/support/generateShortAlphaId.js +11 -0
- package/build/__tests__/behavioral/permissions/support/generateShortAlphaId.js.map +1 -0
- package/build/__tests__/behavioral/permissions/support/renderPermissionTestFile.js +17 -0
- package/build/__tests__/behavioral/permissions/support/renderPermissionTestFile.js.map +1 -0
- package/build/__tests__/behavioral/permissions/support/sortPermissionContracts.js +10 -0
- package/build/__tests__/behavioral/permissions/support/sortPermissionContracts.js.map +1 -0
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js +308 -0
- package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -0
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js +113 -0
- package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -0
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js +232 -0
- package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js +423 -0
- package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js +75 -0
- package/build/__tests__/behavioral/schemas/CreatingSchemasWithGenerics.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js +100 -0
- package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js +156 -0
- package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js +209 -0
- package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js +73 -0
- package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js +756 -0
- package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js +126 -0
- package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js +741 -0
- package/build/__tests__/behavioral/schemas/SettingUpSchemasForModuleDistribution.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js +78 -0
- package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -0
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js +59 -0
- package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/BootingASkill.test.js +139 -0
- package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js +99 -0
- package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js +327 -0
- package/build/__tests__/behavioral/skill/InstallingASkillAtAnOrg.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js +312 -0
- package/build/__tests__/behavioral/skill/LoggingInAsASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/RebuildingASkill.test.js +112 -0
- package/build/__tests__/behavioral/skill/RebuildingASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js +186 -0
- package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js +316 -0
- package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js +363 -0
- package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -0
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js +277 -0
- package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/CreatingATest.test.js +359 -0
- package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/RunningTests.test.js +191 -0
- package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js +505 -0
- package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js +168 -0
- package/build/__tests__/behavioral/tests/SettingUpASkillForTesting.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js +89 -0
- package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js +113 -0
- package/build/__tests__/behavioral/tests/TestReporterSettingsRemembered.test.js.map +1 -0
- package/build/__tests__/behavioral/tests/TestingDataStores.test.js +151 -0
- package/build/__tests__/behavioral/tests/TestingDataStores.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js +146 -0
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js +280 -0
- package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js +171 -0
- package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js +477 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js +332 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js +435 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js +224 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js +278 -0
- package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js +138 -0
- package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -0
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js +222 -0
- package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -0
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js +429 -0
- package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -0
- package/build/__tests__/behavioral/views/CreatingATheme.test.js +205 -0
- package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -0
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +181 -0
- package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -0
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.d.ts +1 -1
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js +220 -0
- package/build/__tests__/behavioral/views/RegisteringSkillViewOnBoot.test.js.map +1 -0
- package/build/__tests__/behavioral/views/SettingUpViews.test.js +93 -0
- package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -0
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js +200 -0
- package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -0
- package/build/__tests__/behavioral/views/WatchingSkillViews.test.js +107 -0
- package/build/__tests__/behavioral/views/WatchingSkillViews.test.js.map +1 -0
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js +521 -0
- package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -0
- package/build/__tests__/implementation/ActionExecuter.test.js +195 -0
- package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -0
- package/build/__tests__/implementation/ActionExecuter2.test.js +428 -0
- package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -0
- package/build/__tests__/implementation/ActionExecuter3.test.js +153 -0
- package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -0
- package/build/__tests__/implementation/ActionExecuter4.test.js +119 -0
- package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -0
- package/build/__tests__/implementation/ArgParser.test.js +82 -0
- package/build/__tests__/implementation/ArgParser.test.js.map +1 -0
- package/build/__tests__/implementation/BuildService.test.js +91 -0
- package/build/__tests__/implementation/BuildService.test.js.map +1 -0
- package/build/__tests__/implementation/BulkImporting.test.js +306 -0
- package/build/__tests__/implementation/BulkImporting.test.js.map +1 -0
- package/build/__tests__/implementation/CachingImports.test.js +194 -0
- package/build/__tests__/implementation/CachingImports.test.js.map +1 -0
- package/build/__tests__/implementation/CommandOptionBuilder.test.js +111 -0
- package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -0
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js +257 -0
- package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -0
- package/build/__tests__/implementation/DataStoreStore.test.js +301 -0
- package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -0
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js +120 -0
- package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -0
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js +157 -0
- package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -0
- package/build/__tests__/implementation/EventStore.test.js +608 -0
- package/build/__tests__/implementation/EventStore.test.js.map +1 -0
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +447 -0
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -0
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js +330 -0
- package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -0
- package/build/__tests__/implementation/FeatureFixture.test.js +146 -0
- package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -0
- package/build/__tests__/implementation/FeatureInstaller.test.js +159 -0
- package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -0
- package/build/__tests__/implementation/FeaturesUtil.test.js +56 -0
- package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -0
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js +129 -0
- package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -0
- package/build/__tests__/implementation/GlobalEmitter.test.js +87 -0
- package/build/__tests__/implementation/GlobalEmitter.test.js.map +1 -0
- package/build/__tests__/implementation/Introspection.test.js +64 -0
- package/build/__tests__/implementation/Introspection.test.js.map +1 -0
- package/build/__tests__/implementation/JestJsonParser.test.js +468 -0
- package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -0
- package/build/__tests__/implementation/LintService.test.js +93 -0
- package/build/__tests__/implementation/LintService.test.js.map +1 -0
- package/build/__tests__/implementation/ListenerStore.test.js +38 -0
- package/build/__tests__/implementation/ListenerStore.test.js.map +1 -0
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js +154 -0
- package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -0
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js +377 -0
- package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -0
- package/build/__tests__/implementation/OnboardingStore.test.js +157 -0
- package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -0
- package/build/__tests__/implementation/OrganizationStore.test.js +215 -0
- package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -0
- package/build/__tests__/implementation/ParentTestFinder.test.js +114 -0
- package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -0
- package/build/__tests__/implementation/PkgService.test.js +180 -0
- package/build/__tests__/implementation/PkgService.test.js.map +1 -0
- package/build/__tests__/implementation/SchemaStore.test.js +602 -0
- package/build/__tests__/implementation/SchemaStore.test.js.map +1 -0
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +1373 -0
- package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -0
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js +278 -0
- package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -0
- package/build/__tests__/implementation/ServiceFactory.test.js +62 -0
- package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -0
- package/build/__tests__/implementation/SettingUpANodeModule.test.js +134 -0
- package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -0
- package/build/__tests__/implementation/SkillStore.test.js +316 -0
- package/build/__tests__/implementation/SkillStore.test.js.map +1 -0
- package/build/__tests__/implementation/StoreFeature.test.js +97 -0
- package/build/__tests__/implementation/StoreFeature.test.js.map +1 -0
- package/build/__tests__/implementation/TestReporter.test.js +119 -0
- package/build/__tests__/implementation/TestReporter.test.js.map +1 -0
- package/build/__tests__/implementation/TestRunner.test.js +389 -0
- package/build/__tests__/implementation/TestRunner.test.js.map +1 -0
- package/build/__tests__/implementation/ValueTypeMapping.test.js +85 -0
- package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -0
- package/build/__tests__/implementation/Widgets.test.js +173 -0
- package/build/__tests__/implementation/Widgets.test.js.map +1 -0
- package/build/__tests__/support/EventFaker.js +46 -0
- package/build/__tests__/support/EventFaker.js.map +1 -0
- package/build/__tests__/support/onTestFileResult.js +872 -0
- package/build/__tests__/support/onTestFileResult.js.map +1 -0
- package/build/__tests__/support/scripts/first.script.js +30 -0
- package/build/__tests__/support/scripts/first.script.js.map +1 -0
- package/build/__tests__/support/scripts/second.script.js +12 -0
- package/build/__tests__/support/scripts/second.script.js.map +1 -0
- package/build/__tests__/support/scripts/third.test.script.js +10 -0
- package/build/__tests__/support/scripts/third.test.script.js.map +1 -0
- package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest.ts +3 -0
- package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest2.ts +3 -0
- package/build/__tests__/testDirsAndFiles/abstract_tests/NotATest.ts +1 -0
- package/build/__tests__/testDirsAndFiles/abstract_tests/deeper/AbstractBananaTest.ts +3 -0
- package/build/__tests__/testDirsAndFiles/client-test.ts.hbs +14 -0
- package/build/__tests__/testDirsAndFiles/dynamic_key_schemas/v2020_07_22/mercuryContract.builder.d.ts +5 -5
- package/build/__tests__/testDirsAndFiles/dynamic_key_schemas/v2020_07_22/mercuryContract.builder.ts +57 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitPayload.builder.d.ts +2 -2
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitPayload.builder.ts +13 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitPermissions.builder.d.ts +3 -3
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitPermissions.builder.ts +31 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitTarget.builder.d.ts +2 -2
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/emitTarget.builder.ts +13 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/event.options.ts +15 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/listenPermissions.builder.d.ts +3 -3
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/listenPermissions.builder.ts +33 -0
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/responsePayload.builder.d.ts +2 -2
- package/build/__tests__/testDirsAndFiles/event_with_emit_and_response_payloads/responsePayload.builder.ts +13 -0
- package/build/__tests__/testDirsAndFiles/field_registrations/testField.addon.ts +16 -0
- package/build/__tests__/testDirsAndFiles/field_registrations_one_bad/badField.addon.ts +4 -0
- package/build/__tests__/testDirsAndFiles/field_registrations_one_bad/testField.addon.ts +16 -0
- package/build/__tests__/testDirsAndFiles/introspection/BadDefinition.ts +6 -0
- package/build/__tests__/testDirsAndFiles/introspection/ImplementsInterface.ts +7 -0
- package/build/__tests__/testDirsAndFiles/jest_test_results/mercury-api.txt +80 -0
- package/build/__tests__/testDirsAndFiles/mercury-types-package.json +100 -0
- package/build/__tests__/testDirsAndFiles/mock_core_builders/v2020_07_22/organization.builder.d.ts +9 -9
- package/build/__tests__/testDirsAndFiles/mock_core_builders/v2020_07_22/organization.builder.ts +31 -0
- package/build/__tests__/testDirsAndFiles/mock_core_builders/v2020_07_22/person.builder.d.ts +24 -24
- package/build/__tests__/testDirsAndFiles/mock_core_builders/v2020_07_22/person.builder.ts +92 -0
- package/build/__tests__/testDirsAndFiles/nested_error_schemas/nestedError.builder.d.ts +3 -3
- package/build/__tests__/testDirsAndFiles/nested_error_schemas/nestedError.builder.ts +27 -0
- package/build/__tests__/testDirsAndFiles/orphaned_schemas/namespace/v2020_07_22/one.schema.ts +0 -0
- package/build/__tests__/testDirsAndFiles/orphaned_schemas/namespacetwo/three.schema.ts +0 -0
- package/build/__tests__/testDirsAndFiles/orphaned_schemas/namespacetwo/v2020_07_22/four.schema.ts +0 -0
- package/build/__tests__/testDirsAndFiles/orphaned_schemas/two.schema.ts +0 -0
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/food.builder.d.ts +2 -2
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/food.builder.ts +13 -0
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/pet.builder.d.ts +2 -2
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/pet.builder.ts +13 -0
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/skillWithExtraField.builder.d.ts +68 -1
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/skillWithExtraField.builder.ts +16 -0
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/testPerson.builder.d.ts +14 -14
- package/build/__tests__/testDirsAndFiles/related_schemas/v2020_10_06/testPerson.builder.ts +80 -0
- package/build/__tests__/testDirsAndFiles/schemas_with_imports/v2020_07_22/hasImports.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/schemas_with_imports/v2020_07_22/hasImports.builder.ts +16 -0
- package/build/__tests__/testDirsAndFiles/schemas_with_imports/v2020_07_22/hasImports2.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/schemas_with_imports/v2020_07_22/hasImports2.builder.ts +16 -0
- package/build/__tests__/testDirsAndFiles/schemas_with_suffix/v2020_07_22/withSuffix1.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/schemas_with_suffix/v2020_07_22/withSuffix1.builder.ts +15 -0
- package/build/__tests__/testDirsAndFiles/schemas_with_suffix/v2020_07_22/withSuffix2.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/schemas_with_suffix/v2020_07_22/withSuffix2.builder.ts +14 -0
- package/build/__tests__/testDirsAndFiles/services/.ignoreThisToo/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/services/IgnoreThis/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/services/v2019_11_05/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/services/v2020_01_10/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/client-type-test.ts.hbs +11 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/emitPayload.builder.ts +8 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/emitPermissions.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/emitPermissions.builder.ts +11 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/event.options.ts +13 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/listenPermissions.builder.d.ts +1 -1
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/listenPermissions.builder.ts +11 -0
- package/build/__tests__/testDirsAndFiles/skill_register_skill_views_event/src/events/register-skill-views/v2021_04_11/responsePayload.builder.ts +8 -0
- package/build/__tests__/testDirsAndFiles/store-test.ts.hbs +25 -0
- package/build/__tests__/testDirsAndFiles/test_builders/v2020_06_23/schemaOne.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders/v2020_06_23/schemaOne.builder.ts +26 -0
- package/build/__tests__/testDirsAndFiles/test_builders/v2020_06_23/schemaThree.builder.ts +11 -0
- package/build/__tests__/testDirsAndFiles/test_builders/v2020_06_23/schemaTwo.builder.d.ts +14 -14
- package/build/__tests__/testDirsAndFiles/test_builders/v2020_06_23/schemaTwo.builder.ts +53 -0
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/badSchema.builder.ts +4 -0
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/schemaOne.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/schemaOne.builder.ts +26 -0
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/schemaThree.builder.ts +11 -0
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/schemaTwo.builder.d.ts +3 -3
- package/build/__tests__/testDirsAndFiles/test_builders_one_bad/v2020_06_23/schemaTwo.builder.ts +19 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/anotherBad.builder.ts +4 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/badSchema.builder.ts +4 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/notDefault.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/notDefault.builder.ts +26 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/schemaOne.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/schemaOne.builder.ts +26 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/schemaThree.builder.ts +11 -0
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/schemaTwo.builder.d.ts +3 -3
- package/build/__tests__/testDirsAndFiles/test_builders_two_bad/v2020_06_23/schemaTwo.builder.ts +19 -0
- package/build/__tests__/testDirsAndFiles/test_builders_with_namespace_and_version/v2020_06_23/schemaWithNamespace.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders_with_namespace_and_version/v2020_06_23/schemaWithNamespace.builder.ts +27 -0
- package/build/__tests__/testDirsAndFiles/test_builders_with_namespace_and_version/v2020_06_23/schemaWithVersion.builder.d.ts +4 -4
- package/build/__tests__/testDirsAndFiles/test_builders_with_namespace_and_version/v2020_06_23/schemaWithVersion.builder.ts +27 -0
- package/build/__tests__/testDirsAndFiles/utilities/.ignoreThisToo/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/utilities/IgnoreThis/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/utilities/v2019_11_05/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/utilities/v2020_02_15/index.md +1 -0
- package/build/__tests__/testDirsAndFiles/validFile.ts +1 -0
- package/build/addons/filePrompt.addon.js +9 -0
- package/build/addons/filePrompt.addon.js.map +1 -0
- package/build/boot.js +162 -0
- package/build/boot.js.map +1 -0
- package/build/cli/Cli.d.ts +34 -0
- package/build/cli/Cli.js +528 -0
- package/build/cli/Cli.js.map +1 -0
- package/build/components/AbstractComponent.js +30 -0
- package/build/components/AbstractComponent.js.map +1 -0
- package/build/components/FormComponent.d.ts +1 -1
- package/build/components/FormComponent.js +325 -0
- package/build/components/FormComponent.js.map +1 -0
- package/build/components/QuizComponent.js +272 -0
- package/build/components/QuizComponent.js.map +1 -0
- package/build/constants.js +17 -0
- package/build/constants.js.map +1 -0
- package/build/errors/SpruceError.d.ts +1 -1
- package/build/errors/SpruceError.js +228 -0
- package/build/errors/SpruceError.js.map +1 -0
- package/build/errors/actionCancelled.builder.js +14 -0
- package/build/errors/actionCancelled.builder.js.map +1 -0
- package/build/errors/bootError.builder.js +15 -0
- package/build/errors/bootError.builder.js.map +1 -0
- package/build/errors/buildFailed.builder.d.ts +1 -1
- package/build/errors/buildFailed.builder.js +21 -0
- package/build/errors/buildFailed.builder.js.map +1 -0
- package/build/errors/cacheNotEnabled.builder.js +15 -0
- package/build/errors/cacheNotEnabled.builder.js.map +1 -0
- package/build/errors/commandAborted.builder.d.ts +2 -2
- package/build/errors/commandAborted.builder.js +21 -0
- package/build/errors/commandAborted.builder.js.map +1 -0
- package/build/errors/commandBlocked.builder.d.ts +4 -4
- package/build/errors/commandBlocked.builder.js +24 -0
- package/build/errors/commandBlocked.builder.js.map +1 -0
- package/build/errors/commandNotImplemented.builder.d.ts +5 -5
- package/build/errors/commandNotImplemented.builder.js +29 -0
- package/build/errors/commandNotImplemented.builder.js.map +1 -0
- package/build/errors/createAutoloaderFailed.builder.d.ts +9 -9
- package/build/errors/createAutoloaderFailed.builder.js +41 -0
- package/build/errors/createAutoloaderFailed.builder.js.map +1 -0
- package/build/errors/dependencyExists.builder.d.ts +2 -2
- package/build/errors/dependencyExists.builder.js +19 -0
- package/build/errors/dependencyExists.builder.js.map +1 -0
- package/build/errors/deployFailed.builder.d.ts +2 -2
- package/build/errors/deployFailed.builder.js +44 -0
- package/build/errors/deployFailed.builder.js.map +1 -0
- package/build/errors/directoryEmpty.builder.d.ts +2 -2
- package/build/errors/directoryEmpty.builder.js +20 -0
- package/build/errors/directoryEmpty.builder.js.map +1 -0
- package/build/errors/directoryNotSkill.builder.js +15 -0
- package/build/errors/directoryNotSkill.builder.js.map +1 -0
- package/build/errors/dockerNotStarted.builder.js +15 -0
- package/build/errors/dockerNotStarted.builder.js.map +1 -0
- package/build/errors/executingCommandFailed.builder.d.ts +6 -6
- package/build/errors/executingCommandFailed.builder.js +37 -0
- package/build/errors/executingCommandFailed.builder.js.map +1 -0
- package/build/errors/failedToImport.builder.d.ts +2 -2
- package/build/errors/failedToImport.builder.js +23 -0
- package/build/errors/failedToImport.builder.js.map +1 -0
- package/build/errors/featureNotInstalled.builder.d.ts +2 -2
- package/build/errors/featureNotInstalled.builder.js +20 -0
- package/build/errors/featureNotInstalled.builder.js.map +1 -0
- package/build/errors/fileExists.builder.d.ts +2 -2
- package/build/errors/fileExists.builder.js +23 -0
- package/build/errors/fileExists.builder.js.map +1 -0
- package/build/errors/generic.builder.d.ts +1 -1
- package/build/errors/generic.builder.js +21 -0
- package/build/errors/generic.builder.js.map +1 -0
- package/build/errors/invalidCommand.builder.d.ts +3 -3
- package/build/errors/invalidCommand.builder.js +23 -0
- package/build/errors/invalidCommand.builder.js.map +1 -0
- package/build/errors/invalidEventContract.builder.d.ts +4 -4
- package/build/errors/invalidEventContract.builder.js +24 -0
- package/build/errors/invalidEventContract.builder.js.map +1 -0
- package/build/errors/invalidFeatureCode.builder.d.ts +2 -2
- package/build/errors/invalidFeatureCode.builder.js +20 -0
- package/build/errors/invalidFeatureCode.builder.js.map +1 -0
- package/build/errors/invalidTestDirectory.builder.d.ts +2 -2
- package/build/errors/invalidTestDirectory.builder.js +20 -0
- package/build/errors/invalidTestDirectory.builder.js.map +1 -0
- package/build/errors/lintFailed.builder.d.ts +2 -2
- package/build/errors/lintFailed.builder.js +23 -0
- package/build/errors/lintFailed.builder.js.map +1 -0
- package/build/errors/mercuryResponseError.builder.d.ts +3 -3
- package/build/errors/mercuryResponseError.builder.js +25 -0
- package/build/errors/mercuryResponseError.builder.js.map +1 -0
- package/build/errors/missingDependencies.builder.d.ts +7 -7
- package/build/errors/missingDependencies.builder.js +36 -0
- package/build/errors/missingDependencies.builder.js.map +1 -0
- package/build/errors/noOrganizationsFound.builder.js +15 -0
- package/build/errors/noOrganizationsFound.builder.js.map +1 -0
- package/build/errors/noSkillsRegistered.builder.js +15 -0
- package/build/errors/noSkillsRegistered.builder.js.map +1 -0
- package/build/errors/notImplemented.builder.js +16 -0
- package/build/errors/notImplemented.builder.js.map +1 -0
- package/build/errors/notLoggedIn.builder.js +15 -0
- package/build/errors/notLoggedIn.builder.js.map +1 -0
- package/build/errors/schemaExists.builder.d.ts +3 -3
- package/build/errors/schemaExists.builder.js +25 -0
- package/build/errors/schemaExists.builder.js.map +1 -0
- package/build/errors/schemaFailedToImport.builder.d.ts +2 -2
- package/build/errors/schemaFailedToImport.builder.js +22 -0
- package/build/errors/schemaFailedToImport.builder.js.map +1 -0
- package/build/errors/schemaTemplateItemBuildingFailed.builder.d.ts +8 -8
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js +35 -0
- package/build/errors/schemaTemplateItemBuildingFailed.builder.js.map +1 -0
- package/build/errors/skillNotFound.builder.js +15 -0
- package/build/errors/skillNotFound.builder.js.map +1 -0
- package/build/errors/skillNotRegistered.builder.js +15 -0
- package/build/errors/skillNotRegistered.builder.js.map +1 -0
- package/build/errors/skillViewExists.builder.d.ts +2 -2
- package/build/errors/skillViewExists.builder.js +20 -0
- package/build/errors/skillViewExists.builder.js.map +1 -0
- package/build/errors/storeExists.builder.js +15 -0
- package/build/errors/storeExists.builder.js.map +1 -0
- package/build/errors/testFailed.builder.d.ts +6 -6
- package/build/errors/testFailed.builder.js +28 -0
- package/build/errors/testFailed.builder.js.map +1 -0
- package/build/errors/themeExists.builder.js +15 -0
- package/build/errors/themeExists.builder.js.map +1 -0
- package/build/errors/transportAlreadyExists.builder.d.ts +2 -2
- package/build/errors/transportAlreadyExists.builder.js +20 -0
- package/build/errors/transportAlreadyExists.builder.js.map +1 -0
- package/build/errors/vscodeNotInstalled.builder.js +15 -0
- package/build/errors/vscodeNotInstalled.builder.js.map +1 -0
- package/build/features/AbstractAction.js +208 -0
- package/build/features/AbstractAction.js.map +1 -0
- package/build/features/AbstractFeature.js +212 -0
- package/build/features/AbstractFeature.js.map +1 -0
- package/build/features/ActionExecuter.js +299 -0
- package/build/features/ActionExecuter.js.map +1 -0
- package/build/features/ActionFactory.js +112 -0
- package/build/features/ActionFactory.js.map +1 -0
- package/build/features/ActionQuestionAsker.d.ts +4 -1
- package/build/features/ActionQuestionAsker.js +495 -0
- package/build/features/ActionQuestionAsker.js.map +1 -0
- package/build/features/FeatureCommandAttacher.js +187 -0
- package/build/features/FeatureCommandAttacher.js.map +1 -0
- package/build/features/FeatureInstaller.d.ts +2 -2
- package/build/features/FeatureInstaller.js +690 -0
- package/build/features/FeatureInstaller.js.map +1 -0
- package/build/features/FeatureInstallerFactory.js +73 -0
- package/build/features/FeatureInstallerFactory.js.map +1 -0
- package/build/features/OverrideActionDecorator.d.ts +1 -1
- package/build/features/OverrideActionDecorator.js +192 -0
- package/build/features/OverrideActionDecorator.js.map +1 -0
- package/build/features/cache/CacheFeature.js +60 -0
- package/build/features/cache/CacheFeature.js.map +1 -0
- package/build/features/cache/actions/DisableAction.js +105 -0
- package/build/features/cache/actions/DisableAction.js.map +1 -0
- package/build/features/cache/actions/EnableAction.js +100 -0
- package/build/features/cache/actions/EnableAction.js.map +1 -0
- package/build/features/cache/constants.js +11 -0
- package/build/features/cache/constants.js.map +1 -0
- package/build/features/conversation/ConversationFeature.js +128 -0
- package/build/features/conversation/ConversationFeature.js.map +1 -0
- package/build/features/conversation/actions/CreateAction.d.ts +1 -1
- package/build/features/conversation/actions/CreateAction.js +69 -0
- package/build/features/conversation/actions/CreateAction.js.map +1 -0
- package/build/features/conversation/actions/TestAction.d.ts +8 -8
- package/build/features/conversation/actions/TestAction.js +185 -0
- package/build/features/conversation/actions/TestAction.js.map +1 -0
- package/build/features/conversation/stores/ConversationStore.d.ts +1 -1
- package/build/features/conversation/stores/ConversationStore.js +73 -0
- package/build/features/conversation/stores/ConversationStore.js.map +1 -0
- package/build/features/conversation/writers/ConversationWriter.d.ts +1 -1
- package/build/features/conversation/writers/ConversationWriter.js +74 -0
- package/build/features/conversation/writers/ConversationWriter.js.map +1 -0
- package/build/features/dependencies/DependencyFeature.js +65 -0
- package/build/features/dependencies/DependencyFeature.js.map +1 -0
- package/build/features/dependencies/actions/AddAction.d.ts +2 -2
- package/build/features/dependencies/actions/AddAction.js +131 -0
- package/build/features/dependencies/actions/AddAction.js.map +1 -0
- package/build/features/dependencies/actions/ManageAction.js +125 -0
- package/build/features/dependencies/actions/ManageAction.js.map +1 -0
- package/build/features/deploy/DeployFeature.js +75 -0
- package/build/features/deploy/DeployFeature.js.map +1 -0
- package/build/features/deploy/actions/HerokuAction.d.ts +16 -16
- package/build/features/deploy/actions/HerokuAction.js +617 -0
- package/build/features/deploy/actions/HerokuAction.js.map +1 -0
- package/build/features/deploy/writers/DeployWriter.js +36 -0
- package/build/features/deploy/writers/DeployWriter.js.map +1 -0
- package/build/features/error/ErrorFeature.js +181 -0
- package/build/features/error/ErrorFeature.js.map +1 -0
- package/build/features/error/ParentTestFinder.js +61 -0
- package/build/features/error/ParentTestFinder.js.map +1 -0
- package/build/features/error/actions/CreateAction.d.ts +1 -1
- package/build/features/error/actions/CreateAction.js +83 -0
- package/build/features/error/actions/CreateAction.js.map +1 -0
- package/build/features/error/actions/SyncAction.d.ts +1 -1
- package/build/features/error/actions/SyncAction.js +185 -0
- package/build/features/error/actions/SyncAction.js.map +1 -0
- package/build/features/error/writers/ErrorWriter.js +244 -0
- package/build/features/error/writers/ErrorWriter.js.map +1 -0
- package/build/features/event/EventFeature.d.ts +2 -2
- package/build/features/event/EventFeature.js +347 -0
- package/build/features/event/EventFeature.js.map +1 -0
- package/build/features/event/actions/CreateAction.d.ts +65 -1
- package/build/features/event/actions/CreateAction.js +148 -0
- package/build/features/event/actions/CreateAction.js.map +1 -0
- package/build/features/event/actions/ListenAction.d.ts +1 -1
- package/build/features/event/actions/ListenAction.js +437 -0
- package/build/features/event/actions/ListenAction.js.map +1 -0
- package/build/features/event/actions/SetRemoteAction.d.ts +2 -2
- package/build/features/event/actions/SetRemoteAction.js +98 -0
- package/build/features/event/actions/SetRemoteAction.js.map +1 -0
- package/build/features/event/actions/SyncAction.d.ts +1 -1
- package/build/features/event/actions/SyncAction.js +85 -0
- package/build/features/event/actions/SyncAction.js.map +1 -0
- package/build/features/event/actions/SyncListenersAction.js +83 -0
- package/build/features/event/actions/SyncListenersAction.js.map +1 -0
- package/build/features/event/builders/EventContractBuilder.js +251 -0
- package/build/features/event/builders/EventContractBuilder.js.map +1 -0
- package/build/features/event/builders/ListenerTemplateItemBuilder.d.ts +1 -0
- package/build/features/event/builders/ListenerTemplateItemBuilder.js +47 -0
- package/build/features/event/builders/ListenerTemplateItemBuilder.js.map +1 -0
- package/build/features/event/services/EventSettingsService.js +46 -0
- package/build/features/event/services/EventSettingsService.js.map +1 -0
- package/build/features/event/services/RemoteService.js +10 -0
- package/build/features/event/services/RemoteService.js.map +1 -0
- package/build/features/event/stores/EventStore.d.ts +28 -0
- package/build/features/event/stores/EventStore.js +444 -0
- package/build/features/event/stores/EventStore.js.map +1 -0
- package/build/features/event/stores/ListenerStore.d.ts +1 -1
- package/build/features/event/stores/ListenerStore.js +89 -0
- package/build/features/event/stores/ListenerStore.js.map +1 -0
- package/build/features/event/writers/EventWriter.d.ts +2 -2
- package/build/features/event/writers/EventWriter.js +302 -0
- package/build/features/event/writers/EventWriter.js.map +1 -0
- package/build/features/eventContract/EventContractFeature.js +54 -0
- package/build/features/eventContract/EventContractFeature.js.map +1 -0
- package/build/features/eventContract/actions/PullAction.d.ts +2 -2
- package/build/features/eventContract/actions/PullAction.js +141 -0
- package/build/features/eventContract/actions/PullAction.js.map +1 -0
- package/build/features/feature.utilities.js +54 -0
- package/build/features/feature.utilities.js.map +1 -0
- package/build/features/features.types.js +6 -0
- package/build/features/features.types.js.map +1 -0
- package/build/features/log/LogFeature.js +48 -0
- package/build/features/log/LogFeature.js.map +1 -0
- package/build/features/log/actions/CreateTransportAction.d.ts +8 -8
- package/build/features/log/actions/CreateTransportAction.js +84 -0
- package/build/features/log/actions/CreateTransportAction.js.map +1 -0
- package/build/features/log/writers/LogWriter.d.ts +1 -1
- package/build/features/log/writers/LogWriter.js +68 -0
- package/build/features/log/writers/LogWriter.js.map +1 -0
- package/build/features/node/NodeFeature.d.ts +2 -7
- package/build/features/node/NodeFeature.js +239 -0
- package/build/features/node/NodeFeature.js.map +1 -0
- package/build/features/node/actions/CreateAction.js +64 -0
- package/build/features/node/actions/CreateAction.js.map +1 -0
- package/build/features/node/actions/UpdateDependenciesAction.js +257 -0
- package/build/features/node/actions/UpdateDependenciesAction.js.map +1 -0
- package/build/features/node/actions/UpgradeAction.d.ts +1 -1
- package/build/features/node/actions/UpgradeAction.js +159 -0
- package/build/features/node/actions/UpgradeAction.js.map +1 -0
- package/build/features/node/writers/NodeWriter.js +81 -0
- package/build/features/node/writers/NodeWriter.js.map +1 -0
- package/build/features/onboard/OnboardFeature.js +205 -0
- package/build/features/onboard/OnboardFeature.js.map +1 -0
- package/build/features/onboard/ScriptLoader.js +70 -0
- package/build/features/onboard/ScriptLoader.js.map +1 -0
- package/build/features/onboard/ScriptPlayer.js +188 -0
- package/build/features/onboard/ScriptPlayer.js.map +1 -0
- package/build/features/onboard/actions/OnboardAction.d.ts +1 -1
- package/build/features/onboard/actions/OnboardAction.js +94 -0
- package/build/features/onboard/actions/OnboardAction.js.map +1 -0
- package/build/features/onboard/scripts/onboarding.first.script.d.ts +1 -1
- package/build/features/onboard/scripts/onboarding.first.script.js +143 -0
- package/build/features/onboard/scripts/onboarding.first.script.js.map +1 -0
- package/build/features/onboard/scripts/onboarding.immersive.script.js +57 -0
- package/build/features/onboard/scripts/onboarding.immersive.script.js.map +1 -0
- package/build/features/onboard/scripts/onboarding.returning.script.js +73 -0
- package/build/features/onboard/scripts/onboarding.returning.script.js.map +1 -0
- package/build/features/onboard/scripts/onboarding.short.script.js +112 -0
- package/build/features/onboard/scripts/onboarding.short.script.js.map +1 -0
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js +31 -0
- package/build/features/onboard/scripts/todo/todo.create.skill.script.js.map +1 -0
- package/build/features/onboard/scripts/todo/todo.test.script.js +29 -0
- package/build/features/onboard/scripts/todo/todo.test.script.js.map +1 -0
- package/build/features/onboard/scripts/wrongCommand.script.js +66 -0
- package/build/features/onboard/scripts/wrongCommand.script.js.map +1 -0
- package/build/features/onboard/stores/OnboardingStore.d.ts +2 -2
- package/build/features/onboard/stores/OnboardingStore.js +107 -0
- package/build/features/onboard/stores/OnboardingStore.js.map +1 -0
- package/build/features/onboard/templates/RootViewController.test.ts.hbs +41 -0
- package/build/features/organization/OrganizationFeature.js +46 -0
- package/build/features/organization/OrganizationFeature.js.map +1 -0
- package/build/features/organization/actions/CreateAction.d.ts +1 -1
- package/build/features/organization/actions/CreateAction.js +71 -0
- package/build/features/organization/actions/CreateAction.js.map +1 -0
- package/build/features/organization/actions/InstallAction.d.ts +1 -1
- package/build/features/organization/actions/InstallAction.js +138 -0
- package/build/features/organization/actions/InstallAction.js.map +1 -0
- package/build/features/organization/stores/OrganizationStore.d.ts +3 -3
- package/build/features/organization/stores/OrganizationStore.js +209 -0
- package/build/features/organization/stores/OrganizationStore.js.map +1 -0
- package/build/features/permission/PermissionFeature.d.ts +1 -1
- package/build/features/permission/PermissionFeature.js +173 -0
- package/build/features/permission/PermissionFeature.js.map +1 -0
- package/build/features/permission/actions/CreateAction.d.ts +52 -8
- package/build/features/permission/actions/CreateAction.js +94 -0
- package/build/features/permission/actions/CreateAction.js.map +1 -0
- package/build/features/permission/actions/SyncAction.d.ts +2 -2
- package/build/features/permission/actions/SyncAction.js +127 -0
- package/build/features/permission/actions/SyncAction.js.map +1 -0
- package/build/features/permission/stores/PermissionStore.js +171 -0
- package/build/features/permission/stores/PermissionStore.js.map +1 -0
- package/build/features/permission/writers/PermissionWriter.js +137 -0
- package/build/features/permission/writers/PermissionWriter.js.map +1 -0
- package/build/features/person/PersonFeature.js +46 -0
- package/build/features/person/PersonFeature.js.map +1 -0
- package/build/features/person/actions/LoginAction.d.ts +3 -3
- package/build/features/person/actions/LoginAction.js +144 -0
- package/build/features/person/actions/LoginAction.js.map +1 -0
- package/build/features/person/actions/LogoutAction.js +81 -0
- package/build/features/person/actions/LogoutAction.js.map +1 -0
- package/build/features/person/actions/WhoamiAction.js +84 -0
- package/build/features/person/actions/WhoamiAction.js.map +1 -0
- package/build/features/polish/PolishFeature.js +49 -0
- package/build/features/polish/PolishFeature.js.map +1 -0
- package/build/features/polish/actions/SetupAction.js +82 -0
- package/build/features/polish/actions/SetupAction.js.map +1 -0
- package/build/features/polish/writers/PolishWriter.js +60 -0
- package/build/features/polish/writers/PolishWriter.js.map +1 -0
- package/build/features/sandbox/SandboxFeature.js +74 -0
- package/build/features/sandbox/SandboxFeature.js.map +1 -0
- package/build/features/sandbox/actions/SetupAction.d.ts +1 -1
- package/build/features/sandbox/actions/SetupAction.js +103 -0
- package/build/features/sandbox/actions/SetupAction.js.map +1 -0
- package/build/features/sandbox/writers/SandboxWriter.js +53 -0
- package/build/features/sandbox/writers/SandboxWriter.js.map +1 -0
- package/build/features/schema/SchemaFeature.js +194 -0
- package/build/features/schema/SchemaFeature.js.map +1 -0
- package/build/features/schema/ValueTypeBuilder.d.ts +2 -1
- package/build/features/schema/ValueTypeBuilder.js +66 -0
- package/build/features/schema/ValueTypeBuilder.js.map +1 -0
- package/build/features/schema/actions/CreateAction.d.ts +1 -1
- package/build/features/schema/actions/CreateAction.js +109 -0
- package/build/features/schema/actions/CreateAction.js.map +1 -0
- package/build/features/schema/actions/SyncAction.d.ts +1 -1
- package/build/features/schema/actions/SyncAction.js +393 -0
- package/build/features/schema/actions/SyncAction.js.map +1 -0
- package/build/features/schema/actions/SyncFieldsAction.d.ts +1 -1
- package/build/features/schema/actions/SyncFieldsAction.js +100 -0
- package/build/features/schema/actions/SyncFieldsAction.js.map +1 -0
- package/build/features/schema/services/SchemaService.js +70 -0
- package/build/features/schema/services/SchemaService.js.map +1 -0
- package/build/features/schema/stores/SchemaStore.d.ts +14 -14
- package/build/features/schema/stores/SchemaStore.js +415 -0
- package/build/features/schema/stores/SchemaStore.js.map +1 -0
- package/build/features/schema/utilities/schema.utility.js +24 -0
- package/build/features/schema/utilities/schema.utility.js.map +1 -0
- package/build/features/schema/utilities/schemaDisk.utility.js +72 -0
- package/build/features/schema/utilities/schemaDisk.utility.js.map +1 -0
- package/build/features/schema/utilities/schemaGenerator.utility.js +68 -0
- package/build/features/schema/utilities/schemaGenerator.utility.js.map +1 -0
- package/build/features/schema/writers/SchemaWriter.js +326 -0
- package/build/features/schema/writers/SchemaWriter.js.map +1 -0
- package/build/features/skill/SkillFeature.d.ts +1 -1
- package/build/features/skill/SkillFeature.js +310 -0
- package/build/features/skill/SkillFeature.js.map +1 -0
- package/build/features/skill/actions/BootAction.d.ts +1 -1
- package/build/features/skill/actions/BootAction.js +172 -0
- package/build/features/skill/actions/BootAction.js.map +1 -0
- package/build/features/skill/actions/CreateAction.d.ts +38 -2
- package/build/features/skill/actions/CreateAction.js +72 -0
- package/build/features/skill/actions/CreateAction.js.map +1 -0
- package/build/features/skill/actions/DashboardAction.js +68 -0
- package/build/features/skill/actions/DashboardAction.js.map +1 -0
- package/build/features/skill/actions/LoginAction.d.ts +1 -1
- package/build/features/skill/actions/LoginAction.js +195 -0
- package/build/features/skill/actions/LoginAction.js.map +1 -0
- package/build/features/skill/actions/RebuildAction.d.ts +2 -2
- package/build/features/skill/actions/RebuildAction.js +106 -0
- package/build/features/skill/actions/RebuildAction.js.map +1 -0
- package/build/features/skill/actions/RegisterAction.d.ts +12 -12
- package/build/features/skill/actions/RegisterAction.js +119 -0
- package/build/features/skill/actions/RegisterAction.js.map +1 -0
- package/build/features/skill/stores/SkillStore.d.ts +2 -2
- package/build/features/skill/stores/SkillStore.js +395 -0
- package/build/features/skill/stores/SkillStore.js.map +1 -0
- package/build/features/skill/updaters/Updater.d.ts +1 -1
- package/build/features/skill/updaters/Updater.js +85 -0
- package/build/features/skill/updaters/Updater.js.map +1 -0
- package/build/features/skill/writers/SkillWriter.js +65 -0
- package/build/features/skill/writers/SkillWriter.js.map +1 -0
- package/build/features/store/StoreFeature.js +143 -0
- package/build/features/store/StoreFeature.js.map +1 -0
- package/build/features/store/actions/CreateAction.d.ts +16 -16
- package/build/features/store/actions/CreateAction.js +106 -0
- package/build/features/store/actions/CreateAction.js.map +1 -0
- package/build/features/store/actions/SyncAction.d.ts +1 -1
- package/build/features/store/actions/SyncAction.js +96 -0
- package/build/features/store/actions/SyncAction.js.map +1 -0
- package/build/features/store/stores/StoreStore.js +99 -0
- package/build/features/store/stores/StoreStore.js.map +1 -0
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js +48 -0
- package/build/features/store/templateItemBuilders/StoreTemplateItemBuilder.js.map +1 -0
- package/build/features/store/writers/StoreWriter.d.ts +2 -2
- package/build/features/store/writers/StoreWriter.js +162 -0
- package/build/features/store/writers/StoreWriter.js.map +1 -0
- package/build/features/test/TestFeature.js +256 -0
- package/build/features/test/TestFeature.js.map +1 -0
- package/build/features/test/TestLogItemGenerator.js +181 -0
- package/build/features/test/TestLogItemGenerator.js.map +1 -0
- package/build/features/test/TestReporter.js +837 -0
- package/build/features/test/TestReporter.js.map +1 -0
- package/build/features/test/TestRunner.d.ts +4 -4
- package/build/features/test/TestRunner.js +222 -0
- package/build/features/test/TestRunner.js.map +1 -0
- package/build/features/test/actions/CreateAction.d.ts +1 -1
- package/build/features/test/actions/CreateAction.js +244 -0
- package/build/features/test/actions/CreateAction.js.map +1 -0
- package/build/features/test/actions/SetupAction.d.ts +1 -1
- package/build/features/test/actions/SetupAction.js +93 -0
- package/build/features/test/actions/SetupAction.js.map +1 -0
- package/build/features/test/actions/TestAction.d.ts +1 -0
- package/build/features/test/actions/TestAction.js +560 -0
- package/build/features/test/actions/TestAction.js.map +1 -0
- package/build/features/test/test.types.js +6 -0
- package/build/features/test/test.types.js.map +1 -0
- package/build/features/test/writers/TestWriter.js +61 -0
- package/build/features/test/writers/TestWriter.js.map +1 -0
- package/build/features/universalDevDependencies.d.ts +2 -7
- package/build/features/universalDevDependencies.js +40 -0
- package/build/features/universalDevDependencies.js.map +1 -0
- package/build/features/universalFileDescriptions.js +42 -0
- package/build/features/universalFileDescriptions.js.map +1 -0
- package/build/features/universalScripts.js +32 -0
- package/build/features/universalScripts.js.map +1 -0
- package/build/features/validateAndNormalize.utility.js +33 -0
- package/build/features/validateAndNormalize.utility.js.map +1 -0
- package/build/features/view/ViewFeature.js +135 -0
- package/build/features/view/ViewFeature.js.map +1 -0
- package/build/features/view/actions/CreateAction.d.ts +8 -8
- package/build/features/view/actions/CreateAction.js +183 -0
- package/build/features/view/actions/CreateAction.js.map +1 -0
- package/build/features/view/actions/CreateThemeAction.js +96 -0
- package/build/features/view/actions/CreateThemeAction.js.map +1 -0
- package/build/features/view/actions/SyncAction.js +147 -0
- package/build/features/view/actions/SyncAction.js.map +1 -0
- package/build/features/view/actions/WatchAction.js +111 -0
- package/build/features/view/actions/WatchAction.js.map +1 -0
- package/build/features/view/stores/ViewStore.d.ts +1 -1
- package/build/features/view/stores/ViewStore.js +89 -0
- package/build/features/view/stores/ViewStore.js.map +1 -0
- package/build/features/view/writers/ViewWriter.js +181 -0
- package/build/features/view/writers/ViewWriter.js.map +1 -0
- package/build/features/vscode/VsCodeFeature.js +80 -0
- package/build/features/vscode/VsCodeFeature.js.map +1 -0
- package/build/features/vscode/actions/SetupAction.d.ts +1 -1
- package/build/features/vscode/actions/SetupAction.js +315 -0
- package/build/features/vscode/actions/SetupAction.js.map +1 -0
- package/build/features/vscode/services/VsCodeService.js +137 -0
- package/build/features/vscode/services/VsCodeService.js.map +1 -0
- package/build/features/vscode/writers/VsCodeWriter.js +57 -0
- package/build/features/vscode/writers/VsCodeWriter.js.map +1 -0
- package/build/features/watch/WatchFeature.js +199 -0
- package/build/features/watch/WatchFeature.js.map +1 -0
- package/build/index.js +17 -0
- package/build/index.js.map +1 -0
- package/build/interfaces/SpyInterface.d.ts +1 -1
- package/build/interfaces/SpyInterface.js +490 -0
- package/build/interfaces/SpyInterface.js.map +1 -0
- package/build/interfaces/TerminalInterface.d.ts +1 -1
- package/build/interfaces/TerminalInterface.js +711 -0
- package/build/interfaces/TerminalInterface.js.map +1 -0
- package/build/schemas/v2020_07_22/actionResponse.builder.d.ts +23 -23
- package/build/schemas/v2020_07_22/actionResponse.builder.js +70 -0
- package/build/schemas/v2020_07_22/actionResponse.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.d.ts +6 -6
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js +41 -0
- package/build/schemas/v2020_07_22/bootSkillOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.d.ts +4 -4
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js +26 -0
- package/build/schemas/v2020_07_22/createConversationTopicOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/createErrorOptions.builder.d.ts +71 -71
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js +34 -0
- package/build/schemas/v2020_07_22/createErrorOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.d.ts +3 -3
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js +27 -0
- package/build/schemas/v2020_07_22/createOrganizationOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.d.ts +54 -54
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js +57 -0
- package/build/schemas/v2020_07_22/createSchemaOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/createTestOptions.builder.d.ts +8 -8
- package/build/schemas/v2020_07_22/createTestOptions.builder.js +46 -0
- package/build/schemas/v2020_07_22/createTestOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/generatedFile.builder.d.ts +7 -7
- package/build/schemas/v2020_07_22/generatedFile.builder.js +45 -0
- package/build/schemas/v2020_07_22/generatedFile.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.d.ts +1 -1
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js +20 -0
- package/build/schemas/v2020_07_22/installSkillAtOrganizationOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/listenEventOptions.builder.d.ts +10 -10
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js +41 -0
- package/build/schemas/v2020_07_22/listenEventOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.d.ts +14 -14
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js +74 -0
- package/build/schemas/v2020_07_22/namedTemplateItem.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.d.ts +5 -5
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js +30 -0
- package/build/schemas/v2020_07_22/nodeFeatureOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/onboardOptions.builder.js +15 -0
- package/build/schemas/v2020_07_22/onboardOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/onboarding.builder.d.ts +3 -3
- package/build/schemas/v2020_07_22/onboarding.builder.js +46 -0
- package/build/schemas/v2020_07_22/onboarding.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/personWithToken.builder.d.ts +16 -5
- package/build/schemas/v2020_07_22/personWithToken.builder.js +28 -0
- package/build/schemas/v2020_07_22/personWithToken.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.d.ts +1 -1
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js +23 -0
- package/build/schemas/v2020_07_22/registerDashboardWidgetsEmitPayloadSchema.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.d.ts +4 -4
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js +26 -0
- package/build/schemas/v2020_07_22/setupTestsOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.d.ts +1 -1
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js +20 -0
- package/build/schemas/v2020_07_22/setupVscodeOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/skillFeature.builder.d.ts +5 -5
- package/build/schemas/v2020_07_22/skillFeature.builder.js +29 -0
- package/build/schemas/v2020_07_22/skillFeature.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.d.ts +62 -62
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js +40 -0
- package/build/schemas/v2020_07_22/syncErrorOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/syncEventOptions.builder.d.ts +5 -5
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js +45 -0
- package/build/schemas/v2020_07_22/syncEventOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.d.ts +6 -6
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js +36 -0
- package/build/schemas/v2020_07_22/syncSchemaFieldsOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.d.ts +40 -40
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js +117 -0
- package/build/schemas/v2020_07_22/syncSchemasOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/testOptions.builder.d.ts +10 -10
- package/build/schemas/v2020_07_22/testOptions.builder.js +60 -0
- package/build/schemas/v2020_07_22/testOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.d.ts +1 -1
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js +33 -0
- package/build/schemas/v2020_07_22/upgradeSkillOptions.builder.js.map +1 -0
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.d.ts +10 -10
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js +28 -0
- package/build/schemas/v2020_07_22/watcherDidDetectChangesEmitPayload.builder.js.map +1 -0
- package/build/services/BuildService.js +64 -0
- package/build/services/BuildService.js.map +1 -0
- package/build/services/CommandService.js +202 -0
- package/build/services/CommandService.js.map +1 -0
- package/build/services/DependencyService.js +56 -0
- package/build/services/DependencyService.js.map +1 -0
- package/build/services/GameService.js +112 -0
- package/build/services/GameService.js.map +1 -0
- package/build/services/ImportService.js +387 -0
- package/build/services/ImportService.js.map +1 -0
- package/build/services/LintService.js +136 -0
- package/build/services/LintService.js.map +1 -0
- package/build/services/PkgService.js +177 -0
- package/build/services/PkgService.js.map +1 -0
- package/build/services/ServiceFactory.js +95 -0
- package/build/services/ServiceFactory.js.map +1 -0
- package/build/services/TypeCheckerService.js +37 -0
- package/build/services/TypeCheckerService.js.map +1 -0
- package/build/stores/AbstractLocalStore.js +66 -0
- package/build/stores/AbstractLocalStore.js.map +1 -0
- package/build/stores/AbstractStore.js +64 -0
- package/build/stores/AbstractStore.js.map +1 -0
- package/build/stores/README.md +3 -0
- package/build/stores/StoreFactory.js +75 -0
- package/build/stores/StoreFactory.js.map +1 -0
- package/build/templateItemBuilders/EventTemplateItemBuilder.js +241 -0
- package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -0
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js +63 -0
- package/build/templateItemBuilders/FieldTemplateItemBuilder.js.map +1 -0
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js +235 -0
- package/build/templateItemBuilders/SchemaTemplateItemBuilder.js.map +1 -0
- package/build/tests/AbstractCliTest.js +783 -0
- package/build/tests/AbstractCliTest.js.map +1 -0
- package/build/tests/AbstractErrorTest.js +67 -0
- package/build/tests/AbstractErrorTest.js.map +1 -0
- package/build/tests/AbstractEventTest.d.ts +2 -2
- package/build/tests/AbstractEventTest.js +191 -0
- package/build/tests/AbstractEventTest.js.map +1 -0
- package/build/tests/AbstractSchemaTest.js +221 -0
- package/build/tests/AbstractSchemaTest.js.map +1 -0
- package/build/tests/AbstractSkillTest.js +115 -0
- package/build/tests/AbstractSkillTest.js.map +1 -0
- package/build/tests/AbstractTestTest.js +68 -0
- package/build/tests/AbstractTestTest.js.map +1 -0
- package/build/tests/CommandFaker.js +52 -0
- package/build/tests/CommandFaker.js.map +1 -0
- package/build/tests/JestJsonParser.js +203 -0
- package/build/tests/JestJsonParser.js.map +1 -0
- package/build/tests/MockProgramFactory.js +100 -0
- package/build/tests/MockProgramFactory.js.map +1 -0
- package/build/tests/buildTestCache.js +300 -0
- package/build/tests/buildTestCache.js.map +1 -0
- package/build/tests/cleanTestCache.js +21 -0
- package/build/tests/cleanTestCache.js.map +1 -0
- package/build/tests/cleanTestData.js +113 -0
- package/build/tests/cleanTestData.js.map +1 -0
- package/build/tests/constants.js +25 -0
- package/build/tests/constants.js.map +1 -0
- package/build/tests/fixtures/FeatureFixture.js +380 -0
- package/build/tests/fixtures/FeatureFixture.js.map +1 -0
- package/build/tests/fixtures/MercuryFixture.js +65 -0
- package/build/tests/fixtures/MercuryFixture.js.map +1 -0
- package/build/tests/fixtures/OrganizationFixture.d.ts +2 -2
- package/build/tests/fixtures/OrganizationFixture.js +133 -0
- package/build/tests/fixtures/OrganizationFixture.js.map +1 -0
- package/build/tests/fixtures/PersonFixture.js +130 -0
- package/build/tests/fixtures/PersonFixture.js.map +1 -0
- package/build/tests/fixtures/SkillFixture.d.ts +1 -1
- package/build/tests/fixtures/SkillFixture.js +233 -0
- package/build/tests/fixtures/SkillFixture.js.map +1 -0
- package/build/tests/fixtures/ViewFixture.d.ts +1 -1
- package/build/tests/fixtures/ViewFixture.js +54 -0
- package/build/tests/fixtures/ViewFixture.js.map +1 -0
- package/build/tests/utilities/test.utility.js +106 -0
- package/build/tests/utilities/test.utility.js.map +1 -0
- package/build/tests/utilities/uiAssert.utility.js +85 -0
- package/build/tests/utilities/uiAssert.utility.js.map +1 -0
- package/build/types/apiClient.types.js +6 -0
- package/build/types/apiClient.types.js.map +1 -0
- package/build/types/cli.types.d.ts +1 -1
- package/build/types/cli.types.js +13 -0
- package/build/types/cli.types.js.map +1 -0
- package/build/types/graphicsInterface.types.js +37 -0
- package/build/types/graphicsInterface.types.js.map +1 -0
- package/build/updaters/ScriptUpdater.js +144 -0
- package/build/updaters/ScriptUpdater.js.map +1 -0
- package/build/utilities/action.utility.js +51 -0
- package/build/utilities/action.utility.js.map +1 -0
- package/build/utilities/apiClient.utility.d.ts +2 -2
- package/build/utilities/apiClient.utility.js +54 -0
- package/build/utilities/apiClient.utility.js.map +1 -0
- package/build/utilities/argParser.utility.js +42 -0
- package/build/utilities/argParser.utility.js.map +1 -0
- package/build/utilities/commander.utility.js +39 -0
- package/build/utilities/commander.utility.js.map +1 -0
- package/build/utilities/duration.utility.js +35 -0
- package/build/utilities/duration.utility.js.map +1 -0
- package/build/utilities/eventContractCleaner.utility.d.ts +2 -1
- package/build/utilities/eventContractCleaner.utility.js +55 -0
- package/build/utilities/eventContractCleaner.utility.js.map +1 -0
- package/build/utilities/form.utility.d.ts +4 -1
- package/build/utilities/form.utility.js +68 -0
- package/build/utilities/form.utility.js.map +1 -0
- package/build/utilities/introspection.utility.js +136 -0
- package/build/utilities/introspection.utility.js.map +1 -0
- package/build/utilities/isCi.js +16 -0
- package/build/utilities/isCi.js.map +1 -0
- package/build/utilities/tsConfig.utility.js +61 -0
- package/build/utilities/tsConfig.utility.js.map +1 -0
- package/build/utilities/ui.utility.js +26 -0
- package/build/utilities/ui.utility.js.map +1 -0
- package/build/widgets/Theme.js +20 -0
- package/build/widgets/Theme.js.map +1 -0
- package/build/widgets/WidgetFactory.js +40 -0
- package/build/widgets/WidgetFactory.js.map +1 -0
- package/build/widgets/keySelectChoices.js +850 -0
- package/build/widgets/keySelectChoices.js.map +1 -0
- package/build/widgets/terminalKit/TKButtonWidget.js +71 -0
- package/build/widgets/terminalKit/TKButtonWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkBaseWidget.js +258 -0
- package/build/widgets/terminalKit/TkBaseWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkInputWidget.js +140 -0
- package/build/widgets/terminalKit/TkInputWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkLayoutCellWidget.js +65 -0
- package/build/widgets/terminalKit/TkLayoutCellWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkLayoutWidget.js +213 -0
- package/build/widgets/terminalKit/TkLayoutWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkMenuBarWidget.js +156 -0
- package/build/widgets/terminalKit/TkMenuBarWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkPopupWidget.js +66 -0
- package/build/widgets/terminalKit/TkPopupWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkProgressBarWidget.js +85 -0
- package/build/widgets/terminalKit/TkProgressBarWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkTextWidget.js +160 -0
- package/build/widgets/terminalKit/TkTextWidget.js.map +1 -0
- package/build/widgets/terminalKit/TkWindowWidget.js +195 -0
- package/build/widgets/terminalKit/TkWindowWidget.js.map +1 -0
- package/build/widgets/terminalKit/termKit.utility.js +147 -0
- package/build/widgets/terminalKit/termKit.utility.js.map +1 -0
- package/build/widgets/types/button.types.js +13 -0
- package/build/widgets/types/button.types.js.map +1 -0
- package/build/widgets/types/factory.types.d.ts +17 -17
- package/build/widgets/types/factory.types.js +46 -0
- package/build/widgets/types/factory.types.js.map +1 -0
- package/build/widgets/types/input.types.d.ts +2 -2
- package/build/widgets/types/input.types.js +28 -0
- package/build/widgets/types/input.types.js.map +1 -0
- package/build/widgets/types/layout.types.js +6 -0
- package/build/widgets/types/layout.types.js.map +1 -0
- package/build/widgets/types/menuBar.types.d.ts +2 -2
- package/build/widgets/types/menuBar.types.js +27 -0
- package/build/widgets/types/menuBar.types.js.map +1 -0
- package/build/widgets/types/popup.types.js +13 -0
- package/build/widgets/types/popup.types.js.map +1 -0
- package/build/widgets/types/progressBar.types.js +6 -0
- package/build/widgets/types/progressBar.types.js.map +1 -0
- package/build/widgets/types/table.types.js +6 -0
- package/build/widgets/types/table.types.js.map +1 -0
- package/build/widgets/types/text.types.d.ts +5 -5
- package/build/widgets/types/text.types.js +33 -0
- package/build/widgets/types/text.types.js.map +1 -0
- package/build/widgets/types/widgets.types.js +6 -0
- package/build/widgets/types/widgets.types.js.map +1 -0
- package/build/widgets/types/window.types.d.ts +8 -8
- package/build/widgets/types/window.types.js +53 -0
- package/build/widgets/types/window.types.js.map +1 -0
- package/build/widgets/widget.utilities.js +38 -0
- package/build/widgets/widget.utilities.js.map +1 -0
- package/build/writers/AbstractWriter.js +325 -0
- package/build/writers/AbstractWriter.js.map +1 -0
- package/build/writers/README.md +3 -0
- package/build/writers/WriterFactory.js +76 -0
- package/build/writers/WriterFactory.js.map +1 -0
- package/package.json +11 -11
- package/.DS_Store +0 -0
- package/.env +0 -25
- package/.eslintcache +0 -1
- package/junit.xml +0 -7
- package/src/.DS_Store +0 -0
- package/yarn-error.log +0 -12174
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _schema = require("@sprucelabs/schema");
|
|
8
|
+
var _default = (0, _schema.buildErrorSchema)({
|
|
9
|
+
id: 'transportAlreadyExists',
|
|
10
|
+
name: 'transport already exists',
|
|
11
|
+
fields: {
|
|
12
|
+
name: {
|
|
13
|
+
type: 'text',
|
|
14
|
+
label: 'Transport name',
|
|
15
|
+
isRequired: true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
exports["default"] = _default;
|
|
20
|
+
//# sourceMappingURL=transportAlreadyExists.builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transportAlreadyExists.builder.js","names":["_schema","require","_default","buildErrorSchema","id","name","fields","type","label","isRequired","exports"],"sources":["../../src/errors/transportAlreadyExists.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'transportAlreadyExists',\n\tname: 'transport already exists',\n\tfields: {\n\t\tname: {\n\t\t\ttype: 'text',\n\t\t\tlabel: 'Transport name',\n\t\t\tisRequired: true,\n\t\t},\n\t},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,wBAAwB;EAC5BC,IAAI,EAAE,0BAA0B;EAChCC,MAAM,EAAE;IACPD,IAAI,EAAE;MACLE,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,gBAAgB;MACvBC,UAAU,EAAE;IACb;EACD;AACD,CAAC,CAAC;AAAAC,OAAA,cAAAR,QAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _schema = require("@sprucelabs/schema");
|
|
8
|
+
var _default = (0, _schema.buildErrorSchema)({
|
|
9
|
+
id: 'vscodeNotInstalled',
|
|
10
|
+
name: 'vscode not installed',
|
|
11
|
+
description: '',
|
|
12
|
+
fields: {}
|
|
13
|
+
});
|
|
14
|
+
exports["default"] = _default;
|
|
15
|
+
//# sourceMappingURL=vscodeNotInstalled.builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vscodeNotInstalled.builder.js","names":["_schema","require","_default","buildErrorSchema","id","name","description","fields","exports"],"sources":["../../src/errors/vscodeNotInstalled.builder.ts"],"sourcesContent":["import { buildErrorSchema } from '@sprucelabs/schema'\n\nexport default buildErrorSchema({\n\tid: 'vscodeNotInstalled',\n\tname: 'vscode not installed',\n\tdescription: '',\n\tfields: {},\n})\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAEtC,IAAAC,wBAAgB,EAAC;EAC/BC,EAAE,EAAE,oBAAoB;EACxBC,IAAI,EAAE,sBAAsB;EAC5BC,WAAW,EAAE,EAAE;EACfC,MAAM,EAAE,CAAC;AACV,CAAC,CAAC;AAAAC,OAAA,cAAAN,QAAA"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
|
+
var _spruceSkillUtils = require("@sprucelabs/spruce-skill-utils");
|
|
15
|
+
var _validateAndNormalize = _interopRequireDefault(require("./validateAndNormalize.utility"));
|
|
16
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
|
+
var AbstractAction = /*#__PURE__*/function () {
|
|
19
|
+
function AbstractAction(options) {
|
|
20
|
+
(0, _classCallCheck2["default"])(this, AbstractAction);
|
|
21
|
+
(0, _defineProperty2["default"])(this, "optionsSchema", void 0);
|
|
22
|
+
(0, _defineProperty2["default"])(this, "commandAliases", []);
|
|
23
|
+
(0, _defineProperty2["default"])(this, "invocationMessage", void 0);
|
|
24
|
+
(0, _defineProperty2["default"])(this, "parent", void 0);
|
|
25
|
+
(0, _defineProperty2["default"])(this, "features", void 0);
|
|
26
|
+
(0, _defineProperty2["default"])(this, "cwd", void 0);
|
|
27
|
+
(0, _defineProperty2["default"])(this, "templates", void 0);
|
|
28
|
+
(0, _defineProperty2["default"])(this, "ui", void 0);
|
|
29
|
+
(0, _defineProperty2["default"])(this, "emitter", void 0);
|
|
30
|
+
(0, _defineProperty2["default"])(this, "serviceFactory", void 0);
|
|
31
|
+
(0, _defineProperty2["default"])(this, "storeFactory", void 0);
|
|
32
|
+
(0, _defineProperty2["default"])(this, "writerFactory", void 0);
|
|
33
|
+
(0, _defineProperty2["default"])(this, "apiClientFactory", void 0);
|
|
34
|
+
(0, _defineProperty2["default"])(this, "actionExecuter", void 0);
|
|
35
|
+
this.cwd = options.cwd;
|
|
36
|
+
this.templates = options.templates;
|
|
37
|
+
this.parent = options.parent;
|
|
38
|
+
this.storeFactory = options.storeFactory;
|
|
39
|
+
this.serviceFactory = options.serviceFactory;
|
|
40
|
+
this.features = options.featureInstaller;
|
|
41
|
+
this.ui = options.ui;
|
|
42
|
+
this.writerFactory = options.writerFactory;
|
|
43
|
+
this.apiClientFactory = options.apiClientFactory;
|
|
44
|
+
this.emitter = options.emitter;
|
|
45
|
+
this.actionExecuter = options.actionExecuter;
|
|
46
|
+
}
|
|
47
|
+
(0, _createClass2["default"])(AbstractAction, [{
|
|
48
|
+
key: "Action",
|
|
49
|
+
value: function Action(featureCode, actionCode) {
|
|
50
|
+
return this.actionExecuter.Action(featureCode, actionCode);
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
key: "Service",
|
|
54
|
+
value: function (_Service) {
|
|
55
|
+
function Service(_x, _x2) {
|
|
56
|
+
return _Service.apply(this, arguments);
|
|
57
|
+
}
|
|
58
|
+
Service.toString = function () {
|
|
59
|
+
return _Service.toString();
|
|
60
|
+
};
|
|
61
|
+
return Service;
|
|
62
|
+
}(function (type, cwd) {
|
|
63
|
+
return this.serviceFactory.Service(cwd !== null && cwd !== void 0 ? cwd : this.cwd, type);
|
|
64
|
+
})
|
|
65
|
+
}, {
|
|
66
|
+
key: "Store",
|
|
67
|
+
value: function Store(code, options) {
|
|
68
|
+
return this.storeFactory.Store(code, _objectSpread({
|
|
69
|
+
cwd: this.cwd
|
|
70
|
+
}, options));
|
|
71
|
+
}
|
|
72
|
+
}, {
|
|
73
|
+
key: "Writer",
|
|
74
|
+
value: function Writer(code, options) {
|
|
75
|
+
return this.writerFactory.Writer(code, _objectSpread({
|
|
76
|
+
fileDescriptions: this.parent.fileDescriptions,
|
|
77
|
+
linter: this.Service('lint')
|
|
78
|
+
}, options));
|
|
79
|
+
}
|
|
80
|
+
}, {
|
|
81
|
+
key: "getFeature",
|
|
82
|
+
value: function getFeature(code) {
|
|
83
|
+
return this.features.getFeature(code);
|
|
84
|
+
}
|
|
85
|
+
}, {
|
|
86
|
+
key: "getFeatureCodes",
|
|
87
|
+
value: function getFeatureCodes() {
|
|
88
|
+
return this.features.getAllCodes();
|
|
89
|
+
}
|
|
90
|
+
}, {
|
|
91
|
+
key: "validateAndNormalizeOptions",
|
|
92
|
+
value: function validateAndNormalizeOptions(options) {
|
|
93
|
+
var schema = this.optionsSchema;
|
|
94
|
+
return _validateAndNormalize["default"].validateAndNormalize(schema, options);
|
|
95
|
+
}
|
|
96
|
+
}, {
|
|
97
|
+
key: "resolveVersion",
|
|
98
|
+
value: function () {
|
|
99
|
+
var _resolveVersion = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(userSuppliedVersion, resolvedDestination) {
|
|
100
|
+
var resolvedVersion;
|
|
101
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
102
|
+
while (1) switch (_context.prev = _context.next) {
|
|
103
|
+
case 0:
|
|
104
|
+
resolvedVersion = _spruceSkillUtils.versionUtil.generateVersion(userSuppliedVersion !== null && userSuppliedVersion !== void 0 ? userSuppliedVersion : undefined).constValue;
|
|
105
|
+
if (userSuppliedVersion) {
|
|
106
|
+
_context.next = 5;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
_context.next = 4;
|
|
110
|
+
return this.askForVersionIfTodaysVersionDoesNotExist(resolvedDestination, resolvedVersion);
|
|
111
|
+
case 4:
|
|
112
|
+
resolvedVersion = _context.sent;
|
|
113
|
+
case 5:
|
|
114
|
+
_spruceSkillUtils.versionUtil.assertValidVersion(resolvedVersion);
|
|
115
|
+
return _context.abrupt("return", _spruceSkillUtils.versionUtil.generateVersion(resolvedVersion).dirValue);
|
|
116
|
+
case 7:
|
|
117
|
+
case "end":
|
|
118
|
+
return _context.stop();
|
|
119
|
+
}
|
|
120
|
+
}, _callee, this);
|
|
121
|
+
}));
|
|
122
|
+
function resolveVersion(_x3, _x4) {
|
|
123
|
+
return _resolveVersion.apply(this, arguments);
|
|
124
|
+
}
|
|
125
|
+
return resolveVersion;
|
|
126
|
+
}()
|
|
127
|
+
}, {
|
|
128
|
+
key: "askForVersionIfTodaysVersionDoesNotExist",
|
|
129
|
+
value: function () {
|
|
130
|
+
var _askForVersionIfTodaysVersionDoesNotExist = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(resolvedDestination, fallbackVersion) {
|
|
131
|
+
var versions, todaysVersion, version, alreadyHasToday, choices;
|
|
132
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
133
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
134
|
+
case 0:
|
|
135
|
+
versions = _spruceSkillUtils.versionUtil.getAllVersions(resolvedDestination);
|
|
136
|
+
todaysVersion = _spruceSkillUtils.versionUtil.generateVersion();
|
|
137
|
+
version = fallbackVersion;
|
|
138
|
+
alreadyHasToday = !!versions.find(function (version) {
|
|
139
|
+
return version.dirValue === todaysVersion.dirValue;
|
|
140
|
+
});
|
|
141
|
+
choices = [];
|
|
142
|
+
if (!alreadyHasToday) {
|
|
143
|
+
choices.push({
|
|
144
|
+
label: 'New Version',
|
|
145
|
+
value: todaysVersion.dirValue
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
choices.push.apply(choices, (0, _toConsumableArray2["default"])(versions.sort(function (a, b) {
|
|
149
|
+
return a.intValue > b.intValue ? -1 : 1;
|
|
150
|
+
}).map(function (version) {
|
|
151
|
+
return {
|
|
152
|
+
value: version.dirValue,
|
|
153
|
+
label: version.dirValue
|
|
154
|
+
};
|
|
155
|
+
})));
|
|
156
|
+
if (!(versions.length > 0)) {
|
|
157
|
+
_context2.next = 11;
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
_context2.next = 10;
|
|
161
|
+
return this.ui.prompt({
|
|
162
|
+
type: 'select',
|
|
163
|
+
label: 'Version',
|
|
164
|
+
hint: 'Confirm which version you want to use?',
|
|
165
|
+
isRequired: true,
|
|
166
|
+
options: {
|
|
167
|
+
choices: choices
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
case 10:
|
|
171
|
+
version = _context2.sent;
|
|
172
|
+
case 11:
|
|
173
|
+
return _context2.abrupt("return", version);
|
|
174
|
+
case 12:
|
|
175
|
+
case "end":
|
|
176
|
+
return _context2.stop();
|
|
177
|
+
}
|
|
178
|
+
}, _callee2, this);
|
|
179
|
+
}));
|
|
180
|
+
function askForVersionIfTodaysVersionDoesNotExist(_x5, _x6) {
|
|
181
|
+
return _askForVersionIfTodaysVersionDoesNotExist.apply(this, arguments);
|
|
182
|
+
}
|
|
183
|
+
return askForVersionIfTodaysVersionDoesNotExist;
|
|
184
|
+
}()
|
|
185
|
+
}, {
|
|
186
|
+
key: "connectToApi",
|
|
187
|
+
value: function () {
|
|
188
|
+
var _connectToApi = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(options) {
|
|
189
|
+
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
190
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
191
|
+
case 0:
|
|
192
|
+
return _context3.abrupt("return", this.apiClientFactory(options));
|
|
193
|
+
case 1:
|
|
194
|
+
case "end":
|
|
195
|
+
return _context3.stop();
|
|
196
|
+
}
|
|
197
|
+
}, _callee3, this);
|
|
198
|
+
}));
|
|
199
|
+
function connectToApi(_x7) {
|
|
200
|
+
return _connectToApi.apply(this, arguments);
|
|
201
|
+
}
|
|
202
|
+
return connectToApi;
|
|
203
|
+
}()
|
|
204
|
+
}]);
|
|
205
|
+
return AbstractAction;
|
|
206
|
+
}();
|
|
207
|
+
exports["default"] = AbstractAction;
|
|
208
|
+
//# sourceMappingURL=AbstractAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractAction.js","names":["_spruceSkillUtils","require","_validateAndNormalize","_interopRequireDefault","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractAction","options","_classCallCheck2","cwd","templates","parent","storeFactory","serviceFactory","features","featureInstaller","ui","writerFactory","apiClientFactory","emitter","actionExecuter","_createClass2","key","value","Action","featureCode","actionCode","_Service","Service","_x","_x2","toString","type","Store","code","Writer","fileDescriptions","linter","getFeature","getFeatureCodes","getAllCodes","validateAndNormalizeOptions","schema","optionsSchema","validateAndNormalizer","validateAndNormalize","_resolveVersion","_asyncToGenerator2","_regenerator","mark","_callee","userSuppliedVersion","resolvedDestination","resolvedVersion","wrap","_callee$","_context","prev","next","versionUtil","generateVersion","undefined","constValue","askForVersionIfTodaysVersionDoesNotExist","sent","assertValidVersion","abrupt","dirValue","stop","resolveVersion","_x3","_x4","_askForVersionIfTodaysVersionDoesNotExist","_callee2","fallbackVersion","versions","todaysVersion","version","alreadyHasToday","choices","_callee2$","_context2","getAllVersions","find","label","_toConsumableArray2","sort","a","b","intValue","map","prompt","hint","isRequired","_x5","_x6","_connectToApi","_callee3","_callee3$","_context3","connectToApi","_x7","exports"],"sources":["../../src/features/AbstractAction.ts"],"sourcesContent":["import { Schema, SchemaValues, SchemaPartialValues } from '@sprucelabs/schema'\nimport { versionUtil } from '@sprucelabs/spruce-skill-utils'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tServiceProvider,\n\tService,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport AbstractFeature from './AbstractFeature'\nimport ActionExecuter from './ActionExecuter'\nimport FeatureInstaller from './FeatureInstaller'\nimport {\n\tFeatureAction,\n\tFeatureActionResponse,\n\tActionOptions,\n\tFeatureCode,\n} from './features.types'\nimport validateAndNormalizer from './validateAndNormalize.utility'\n\nexport default abstract class AbstractAction<S extends Schema = Schema>\n\timplements FeatureAction<S>, ServiceProvider\n{\n\tpublic abstract optionsSchema: S\n\tpublic readonly commandAliases: string[] = []\n\tpublic abstract invocationMessage: string\n\n\tprotected parent: AbstractFeature\n\tprotected features: FeatureInstaller\n\tprotected cwd: string\n\tprotected templates: Templates\n\tprotected ui: GraphicsInterface\n\tprotected emitter: GlobalEmitter\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writerFactory: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\n\tpublic constructor(options: ActionOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.templates = options.templates\n\t\tthis.parent = options.parent\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.writerFactory = options.writerFactory\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.emitter = options.emitter\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tpublic abstract execute(\n\t\toptions: SchemaValues<S>\n\t): Promise<FeatureActionResponse>\n\n\tprotected Action(featureCode: FeatureCode, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode, actionCode)\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tprotected Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writerFactory.Writer(code, {\n\t\t\tfileDescriptions: this.parent.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tprotected getFeature<C extends FeatureCode>(code: C) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tprotected getFeatureCodes(): FeatureCode[] {\n\t\treturn this.features.getAllCodes()\n\t}\n\n\tprotected validateAndNormalizeOptions(options: SchemaPartialValues<S>) {\n\t\tconst schema = this.optionsSchema\n\t\treturn validateAndNormalizer.validateAndNormalize(schema, options)\n\t}\n\n\tprotected async resolveVersion(\n\t\tuserSuppliedVersion: string | null | undefined,\n\t\tresolvedDestination: string\n\t) {\n\t\tlet resolvedVersion = versionUtil.generateVersion(\n\t\t\tuserSuppliedVersion ?? undefined\n\t\t).constValue\n\n\t\tif (!userSuppliedVersion) {\n\t\t\tresolvedVersion = await this.askForVersionIfTodaysVersionDoesNotExist(\n\t\t\t\tresolvedDestination,\n\t\t\t\tresolvedVersion\n\t\t\t)\n\t\t}\n\t\tversionUtil.assertValidVersion(resolvedVersion)\n\n\t\treturn versionUtil.generateVersion(resolvedVersion).dirValue\n\t}\n\n\tprivate async askForVersionIfTodaysVersionDoesNotExist(\n\t\tresolvedDestination: string,\n\t\tfallbackVersion: string\n\t) {\n\t\tconst versions = versionUtil.getAllVersions(resolvedDestination)\n\t\tconst todaysVersion = versionUtil.generateVersion()\n\n\t\tlet version = fallbackVersion\n\t\tconst alreadyHasToday = !!versions.find(\n\t\t\t(version) => version.dirValue === todaysVersion.dirValue\n\t\t)\n\t\tconst choices = []\n\n\t\tif (!alreadyHasToday) {\n\t\t\tchoices.push({\n\t\t\t\tlabel: 'New Version',\n\t\t\t\tvalue: todaysVersion.dirValue,\n\t\t\t})\n\t\t}\n\n\t\tchoices.push(\n\t\t\t...versions\n\t\t\t\t.sort((a, b) => {\n\t\t\t\t\treturn a.intValue > b.intValue ? -1 : 1\n\t\t\t\t})\n\t\t\t\t.map((version) => ({\n\t\t\t\t\tvalue: version.dirValue,\n\t\t\t\t\tlabel: version.dirValue,\n\t\t\t\t}))\n\t\t)\n\n\t\tif (versions.length > 0) {\n\t\t\tversion = await this.ui.prompt({\n\t\t\t\ttype: 'select',\n\t\t\t\tlabel: 'Version',\n\t\t\t\thint: 'Confirm which version you want to use?',\n\t\t\t\tisRequired: true,\n\t\t\t\toptions: {\n\t\t\t\t\tchoices,\n\t\t\t\t},\n\t\t\t})\n\t\t}\n\t\treturn version\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\treturn this.apiClientFactory(options)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,iBAAA,GAAAC,OAAA;AA8BA,IAAAC,qBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAkE,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA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ED,SAAAgD,SACC1F,OAAiC;QAAA,OAAAyC,YAAA,YAAAM,IAAA,UAAA4C,UAAAC,SAAA;UAAA,kBAAAA,SAAA,CAAA1C,IAAA,GAAA0C,SAAA,CAAAzC,IAAA;YAAA;cAAA,OAAAyC,SAAA,CAAAjC,MAAA,WAE1B,IAAI,CAAChD,gBAAgB,CAACX,OAAO,CAAC;YAAA;YAAA;cAAA,OAAA4F,SAAA,CAAA/B,IAAA;UAAA;QAAA,GAAA6B,QAAA;MAAA,CACrC;MAAA,SAAAG,aAAAC,GAAA;QAAA,OAAAL,aAAA,CAAAnG,KAAA,OAAAE,SAAA;MAAA;MAAA,OAAAqG,YAAA;IAAA;EAAA;EAAA,OAAA9F,cAAA;AAAA;AAAAgG,OAAA,cAAAhG,cAAA"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
var _path = _interopRequireDefault(require("path"));
|
|
14
|
+
var _globby = _interopRequireDefault(require("@sprucelabs/globby"));
|
|
15
|
+
var _WriterFactory = _interopRequireDefault(require("../writers/WriterFactory"));
|
|
16
|
+
var _feature = _interopRequireDefault(require("./feature.utilities"));
|
|
17
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
18
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
19
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
20
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
21
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22
|
+
var AbstractFeature = /*#__PURE__*/function () {
|
|
23
|
+
function AbstractFeature(options) {
|
|
24
|
+
(0, _classCallCheck2["default"])(this, AbstractFeature);
|
|
25
|
+
(0, _defineProperty2["default"])(this, "description", void 0);
|
|
26
|
+
(0, _defineProperty2["default"])(this, "dependencies", []);
|
|
27
|
+
(0, _defineProperty2["default"])(this, "packageDependencies", []);
|
|
28
|
+
(0, _defineProperty2["default"])(this, "optionsSchema", void 0);
|
|
29
|
+
(0, _defineProperty2["default"])(this, "fileDescriptions", []);
|
|
30
|
+
(0, _defineProperty2["default"])(this, "code", void 0);
|
|
31
|
+
(0, _defineProperty2["default"])(this, "nameReadable", void 0);
|
|
32
|
+
(0, _defineProperty2["default"])(this, "installOrderWeight", 0);
|
|
33
|
+
(0, _defineProperty2["default"])(this, "cwd", void 0);
|
|
34
|
+
(0, _defineProperty2["default"])(this, "scripts", {});
|
|
35
|
+
(0, _defineProperty2["default"])(this, "actionsDir", void 0);
|
|
36
|
+
(0, _defineProperty2["default"])(this, "actions", void 0);
|
|
37
|
+
(0, _defineProperty2["default"])(this, "templates", void 0);
|
|
38
|
+
(0, _defineProperty2["default"])(this, "emitter", void 0);
|
|
39
|
+
(0, _defineProperty2["default"])(this, "features", void 0);
|
|
40
|
+
(0, _defineProperty2["default"])(this, "ui", void 0);
|
|
41
|
+
(0, _defineProperty2["default"])(this, "serviceFactory", void 0);
|
|
42
|
+
(0, _defineProperty2["default"])(this, "storeFactory", void 0);
|
|
43
|
+
(0, _defineProperty2["default"])(this, "writers", void 0);
|
|
44
|
+
(0, _defineProperty2["default"])(this, "apiClientFactory", void 0);
|
|
45
|
+
(0, _defineProperty2["default"])(this, "actionExecuter", void 0);
|
|
46
|
+
(0, _defineProperty2["default"])(this, "actionCodes", void 0);
|
|
47
|
+
this.cwd = options.cwd;
|
|
48
|
+
this.serviceFactory = options.serviceFactory;
|
|
49
|
+
this.templates = options.templates;
|
|
50
|
+
this.actions = options.actionFactory;
|
|
51
|
+
this.storeFactory = options.storeFactory;
|
|
52
|
+
this.writers = new _WriterFactory["default"]({
|
|
53
|
+
templates: this.templates,
|
|
54
|
+
ui: options.ui,
|
|
55
|
+
settings: this.Service('settings'),
|
|
56
|
+
linter: this.Service('lint')
|
|
57
|
+
});
|
|
58
|
+
this.emitter = options.emitter;
|
|
59
|
+
this.features = options.featureInstaller;
|
|
60
|
+
this.ui = options.ui;
|
|
61
|
+
this.apiClientFactory = options.apiClientFactory;
|
|
62
|
+
this.actionExecuter = options.actionExecuter;
|
|
63
|
+
}
|
|
64
|
+
(0, _createClass2["default"])(AbstractFeature, [{
|
|
65
|
+
key: "Action",
|
|
66
|
+
value: function Action(featureCode, actionCode) {
|
|
67
|
+
return this.actionExecuter.Action(featureCode, actionCode);
|
|
68
|
+
}
|
|
69
|
+
}, {
|
|
70
|
+
key: "beforePackageInstall",
|
|
71
|
+
value: function () {
|
|
72
|
+
var _beforePackageInstall = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_options) {
|
|
73
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
74
|
+
while (1) switch (_context.prev = _context.next) {
|
|
75
|
+
case 0:
|
|
76
|
+
return _context.abrupt("return", {});
|
|
77
|
+
case 1:
|
|
78
|
+
case "end":
|
|
79
|
+
return _context.stop();
|
|
80
|
+
}
|
|
81
|
+
}, _callee);
|
|
82
|
+
}));
|
|
83
|
+
function beforePackageInstall(_x3) {
|
|
84
|
+
return _beforePackageInstall.apply(this, arguments);
|
|
85
|
+
}
|
|
86
|
+
return beforePackageInstall;
|
|
87
|
+
}()
|
|
88
|
+
}, {
|
|
89
|
+
key: "afterPackageInstall",
|
|
90
|
+
value: function () {
|
|
91
|
+
var _afterPackageInstall = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(_options) {
|
|
92
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
93
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
94
|
+
case 0:
|
|
95
|
+
return _context2.abrupt("return", {});
|
|
96
|
+
case 1:
|
|
97
|
+
case "end":
|
|
98
|
+
return _context2.stop();
|
|
99
|
+
}
|
|
100
|
+
}, _callee2);
|
|
101
|
+
}));
|
|
102
|
+
function afterPackageInstall(_x4) {
|
|
103
|
+
return _afterPackageInstall.apply(this, arguments);
|
|
104
|
+
}
|
|
105
|
+
return afterPackageInstall;
|
|
106
|
+
}()
|
|
107
|
+
}, {
|
|
108
|
+
key: "Service",
|
|
109
|
+
value: function (_Service) {
|
|
110
|
+
function Service(_x, _x2) {
|
|
111
|
+
return _Service.apply(this, arguments);
|
|
112
|
+
}
|
|
113
|
+
Service.toString = function () {
|
|
114
|
+
return _Service.toString();
|
|
115
|
+
};
|
|
116
|
+
return Service;
|
|
117
|
+
}(function (type, cwd) {
|
|
118
|
+
return this.serviceFactory.Service(cwd !== null && cwd !== void 0 ? cwd : this.cwd, type);
|
|
119
|
+
})
|
|
120
|
+
}, {
|
|
121
|
+
key: "Writer",
|
|
122
|
+
value: function Writer(code, options) {
|
|
123
|
+
return this.writers.Writer(code, _objectSpread({
|
|
124
|
+
fileDescriptions: this.fileDescriptions,
|
|
125
|
+
linter: this.Service('lint')
|
|
126
|
+
}, options));
|
|
127
|
+
}
|
|
128
|
+
}, {
|
|
129
|
+
key: "getFeature",
|
|
130
|
+
value: function getFeature(code) {
|
|
131
|
+
return this.features.getFeature(code);
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
key: "getAvailableActionCodes",
|
|
135
|
+
value: function () {
|
|
136
|
+
var _getAvailableActionCodes = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
|
|
137
|
+
var matches, codes, _iterator, _step, match, generatedCode;
|
|
138
|
+
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
139
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
140
|
+
case 0:
|
|
141
|
+
if (this.actionsDir) {
|
|
142
|
+
_context3.next = 2;
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
return _context3.abrupt("return", []);
|
|
146
|
+
case 2:
|
|
147
|
+
if (this.actionCodes) {
|
|
148
|
+
_context3.next = 10;
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
_context3.next = 5;
|
|
152
|
+
return (0, _globby["default"])(_path["default"].join(this.actionsDir, '**/*Action.js'));
|
|
153
|
+
case 5:
|
|
154
|
+
matches = _context3.sent;
|
|
155
|
+
codes = [];
|
|
156
|
+
_iterator = _createForOfIteratorHelper(matches);
|
|
157
|
+
try {
|
|
158
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
159
|
+
match = _step.value;
|
|
160
|
+
generatedCode = _feature["default"].filePathToActionCode(match);
|
|
161
|
+
codes.push(generatedCode);
|
|
162
|
+
}
|
|
163
|
+
} catch (err) {
|
|
164
|
+
_iterator.e(err);
|
|
165
|
+
} finally {
|
|
166
|
+
_iterator.f();
|
|
167
|
+
}
|
|
168
|
+
this.actionCodes = codes;
|
|
169
|
+
case 10:
|
|
170
|
+
return _context3.abrupt("return", this.actionCodes);
|
|
171
|
+
case 11:
|
|
172
|
+
case "end":
|
|
173
|
+
return _context3.stop();
|
|
174
|
+
}
|
|
175
|
+
}, _callee3, this);
|
|
176
|
+
}));
|
|
177
|
+
function getAvailableActionCodes() {
|
|
178
|
+
return _getAvailableActionCodes.apply(this, arguments);
|
|
179
|
+
}
|
|
180
|
+
return getAvailableActionCodes;
|
|
181
|
+
}()
|
|
182
|
+
}, {
|
|
183
|
+
key: "Store",
|
|
184
|
+
value: function Store(code, options) {
|
|
185
|
+
return this.storeFactory.Store(code, _objectSpread({
|
|
186
|
+
cwd: this.cwd
|
|
187
|
+
}, options));
|
|
188
|
+
}
|
|
189
|
+
}, {
|
|
190
|
+
key: "connectToApi",
|
|
191
|
+
value: function () {
|
|
192
|
+
var _connectToApi = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(options) {
|
|
193
|
+
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
194
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
195
|
+
case 0:
|
|
196
|
+
return _context4.abrupt("return", this.apiClientFactory(options));
|
|
197
|
+
case 1:
|
|
198
|
+
case "end":
|
|
199
|
+
return _context4.stop();
|
|
200
|
+
}
|
|
201
|
+
}, _callee4, this);
|
|
202
|
+
}));
|
|
203
|
+
function connectToApi(_x5) {
|
|
204
|
+
return _connectToApi.apply(this, arguments);
|
|
205
|
+
}
|
|
206
|
+
return connectToApi;
|
|
207
|
+
}()
|
|
208
|
+
}]);
|
|
209
|
+
return AbstractFeature;
|
|
210
|
+
}();
|
|
211
|
+
exports["default"] = AbstractFeature;
|
|
212
|
+
//# sourceMappingURL=AbstractFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractFeature.js","names":["_path","_interopRequireDefault","require","_globby","_WriterFactory","_feature","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","normalCompletion","didErr","err","call","step","next","_e2","minLen","_arrayLikeToArray","Object","prototype","toString","slice","constructor","name","from","test","arr","len","arr2","ownKeys","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","AbstractFeature","options","_classCallCheck2","cwd","serviceFactory","templates","actions","actionFactory","storeFactory","writers","WriterFactory","ui","settings","Service","linter","emitter","features","featureInstaller","apiClientFactory","actionExecuter","_createClass2","key","Action","featureCode","actionCode","_beforePackageInstall","_asyncToGenerator2","_regenerator","mark","_callee","_options","wrap","_callee$","_context","prev","abrupt","stop","beforePackageInstall","_x3","_afterPackageInstall","_callee2","_callee2$","_context2","afterPackageInstall","_x4","_Service","_x","_x2","type","Writer","code","fileDescriptions","getFeature","_getAvailableActionCodes","_callee3","matches","codes","_iterator","_step","match","generatedCode","_callee3$","_context3","actionsDir","actionCodes","globby","pathUtil","join","sent","featuresUtil","filePathToActionCode","getAvailableActionCodes","Store","_connectToApi","_callee4","_callee4$","_context4","connectToApi","_x5","exports"],"sources":["../../src/features/AbstractFeature.ts"],"sourcesContent":["import pathUtil from 'path'\nimport globby from '@sprucelabs/globby'\nimport { Schema, SchemaValues } from '@sprucelabs/schema'\nimport { Templates } from '@sprucelabs/spruce-templates'\nimport { GlobalEmitter } from '../GlobalEmitter'\nimport ServiceFactory, {\n\tService,\n\tServiceProvider,\n\tServiceMap,\n} from '../services/ServiceFactory'\nimport StoreFactory, {\n\tStoreCode,\n\tCreateStoreOptions,\n\tStoreMap,\n} from '../stores/StoreFactory'\nimport {\n\tApiClient,\n\tApiClientFactory,\n\tApiClientFactoryOptions,\n} from '../types/apiClient.types'\nimport { NpmPackage, GeneratedFile, FileDescription } from '../types/cli.types'\nimport { GraphicsInterface } from '../types/cli.types'\nimport { WriterOptions } from '../writers/AbstractWriter'\nimport WriterFactory, { WriterCode, WriterMap } from '../writers/WriterFactory'\nimport ActionExecuter from './ActionExecuter'\nimport ActionFactory from './ActionFactory'\nimport featuresUtil from './feature.utilities'\nimport FeatureInstaller from './FeatureInstaller'\nimport { FeatureCode } from './features.types'\n\nexport default abstract class AbstractFeature<\n\tS extends Schema | undefined = Schema | undefined,\n> implements ServiceProvider\n{\n\tpublic abstract description: string\n\tpublic readonly dependencies: FeatureDependency[] = []\n\tpublic readonly packageDependencies: NpmPackage[] = []\n\tpublic readonly optionsSchema?: S\n\tpublic readonly fileDescriptions: FileDescription[] = []\n\n\tpublic isInstalled?(): Promise<boolean>\n\n\tpublic abstract readonly code: FeatureCode\n\tpublic abstract readonly nameReadable: string\n\tpublic readonly installOrderWeight: number = 0\n\n\tpublic cwd: string\n\tpublic scripts: Record<string, any> = {}\n\tpublic actionsDir: string | undefined\n\tprotected actions?: ActionFactory\n\tprotected templates: Templates\n\tprotected emitter: GlobalEmitter\n\tprotected features: FeatureInstaller\n\tprotected ui: GraphicsInterface\n\n\tprivate serviceFactory: ServiceFactory\n\tprivate storeFactory: StoreFactory\n\tprivate writers: WriterFactory\n\tprivate apiClientFactory: ApiClientFactory\n\tprivate actionExecuter: ActionExecuter\n\tprivate actionCodes?: string[]\n\n\tpublic constructor(options: FeatureOptions) {\n\t\tthis.cwd = options.cwd\n\t\tthis.serviceFactory = options.serviceFactory\n\t\tthis.templates = options.templates\n\t\tthis.actions = options.actionFactory\n\t\tthis.storeFactory = options.storeFactory\n\t\tthis.writers = new WriterFactory({\n\t\t\ttemplates: this.templates,\n\t\t\tui: options.ui,\n\t\t\tsettings: this.Service('settings'),\n\t\t\tlinter: this.Service('lint'),\n\t\t})\n\t\tthis.emitter = options.emitter\n\t\tthis.features = options.featureInstaller\n\t\tthis.ui = options.ui\n\t\tthis.apiClientFactory = options.apiClientFactory\n\t\tthis.actionExecuter = options.actionExecuter\n\t}\n\n\tprotected Action(featureCode: string, actionCode: string) {\n\t\treturn this.actionExecuter.Action(featureCode as any, actionCode)\n\t}\n\n\tpublic async beforePackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic async afterPackageInstall(\n\t\t_options: S extends Schema ? SchemaValues<S> : undefined\n\t): Promise<InstallResults> {\n\t\treturn {}\n\t}\n\n\tpublic Service<S extends Service>(type: S, cwd?: string): ServiceMap[S] {\n\t\treturn this.serviceFactory.Service(cwd ?? this.cwd, type)\n\t}\n\n\tpublic Writer<C extends WriterCode>(\n\t\tcode: C,\n\t\toptions?: Partial<WriterOptions>\n\t): WriterMap[C] {\n\t\treturn this.writers.Writer(code, {\n\t\t\tfileDescriptions: this.fileDescriptions,\n\t\t\tlinter: this.Service('lint'),\n\t\t\t...options,\n\t\t})\n\t}\n\n\tpublic getFeature<Code extends FeatureCode>(code: Code) {\n\t\treturn this.features.getFeature(code)\n\t}\n\n\tpublic async getAvailableActionCodes(): Promise<string[]> {\n\t\tif (!this.actionsDir) {\n\t\t\treturn []\n\t\t}\n\n\t\tif (!this.actionCodes) {\n\t\t\tconst matches: string[] = await globby(\n\t\t\t\tpathUtil.join(this.actionsDir, '**/*Action.js')\n\t\t\t)\n\n\t\t\tconst codes: string[] = []\n\n\t\t\tfor (const match of matches) {\n\t\t\t\tconst generatedCode = featuresUtil.filePathToActionCode(match)\n\t\t\t\tcodes.push(generatedCode)\n\t\t\t}\n\n\t\t\tthis.actionCodes = codes\n\t\t}\n\n\t\treturn this.actionCodes\n\t}\n\n\tpublic Store<C extends StoreCode>(\n\t\tcode: C,\n\t\toptions?: CreateStoreOptions<C>\n\t): StoreMap[C] {\n\t\treturn this.storeFactory.Store(code, { cwd: this.cwd, ...(options as any) })\n\t}\n\n\tprotected async connectToApi(\n\t\toptions?: ApiClientFactoryOptions\n\t): Promise<ApiClient> {\n\t\treturn this.apiClientFactory(options)\n\t}\n}\n\nexport interface InstallResults {\n\tfiles?: GeneratedFile[]\n\tcwd?: string\n}\n\nexport interface FeatureDependency {\n\tisRequired: boolean\n\tcode: FeatureCode\n}\n\nexport interface FeatureOptions {\n\tcwd: string\n\tserviceFactory: ServiceFactory\n\ttemplates: Templates\n\tstoreFactory: StoreFactory\n\tactionFactory?: ActionFactory\n\tfeatureInstaller: FeatureInstaller\n\tui: GraphicsInterface\n\temitter: GlobalEmitter\n\tapiClientFactory: ApiClientFactory\n\tactionExecuter: ActionExecuter\n}\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAsBA,IAAAE,cAAA,GAAAH,sBAAA,CAAAC,OAAA;AAGA,IAAAG,QAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAA8C,SAAAI,2BAAAC,CAAA,EAAAC,cAAA,QA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