Merge pull request #20 from warengroup/develop

Version 0.2.1
This commit is contained in:
Christer Warén 2021-08-18 12:46:50 +03:00 committed by GitHub
commit 9a84a3c938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 312 additions and 217 deletions

19
.github/workflows/docker-build.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Docker Build
on:
pull_request:
jobs:
buildx:
name: Docker Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1.5.1
id: buildx
with:
install: true
- name: Build
run: docker build . # will run buildx

View File

@ -14,4 +14,6 @@ RUN npm install -g npm
RUN npm install RUN npm install
RUN npm run build
CMD [ "npm", "start" ] CMD [ "npm", "start" ]

481
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,12 @@
{ {
"name": "eximiabots-radiox", "name": "eximiabots-radiox",
"version": "0.2.0", "version": "0.2.1",
"description": "Internet Radio to your Discord guild", "description": "Internet Radio to your Discord guild",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "rimraf ./build && tsc", "build": "rimraf ./build && tsc",
"start": "npm run build && node build/index.js" "start": "node build/index.js",
"start:dev": "npm run build && node build/index.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -18,31 +19,31 @@
}, },
"dependencies": { "dependencies": {
"@discordjs/opus": "^0.5.3", "@discordjs/opus": "^0.5.3",
"@discordjs/voice": "^0.5.6", "@discordjs/voice": "^0.6.0",
"@types/node": "^16.4.13",
"@types/ws": "^7.4.7",
"discord-api-types": "^0.22.0", "discord-api-types": "^0.22.0",
"discord.js": "^13.0.1", "discord.js": "^13.1.0",
"dotenv": "^10.0.0", "dotenv": "^10.0.0",
"libsodium-wrappers": "^0.7.9", "libsodium-wrappers": "^0.7.9",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"path": "^0.12.7", "path": "^0.12.7"
"tsc-watch": "^4.4.0",
"typescript": "^4.3.5"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.29.0", "@types/node": "^16.6.1",
"@typescript-eslint/parser": "^4.29.0", "@types/ws": "^7.4.7",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^3.4.0",
"nodemon": "^2.0.12", "nodemon": "^2.0.12",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "^10.1.0" "ts-node": "^10.1.0",
"tsc-watch": "^4.4.0",
"typescript": "^4.3.5"
}, },
"engines": { "engines": {
"node": ">=16.6.0", "node": ">=16.6.0",
"npm": ">=7.0.0" "npm": ">=7.0.0"
} }
} }