From 4054415a8777963775c2660c0d70b25c939f6497 Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Fri, 28 Jun 2024 11:59:26 -0700 Subject: [PATCH] - Moves the path manager to the core module. --- packages/cli/src/errors/errors.ts | 1 - packages/cli/src/managers/managers.ts | 3 +-- packages/core/src/core.module.ts | 1 + packages/core/src/errors/errors.ts | 1 + .../src/errors/path-already-contains-filename.error.ts | 0 packages/core/src/managers/managers.ts | 1 + packages/{cli => core}/src/managers/path.manager.spec.ts | 0 packages/{cli => core}/src/managers/path.manager.ts | 0 8 files changed, 4 insertions(+), 3 deletions(-) rename packages/{cli => core}/src/errors/path-already-contains-filename.error.ts (100%) create mode 100644 packages/core/src/managers/managers.ts rename packages/{cli => core}/src/managers/path.manager.spec.ts (100%) rename packages/{cli => core}/src/managers/path.manager.ts (100%) diff --git a/packages/cli/src/errors/errors.ts b/packages/cli/src/errors/errors.ts index 5027d027e..6acdc5e90 100644 --- a/packages/cli/src/errors/errors.ts +++ b/packages/cli/src/errors/errors.ts @@ -1,2 +1 @@ export * from "./command-not-found.error"; -export * from "./path-already-contains-filename.error"; \ No newline at end of file diff --git a/packages/cli/src/managers/managers.ts b/packages/cli/src/managers/managers.ts index ac51ba2d5..7785f481a 100644 --- a/packages/cli/src/managers/managers.ts +++ b/packages/cli/src/managers/managers.ts @@ -1,3 +1,2 @@ export * from "./console.manager"; -export * from "./path.manager"; -export * from "./shell.manager"; \ No newline at end of file +export * from "./shell.manager"; diff --git a/packages/core/src/core.module.ts b/packages/core/src/core.module.ts index 7ea2c9760..6253ed6c9 100644 --- a/packages/core/src/core.module.ts +++ b/packages/core/src/core.module.ts @@ -13,6 +13,7 @@ export * from "./handlers/handlers"; export * from "./interceptors/interceptors"; export * from "./interfaces/interfaces"; export * from "./listeners/listeners"; +export * from "./managers/managers"; export * from "./mappers/mappers"; export * from "./models/models"; export * from "./pipelines/pipelines"; diff --git a/packages/core/src/errors/errors.ts b/packages/core/src/errors/errors.ts index 5ec7ea36f..5cc5da345 100644 --- a/packages/core/src/errors/errors.ts +++ b/packages/core/src/errors/errors.ts @@ -6,5 +6,6 @@ export * from "./event-mapping.error"; export * from "./event-post-mapping-interception.error"; export * from "./event-pre-mapping-interception.error"; export * from "./kernel-initialization.error"; +export * from "./path-already-contains-filename.error"; export * from "./provider-registration.error"; export * from "./runtime.error"; diff --git a/packages/cli/src/errors/path-already-contains-filename.error.ts b/packages/core/src/errors/path-already-contains-filename.error.ts similarity index 100% rename from packages/cli/src/errors/path-already-contains-filename.error.ts rename to packages/core/src/errors/path-already-contains-filename.error.ts diff --git a/packages/core/src/managers/managers.ts b/packages/core/src/managers/managers.ts new file mode 100644 index 000000000..75bdfb253 --- /dev/null +++ b/packages/core/src/managers/managers.ts @@ -0,0 +1 @@ +export * from "./path.manager"; diff --git a/packages/cli/src/managers/path.manager.spec.ts b/packages/core/src/managers/path.manager.spec.ts similarity index 100% rename from packages/cli/src/managers/path.manager.spec.ts rename to packages/core/src/managers/path.manager.spec.ts diff --git a/packages/cli/src/managers/path.manager.ts b/packages/core/src/managers/path.manager.ts similarity index 100% rename from packages/cli/src/managers/path.manager.ts rename to packages/core/src/managers/path.manager.ts