Skip to content

Commit c643aa1

Browse files
committed
refactor catalog folder
1 parent 8629fc4 commit c643aa1

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CatalogModule } from "./base.js";
1+
import type { CatalogModule } from "../base.js";
22

33
export const dockerCatalog: CatalogModule = {
44
name: "docker",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CatalogModule } from "./base.js";
1+
import type { CatalogModule } from "../base.js";
22

33
export const fsCatalog: CatalogModule = {
44
name: "fs",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CatalogModule } from "./base.js";
1+
import type { CatalogModule } from "../base.js";
22

33
export const gitCatalog: CatalogModule = {
44
name: "git",

src/catalogs/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { existsSync } from "fs";
22
import { resolve } from "path";
33
import type { CatalogModule } from "./base.js";
4-
import { packageCatalog } from "./package.js";
5-
import { gitCatalog } from "./git.js";
6-
import { dockerCatalog } from "./docker.js";
7-
import { fsCatalog } from "./fs.js";
8-
import { shellCatalog } from "./shell.js";
4+
import { packageCatalog } from "./package/index.js";
5+
import { gitCatalog } from "./git/index.js";
6+
import { dockerCatalog } from "./docker/index.js";
7+
import { fsCatalog } from "./fs/index.js";
8+
import { shellCatalog } from "./shell/index.js";
99

1010
// ---------------------------------------------------------------------------
1111
// All available catalogs
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CatalogModule } from "./base.js";
1+
import type { CatalogModule } from "../base.js";
22

33
export const packageCatalog: CatalogModule = {
44
name: "package",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CatalogModule } from "./base.js";
1+
import type { CatalogModule } from "../base.js";
22

33
export const shellCatalog: CatalogModule = {
44
name: "shell",

0 commit comments

Comments
 (0)