@o3r/core
Version:
Core of the Otter Framework
39 lines • 1.19 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.allPreset = allPreset;
const schematics_1 = require("@angular-devkit/schematics");
const schematics_2 = require("@o3r/schematics");
const helpers_1 = require("./helpers");
/**
* Preset Installing all the Otter modules
* @param options
*/
function allPreset(options) {
const modules = [
'@o3r/analytics',
'@o3r/apis-manager',
'@o3r/application',
'@o3r/components',
'@o3r/configuration',
'@o3r/dynamic-content',
'@o3r/eslint-config',
'@o3r/eslint-plugin',
'@o3r/forms',
'@o3r/localization',
'@o3r/logger',
'@o3r/rules-engine',
'@o3r/store-sync',
'@o3r/style-dictionary',
'@o3r/stylelint-plugin',
'@o3r/styling'
];
const rule = (0, helpers_1.defaultPresetRuleFactory)(modules, options);
return {
modules,
rule: (0, schematics_1.chain)([
(0, schematics_2.setupSchematicsParamsForProject)({ '*:ng-add': { enableMetadataExtract: true } }, options.projectName),
rule
])
};
}
//# sourceMappingURL=all.preset.js.map