From 76201edd92259b3fd63b2f067ec262637f6b2fca Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Mon, 15 Apr 2024 07:20:56 -0400 Subject: [PATCH] Lib -> JS-SDK --- .../{deploy-lib.yml => publish-js-sdk.yml} | 6 +++--- {Lib => JS-SDK}/.gitignore | 0 {Lib => JS-SDK}/.npmrc | 0 {Lib => JS-SDK}/README.md | 0 {Lib => JS-SDK}/build.mjs | 0 {Lib => JS-SDK}/bun.lockb | Bin {Lib => JS-SDK}/package.json | 0 {Lib => JS-SDK}/src/index.d.ts | 0 {Lib => JS-SDK}/src/index.ts | 0 {Lib => JS-SDK}/src/lib/restfulmc.ts | 0 {Lib => JS-SDK}/src/lib/webRequest.ts | 0 {Lib => JS-SDK}/src/types/dns.d.ts | 0 {Lib => JS-SDK}/src/types/generic.d.ts | 0 {Lib => JS-SDK}/src/types/mojang.d.ts | 0 {Lib => JS-SDK}/src/types/player.d.ts | 0 {Lib => JS-SDK}/src/types/server.d.ts | 0 .../src/types/server/bedrock-server.d.ts | 0 {Lib => JS-SDK}/src/types/server/java-server.d.ts | 0 {Lib => JS-SDK}/test/index.test.ts | 0 {Lib => JS-SDK}/tsconfig.json | 0 README.md | 2 +- 21 files changed, 4 insertions(+), 4 deletions(-) rename .gitea/workflows/{deploy-lib.yml => publish-js-sdk.yml} (83%) rename {Lib => JS-SDK}/.gitignore (100%) rename {Lib => JS-SDK}/.npmrc (100%) rename {Lib => JS-SDK}/README.md (100%) rename {Lib => JS-SDK}/build.mjs (100%) rename {Lib => JS-SDK}/bun.lockb (100%) rename {Lib => JS-SDK}/package.json (100%) rename {Lib => JS-SDK}/src/index.d.ts (100%) rename {Lib => JS-SDK}/src/index.ts (100%) rename {Lib => JS-SDK}/src/lib/restfulmc.ts (100%) rename {Lib => JS-SDK}/src/lib/webRequest.ts (100%) rename {Lib => JS-SDK}/src/types/dns.d.ts (100%) rename {Lib => JS-SDK}/src/types/generic.d.ts (100%) rename {Lib => JS-SDK}/src/types/mojang.d.ts (100%) rename {Lib => JS-SDK}/src/types/player.d.ts (100%) rename {Lib => JS-SDK}/src/types/server.d.ts (100%) rename {Lib => JS-SDK}/src/types/server/bedrock-server.d.ts (100%) rename {Lib => JS-SDK}/src/types/server/java-server.d.ts (100%) rename {Lib => JS-SDK}/test/index.test.ts (100%) rename {Lib => JS-SDK}/tsconfig.json (100%) 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)