From 85108d73631cc9eb907428dad0a14ad542b7464c Mon Sep 17 00:00:00 2001 From: Adam Ruka Date: Thu, 2 May 2019 18:34:27 -0700 Subject: [PATCH] Move PhysicalNameGenerator out of the util subdirectory. --- packages/@aws-cdk/cdk/lib/index.ts | 2 +- .../@aws-cdk/cdk/lib/{util => }/physical-name-generator.ts | 4 ++-- packages/@aws-cdk/cdk/lib/resource.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename packages/@aws-cdk/cdk/lib/{util => }/physical-name-generator.ts (95%) diff --git a/packages/@aws-cdk/cdk/lib/index.ts b/packages/@aws-cdk/cdk/lib/index.ts index 000e999d52224..7170dbf9fa64f 100644 --- a/packages/@aws-cdk/cdk/lib/index.ts +++ b/packages/@aws-cdk/cdk/lib/index.ts @@ -39,4 +39,4 @@ export * from './synthesis'; export * from './resource'; export * from './physical-name'; export * from './resource-identifiers'; -export * from './util/physical-name-generator'; +export * from './physical-name-generator'; diff --git a/packages/@aws-cdk/cdk/lib/util/physical-name-generator.ts b/packages/@aws-cdk/cdk/lib/physical-name-generator.ts similarity index 95% rename from packages/@aws-cdk/cdk/lib/util/physical-name-generator.ts rename to packages/@aws-cdk/cdk/lib/physical-name-generator.ts index 421a94b7ae870..c7758e5e937c1 100644 --- a/packages/@aws-cdk/cdk/lib/util/physical-name-generator.ts +++ b/packages/@aws-cdk/cdk/lib/physical-name-generator.ts @@ -1,6 +1,6 @@ import crypto = require('crypto'); -import { IResource } from "../resource"; -import { Stack } from '../stack'; +import { IResource } from "./resource"; +import { Stack } from './stack'; export class PhysicalNameGenerator { public static from(resource: IResource): PhysicalNameGenerator { diff --git a/packages/@aws-cdk/cdk/lib/resource.ts b/packages/@aws-cdk/cdk/lib/resource.ts index 00ff552c40a07..30a22bb461328 100644 --- a/packages/@aws-cdk/cdk/lib/resource.ts +++ b/packages/@aws-cdk/cdk/lib/resource.ts @@ -1,6 +1,6 @@ import { Construct, IConstruct } from './construct'; import { PhysicalName } from './physical-name'; -import { PhysicalNameGenerator } from "./util/physical-name-generator"; +import { PhysicalNameGenerator } from "./physical-name-generator"; /** * Interface for the Resource construct.