/**
 * Copyright (c) Siemens 2016 - 2025
 * SPDX-License-Identifier: MIT
 */
import { chain, schematic } from '@angular-devkit/schematics';
// You don't have to export the function as default. You can also have more than one rule factory
// per file.
export const simplSiemensMigration = (_options) => {
    return (tree, context) => {
        context.logger.info('🚀 Starting Simpl to Siemens migration...');
        const chainedRules = chain([
            schematic('migrate-ts-imports-to-siemens', _options),
            schematic('migrate-scss-imports-to-siemens', _options),
            schematic('migrate-v47-to-v48', _options)
        ]);
        return chainedRules(tree, context);
    };
};
