Skip to content

Commit

Permalink
🐛 Fix: Package eiows, and specific node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed Jun 18, 2024
1 parent 938eac3 commit 52be44d
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
needs: prepare
strategy:
matrix:
node-version: [20.x]
node-version: [20.11.1]
path: ${{ fromJson(needs.prepare.outputs.paths) }}
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
node-version: [20.11.1]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
matrix:
distro: [ubuntu-22.04]
arch: [aarch64, x64]
node-version: [20.x]
node-version: [20.11.1]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
76 changes: 22 additions & 54 deletions core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "Controler dos modulos do PaymentBot",
"main": "dist/app.js",
"type": "module",
"private": true,
"scripts": {
"start": "node .",
"build": "tsc && tsc-alias",
"dev": "tsx src/app.ts",
"lint": "eslint --ext .tsx,.ts --fix ./src -c .eslintrc.json"
},
"author": "Ashu11-a",
"key": "8QW|DZ]#1z&/Cw:[lH1jd1Fo,c=VzD.$!o;~?de*`uzvJ2K2Oj",
"api": "http://node.seventyhost.net:24398",
"license": "LSC",
"imports": {
Expand All @@ -20,10 +20,12 @@
]
},
"devDependencies": {
"@types/cron": "^2.4.0",
"@types/crypto-js": "^4.2.2",
"@types/express": "^4.17.21",
"@types/marked-terminal": "^6.1.1",
"@types/node-fetch": "^2.6.11",
"@types/node-forge": "^1.3.11",
"@types/prompts": "^2.4.9",
"@types/signale": "^1.4.7",
"@types/socket.io": "^3.0.2",
Expand All @@ -40,16 +42,14 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@types/cron": "^2.4.0",
"@types/node-forge": "^1.3.11",
"argon2": "^0.40.3",
"check-password-strength": "^2.0.10",
"chokidar": "^3.6.0",
"cron": "^3.1.7",
"crypto-js": "^4.2.0",
"discord.js": "^14.15.3",
"dotenv": "^16.4.5",
"eiows": "^7.0.3",
"eiows": "^7.1.0",
"express": "^4.19.2",
"glob": "^10.4.1",
"isbinaryfile": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion core/src/controller/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createServer } from 'http'
import { Server } from 'socket.io'
import ws from 'ws'
import { Event } from './events.js'
import eiows from '../../node_modules/eiows/dist/eiows.js'
import eiows from 'eiows'

export class SocketController {
protected readonly app: Application
Expand Down

0 comments on commit 52be44d

Please sign in to comment.