source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/packages/build_marker.d.ts@ e29cc2e

Last change on this file since e29cc2e was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 2.3 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/packages/build_marker" />
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
10import { PackageJsonUpdater } from '../writing/package_json_updater';
11import { EntryPointPackageJson, PackageJsonFormatProperties } from './entry_point';
12export declare const NGCC_VERSION = "12.2.13";
13/**
14 * Returns true if there is a format in this entry-point that was compiled with an outdated version
15 * of ngcc.
16 *
17 * @param packageJson The parsed contents of the package.json for the entry-point
18 */
19export declare function needsCleaning(packageJson: EntryPointPackageJson): boolean;
20/**
21 * Clean any build marker artifacts from the given `packageJson` object.
22 * @param packageJson The parsed contents of the package.json to modify
23 * @returns true if the package was modified during cleaning
24 */
25export declare function cleanPackageJson(packageJson: EntryPointPackageJson): boolean;
26/**
27 * Check whether ngcc has already processed a given entry-point format.
28 *
29 * @param packageJson The parsed contents of the package.json file for the entry-point.
30 * @param format The entry-point format property in the package.json to check.
31 * @returns true if the `format` in the entry-point has already been processed by this ngcc version,
32 * false otherwise.
33 */
34export declare function hasBeenProcessed(packageJson: EntryPointPackageJson, format: PackageJsonFormatProperties): boolean;
35/**
36 * Write a build marker for the given entry-point and format properties, to indicate that they have
37 * been compiled by this version of ngcc.
38 *
39 * @param pkgJsonUpdater The writer to use for updating `package.json`.
40 * @param packageJson The parsed contents of the `package.json` file for the entry-point.
41 * @param packageJsonPath The absolute path to the `package.json` file.
42 * @param properties The properties in the `package.json` of the formats for which we are writing
43 * the marker.
44 */
45export declare function markAsProcessed(pkgJsonUpdater: PackageJsonUpdater, packageJson: EntryPointPackageJson, packageJsonPath: AbsoluteFsPath, formatProperties: PackageJsonFormatProperties[]): void;
Note: See TracBrowser for help on using the repository browser.