Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
614 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 | import { Tree } from '@angular-devkit/schematics';
|
---|
| 9 | /** Adds a package to the package.json in the given host tree. */
|
---|
| 10 | export declare function addPackageToPackageJson(host: Tree, pkg: string, version: string): Tree;
|
---|
| 11 | /** Gets the version of the specified package by looking at the package.json in the given tree. */
|
---|
| 12 | export declare function getPackageVersionFromPackageJson(tree: Tree, name: string): string | null;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.