Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Deivu/Shoukaku
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Dec 19, 2024
2 parents 905d1ac + 9319845 commit 7cd679c
Show file tree
Hide file tree
Showing 123 changed files with 5,497 additions and 3,802 deletions.
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* text=auto eol=lf
* text=auto eol=lf

package-lock.json binary
4 changes: 3 additions & 1 deletion .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest
cache: npm
cache-dependency-path: package-lock.json
- name: Install Deps
run: npm i
- name: Lint code
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/code-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [lts/*, latest]

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: package-lock.json
- run: npm i
- run: npm pack
28 changes: 18 additions & 10 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
name: Prerelease
on: workflow_dispatch

on:
push:
branches:
- "master"
- "v[0-9]+"
tags:
- "!**"
pull_request:

jobs:
publish:
name: Publish Prerelease
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish to NPM
with:
persist-credentials: false
- name: Use Node LTS
uses: actions/setup-node@v4
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
- run: npm i
- run: 'npm version --preid=git --no-git-tag-version 0.0.0-git.$(git rev-parse HEAD)'
- run: npm publish --provenance --access public --tag prerelease
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
cache: npm
cache-dependency-path: package-lock.json
- name: Install Depedencies
run: npm ci
- name: Publish to pkg.pr.new
run: npx pkg-pr-new publish
50 changes: 50 additions & 0 deletions .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Publish TypeDoc
on:
push:
branches:
- master

jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
cache-dependency-path: package-lock.json

- name: Install deps
run: npm i

- name: Build docs
run: npm run build:docs

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/

deploy-docs:
needs: build-docs

permissions:
id-token: write
pages: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.DS_Store
node_modules/
dist/
package-lock.json
pnpm-lock.yaml
yarn.lock
yarn-debug.log*
Expand Down
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.github
.idea
.vscode
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
assets/
Expand All @@ -11,5 +9,7 @@ src/
index.ts
tsconfig.json
tsup-config.json
package-lock.json
eslint.config.mjs
**.tgz
**.md
18 changes: 18 additions & 0 deletions TypeDoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

> A stable and updated wrapper around Lavalink
[![Discord](https://img.shields.io/discord/423116740810244097?style=flat-square)](https://discordapp.com/invite/FVqbtGu)
[![npm](https://img.shields.io/npm/v/shoukaku?style=flat-square)](https://www.npmjs.com/package/shoukaku)
![Github Stars](https://img.shields.io/github/stars/Deivu/Shoukaku?style=flat-square)
![GitHub issues](https://img.shields.io/github/issues-raw/Deivu/Shoukaku?style=flat-square)
![NPM](https://img.shields.io/npm/l/shoukaku?style=flat-square)

Automatically generated documentation for the *latest commit* on the ***master*** branch.

API Documentation for specific versions and additional usage information can be found on the [guide](https://guide.shoukaku.shipgirl.moe/).

<p align="center">
<img src="https://safe.saya.moe/OlYoY5xxkMLO.png">
</p>

> Shoukaku, from Azur Lane, drawn by: elfenlied22
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

92 changes: 0 additions & 92 deletions docs/assets/highlight.css

This file was deleted.

Loading

0 comments on commit 7cd679c

Please sign in to comment.