/******************************************************************************** * MIT License * © Copyright 2023 Adobe. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. ********************************************************************************/ import type { AnalyticsService } from "@adobe/ccweb-add-on-analytics"; import type { Logger } from "@adobe/ccweb-add-on-core"; import "reflect-metadata"; import type { BuildCommandOptions } from "../models/BuildCommandOptions.js"; import type { AddOnManifestReader } from "../utilities/AddOnManifestReader.js"; import type { CommandExecutor } from "./CommandExecutor.js"; import type { ScriptManager } from "./ScriptManager.js"; /** * Build command executor. */ export declare class BuildCommandExecutor implements CommandExecutor { private readonly _scriptManager; private readonly _logger; private readonly _cleanCommandExecutor; private readonly _manifestReader; private readonly _analyticsService; /** * Instantiate {@link BuildCommandExecutor}. * @param scriptManager - {@link ScriptManager} reference. * @param logger - {@link Logger} reference. * @param cleanCommandExecutor - {@link CommandExecutor} reference. * @param manifestReader - {@link AddOnManifestReader} reference. * @param analyticsService - {@link AnalyticsService} reference. * @returns Reference to a new {@link BuildCommandExecutor} instance. */ constructor(scriptManager: ScriptManager, logger: Logger, cleanCommandExecutor: CommandExecutor, manifestReader: AddOnManifestReader, analyticsService: AnalyticsService); /** * Executes the command's handler. * * @param options - {@link BuildCommandOptions}. * @returns Promise. */ execute(options: BuildCommandOptions): Promise; /** * Validate the Spectrum Web Components dependencies of the project. * Ensure that all @spectrum-web-components/* and @swc-react/* dependencies are using the same versions. */ private _validateSWCDependencies; private _validateDependencyGroup; private _onValidationFailed; private _build; } //# sourceMappingURL=BuildCommandExecutor.d.ts.map