Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws committed May 22, 2024
1 parent e78c676 commit e765aa1
Show file tree
Hide file tree
Showing 12 changed files with 921 additions and 308 deletions.
7 changes: 3 additions & 4 deletions apps/push-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@types/node": "20.12.12",
"@types/whatwg-fetch": "0.0.33",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"@vercel/ncc": "0.38.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
Expand All @@ -33,8 +33,7 @@
"dependencies": {
"@aspida/fetch": "1.14.0",
"@koa/router": "12.0.1",
"@sentry/integrations": "7.116.0",
"@sentry/node": "7.116.0",
"@sentry/node": "8.2.1",
"ajv": "8.13.0",
"api-types": "workspace:^",
"aspida": "1.14.0",
Expand Down
15 changes: 2 additions & 13 deletions apps/push-serverless/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@ import { apiInternalOnPublish } from './controllers/internal/on_publish';
import { apiInternalOnUnPublish } from './controllers/internal/on_unpublish';
import { Streaming } from './streaming';
import * as Sentry from '@sentry/node';
import { CaptureConsole } from '@sentry/integrations';
import { isServerIdling } from './utils/sessions';

const dsn = process.env.SENTRY_DSN;

if (dsn) {
Sentry.init({
dsn,
integrations: [
new CaptureConsole({
levels: ['error', 'warn']
})
],
integrations: [Sentry.captureConsoleIntegration()],
tracesSampleRate: 1.0
});
}
Expand All @@ -30,13 +25,7 @@ const app = new Koa();
app.use(bodyParser());
app.use(logger());

app.on('error', (err, ctx) => {
Sentry.withScope(scope => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
scope.setSDKProcessingMetadata({ request: ctx.request });
Sentry.captureException(err);
});
});
Sentry.setupKoaErrorHandler(app);

const route = new Router();

Expand Down
7 changes: 3 additions & 4 deletions apps/push/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@types/node": "20.12.12",
"@types/whatwg-fetch": "0.0.33",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"jest": "29.7.0",
Expand All @@ -32,8 +32,7 @@
"@aspida/fetch": "1.14.0",
"@aws-sdk/client-s3": "3.577.0",
"@koa/router": "12.0.1",
"@sentry/integrations": "7.116.0",
"@sentry/node": "7.116.0",
"@sentry/node": "8.2.1",
"ajv": "8.13.0",
"api-types": "workspace:^",
"aspida": "1.14.0",
Expand Down
15 changes: 2 additions & 13 deletions apps/push/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ import { apiInternalOnPublish } from './controllers/internal/on_publish';
import { apiInternalOnUnPublish } from './controllers/internal/on_unpublish';
import { Streaming } from './streaming';
import * as Sentry from '@sentry/node';
import { CaptureConsole } from '@sentry/integrations';

const dsn = process.env.SENTRY_DSN;

if (dsn) {
Sentry.init({
dsn,
integrations: [
new CaptureConsole({
levels: ['error', 'warn']
})
],
integrations: [Sentry.captureConsoleIntegration()],
tracesSampleRate: 1.0
});
}
Expand All @@ -29,13 +24,7 @@ const app = new Koa();
app.use(bodyParser());
app.use(logger());

app.on('error', (err, ctx) => {
Sentry.withScope(scope => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
scope.setSDKProcessingMetadata({ request: ctx.request });
Sentry.captureException(err);
});
});
Sentry.setupKoaErrorHandler(app);

const route = new Router();

Expand Down
15 changes: 7 additions & 8 deletions apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@
"@aws-sdk/client-s3": "3.577.0",
"@aws-sdk/middleware-endpoint": "3.374.0",
"@aws-sdk/s3-request-presigner": "3.577.0",
"@bull-board/api": "5.17.1",
"@bull-board/koa": "5.17.1",
"@bull-board/api": "5.18.0",
"@bull-board/koa": "5.18.0",
"@dotplants/cli": "0.2.3",
"@koa/cors": "5.0.0",
"@koa/multer": "3.0.2",
"@koa/router": "12.0.1",
"@prisma/client": "5.14.0",
"@sentry/integrations": "7.116.0",
"@sentry/node": "7.116.0",
"@sentry/node": "8.2.1",
"ajv": "8.13.0",
"api-types": "workspace:^",
"aspida": "1.14.0",
"bullmq": "5.7.9",
"bullmq": "5.7.10",
"dotenv": "16.4.5",
"ioredis": "5.4.1",
"is-valid-domain": "0.1.6",
Expand Down Expand Up @@ -59,13 +58,13 @@
"@types/sharp": "0.32.0",
"@types/whatwg-fetch": "0.0.33",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"ts-jest": "29.1.2",
"ts-jest": "29.1.3",
"ts-node": "10.9.2",
"ts-node-dev": "2.0.0",
"typescript": "5.4.5"
Expand Down
8 changes: 1 addition & 7 deletions apps/server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ export const app = async (): Promise<void> => {
app.use(cors());
app.use(middlewareGetUserId);

app.on('error', (err, ctx) => {
Sentry.withScope(scope => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
scope.setSDKProcessingMetadata({ request: ctx.request });
Sentry.captureException(err);
});
});
Sentry.setupKoaErrorHandler(app);

if (process.env.ENABLE_QUEUE_DASHBOARD_YOU_HAVE_TO_PROTECT_IT) {
app.use(createBoard('/admin/queues').registerPlugin());
Expand Down
7 changes: 1 addition & 6 deletions apps/server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
import * as Sentry from '@sentry/node';
import { CaptureConsole } from '@sentry/integrations';

const dsn = process.env.SENTRY_DSN;

if (dsn) {
Sentry.init({
dsn,
integrations: [
new CaptureConsole({
levels: ['error', 'warn']
})
],
integrations: [Sentry.captureConsoleIntegration()],
tracesSampleRate: 1.0
});
}
Expand Down
7 changes: 3 additions & 4 deletions apps/video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@types/koa-logger": "3.1.5",
"@types/koa__router": "12.0.4",
"@types/node": "20.12.12",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"jest": "29.7.0",
Expand All @@ -29,8 +29,7 @@
"dependencies": {
"@aspida/fetch": "1.14.0",
"@koa/router": "12.0.1",
"@sentry/integrations": "7.116.0",
"@sentry/node": "7.116.0",
"@sentry/node": "8.2.1",
"ajv": "8.13.0",
"api-types": "workspace:^",
"aspida": "1.14.0",
Expand Down
15 changes: 2 additions & 13 deletions apps/video/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@ import { apiExternalRecordingPublish } from './controllers/externals/recording/p
import { apiExternalRecordingUnPublish } from './controllers/externals/recording/unpublish';
import * as Sentry from '@sentry/node';
import { Action } from './services/action';
import { CaptureConsole } from '@sentry/integrations';

const dsn = process.env.SENTRY_DSN;

if (dsn) {
Sentry.init({
dsn,
integrations: [
new CaptureConsole({
levels: ['error', 'warn']
})
],
integrations: [Sentry.captureConsoleIntegration()],
tracesSampleRate: 1.0
});
}
Expand All @@ -27,13 +22,7 @@ const app = new Koa();
app.use(bodyParser());
app.use(logger());

app.on('error', (err, ctx) => {
Sentry.withScope(scope => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
scope.setSDKProcessingMetadata({ request: ctx.request });
Sentry.captureException(err);
});
});
Sentry.setupKoaErrorHandler(app);

const route = new Router();

Expand Down
6 changes: 3 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@napi-rs/canvas": "0.1.52",
"api-types": "*",
"aspida": "1.14.0",
"framer-motion": "11.2.4",
"framer-motion": "11.2.6",
"hls.js": "1.5.8",
"jose": "5.3.0",
"mpegts.js": "1.7.3",
Expand All @@ -48,8 +48,8 @@
"@types/node": "20.12.12",
"@types/react": "18.3.2",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "9.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/api-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"@tsconfig/node18": "18.2.4",
"@types/node": "20.12.12",
"@types/node-fetch": "2.6.11",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/experimental-utils": "5.62.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/parser": "7.10.0",
"aspida": "1.14.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
Expand Down
Loading

0 comments on commit e765aa1

Please sign in to comment.