mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-01-01 11:24:43 -05:00
Moved publishers to corresponding subfolders
This commit is contained in:
parent
90929a7f48
commit
ffa0520996
4 changed files with 14 additions and 14 deletions
|
@ -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 {
|
|
@ -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;
|
|
@ -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 {
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue