Skip to content

Commit

Permalink
feat: add shared lib as deps & remove config
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Sep 8, 2024
1 parent f5ff16d commit 185efad
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 47 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"dependencies": {
"@expressots/boost-ts": "1.3.0",
"@expressots/shared": "file:../shared/expressots-shared-0.0.1-beta.tgz",
"axios": "^1.7.3",
"chalk-animation": "2.0.3",
"cli-progress": "3.12.0",
Expand Down
40 changes: 0 additions & 40 deletions src/@types/config.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/@types/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/generate/utils/command-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { printError } from "../../utils/cli-ui";
import { verifyIfFileExists } from "../../utils/verify-file-exists";
import Compiler from "../../utils/compiler";
import { ExpressoConfig, Pattern } from "../../types";
import { ExpressoConfig, Pattern } from "@expressots/shared";

export const enum PathStyle {
None = "none",
Expand Down
2 changes: 1 addition & 1 deletion src/generate/utils/nonopininated-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
anyCaseToKebabCase,
anyCaseToPascalCase,
} from "@expressots/boost-ts";
import { ExpressoConfig } from "../../@types";
import { ExpressoConfig } from "@expressots/shared";

import { printGenerateSuccess } from "../../utils/cli-ui";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/generate/utils/opinionated-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
addModuleToContainer,
addModuleToContainerNestedPath,
} from "../../utils/add-module-to-container";
import { ExpressoConfig } from "../../@types";
import { ExpressoConfig } from "@expressots/shared";

/**
* Process commands for opinionated service scaffolding
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./types";
export * from "./generate";
export * from "./utils";
export * from "./new";
Expand Down
1 change: 0 additions & 1 deletion src/types.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/utils/compiler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { existsSync } from "node:fs";
import path from "path";
import { RegisterOptions, Service } from "ts-node";
import { ExpressoConfig } from "../types";
import { ExpressoConfig } from "@expressots/shared";
import { printError } from "./cli-ui";

/**
Expand Down

0 comments on commit 185efad

Please sign in to comment.