From 4c4f395d5106857a58499abf380de55993f70f50 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Sun, 7 Apr 2024 21:25:18 +0300 Subject: [PATCH 01/13] chore(worker): install deps --- apps/worker/package.json | 5 +- pnpm-lock.yaml | 710 +++++++++++++++++++++++++++++++++------ 2 files changed, 602 insertions(+), 113 deletions(-) diff --git a/apps/worker/package.json b/apps/worker/package.json index 63dcae3c0fb..5fb1ebf3e72 100644 --- a/apps/worker/package.json +++ b/apps/worker/package.json @@ -65,6 +65,8 @@ "@nestjs/cli": "^10.1.16", "@nestjs/schematics": "^10.0.2", "@nestjs/testing": "^10.2.2", + "@swc/cli": "^0.3.12", + "@swc/core": "^1.4.12", "@types/bcrypt": "^3.0.0", "@types/chai": "^4.2.11", "@types/express": "4.17.17", @@ -78,15 +80,16 @@ "sinon": "^9.2.4", "superagent-defaults": "^0.1.14", "supertest": "^5.0.0", + "swc-loader": "^0.2.6", "ts-loader": "~9.4.0", "ts-node": "~10.9.1", "tsconfig-paths": "~4.1.0", "typescript": "4.9.5" }, "optionalDependencies": { - "@novu/ee-chimera-connect": "^0.24.1", "@novu/ee-auth": "^0.24.1", "@novu/ee-billing": "^0.24.1", + "@novu/ee-chimera-connect": "^0.24.1", "@novu/ee-translation": "^0.24.1" }, "lint-staged": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acae58a819a..5f8c3e2438e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -502,7 +502,7 @@ importers: version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -614,7 +614,7 @@ importers: version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -1160,7 +1160,7 @@ importers: version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -1469,13 +1469,19 @@ importers: version: 6.3.1 '@nestjs/cli': specifier: ^10.1.16 - version: 10.1.16 + version: 10.1.16(@swc/cli@0.3.12)(@swc/core@1.4.12) '@nestjs/schematics': specifier: ^10.0.2 version: 10.0.2(typescript@4.9.5) '@nestjs/testing': specifier: ^10.2.2 version: 10.2.2(@nestjs/common@10.2.2)(@nestjs/core@10.2.2)(@nestjs/platform-express@10.2.2) + '@swc/cli': + specifier: ^0.3.12 + version: 0.3.12(@swc/core@1.4.12) + '@swc/core': + specifier: ^1.4.12 + version: 1.4.12 '@types/bcrypt': specifier: ^3.0.0 version: 3.0.1 @@ -1515,12 +1521,15 @@ importers: supertest: specifier: ^5.0.0 version: 5.0.0 + swc-loader: + specifier: ^0.2.6 + version: 0.2.6(@swc/core@1.4.12)(webpack@5.78.0) ts-loader: specifier: ~9.4.0 version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -1674,7 +1683,7 @@ importers: version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -1741,7 +1750,7 @@ importers: version: 9.2.4 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -1826,7 +1835,7 @@ importers: version: 9.2.4 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -2026,7 +2035,7 @@ importers: version: 9.2.4 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -2117,7 +2126,7 @@ importers: version: 9.2.4 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -2154,7 +2163,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.8.0)(eslint@7.32.0)(prettier@2.8.8) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -2239,7 +2248,7 @@ importers: version: 9.2.4 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -2439,7 +2448,7 @@ importers: version: 3.0.1 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -2702,7 +2711,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tslib: specifier: ^2.3.1 version: 2.5.0 @@ -2888,7 +2897,7 @@ importers: version: 3.0.1 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) tsconfig-paths: specifier: ~4.1.0 version: 4.1.2 @@ -3316,7 +3325,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -3364,7 +3373,7 @@ importers: version: 5.4.1 ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) uuid: specifier: ^9.0.0 version: 9.0.0 @@ -3512,7 +3521,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4019,7 +4028,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4068,7 +4077,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4114,7 +4123,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4157,7 +4166,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4200,7 +4209,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4249,7 +4258,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4292,7 +4301,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4347,7 +4356,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4402,7 +4411,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4448,7 +4457,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4500,7 +4509,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4546,7 +4555,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4598,7 +4607,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4653,7 +4662,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4717,7 +4726,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4781,7 +4790,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -4827,7 +4836,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4870,7 +4879,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4913,7 +4922,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4959,7 +4968,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5017,7 +5026,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5072,7 +5081,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5118,7 +5127,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5170,7 +5179,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5225,7 +5234,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5286,7 +5295,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5344,7 +5353,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5390,7 +5399,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5448,7 +5457,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5500,7 +5509,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5543,7 +5552,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5586,7 +5595,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5638,7 +5647,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5696,7 +5705,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5754,7 +5763,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5812,7 +5821,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5858,7 +5867,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -5913,7 +5922,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -5968,7 +5977,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6014,7 +6023,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6069,7 +6078,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6115,7 +6124,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6158,7 +6167,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6201,7 +6210,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6253,7 +6262,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6299,7 +6308,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6342,7 +6351,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6385,7 +6394,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6428,7 +6437,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6480,7 +6489,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6535,7 +6544,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6593,7 +6602,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6639,7 +6648,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6691,7 +6700,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6737,7 +6746,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -6795,7 +6804,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6850,7 +6859,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6908,7 +6917,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -6963,7 +6972,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -7021,7 +7030,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.1)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -7076,7 +7085,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@29.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typedoc: specifier: ^0.24.0 version: 0.24.6(typescript@4.9.5) @@ -7122,7 +7131,7 @@ importers: version: 27.1.5(@babel/core@7.24.3)(@types/jest@27.5.2)(jest@27.5.1)(typescript@4.9.5) ts-node: specifier: ~10.9.1 - version: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + version: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: specifier: 4.9.5 version: 4.9.5 @@ -16356,7 +16365,7 @@ packages: lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 - ts-node: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + ts-node: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: - '@swc/core' @@ -20778,6 +20787,20 @@ packages: resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} dev: true + /@mole-inc/bin-wrapper@8.0.1: + resolution: {integrity: sha512-sTGoeZnjI8N4KS+sW2AN95gDBErhAguvkw/tWdCjeM8bvxpz5lqrnd0vOJABA1A+Ic3zED7PYoLP/RANLgVotA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + bin-check: 4.1.0 + bin-version-check: 5.1.0 + content-disposition: 0.5.4 + ext-name: 5.0.0 + file-type: 17.1.6 + filenamify: 5.1.1 + got: 11.8.6 + os-filter-obj: 2.0.0 + dev: true + /@monaco-editor/loader@1.4.0(monaco-editor@0.45.0): resolution: {integrity: sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==} peerDependencies: @@ -20919,6 +20942,49 @@ packages: - webpack-cli dev: true + /@nestjs/cli@10.1.16(@swc/cli@0.3.12)(@swc/core@1.4.12): + resolution: {integrity: sha512-nZ9vs7D0BMOW9XrN7hN7BJl2Z0s+CRFwhDPVmJP2lc50mDsAcnWDLFuttupPc/AknO570Xqoxf1Q2cQ5YSgjpA==} + engines: {node: '>= 16'} + hasBin: true + peerDependencies: + '@swc/cli': ^0.1.62 + '@swc/core': ^1.3.62 + peerDependenciesMeta: + '@swc/cli': + optional: true + '@swc/core': + optional: true + dependencies: + '@angular-devkit/core': 16.2.0(chokidar@3.5.3) + '@angular-devkit/schematics': 16.2.0(chokidar@3.5.3) + '@angular-devkit/schematics-cli': 16.2.0(chokidar@3.5.3) + '@nestjs/schematics': 10.0.2(chokidar@3.5.3)(typescript@5.1.6) + '@swc/cli': 0.3.12(@swc/core@1.4.12) + '@swc/core': 1.4.12 + chalk: 4.1.2 + chokidar: 3.5.3 + cli-table3: 0.6.3 + commander: 4.1.1 + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.1.6)(webpack@5.88.2) + inquirer: 8.2.6 + node-emoji: 1.11.0 + ora: 5.4.1 + os-name: 4.0.1 + rimraf: 4.4.1 + shelljs: 0.8.5 + source-map-support: 0.5.21 + tree-kill: 1.2.2 + tsconfig-paths: 4.2.0 + tsconfig-paths-webpack-plugin: 4.1.0 + typescript: 5.1.6 + webpack: 5.88.2(@swc/core@1.4.12) + webpack-node-externals: 3.0.0 + transitivePeerDependencies: + - esbuild + - uglify-js + - webpack-cli + dev: true + /@nestjs/common@10.2.2(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1): resolution: {integrity: sha512-TCOJK2K4FDT3GxFfURjngnjBewS/hizKNFSLBXtX4TTQm0dVQOtESnnVdP14sEiPM6suuWlrGnXW9UDqItGWiQ==} peerDependencies: @@ -26700,7 +26766,6 @@ packages: /@sindresorhus/is@4.6.0: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} - dev: false /@sinonjs/commons@1.8.6: resolution: {integrity: sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==} @@ -31036,6 +31101,29 @@ packages: - supports-color dev: true + /@swc/cli@0.3.12(@swc/core@1.4.12): + resolution: {integrity: sha512-h7bvxT+4+UDrLWJLFHt6V+vNAcUNii2G4aGSSotKz1ECEk4MyEh5CWxmeSscwuz5K3i+4DWTgm4+4EyMCQKn+g==} + engines: {node: '>= 16.14.0'} + hasBin: true + peerDependencies: + '@swc/core': ^1.2.66 + chokidar: ^3.5.1 + peerDependenciesMeta: + chokidar: + optional: true + dependencies: + '@mole-inc/bin-wrapper': 8.0.1 + '@swc/core': 1.4.12 + '@swc/counter': 0.1.3 + commander: 8.3.0 + fast-glob: 3.3.2 + minimatch: 9.0.3 + piscina: 4.4.0 + semver: 7.5.4 + slash: 3.0.0 + source-map: 0.7.4 + dev: true + /@swc/core-darwin-arm64@1.3.49: resolution: {integrity: sha512-g7aIfXh6uPHmhLXdjXQq5t3HAyS/EdvujasW1DIS5k8UqOBaSoCcSGtLIjzcLv3KujqNfYcm118E+12H0nY6fQ==} engines: {node: '>=10'} @@ -31044,6 +31132,14 @@ packages: requiresBuild: true optional: true + /@swc/core-darwin-arm64@1.4.12: + resolution: {integrity: sha512-BZUUq91LGJsLI2BQrhYL3yARkcdN4TS3YGNS6aRYUtyeWrGCTKHL90erF2BMU2rEwZLLkOC/U899R4o4oiSHfA==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optional: true + /@swc/core-darwin-x64@1.3.49: resolution: {integrity: sha512-eSIxVX0YDw40Bre5sAx2BV3DzdIGzmQvCf2yiBvLqiiL6GC0mmuDeWbUCAzdUX6fJ6FUVEBMUVqNOc9oJ2/d5w==} engines: {node: '>=10'} @@ -31052,6 +31148,14 @@ packages: requiresBuild: true optional: true + /@swc/core-darwin-x64@1.4.12: + resolution: {integrity: sha512-Wkk8rq1RwCOgg5ybTlfVtOYXLZATZ+QjgiBNM7pIn03A5/zZicokNTYd8L26/mifly2e74Dz34tlIZBT4aTGDA==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + optional: true + /@swc/core-linux-arm-gnueabihf@1.3.49: resolution: {integrity: sha512-8mj3IcRVr/OJY0mVITz6Z5osNAMJK5GiKDaZ+3QejPLbl6aiu4sH4GmTHDRN14RnaVXOpecsGcUoQmNoNa3u3w==} engines: {node: '>=10'} @@ -31060,6 +31164,14 @@ packages: requiresBuild: true optional: true + /@swc/core-linux-arm-gnueabihf@1.4.12: + resolution: {integrity: sha512-8jb/SN67oTQ5KSThWlKLchhU6xnlAlnmnLCCOKK1xGtFS6vD+By9uL+qeEY2krV98UCRTf68WSmC0SLZhVoz5A==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + requiresBuild: true + optional: true + /@swc/core-linux-arm64-gnu@1.3.49: resolution: {integrity: sha512-Rmg9xw6tmpOpf6GKKjpHQGmjfHzqSths5ebI2ahrHlhekzZF2HYmPkVw4bHda8Bja6mbaw8FVBgBHjPU8mMeDA==} engines: {node: '>=10'} @@ -31068,6 +31180,14 @@ packages: requiresBuild: true optional: true + /@swc/core-linux-arm64-gnu@1.4.12: + resolution: {integrity: sha512-DhW47DQEZKCdSq92v5F03rqdpjRXdDMqxfu4uAlZ9Uo1wJEGvY23e1SNmhji2sVHsZbBjSvoXoBLk0v00nSG8w==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optional: true + /@swc/core-linux-arm64-musl@1.3.49: resolution: {integrity: sha512-nlKPYMogAI3Aak6Mlkag8/2AlHAZ/DpH7RjhfMazsaGhD/sQOmYdyY9Al69ejpa419YJuREeeeLoojFlSsd30g==} engines: {node: '>=10'} @@ -31076,6 +31196,14 @@ packages: requiresBuild: true optional: true + /@swc/core-linux-arm64-musl@1.4.12: + resolution: {integrity: sha512-PR57pT3TssnCRvdsaKNsxZy9N8rFg9AKA1U7W+LxbZ/7Z7PHc5PjxF0GgZpE/aLmU6xOn5VyQTlzjoamVkt05g==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optional: true + /@swc/core-linux-x64-gnu@1.3.49: resolution: {integrity: sha512-QOyeJQ6NVi73SJcizbwvIZTiGA/N+BxX9liRrvibumaQmRh8fWjJiLNsv3ODSHeuonak7E8Bf7a7NnSTyu48Mw==} engines: {node: '>=10'} @@ -31084,6 +31212,14 @@ packages: requiresBuild: true optional: true + /@swc/core-linux-x64-gnu@1.4.12: + resolution: {integrity: sha512-HLZIWNHWuFIlH+LEmXr1lBiwGQeCshKOGcqbJyz7xpqTh7m2IPAxPWEhr/qmMTMsjluGxeIsLrcsgreTyXtgNA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + optional: true + /@swc/core-linux-x64-musl@1.3.49: resolution: {integrity: sha512-WlDMz+SOpYC9O/ZBUw1oiyWI7HyUCMlf/HS8Fy/kRI3eGoGCUxVTCJ1mP57GdQr4Wg32Y/ZpO2KSNQFWnT8mAw==} engines: {node: '>=10'} @@ -31092,6 +31228,14 @@ packages: requiresBuild: true optional: true + /@swc/core-linux-x64-musl@1.4.12: + resolution: {integrity: sha512-M5fBAtoOcpz2YQAFtNemrPod5BqmzAJc8pYtT3dVTn1MJllhmLHlphU8BQytvoGr1PHgJL8ZJBlBGdt70LQ7Mw==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + optional: true + /@swc/core-win32-arm64-msvc@1.3.49: resolution: {integrity: sha512-41LZOeI94Za3twib8KOIjnHYAZ+nkBFmboaREsFR1760S7jiMVywqWX8nFZvn/CXj15Fjjgdgyuig+zMREwXwQ==} engines: {node: '>=10'} @@ -31100,6 +31244,14 @@ packages: requiresBuild: true optional: true + /@swc/core-win32-arm64-msvc@1.4.12: + resolution: {integrity: sha512-K8LjjgZ7VQFtM+eXqjfAJ0z+TKVDng3r59QYn7CL6cyxZI2brLU3lNknZcUFSouZD+gsghZI/Zb8tQjVk7aKDQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + optional: true + /@swc/core-win32-ia32-msvc@1.3.49: resolution: {integrity: sha512-IdqLPoMKssyAoOCZdNXmnAd6/uyx+Hb9KSfZUHepZaNfwMy6J5XXrOsbYs3v53FH8MtekUUdV+mMX4me9bcv9w==} engines: {node: '>=10'} @@ -31108,6 +31260,14 @@ packages: requiresBuild: true optional: true + /@swc/core-win32-ia32-msvc@1.4.12: + resolution: {integrity: sha512-hflO5LCxozngoOmiQbDPyvt6ODc5Cu9AwTJP9uH/BSMPdEQ6PCnefuUOJLAKew2q9o+NmDORuJk+vgqQz9Uzpg==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + optional: true + /@swc/core-win32-x64-msvc@1.3.49: resolution: {integrity: sha512-7Fqjo5pS3uIohhSbYSaR0+e/bJdxmQb4oG97FIh5qvlCCGQaQ9UiaEeYy4uK0Ad+Menum1IXCAEiG7RHcl6Eyw==} engines: {node: '>=10'} @@ -31116,6 +31276,14 @@ packages: requiresBuild: true optional: true + /@swc/core-win32-x64-msvc@1.4.12: + resolution: {integrity: sha512-3A4qMtddBDbtprV5edTB/SgJn9L+X5TL7RGgS3eWtEgn/NG8gA80X/scjf1v2MMeOsrcxiYhnemI2gXCKuQN2g==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + requiresBuild: true + optional: true + /@swc/core@1.3.49: resolution: {integrity: sha512-br44ZHOfE9YyRGcORSLkHFQHTvhwRcaithBJ1Q5y5iMGpLbH0Wai3GN49L60RvmGwxNJfWzT+E7+rNNR7ewKgA==} engines: {node: '>=10'} @@ -31137,12 +31305,43 @@ packages: '@swc/core-win32-ia32-msvc': 1.3.49 '@swc/core-win32-x64-msvc': 1.3.49 + /@swc/core@1.4.12: + resolution: {integrity: sha512-QljRxTaUajSLB9ui93cZ38/lmThwIw/BPxjn+TphrYN6LPU3vu9/ykjgHtlpmaXDDcngL4K5i396E7iwwEUxYg==} + engines: {node: '>=10'} + requiresBuild: true + peerDependencies: + '@swc/helpers': ^0.5.0 + peerDependenciesMeta: + '@swc/helpers': + optional: true + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.6 + optionalDependencies: + '@swc/core-darwin-arm64': 1.4.12 + '@swc/core-darwin-x64': 1.4.12 + '@swc/core-linux-arm-gnueabihf': 1.4.12 + '@swc/core-linux-arm64-gnu': 1.4.12 + '@swc/core-linux-arm64-musl': 1.4.12 + '@swc/core-linux-x64-gnu': 1.4.12 + '@swc/core-linux-x64-musl': 1.4.12 + '@swc/core-win32-arm64-msvc': 1.4.12 + '@swc/core-win32-ia32-msvc': 1.4.12 + '@swc/core-win32-x64-msvc': 1.4.12 + + /@swc/counter@0.1.3: + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + + /@swc/types@0.1.6: + resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} + dependencies: + '@swc/counter': 0.1.3 + /@szmarczak/http-timer@4.0.6: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} dependencies: defer-to-connect: 2.0.1 - dev: false /@tanstack/match-sorter-utils@8.8.4: resolution: {integrity: sha512-rKH8LjZiszWEvmi01NR72QWZ8m4xmXre0OOwlRGnjU01Eqz/QnN+cqpty2PJ0efHblq09+KilvyR7lsbzmXVEw==} @@ -31567,7 +31766,6 @@ packages: '@types/keyv': 3.1.4 '@types/node': 14.18.42 '@types/responselike': 1.0.3 - dev: false /@types/caseless@0.12.2: resolution: {integrity: sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==} @@ -31984,7 +32182,6 @@ packages: /@types/http-cache-semantics@4.0.4: resolution: {integrity: sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==} - dev: false /@types/http-errors@2.0.4: resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} @@ -32114,7 +32311,6 @@ packages: resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} dependencies: '@types/node': 14.18.42 - dev: false /@types/koa-compose@3.2.8: resolution: {integrity: sha512-4Olc63RY+MKvxMwVknCUDhRQX1pFQoBZ/lXcRLP69PQkEpze/0cr8LNqJQe5NFb/b19DWi2a5bTi2VAlQzhJuA==} @@ -32493,7 +32689,6 @@ packages: resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} dependencies: '@types/node': 14.18.42 - dev: false /@types/retry@0.12.0: resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} @@ -34184,7 +34379,6 @@ packages: acorn: ^8 dependencies: acorn: 8.11.3 - dev: false /acorn-jsx@5.3.2(acorn@7.4.1): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -35948,6 +36142,14 @@ packages: /bignumber.js@9.1.1: resolution: {integrity: sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==} + /bin-check@4.1.0: + resolution: {integrity: sha512-b6weQyEUKsDGFlACWSIOfveEnImkJyK/FGW6FAG42loyoquvjdtOIqO6yBFzHyqyVVhNgNkQxxx09SFLK28YnA==} + engines: {node: '>=4'} + dependencies: + execa: 0.7.0 + executable: 4.1.1 + dev: true + /bin-links@3.0.3: resolution: {integrity: sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -35960,6 +36162,23 @@ packages: write-file-atomic: 4.0.2 dev: true + /bin-version-check@5.1.0: + resolution: {integrity: sha512-bYsvMqJ8yNGILLz1KP9zKLzQ6YpljV3ln1gqhuLkUtyfGi3qXKGuK2p+U4NAvjVFzDFiBBtOpCOSFNuYYEGZ5g==} + engines: {node: '>=12'} + dependencies: + bin-version: 6.0.0 + semver: 7.5.4 + semver-truncate: 3.0.0 + dev: true + + /bin-version@6.0.0: + resolution: {integrity: sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==} + engines: {node: '>=12'} + dependencies: + execa: 5.1.1 + find-versions: 5.1.0 + dev: true + /binary-extensions@1.13.1: resolution: {integrity: sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==} engines: {node: '>=0.10.0'} @@ -36435,7 +36654,6 @@ packages: /cacheable-lookup@5.0.4: resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==} engines: {node: '>=10.6.0'} - dev: false /cacheable-request@7.0.4: resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==} @@ -36448,7 +36666,6 @@ packages: lowercase-keys: 2.0.0 normalize-url: 6.1.0 responselike: 2.0.1 - dev: false /cachedir@2.3.0: resolution: {integrity: sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==} @@ -37062,7 +37279,6 @@ packages: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} dependencies: mimic-response: 1.0.1 - dev: false /clone@1.0.4: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} @@ -37759,7 +37975,7 @@ packages: dependencies: '@types/node': 14.18.42 cosmiconfig: 8.2.0 - ts-node: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + ts-node: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) typescript: 4.9.5 dev: true @@ -37955,6 +38171,14 @@ packages: - encoding dev: false + /cross-spawn@5.1.0: + resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} + dependencies: + lru-cache: 4.1.5 + shebang-command: 1.2.0 + which: 1.3.1 + dev: true + /cross-spawn@6.0.5: resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} engines: {node: '>=4.8'} @@ -39068,7 +39292,6 @@ packages: engines: {node: '>=10'} dependencies: mimic-response: 3.1.0 - dev: false /dedent@0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} @@ -39152,7 +39375,6 @@ packages: /defer-to-connect@2.0.1: resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} engines: {node: '>=10'} - dev: false /define-data-property@1.1.1: resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} @@ -41074,6 +41296,19 @@ packages: strip-eof: 1.0.0 dev: true + /execa@0.7.0: + resolution: {integrity: sha512-RztN09XglpYI7aBBrJCPW95jEH7YF1UEPOoX9yDhUTPdp7mK+CQvnLTuD10BNXZ3byLTu2uehZ8EcKT/4CGiFw==} + engines: {node: '>=4'} + dependencies: + cross-spawn: 5.1.0 + get-stream: 3.0.0 + is-stream: 1.1.0 + npm-run-path: 2.0.2 + p-finally: 1.0.0 + signal-exit: 3.0.7 + strip-eof: 1.0.0 + dev: true + /execa@1.0.0: resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==} engines: {node: '>=6'} @@ -41268,6 +41503,21 @@ packages: transitivePeerDependencies: - supports-color + /ext-list@2.2.2: + resolution: {integrity: sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==} + engines: {node: '>=0.10.0'} + dependencies: + mime-db: 1.52.0 + dev: true + + /ext-name@5.0.0: + resolution: {integrity: sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==} + engines: {node: '>=4'} + dependencies: + ext-list: 2.2.2 + sort-keys-length: 1.0.1 + dev: true + /extend-shallow@2.0.1: resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} engines: {node: '>=0.10.0'} @@ -41623,6 +41873,15 @@ packages: token-types: 4.2.1 dev: true + /file-type@17.1.6: + resolution: {integrity: sha512-hlDw5Ev+9e883s0pwUsuuYNu4tD7GgpUnOvykjv1Gya0ZIjuKumthDRua90VUn6/nlRKAjcxLUnHNTIUWwWIiw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + readable-web-to-node-stream: 3.0.2 + strtok3: 7.0.0 + token-types: 5.0.1 + dev: true + /file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} requiresBuild: true @@ -41643,6 +41902,11 @@ packages: engines: {node: '>=4'} dev: true + /filename-reserved-regex@3.0.0: + resolution: {integrity: sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /filenamify@4.3.0: resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==} engines: {node: '>=8'} @@ -41652,6 +41916,15 @@ packages: trim-repeated: 1.0.0 dev: true + /filenamify@5.1.1: + resolution: {integrity: sha512-M45CbrJLGACfrPOkrTp3j2EcO9OBkKUYME0eiqOCa7i2poaklU0jhlIaMlr8ijLorT0uLAzrn3qXOp5684CkfA==} + engines: {node: '>=12.20'} + dependencies: + filename-reserved-regex: 3.0.0 + strip-outer: 2.0.0 + trim-repeated: 2.0.0 + dev: true + /filesize@10.1.0: resolution: {integrity: sha512-GTLKYyBSDz3nPhlLVPjPWZCnhkd9TrrRArNcy8Z+J2cqScB7h2McAzR6NBX6nYOoWafql0roY8hrocxnZBv9CQ==} engines: {node: '>= 10.4.0'} @@ -41795,6 +42068,13 @@ packages: semver-regex: 3.1.4 dev: true + /find-versions@5.1.0: + resolution: {integrity: sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==} + engines: {node: '>=12'} + dependencies: + semver-regex: 4.0.5 + dev: true + /find-yarn-workspace-root2@1.2.16: resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} dependencies: @@ -42009,7 +42289,7 @@ packages: semver: 7.5.4 tapable: 2.2.1 typescript: 5.1.6 - webpack: 5.88.2(esbuild@0.18.17) + webpack: 5.88.2(@swc/core@1.4.12) dev: true /form-data@2.3.3: @@ -42501,6 +42781,11 @@ packages: engines: {node: '>=12'} dev: true + /get-stream@3.0.0: + resolution: {integrity: sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==} + engines: {node: '>=4'} + dev: true + /get-stream@4.1.0: resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==} engines: {node: '>=6'} @@ -43061,7 +43346,6 @@ packages: lowercase-keys: 2.0.0 p-cancelable: 2.1.1 responselike: 2.0.1 - dev: false /graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -43727,7 +44011,6 @@ packages: dependencies: quick-lru: 5.1.1 resolve-alpn: 1.2.1 - dev: false /https-proxy-agent@4.0.0: resolution: {integrity: sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==} @@ -45273,7 +45556,7 @@ packages: pretty-format: 27.5.1 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.1(@types/node@14.18.42)(typescript@4.9.5) + ts-node: 10.9.1(@types/node@16.11.7)(typescript@4.9.5) transitivePeerDependencies: - bufferutil - canvas @@ -47461,8 +47744,6 @@ packages: peerDependenciesMeta: webpack: optional: true - webpack-sources: - optional: true dependencies: webpack: 5.88.2(esbuild@0.18.17) webpack-sources: 3.2.3 @@ -48105,7 +48386,6 @@ packages: /lowercase-keys@2.0.0: resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} engines: {node: '>=8'} - dev: false /lowlight@1.20.0: resolution: {integrity: sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==} @@ -48130,7 +48410,6 @@ packages: dependencies: pseudomap: 1.0.2 yallist: 2.1.2 - dev: false /lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -49155,12 +49434,10 @@ packages: /mimic-response@1.0.1: resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} engines: {node: '>=4'} - dev: false /mimic-response@3.1.0: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} - dev: false /min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} @@ -51195,6 +51472,13 @@ packages: strip-ansi: 6.0.1 wcwidth: 1.0.1 + /os-filter-obj@2.0.0: + resolution: {integrity: sha512-uksVLsqG3pVdzzPvmAHpBK0wKxYItuzZr7SziusRPoz67tGV8rL1szZ6IdeUrbqLjGDwApBtN29eEE3IqGHOjg==} + engines: {node: '>=4'} + dependencies: + arch: 2.2.0 + dev: true + /os-homedir@1.0.2: resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} engines: {node: '>=0.10.0'} @@ -51222,7 +51506,6 @@ packages: /p-cancelable@2.1.1: resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} engines: {node: '>=8'} - dev: false /p-defer@1.0.0: resolution: {integrity: sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==} @@ -51878,6 +52161,11 @@ packages: engines: {node: '>=8'} dev: true + /peek-readable@5.0.0: + resolution: {integrity: sha512-YtCKvLUOvwtMGmrniQPdO7MwPjgkFBtFIrmfSbYmYuq3tKDV/mcfAhBth1+C3ru7uXIZasc/pHnb+YDYNkkj4A==} + engines: {node: '>=14.16'} + dev: true + /peek-stream@1.1.3: resolution: {integrity: sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==} dependencies: @@ -52055,6 +52343,12 @@ packages: nice-napi: 1.0.2 dev: true + /piscina@4.4.0: + resolution: {integrity: sha512-+AQduEJefrOApE4bV7KRmp3N2JnnyErlVqq4P/jmko4FPz9Z877BCccl/iB3FdrWSUkvbGV9Kan/KllJgat3Vg==} + optionalDependencies: + nice-napi: 1.0.2 + dev: true + /pkg-conf@2.1.0: resolution: {integrity: sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==} engines: {node: '>=4'} @@ -53526,7 +53820,6 @@ packages: /pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} - dev: false /psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} @@ -55799,7 +56092,6 @@ packages: /resolve-alpn@1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} - dev: false /resolve-cwd@3.0.0: resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} @@ -55927,7 +56219,6 @@ packages: resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} dependencies: lowercase-keys: 2.0.0 - dev: false /restore-cursor@2.0.0: resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} @@ -56506,6 +56797,18 @@ packages: engines: {node: '>=8'} dev: true + /semver-regex@4.0.5: + resolution: {integrity: sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==} + engines: {node: '>=12'} + dev: true + + /semver-truncate@3.0.0: + resolution: {integrity: sha512-LJWA9kSvMolR51oDE6PN3kALBNaUdkxzAGcexw8gjMA8xr5zUqK0JiR3CgARSqanYF3Z1YHvsErb1KDgh+v7Rg==} + engines: {node: '>=12'} + dependencies: + semver: 7.5.4 + dev: true + /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true @@ -57016,6 +57319,20 @@ packages: atomic-sleep: 1.0.0 dev: false + /sort-keys-length@1.0.1: + resolution: {integrity: sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw==} + engines: {node: '>=0.10.0'} + dependencies: + sort-keys: 1.1.2 + dev: true + + /sort-keys@1.1.2: + resolution: {integrity: sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg==} + engines: {node: '>=0.10.0'} + dependencies: + is-plain-obj: 1.1.0 + dev: true + /sort-keys@2.0.0: resolution: {integrity: sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==} engines: {node: '>=4'} @@ -57696,6 +58013,11 @@ packages: escape-string-regexp: 1.0.5 dev: true + /strip-outer@2.0.0: + resolution: {integrity: sha512-A21Xsm1XzUkK0qK1ZrytDUvqsQWict2Cykhvi0fBQntGG5JSprESasEyV1EZ/4CiR5WB5KjzLTrP/bO37B0wPg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /stripe-event-types@3.1.0(stripe@11.18.0): resolution: {integrity: sha512-jhPNX5FL81QiBFadek3h+PBQKU5Xg3NURTia6tzyqieDStESbvKqOhnA29ECdA1lPB8KSB5/xdK20k6Q1yOejQ==} peerDependencies: @@ -57733,6 +58055,14 @@ packages: peek-readable: 4.1.0 dev: true + /strtok3@7.0.0: + resolution: {integrity: sha512-pQ+V+nYQdC5H3Q7qBZAz/MO6lwGhoC2gOAjuouGf/VO0m7vQRh8QNMl2Uf6SwAtzZ9bOw3UIeBukEGNJl5dtXQ==} + engines: {node: '>=14.16'} + dependencies: + '@tokenizer/token': 0.3.0 + peek-readable: 5.0.0 + dev: true + /stubs@3.0.0: resolution: {integrity: sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==} @@ -58038,6 +58368,17 @@ packages: webpack: 5.78.0(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4) dev: true + /swc-loader@0.2.6(@swc/core@1.4.12)(webpack@5.78.0): + resolution: {integrity: sha512-9Zi9UP2YmDpgmQVbyOPJClY0dwf58JDyDMQ7uRc4krmc72twNI2fvlBWHLqVekBpPc7h5NJkGVT1zNDxFrqhvg==} + peerDependencies: + '@swc/core': ^1.2.147 + webpack: '>=2' + dependencies: + '@swc/core': 1.4.12 + '@swc/counter': 0.1.3 + webpack: 5.78.0(@swc/core@1.4.12) + dev: true + /symbol-observable@1.2.0: resolution: {integrity: sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==} engines: {node: '>=0.10.0'} @@ -58106,7 +58447,7 @@ packages: color-name: 1.1.4 didyoumean: 1.2.2 dlv: 1.1.3 - fast-glob: 3.3.1 + fast-glob: 3.3.2 glob-parent: 6.0.2 is-glob: 4.0.3 jiti: 1.18.2 @@ -58385,6 +58726,56 @@ packages: terser: 5.16.9 webpack: 5.82.1(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4) + /terser-webpack-plugin@5.3.9(@swc/core@1.4.12)(webpack@5.78.0): + resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + dependencies: + '@jridgewell/trace-mapping': 0.3.19 + '@swc/core': 1.4.12 + jest-worker: 27.5.1 + schema-utils: 3.1.2 + serialize-javascript: 6.0.1 + terser: 5.22.0 + webpack: 5.78.0(@swc/core@1.4.12) + dev: true + + /terser-webpack-plugin@5.3.9(@swc/core@1.4.12)(webpack@5.88.2): + resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + dependencies: + '@jridgewell/trace-mapping': 0.3.19 + '@swc/core': 1.4.12 + jest-worker: 27.5.1 + schema-utils: 3.1.2 + serialize-javascript: 6.0.1 + terser: 5.22.0 + webpack: 5.88.2(@swc/core@1.4.12) + dev: true + /terser-webpack-plugin@5.3.9(esbuild@0.18.17)(webpack@5.88.2): resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} @@ -58707,6 +59098,14 @@ packages: ieee754: 1.2.1 dev: true + /token-types@5.0.1: + resolution: {integrity: sha512-Y2fmSnZjQdDb9W4w4r1tswlMHylzWIeOKpx0aZH9BgGtACHhrk3OkT52AzwcuqTRBZtvvnTjDBh8eynMulu8Vg==} + engines: {node: '>=14.16'} + dependencies: + '@tokenizer/token': 0.3.0 + ieee754: 1.2.1 + dev: true + /totalist@1.1.0: resolution: {integrity: sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==} engines: {node: '>=6'} @@ -58793,6 +59192,13 @@ packages: escape-string-regexp: 1.0.5 dev: true + /trim-repeated@2.0.0: + resolution: {integrity: sha512-QUHBFTJGdOwmp0tbOG505xAgOp/YliZP/6UgafFXYZ26WT1bvQmSMJUvkeVSASuJJHbqsFbynTvkd5W8RBTipg==} + engines: {node: '>=12'} + dependencies: + escape-string-regexp: 5.0.0 + dev: true + /triple-beam@1.3.0: resolution: {integrity: sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==} @@ -59055,7 +59461,7 @@ packages: micromatch: 4.0.5 semver: 7.5.2 typescript: 4.9.5 - webpack: 5.78.0 + webpack: 5.78.0(@swc/core@1.4.12) dev: true /ts-loader@9.4.2(typescript@4.9.5)(webpack@5.82.1): @@ -59080,7 +59486,7 @@ packages: code-block-writer: 12.0.0 dev: true - /ts-node@10.9.1(@types/node@14.18.42)(typescript@4.9.5): + /ts-node@10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -59095,6 +59501,7 @@ packages: optional: true dependencies: '@cspotcode/source-map-support': 0.8.1 + '@swc/core': 1.4.12 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 @@ -61139,6 +61546,46 @@ packages: - esbuild - uglify-js + /webpack@5.78.0(@swc/core@1.4.12): + resolution: {integrity: sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.4 + '@types/estree': 0.0.51 + '@webassemblyjs/ast': 1.11.1 + '@webassemblyjs/wasm-edit': 1.11.1 + '@webassemblyjs/wasm-parser': 1.11.1 + acorn: 8.11.3 + acorn-import-assertions: 1.9.0(acorn@8.11.3) + browserslist: 4.23.0 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.15.0 + es-module-lexer: 0.9.3 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.9(@swc/core@1.4.12)(webpack@5.78.0) + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + dev: true + /webpack@5.82.1(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4): resolution: {integrity: sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==} engines: {node: '>=10.13.0'} @@ -61179,6 +61626,46 @@ packages: - esbuild - uglify-js + /webpack@5.88.2(@swc/core@1.4.12): + resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.4 + '@types/estree': 1.0.5 + '@webassemblyjs/ast': 1.11.5 + '@webassemblyjs/wasm-edit': 1.11.5 + '@webassemblyjs/wasm-parser': 1.11.5 + acorn: 8.10.0 + acorn-import-assertions: 1.9.0(acorn@8.10.0) + browserslist: 4.23.0 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.15.0 + es-module-lexer: 1.2.1 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.9(@swc/core@1.4.12)(webpack@5.88.2) + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + dev: true + /webpack@5.88.2(esbuild@0.18.17): resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==} engines: {node: '>=10.13.0'} @@ -61893,7 +62380,6 @@ packages: /yallist@2.1.2: resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} - dev: false /yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} From 9d1b3496f864518daa8f05693d642a2578aef232 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Sun, 7 Apr 2024 21:25:53 +0300 Subject: [PATCH 02/13] chore(worker): swc config --- apps/worker/nest-cli.json | 3 ++- apps/worker/src/generate-metadata.ts | 9 +++++++++ apps/worker/webpack.config.js | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 apps/worker/src/generate-metadata.ts diff --git a/apps/worker/nest-cli.json b/apps/worker/nest-cli.json index 9c700788666..7ab90063372 100644 --- a/apps/worker/nest-cli.json +++ b/apps/worker/nest-cli.json @@ -21,7 +21,8 @@ } ], "plugins": [], - "webpack": true + "webpack": true, + "typeCheck": true }, "projects": { "dal": { diff --git a/apps/worker/src/generate-metadata.ts b/apps/worker/src/generate-metadata.ts new file mode 100644 index 00000000000..d596db5c5e3 --- /dev/null +++ b/apps/worker/src/generate-metadata.ts @@ -0,0 +1,9 @@ +import { PluginMetadataGenerator } from '@nestjs/cli/lib/compiler/plugins'; + +const generator = new PluginMetadataGenerator(); +generator.generate({ + visitors: [], + outputDir: __dirname, + watch: true, + tsconfigPath: 'apps/worker/tsconfig.build.json', +}); diff --git a/apps/worker/webpack.config.js b/apps/worker/webpack.config.js index daf0f0edbcb..18ab8679757 100644 --- a/apps/worker/webpack.config.js +++ b/apps/worker/webpack.config.js @@ -1,6 +1,20 @@ +const swcDefaultConfig = require('@nestjs/cli/lib/compiler/defaults/swc-defaults').swcDefaultsFactory().swcOptions; + module.exports = function (options) { return { ...options, devtool: 'source-map', + module: { + rules: [ + { + test: /\.ts$/, + exclude: /node_modules/, + use: { + loader: 'swc-loader', + options: swcDefaultConfig, + }, + }, + ], + }, }; }; From 4fffd415a28f5e196db2c4f5c615f4a53b968c98 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Sun, 7 Apr 2024 21:26:23 +0300 Subject: [PATCH 03/13] chore(worker): generated metadata --- apps/worker/src/metadata.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 apps/worker/src/metadata.ts diff --git a/apps/worker/src/metadata.ts b/apps/worker/src/metadata.ts new file mode 100644 index 00000000000..b22aec814b0 --- /dev/null +++ b/apps/worker/src/metadata.ts @@ -0,0 +1,25 @@ +/* eslint-disable */ +export default async () => { + const t = { + ['../../../libs/dal/dist/repositories/job/job.entity']: await import( + '../../../libs/dal/dist/repositories/job/job.entity' + ), + }; + return { + '@nestjs/swagger': { + models: [ + [ + import('./app/workflow/usecases/webhook-filter-backoff-strategy/event-job.dto'), + { + EventJobDto: { + data: { required: true, type: () => t['../../../libs/dal/dist/repositories/job/job.entity'].JobEntity }, + }, + }, + ], + ], + controllers: [ + [import('./app/health/health.controller'), { HealthController: { healthCheck: { type: Object } } }], + ], + }, + }; +}; From 26192b535c81d32d18f59da7f62ff854d05a3de6 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Mon, 8 Apr 2024 10:02:08 +0300 Subject: [PATCH 04/13] chore(worker): add webpack config path to nest cli --- apps/worker/nest-cli.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/worker/nest-cli.json b/apps/worker/nest-cli.json index 7ab90063372..830fb4e02eb 100644 --- a/apps/worker/nest-cli.json +++ b/apps/worker/nest-cli.json @@ -22,6 +22,7 @@ ], "plugins": [], "webpack": true, + "webpackConfigPath": "webpack.config.js", "typeCheck": true }, "projects": { From 90bf6dc99612e0fc6d699f65844f03c3ebabde46 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Mon, 8 Apr 2024 16:53:48 +0300 Subject: [PATCH 05/13] chore(worker): remove generate metadata and metadata files --- apps/worker/src/generate-metadata.ts | 9 --------- apps/worker/src/metadata.ts | 25 ------------------------- 2 files changed, 34 deletions(-) delete mode 100644 apps/worker/src/generate-metadata.ts delete mode 100644 apps/worker/src/metadata.ts diff --git a/apps/worker/src/generate-metadata.ts b/apps/worker/src/generate-metadata.ts deleted file mode 100644 index d596db5c5e3..00000000000 --- a/apps/worker/src/generate-metadata.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { PluginMetadataGenerator } from '@nestjs/cli/lib/compiler/plugins'; - -const generator = new PluginMetadataGenerator(); -generator.generate({ - visitors: [], - outputDir: __dirname, - watch: true, - tsconfigPath: 'apps/worker/tsconfig.build.json', -}); diff --git a/apps/worker/src/metadata.ts b/apps/worker/src/metadata.ts deleted file mode 100644 index b22aec814b0..00000000000 --- a/apps/worker/src/metadata.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* eslint-disable */ -export default async () => { - const t = { - ['../../../libs/dal/dist/repositories/job/job.entity']: await import( - '../../../libs/dal/dist/repositories/job/job.entity' - ), - }; - return { - '@nestjs/swagger': { - models: [ - [ - import('./app/workflow/usecases/webhook-filter-backoff-strategy/event-job.dto'), - { - EventJobDto: { - data: { required: true, type: () => t['../../../libs/dal/dist/repositories/job/job.entity'].JobEntity }, - }, - }, - ], - ], - controllers: [ - [import('./app/health/health.controller'), { HealthController: { healthCheck: { type: Object } } }], - ], - }, - }; -}; From 33dea1b303f9a4d48cc26b9c9a0392dd2d5d84ae Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Wed, 10 Apr 2024 14:28:31 +0300 Subject: [PATCH 06/13] chore(worker): move swc from webpack to nest cli --- apps/worker/nest-cli.json | 3 +-- apps/worker/webpack.config.js | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/apps/worker/nest-cli.json b/apps/worker/nest-cli.json index 830fb4e02eb..24927926613 100644 --- a/apps/worker/nest-cli.json +++ b/apps/worker/nest-cli.json @@ -21,8 +21,7 @@ } ], "plugins": [], - "webpack": true, - "webpackConfigPath": "webpack.config.js", + "builder": "swc", "typeCheck": true }, "projects": { diff --git a/apps/worker/webpack.config.js b/apps/worker/webpack.config.js index 18ab8679757..daf0f0edbcb 100644 --- a/apps/worker/webpack.config.js +++ b/apps/worker/webpack.config.js @@ -1,20 +1,6 @@ -const swcDefaultConfig = require('@nestjs/cli/lib/compiler/defaults/swc-defaults').swcDefaultsFactory().swcOptions; - module.exports = function (options) { return { ...options, devtool: 'source-map', - module: { - rules: [ - { - test: /\.ts$/, - exclude: /node_modules/, - use: { - loader: 'swc-loader', - options: swcDefaultConfig, - }, - }, - ], - }, }; }; From 105a039502ba6d9c268cb1a6013fbbf460d215ec Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Wed, 10 Apr 2024 14:54:06 +0300 Subject: [PATCH 07/13] chore(worker): fix env paths --- apps/worker/src/config/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/worker/src/config/index.ts b/apps/worker/src/config/index.ts index 262d6bdf6db..d8a6f85f3c3 100644 --- a/apps/worker/src/config/index.ts +++ b/apps/worker/src/config/index.ts @@ -14,7 +14,9 @@ const envFileMapper = { }; const selectedEnvFile = envFileMapper[String(process.env.NODE_ENV)] || '.env'; -const { error } = dotenv.config({ path: `${__dirname}/${process.env.E2E_RUNNER ? '..' : 'src'}/${selectedEnvFile}` }); +const { error } = dotenv.config({ + path: `${process.cwd()}/${process.env.E2E_RUNNER ? '..' : 'src'}/${selectedEnvFile}`, +}); if (error && !process.env.LAMBDA_TASK_ROOT) throw error; From 3d3647ccde19ba0d1a737925452db57e51125765 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Wed, 10 Apr 2024 14:55:10 +0300 Subject: [PATCH 08/13] chore(worker): add prestart dev script and remove swc loader --- apps/worker/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/worker/package.json b/apps/worker/package.json index 5fb1ebf3e72..9b8515d51c5 100644 --- a/apps/worker/package.json +++ b/apps/worker/package.json @@ -13,6 +13,7 @@ "docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/worker/Dockerfile | BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN --build-arg PACKAGE_PATH=apps/worker - -t novu-worker --load --platform=linux/amd64,linux/arm64 --provenance=false", "docker:build:depot": "pnpm --silent --workspace-root pnpm-context -- apps/worker/Dockerfile | depot build --build-arg PACKAGE_PATH=apps/worker - -t novu-worker --load", "start": "pnpm start:dev", + "prestart:dev": "nest build && cp package.json dist/package.json", "start:dev": "cross-env TZ=UTC nest start --watch", "start:test": "cross-env NODE_ENV=test PORT=1342 TZ=UTC nest start --watch", "start:debug": "TZ=UTC nodemon --config nodemon-debug.json --debug", @@ -80,16 +81,15 @@ "sinon": "^9.2.4", "superagent-defaults": "^0.1.14", "supertest": "^5.0.0", - "swc-loader": "^0.2.6", "ts-loader": "~9.4.0", "ts-node": "~10.9.1", "tsconfig-paths": "~4.1.0", "typescript": "4.9.5" }, "optionalDependencies": { + "@novu/ee-chimera-connect": "^0.24.1", "@novu/ee-auth": "^0.24.1", "@novu/ee-billing": "^0.24.1", - "@novu/ee-chimera-connect": "^0.24.1", "@novu/ee-translation": "^0.24.1" }, "lint-staged": { From 00af9a8bd8c3be51282295e7d1962ffe70979a76 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Wed, 10 Apr 2024 15:23:57 +0300 Subject: [PATCH 09/13] fix: imports relative to dist --- apps/worker/nest-cli.json | 15 ++++++++++----- apps/worker/package.json | 1 - 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/apps/worker/nest-cli.json b/apps/worker/nest-cli.json index 24927926613..a822a437947 100644 --- a/apps/worker/nest-cli.json +++ b/apps/worker/nest-cli.json @@ -5,23 +5,28 @@ "assets": [ { "include": ".env", - "outDir": "dist/src" + "outDir": "dist" }, { "include": ".env.development", - "outDir": "dist/src" + "outDir": "dist" }, { "include": ".env.test", - "outDir": "dist/src" + "outDir": "dist" }, { "include": ".env.production", - "outDir": "dist/src" + "outDir": "dist" } ], "plugins": [], - "builder": "swc", + "builder": { + "type": "swc", + "options": { + "stripLeadingPaths": true + } + }, "typeCheck": true }, "projects": { diff --git a/apps/worker/package.json b/apps/worker/package.json index 9b8515d51c5..b81aa9c0e54 100644 --- a/apps/worker/package.json +++ b/apps/worker/package.json @@ -13,7 +13,6 @@ "docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/worker/Dockerfile | BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN --build-arg PACKAGE_PATH=apps/worker - -t novu-worker --load --platform=linux/amd64,linux/arm64 --provenance=false", "docker:build:depot": "pnpm --silent --workspace-root pnpm-context -- apps/worker/Dockerfile | depot build --build-arg PACKAGE_PATH=apps/worker - -t novu-worker --load", "start": "pnpm start:dev", - "prestart:dev": "nest build && cp package.json dist/package.json", "start:dev": "cross-env TZ=UTC nest start --watch", "start:test": "cross-env NODE_ENV=test PORT=1342 TZ=UTC nest start --watch", "start:debug": "TZ=UTC nodemon --config nodemon-debug.json --debug", From 900b06e3f0a71b0f2b067db066e394f3f3f11f17 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Wed, 10 Apr 2024 15:26:55 +0300 Subject: [PATCH 10/13] fix: worker e2e runner path --- apps/worker/src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/worker/src/config/index.ts b/apps/worker/src/config/index.ts index d8a6f85f3c3..dd5c5647426 100644 --- a/apps/worker/src/config/index.ts +++ b/apps/worker/src/config/index.ts @@ -15,7 +15,7 @@ const envFileMapper = { const selectedEnvFile = envFileMapper[String(process.env.NODE_ENV)] || '.env'; const { error } = dotenv.config({ - path: `${process.cwd()}/${process.env.E2E_RUNNER ? '..' : 'src'}/${selectedEnvFile}`, + path: `${process.cwd()}/${process.env.E2E_RUNNER ? 'src' : 'src'}/${selectedEnvFile}`, }); if (error && !process.env.LAMBDA_TASK_ROOT) throw error; From 917bb9cccf4d44287f73555d13b1604b8c779fd5 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Wed, 10 Apr 2024 15:29:16 +0300 Subject: [PATCH 11/13] fix: lock file --- pnpm-lock.yaml | 89 ++++---------------------------------------------- 1 file changed, 6 insertions(+), 83 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f8c3e2438e..dcfa714ea15 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1521,9 +1521,6 @@ importers: supertest: specifier: ^5.0.0 version: 5.0.0 - swc-loader: - specifier: ^0.2.6 - version: 0.2.6(@swc/core@1.4.12)(webpack@5.78.0) ts-loader: specifier: ~9.4.0 version: 9.4.2(typescript@4.9.5)(webpack@5.78.0) @@ -40689,7 +40686,7 @@ packages: eslint: 8.51.0 eslint-import-resolver-node: 0.3.7 eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-webpack@0.13.7)(eslint@8.51.0) - has: 1.0.3 + has: 1.0.4 is-core-module: 2.13.0 is-glob: 4.0.3 minimatch: 3.1.2 @@ -42289,7 +42286,7 @@ packages: semver: 7.5.4 tapable: 2.2.1 typescript: 5.1.6 - webpack: 5.88.2(@swc/core@1.4.12) + webpack: 5.88.2(esbuild@0.18.17) dev: true /form-data@2.3.3: @@ -45556,7 +45553,7 @@ packages: pretty-format: 27.5.1 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.1(@types/node@16.11.7)(typescript@4.9.5) + ts-node: 10.9.1(@swc/core@1.4.12)(@types/node@14.18.42)(typescript@4.9.5) transitivePeerDependencies: - bufferutil - canvas @@ -47744,6 +47741,8 @@ packages: peerDependenciesMeta: webpack: optional: true + webpack-sources: + optional: true dependencies: webpack: 5.88.2(esbuild@0.18.17) webpack-sources: 3.2.3 @@ -58368,17 +58367,6 @@ packages: webpack: 5.78.0(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4) dev: true - /swc-loader@0.2.6(@swc/core@1.4.12)(webpack@5.78.0): - resolution: {integrity: sha512-9Zi9UP2YmDpgmQVbyOPJClY0dwf58JDyDMQ7uRc4krmc72twNI2fvlBWHLqVekBpPc7h5NJkGVT1zNDxFrqhvg==} - peerDependencies: - '@swc/core': ^1.2.147 - webpack: '>=2' - dependencies: - '@swc/core': 1.4.12 - '@swc/counter': 0.1.3 - webpack: 5.78.0(@swc/core@1.4.12) - dev: true - /symbol-observable@1.2.0: resolution: {integrity: sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==} engines: {node: '>=0.10.0'} @@ -58726,31 +58714,6 @@ packages: terser: 5.16.9 webpack: 5.82.1(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4) - /terser-webpack-plugin@5.3.9(@swc/core@1.4.12)(webpack@5.78.0): - resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - dependencies: - '@jridgewell/trace-mapping': 0.3.19 - '@swc/core': 1.4.12 - jest-worker: 27.5.1 - schema-utils: 3.1.2 - serialize-javascript: 6.0.1 - terser: 5.22.0 - webpack: 5.78.0(@swc/core@1.4.12) - dev: true - /terser-webpack-plugin@5.3.9(@swc/core@1.4.12)(webpack@5.88.2): resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} @@ -59461,7 +59424,7 @@ packages: micromatch: 4.0.5 semver: 7.5.2 typescript: 4.9.5 - webpack: 5.78.0(@swc/core@1.4.12) + webpack: 5.78.0 dev: true /ts-loader@9.4.2(typescript@4.9.5)(webpack@5.82.1): @@ -61546,46 +61509,6 @@ packages: - esbuild - uglify-js - /webpack@5.78.0(@swc/core@1.4.12): - resolution: {integrity: sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - webpack-cli: '*' - peerDependenciesMeta: - webpack-cli: - optional: true - dependencies: - '@types/eslint-scope': 3.7.4 - '@types/estree': 0.0.51 - '@webassemblyjs/ast': 1.11.1 - '@webassemblyjs/wasm-edit': 1.11.1 - '@webassemblyjs/wasm-parser': 1.11.1 - acorn: 8.11.3 - acorn-import-assertions: 1.9.0(acorn@8.11.3) - browserslist: 4.23.0 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.15.0 - es-module-lexer: 0.9.3 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.9(@swc/core@1.4.12)(webpack@5.78.0) - watchpack: 2.4.0 - webpack-sources: 3.2.3 - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - dev: true - /webpack@5.82.1(@swc/core@1.3.49)(esbuild@0.18.20)(webpack-cli@5.1.4): resolution: {integrity: sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==} engines: {node: '>=10.13.0'} From f3dc40c85842db80d233872e2cd31f77e2b86af0 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Wed, 10 Apr 2024 18:54:45 +0300 Subject: [PATCH 12/13] fix(worker): path issue --- apps/worker/src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/worker/src/config/index.ts b/apps/worker/src/config/index.ts index dd5c5647426..7a6ba075882 100644 --- a/apps/worker/src/config/index.ts +++ b/apps/worker/src/config/index.ts @@ -15,7 +15,7 @@ const envFileMapper = { const selectedEnvFile = envFileMapper[String(process.env.NODE_ENV)] || '.env'; const { error } = dotenv.config({ - path: `${process.cwd()}/${process.env.E2E_RUNNER ? 'src' : 'src'}/${selectedEnvFile}`, + path: `${__dirname}/${process.env.E2E_RUNNER ? '..' : '..'}/${selectedEnvFile}`, }); if (error && !process.env.LAMBDA_TASK_ROOT) throw error; From 54c202c1c2b1cfcbce5469abc17bc9d538a32206 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Wed, 10 Apr 2024 22:58:50 +0300 Subject: [PATCH 13/13] fix: docker file --- apps/worker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/worker/Dockerfile b/apps/worker/Dockerfile index 90a28819033..23f77cdff79 100644 --- a/apps/worker/Dockerfile +++ b/apps/worker/Dockerfile @@ -31,10 +31,10 @@ RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NPM WORKDIR /usr/src/app/apps/worker -RUN cp src/.example.env dist/src/.env -RUN cp src/.env.test dist/src/.env.test -RUN cp src/.env.development dist/src/.env.development -RUN cp src/.env.production dist/src/.env.production +RUN cp src/.example.env dist/.env +RUN cp src/.env.test dist/.env.test +RUN cp src/.env.development dist/.env.development +RUN cp src/.env.production dist/.env.production WORKDIR /usr/src/app