Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | /// <amd-module name="@angular/compiler-cli/ngcc/src/execution/cluster/package_json_updater" />
|
---|
9 | import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
|
---|
10 | import { JsonObject } from '../../packages/entry_point';
|
---|
11 | import { PackageJsonChange, PackageJsonUpdate, PackageJsonUpdater } from '../../writing/package_json_updater';
|
---|
12 | /**
|
---|
13 | * A `PackageJsonUpdater` for cluster workers that will send update changes to the master process so
|
---|
14 | * that it can safely handle update operations on multiple processes.
|
---|
15 | */
|
---|
16 | export declare class ClusterWorkerPackageJsonUpdater implements PackageJsonUpdater {
|
---|
17 | constructor();
|
---|
18 | createUpdate(): PackageJsonUpdate;
|
---|
19 | /**
|
---|
20 | * Apply the changes in-memory (if necessary) and send a message to the master process.
|
---|
21 | */
|
---|
22 | writeChanges(changes: PackageJsonChange[], packageJsonPath: AbsoluteFsPath, preExistingParsedJson?: JsonObject): void;
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.