@tsed/cli 6.1.10-rc.2 → 6.1.10-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,11 +6,11 @@ const EXT = process.env.CLI_MODE === "ts" ? "ts" : "js";
6
6
  register(pathToFileURL(join(import.meta.dirname, `../loaders/alias.hook.${EXT}`)), {
7
7
  parentURL: import.meta.dirname,
8
8
  data: {
9
- "@tsed/core": fileURLToPath(import.meta.resolve("@tsed/core")),
10
- "@tsed/di": fileURLToPath(import.meta.resolve("@tsed/di")),
11
- "@tsed/schema": fileURLToPath(import.meta.resolve("@tsed/schema")),
12
- "@tsed/cli-core": fileURLToPath(import.meta.resolve("@tsed/cli-core")),
13
- "@tsed/cli": fileURLToPath(import.meta.resolve("@tsed/cli"))
9
+ "@tsed/core": import.meta.resolve("@tsed/core"),
10
+ "@tsed/di": import.meta.resolve("@tsed/di"),
11
+ "@tsed/schema": import.meta.resolve("@tsed/schema"),
12
+ "@tsed/cli-core": import.meta.resolve("@tsed/cli-core"),
13
+ "@tsed/cli": import.meta.resolve("@tsed/cli")
14
14
  },
15
15
  transferList: []
16
16
  });
@@ -8,8 +8,6 @@ function generateAliasesResolver(aliases, options) {
8
8
  }
9
9
  let resolver = null;
10
10
  export async function initialize(aliases) {
11
- // Receives data from `register`.
12
- // console.debug("Initializing alias hook with aliases", aliases);
13
11
  resolver = generateAliasesResolver(aliases);
14
12
  }
15
13
  export function resolve(specifier, context, nextResolve) {