angular-cli-ghpages
Version:
Deploy your Angular app to GitHub Pages or Cloudflare Pages directly from the Angular CLI (ng deploy)
23 lines (22 loc) • 1 kB
TypeScript
import { logging } from '@angular-devkit/core';
import { Schema } from '../deploy/schema';
export type PreparedOptions = Schema & {
dotfiles: boolean;
notfound: boolean;
nojekyll: boolean;
user?: {
name: string;
email: string;
};
};
export declare function setupMonkeypatch(logger: logging.LoggerApi): void;
export declare function cleanupMonkeypatch(): void;
export declare function mapNegatedBooleans(options: PreparedOptions, origOptions: Schema): void;
export declare function handleUserCredentials(options: PreparedOptions, origOptions: Schema, logger: logging.LoggerApi): void;
export declare function warnDeprecatedParameters(origOptions: Schema, logger: logging.LoggerApi): void;
export declare function appendCIMetadata(options: PreparedOptions): void;
export declare function injectTokenIntoRepoUrl(options: PreparedOptions): Promise<void>;
export declare function getRemoteUrl(options: Schema & {
git?: string;
remote?: string;
}): Promise<string>;