Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): update deps #98

Merged
merged 3 commits into from
Mar 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm run build
10 changes: 5 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0

- name: Login to GitHub Container Registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
Expand All @@ -41,7 +41,7 @@ jobs:
run: if [ "${{ github.event_name }}" = "release" ]; then echo ::set-output name=name::; else echo ::set-output name=name::-dev; fi

- name: Generate Docker image metadata
uses: docker/metadata-action@57396166ad8aefe6098280995947635806a0e6ea # v4.1.1
uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96 # v4.3.0
id: img_meta
with:
flavor: |
Expand All @@ -53,11 +53,11 @@ jobs:
latest
- name: Build and push
id: docker_build
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
with:
context: ./
tags: ${{ steps.img_meta.outputs.tags }}
labels: ${{ steps.img_meta.outputs.labels }}
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha,mode=max
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
6 changes: 3 additions & 3 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag=v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run lint
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"author": "KagChi",
"license": "GPL-3.0",
"devDependencies": {
"@hazmi35/eslint-config": "^8.7.1",
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.24",
"@hazmi35/eslint-config": "^9.0.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.42",
"@types/amqplib": "^0.10.1",
"@types/bull": "^3.15.9",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.5"
"@types/node": "^18.15.7",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"rimraf": "^4.4.1",
"typescript": "^5.0.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
Expand All @@ -41,13 +41,13 @@
"rules": {}
},
"dependencies": {
"@nezuchan/cordis-brokers": "^1.5.10",
"@sapphire/pieces": "^3.6.0",
"@nezuchan/cordis-brokers": "^2.0.0",
"@sapphire/pieces": "^3.6.1",
"@sapphire/result": "^2.6.0",
"@sapphire/utilities": "^3.11.0",
"bull": "^4.10.2",
"bull": "^4.10.4",
"dotenv": "^16.0.3",
"pino": "^8.8.0",
"pino-pretty": "^9.1.1"
"pino": "^8.11.0",
"pino-pretty": "^10.0.0"
}
}
2 changes: 1 addition & 1 deletion src/Structures/TaskManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class TaskManager extends EventEmitter {
public async initialize(): Promise<void> {
container.manager = this;
this.logger.info(`Initializing Scheduled Tasks cluster ${this.clusterId}`);
void this.bull.process("*", job => this.amqpSender.publish(job.name, typeof job.data === "object" ? job.data : JSON.stringify(job.data)));
void this.bull.process("*", job => this.amqpSender.publish("", job.name, typeof job.data === "object" ? job.data : JSON.stringify(job.data)));
const { channel } = await createAmqp(process.env.AMQP_HOST!);
this.amqpSender = new RoutingPublisher(channel);
this.amqpReceiver = new RpcSubscriber(channel);
Expand Down