build: update canonical-path dependency (#26719)

This new version (1.0.0) provides a typings file!

PR Close #26719
This commit is contained in:
Pete Bacon Darwin
2018-10-24 13:24:14 +01:00
committed by Kara Erickson
parent 683d53db4b
commit eb5d3088a4
10 changed files with 21 additions and 23 deletions

View File

@ -22,6 +22,7 @@ ts_library(
"@ngdeps//@types/shelljs",
"@ngdeps//@types/source-map",
"@ngdeps//@types/yargs",
"@ngdeps//canonical-path",
"@ngdeps//dependency-graph",
"@ngdeps//magic-string",
"@ngdeps//source-map",

View File

@ -1,14 +0,0 @@
declare module 'canonical-path' {
export function normalize(p: string): string;
export function join(...paths: any[]): string;
export function resolve(...pathSegments: any[]): string;
export function isAbsolute(p: string): boolean;
export function relative(from: string, to: string): string;
export function dirname(p: string): string;
export function basename(p: string, ext?: string): string;
export function extname(p: string): string;
export var sep: string;
export var delimiter: string;
export function parse(p: string): ParsedPath;
export function format(pP: ParsedPath): string;
}

View File

@ -15,6 +15,7 @@ ts_library(
"//packages/compiler-cli/src/ngtsc/transform",
"@ngdeps//@types/convert-source-map",
"@ngdeps//@types/mock-fs",
"@ngdeps//canonical-path",
"@ngdeps//magic-string",
"@ngdeps//typescript",
],