UNPKG

rush-init-project-plugin

Version:

Rush plugin for initialize project in monorepo

27 lines 999 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getHooks = void 0; var tapable_1 = require("tapable"); var initHooks = function () { return { templates: new tapable_1.AsyncSeriesHook(['templates']), prompts: new tapable_1.AsyncSeriesHook(['promptsHookParams']), answers: new tapable_1.AsyncSeriesHook(['answers']), actions: new tapable_1.SyncHook(['actionsHookParams']), plop: new tapable_1.SyncHook(['plop']), promptQuestion: new tapable_1.HookMap(function (key) { return new tapable_1.SyncHook(['promptQuestion', 'answersSoFar']); }), defaultProjectConfiguration: new tapable_1.SyncHook([ 'defaultProjectConfiguration', 'answers' ]), done: new tapable_1.AsyncSeriesHook(['result', 'answers']) }; }; var hooks = initHooks(); var getHooks = function () { return hooks; }; exports.getHooks = getHooks; //# sourceMappingURL=hooks.js.map