mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-01-04 04:44:50 -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 { File } from "../../utils/file-utils";
|
||||||
import ModPublisher from "./mod-publisher";
|
import ModPublisher from "../mod-publisher";
|
||||||
import PublisherTarget from "./publisher-target";
|
import PublisherTarget from "../publisher-target";
|
||||||
import { convertToCurseForgeVersions, uploadFile } from "../utils/curseforge-utils";
|
import { convertToCurseForgeVersions, uploadFile } from "../../utils/curseforge-utils";
|
||||||
|
|
||||||
export default class CurseForgePublisher extends ModPublisher {
|
export default class CurseForgePublisher extends ModPublisher {
|
||||||
public get target(): PublisherTarget {
|
public get target(): PublisherTarget {
|
|
@ -1,7 +1,7 @@
|
||||||
import Publisher from "./publisher";
|
import Publisher from "../publisher";
|
||||||
import PublisherTarget from "./publisher-target";
|
import PublisherTarget from "../publisher-target";
|
||||||
import * as github from "@actions/github";
|
import * as github from "@actions/github";
|
||||||
import { File } from "../utils/file-utils";
|
import { File } from "../../utils/file-utils";
|
||||||
|
|
||||||
interface GitHubPublisherOptions {
|
interface GitHubPublisherOptions {
|
||||||
tag?: string;
|
tag?: string;
|
|
@ -1,7 +1,7 @@
|
||||||
import { createVersion } from "../utils/modrinth-utils";
|
import { createVersion } from "../../utils/modrinth-utils";
|
||||||
import { File } from "../utils/file-utils";
|
import { File } from "../../utils/file-utils";
|
||||||
import ModPublisher from "./mod-publisher";
|
import ModPublisher from "../mod-publisher";
|
||||||
import PublisherTarget from "./publisher-target";
|
import PublisherTarget from "../publisher-target";
|
||||||
|
|
||||||
export default class ModrinthPublisher extends ModPublisher {
|
export default class ModrinthPublisher extends ModPublisher {
|
||||||
public get target(): PublisherTarget {
|
public get target(): PublisherTarget {
|
|
@ -1,8 +1,8 @@
|
||||||
import Publisher from "./publisher";
|
import Publisher from "./publisher";
|
||||||
import PublisherTarget from "./publisher-target";
|
import PublisherTarget from "./publisher-target";
|
||||||
import GitHubPublisher from "./github-publisher";
|
import GitHubPublisher from "./github/github-publisher";
|
||||||
import ModrinthPublisher from "./modrinth-publisher";
|
import ModrinthPublisher from "./modrinth/modrinth-publisher";
|
||||||
import CurseForgePublisher from "./curseforge-publisher";
|
import CurseForgePublisher from "./curseforge/curseforge-publisher";
|
||||||
import Logger from "../utils/logger";
|
import Logger from "../utils/logger";
|
||||||
|
|
||||||
export default class PublisherFactory {
|
export default class PublisherFactory {
|
||||||
|
|
Loading…
Reference in a new issue