Moved publishers to corresponding subfolders

This commit is contained in:
Kir_Antipov 2021-12-06 16:02:50 +03:00
parent 90929a7f48
commit ffa0520996
4 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
import { File } from "../utils/file-utils";
import ModPublisher from "./mod-publisher";
import PublisherTarget from "./publisher-target";
import { convertToCurseForgeVersions, uploadFile } from "../utils/curseforge-utils";
import { File } from "../../utils/file-utils";
import ModPublisher from "../mod-publisher";
import PublisherTarget from "../publisher-target";
import { convertToCurseForgeVersions, uploadFile } from "../../utils/curseforge-utils";
export default class CurseForgePublisher extends ModPublisher {
public get target(): PublisherTarget {

View file

@ -1,7 +1,7 @@
import Publisher from "./publisher";
import PublisherTarget from "./publisher-target";
import Publisher from "../publisher";
import PublisherTarget from "../publisher-target";
import * as github from "@actions/github";
import { File } from "../utils/file-utils";
import { File } from "../../utils/file-utils";
interface GitHubPublisherOptions {
tag?: string;

View file

@ -1,7 +1,7 @@
import { createVersion } from "../utils/modrinth-utils";
import { File } from "../utils/file-utils";
import ModPublisher from "./mod-publisher";
import PublisherTarget from "./publisher-target";
import { createVersion } from "../../utils/modrinth-utils";
import { File } from "../../utils/file-utils";
import ModPublisher from "../mod-publisher";
import PublisherTarget from "../publisher-target";
export default class ModrinthPublisher extends ModPublisher {
public get target(): PublisherTarget {

View file

@ -1,8 +1,8 @@
import Publisher from "./publisher";
import PublisherTarget from "./publisher-target";
import GitHubPublisher from "./github-publisher";
import ModrinthPublisher from "./modrinth-publisher";
import CurseForgePublisher from "./curseforge-publisher";
import GitHubPublisher from "./github/github-publisher";
import ModrinthPublisher from "./modrinth/modrinth-publisher";
import CurseForgePublisher from "./curseforge/curseforge-publisher";
import Logger from "../utils/logger";
export default class PublisherFactory {