@tsed/cli 7.1.2 → 7.2.1

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.
@@ -140,7 +140,7 @@ export class InitCmd {
140
140
  ...(await exec("generate", {
141
141
  //...ctx,
142
142
  type: "controller",
143
- route: "rest",
143
+ route: "hello",
144
144
  name: "HelloWorld",
145
145
  directory: "rest"
146
146
  })),
@@ -10,8 +10,8 @@ export default defineTemplate({
10
10
  render() {
11
11
  return `#!/usr/bin/env node
12
12
  import {CliCore} from "@tsed/cli-core";
13
- import {config} from "@/config/config.js";
14
- import * as commands from "@/bin/commands/index.js";
13
+ import {config} from "./config/config.js";
14
+ import * as commands from "./bin/commands/index.js";
15
15
 
16
16
  CliCore.bootstrap({
17
17
  ...config,
@@ -14,7 +14,7 @@ import {join} from "node:path";
14
14
  import {Configuration} from "@tsed/di";
15
15
  import {application} from "@tsed/platform-http";
16
16
 
17
- import {config} from "@/config/config.js";
17
+ import {config} from "./config/config.js";
18
18
 
19
19
  @Configuration({
20
20
  ...config,