UNPKG

@o3r/core

Version:
12 lines 821 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAddConfigurationRules = void 0; const common_1 = require("./common"); const getAddConfigurationRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useOtterConfig', options.useOtterConfig, 'Generate component with Otter configuration?', ['@o3r/core:component', '@o3r/core:component-presenter', '@o3r/core:component-container'], '@o3r/configuration', 'configuration-to-component', { ...options, skipLinter: options.skipLinter, projectName: options.projectName, exposeComponent: !!options.componentStructure && options.componentStructure !== 'full' }); exports.getAddConfigurationRules = getAddConfigurationRules; //# sourceMappingURL=configuration.js.map