diff --git a/.gitea/workflows/deploy-lib.yml b/.gitea/workflows/publish-js-sdk.yml similarity index 83% rename from .gitea/workflows/deploy-lib.yml rename to .gitea/workflows/publish-js-sdk.yml index 66f33e0..c1e6fd3 100644 --- a/.gitea/workflows/deploy-lib.yml +++ b/.gitea/workflows/publish-js-sdk.yml @@ -1,16 +1,16 @@ -name: Deploy Lib +name: Publish JS SDK on: push: branches: ["master"] - paths: [".gitea/workflows/deploy-lib.yml", "Lib/**"] + paths: [".gitea/workflows/deploy-lib.yml", "JS-SDK/**"] jobs: docker: runs-on: "ubuntu-latest" defaults: run: - working-directory: "./Lib" + working-directory: "./JS-SDK" # Steps to run steps: diff --git a/Lib/.gitignore b/JS-SDK/.gitignore similarity index 100% rename from Lib/.gitignore rename to JS-SDK/.gitignore diff --git a/Lib/.npmrc b/JS-SDK/.npmrc similarity index 100% rename from Lib/.npmrc rename to JS-SDK/.npmrc diff --git a/Lib/README.md b/JS-SDK/README.md similarity index 100% rename from Lib/README.md rename to JS-SDK/README.md diff --git a/Lib/build.mjs b/JS-SDK/build.mjs similarity index 100% rename from Lib/build.mjs rename to JS-SDK/build.mjs diff --git a/Lib/bun.lockb b/JS-SDK/bun.lockb similarity index 100% rename from Lib/bun.lockb rename to JS-SDK/bun.lockb diff --git a/Lib/package.json b/JS-SDK/package.json similarity index 100% rename from Lib/package.json rename to JS-SDK/package.json diff --git a/Lib/src/index.d.ts b/JS-SDK/src/index.d.ts similarity index 100% rename from Lib/src/index.d.ts rename to JS-SDK/src/index.d.ts diff --git a/Lib/src/index.ts b/JS-SDK/src/index.ts similarity index 100% rename from Lib/src/index.ts rename to JS-SDK/src/index.ts diff --git a/Lib/src/lib/restfulmc.ts b/JS-SDK/src/lib/restfulmc.ts similarity index 100% rename from Lib/src/lib/restfulmc.ts rename to JS-SDK/src/lib/restfulmc.ts diff --git a/Lib/src/lib/webRequest.ts b/JS-SDK/src/lib/webRequest.ts similarity index 100% rename from Lib/src/lib/webRequest.ts rename to JS-SDK/src/lib/webRequest.ts diff --git a/Lib/src/types/dns.d.ts b/JS-SDK/src/types/dns.d.ts similarity index 100% rename from Lib/src/types/dns.d.ts rename to JS-SDK/src/types/dns.d.ts diff --git a/Lib/src/types/generic.d.ts b/JS-SDK/src/types/generic.d.ts similarity index 100% rename from Lib/src/types/generic.d.ts rename to JS-SDK/src/types/generic.d.ts diff --git a/Lib/src/types/mojang.d.ts b/JS-SDK/src/types/mojang.d.ts similarity index 100% rename from Lib/src/types/mojang.d.ts rename to JS-SDK/src/types/mojang.d.ts diff --git a/Lib/src/types/player.d.ts b/JS-SDK/src/types/player.d.ts similarity index 100% rename from Lib/src/types/player.d.ts rename to JS-SDK/src/types/player.d.ts diff --git a/Lib/src/types/server.d.ts b/JS-SDK/src/types/server.d.ts similarity index 100% rename from Lib/src/types/server.d.ts rename to JS-SDK/src/types/server.d.ts diff --git a/Lib/src/types/server/bedrock-server.d.ts b/JS-SDK/src/types/server/bedrock-server.d.ts similarity index 100% rename from Lib/src/types/server/bedrock-server.d.ts rename to JS-SDK/src/types/server/bedrock-server.d.ts diff --git a/Lib/src/types/server/java-server.d.ts b/JS-SDK/src/types/server/java-server.d.ts similarity index 100% rename from Lib/src/types/server/java-server.d.ts rename to JS-SDK/src/types/server/java-server.d.ts diff --git a/Lib/test/index.test.ts b/JS-SDK/test/index.test.ts similarity index 100% rename from Lib/test/index.test.ts rename to JS-SDK/test/index.test.ts diff --git a/Lib/tsconfig.json b/JS-SDK/tsconfig.json similarity index 100% rename from Lib/tsconfig.json rename to JS-SDK/tsconfig.json diff --git a/README.md b/README.md index 746171d..8850064 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A simple, yet useful RESTful API for Minecraft utilizing Springboot. ### Table of Contents - [Getting Started](#getting-started) - - [JS Library](./Lib) + - [JS Library](./JS-SDK) - [Wiki](#wiki) - [Swagger API](#swagger-api) - [Contributing](#contributing)