Skip to content

Commit

Permalink
feat: upgrade libs nest 10
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghoriordan committed Jun 20, 2023
1 parent 7414d53 commit 79095c0
Show file tree
Hide file tree
Showing 10 changed files with 1,722 additions and 1,676 deletions.
14 changes: 7 additions & 7 deletions apps/backend-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@
"@babel/core": "7.22.5",
"@babel/plugin-transform-modules-commonjs": "7.22.5",
"@babel/preset-env": "7.22.5",
"@darraghor/eslint-plugin-nestjs-typed": "3.22.5",
"@darraghor/eslint-plugin-nestjs-typed": "3.22.6",
"@nrwl/eslint-plugin-nx": "16.3.2",
"@nrwl/jest": "16.3.2",
"@nrwl/linter": "16.3.2",
"@nrwl/node": "16.3.2",
"@types/express": "4.17.17",
"@types/jest": "29.5.2",
"@types/node": "20.3.0",
"@types/node": "20.3.1",
"@types/node-fetch": "2.6.4",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"axios": "1.4.0",
"babel-jest": "29.5.0",
"babel-plugin-transform-runtime": "6.23.0",
"eslint": "8.42.0",
"eslint": "8.43.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jest": "27.2.2",
"eslint-plugin-jsdoc": "46.2.6",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-promise": "6.1.1",
Expand All @@ -51,7 +51,7 @@
},
"dependencies": {
"@use-miller/shared-api-client": "workspace:*",
"dotenv": "16.1.4",
"dotenv": "16.3.1",
"node-fetch": "3.3.1"
}
}
164 changes: 82 additions & 82 deletions apps/backend/open-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -842,31 +842,67 @@
]
}
},
"/payments/stripe/webhook-receiver": {
"/payments/stripe/customer-portal-session": {
"post": {
"operationId": "StripeWebhookController_webhookReceiver",
"operationId": "StripeCustomerPortalController_createCustomerPortalSession",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeCustomerPortalRequestDto"
}
}
}
},
"responses": {
"200": {
"description": ""
},
"400": {
"description": ""
"description": "The URL to the customer portal",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeCustomerPortalResponseDto"
}
}
}
}
},
"tags": [
"Payments"
],
"security": [
{
"bearer": []
}
]
}
},
"/payments/stripe/peekalljobs": {
"/payments/stripe/events": {
"get": {
"operationId": "StripeWebhookController_peekQueueJobs",
"operationId": "StripeEventsController_getLastEvents",
"summary": "",
"tags": [
"Payments"
],
"parameters": [],
"parameters": [
{
"name": "skip",
"required": true,
"in": "query",
"schema": {
"type": "number"
}
},
{
"name": "take",
"required": true,
"in": "query",
"schema": {
"type": "number"
}
}
],
"responses": {
"200": {
"description": "",
Expand All @@ -875,7 +911,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/QueueItemDto"
"$ref": "#/components/schemas/StripeCheckoutEvent"
}
}
}
Expand All @@ -889,9 +925,26 @@
]
}
},
"/payments/stripe/peekfailedjobs": {
"/payments/stripe/webhook-receiver": {
"post": {
"operationId": "StripeWebhookController_webhookReceiver",
"parameters": [],
"responses": {
"200": {
"description": ""
},
"400": {
"description": ""
}
},
"tags": [
"Payments"
]
}
},
"/payments/stripe/peekalljobs": {
"get": {
"operationId": "StripeWebhookController_peekFailedQueueJobs",
"operationId": "StripeWebhookController_peekQueueJobs",
"summary": "",
"tags": [
"Payments"
Expand Down Expand Up @@ -919,67 +972,44 @@
]
}
},
"/payments/stripe/customer-portal-session": {
"post": {
"operationId": "StripeCustomerPortalController_createCustomerPortalSession",
"/payments/stripe/peekfailedjobs": {
"get": {
"operationId": "StripeWebhookController_peekFailedQueueJobs",
"summary": "",
"tags": [
"Payments"
],
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeCustomerPortalRequestDto"
}
}
}
},
"responses": {
"200": {
"description": "The URL to the customer portal",
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeCustomerPortalResponseDto"
"type": "array",
"items": {
"$ref": "#/components/schemas/QueueItemDto"
}
}
}
}
}
},
"tags": [
"Payments"
],
"security": [
{
"bearer": []
}
]
}
},
"/payments/stripe/events": {
"/subscriptions": {
"get": {
"operationId": "StripeEventsController_getLastEvents",
"operationId": "AllSubscriptionsController_findAll",
"summary": "",
"tags": [
"Payments"
],
"parameters": [
{
"name": "skip",
"required": true,
"in": "query",
"schema": {
"type": "number"
}
},
{
"name": "take",
"required": true,
"in": "query",
"schema": {
"type": "number"
}
}
"Organisation Subscriptions"
],
"parameters": [],
"responses": {
"200": {
"description": "",
Expand All @@ -988,7 +1018,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StripeCheckoutEvent"
"$ref": "#/components/schemas/OrganisationSubscriptionRecord"
}
}
}
Expand Down Expand Up @@ -1131,36 +1161,6 @@
]
}
},
"/subscriptions": {
"get": {
"operationId": "AllSubscriptionsController_findAll",
"summary": "",
"tags": [
"Organisation Subscriptions"
],
"parameters": [],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrganisationSubscriptionRecord"
}
}
}
}
}
},
"security": [
{
"bearer": []
}
]
}
},
"/payment-reference": {
"get": {
"operationId": "PaymentSessionReferenceController_findAll",
Expand Down
63 changes: 33 additions & 30 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"down": "docker compose down",
"build": "pnpm rimraf dist && pnpm nest build --tsc --path tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start": "nest start -b swc --type-check",
"dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/main",
Expand All @@ -32,27 +32,28 @@
},
"dependencies": {
"@babel/core": "7.22.5",
"@darraghor/nest-backend-libs": "2.32.14",
"@darraghor/nest-backend-libs": "2.33.0",
"@mapbox/rehype-prism": "0.8.0",
"@nestjs/bull": "0.6.3",
"@nestjs/cli": "9.5.0",
"@nestjs/common": "9.4.2",
"@nestjs/config": "2.3.2",
"@nestjs/core": "9.4.2",
"@nestjs/devtools-integration": "0.1.4",
"@nestjs/passport": "9.0.3",
"@nestjs/platform-express": "9.4.2",
"@nestjs/swagger": "6.3.0",
"@nestjs/typeorm": "9.0.1",
"@octokit/rest": "19.0.11",
"@nestjs/bull": "10.0.0",
"@nestjs/cache-manager": "2.0.0",
"@nestjs/cli": "10.0.3",
"@nestjs/common": "10.0.2",
"@nestjs/config": "3.0.0",
"@nestjs/core": "10.0.2",
"@nestjs/devtools-integration": "0.1.5",
"@nestjs/passport": "10.0.0",
"@nestjs/platform-express": "10.0.2",
"@nestjs/swagger": "7.0.2",
"@nestjs/typeorm": "10.0.0",
"@octokit/rest": "19.0.13",
"@opentelemetry/api": "1.4.1",
"@opentelemetry/auto-instrumentations-node": "0.37.0",
"@opentelemetry/auto-instrumentations-node": "0.37.1",
"@opentelemetry/exporter-metrics-otlp-grpc": "0.40.0",
"@opentelemetry/exporter-trace-otlp-http": "0.40.0",
"@opentelemetry/host-metrics": "0.32.2",
"@opentelemetry/instrumentation-express": "0.32.3",
"@opentelemetry/instrumentation-nestjs-core": "0.32.4",
"@opentelemetry/instrumentation-pino": "0.33.3",
"@opentelemetry/instrumentation-express": "0.32.4",
"@opentelemetry/instrumentation-nestjs-core": "0.32.5",
"@opentelemetry/instrumentation-pino": "0.33.4",
"@opentelemetry/resources": "1.14.0",
"@opentelemetry/sdk-metrics": "1.14.0",
"@opentelemetry/sdk-node": "0.40.0",
Expand All @@ -62,12 +63,12 @@
"auth0": "3.4.0",
"axios": "1.4.0",
"bull": "4.10.4",
"cache-manager": "5.2.2",
"cache-manager-redis-yet": "4.1.1",
"cache-manager": "5.2.3",
"cache-manager-redis-yet": "4.1.2",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"date-fns": "2.30.0",
"dotenv": "16.1.4",
"dotenv": "16.3.1",
"express": "4",
"gray-matter": "4.0.3",
"jwks-rsa": "3.0.1",
Expand All @@ -92,28 +93,30 @@
"typeorm": "0.3.16",
"unified": "10.1.2",
"vfile": "6.0.0",
"webpack": "5.86.0"
"webpack": "5.87.0"
},
"devDependencies": {
"@darraghor/eslint-plugin-nestjs-typed": "3.22.5",
"@nestjs/schematics": "9.2.0",
"@nestjs/testing": "9.4.2",
"@darraghor/eslint-plugin-nestjs-typed": "3.22.6",
"@nestjs/schematics": "10.0.1",
"@nestjs/testing": "10.0.2",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.66",
"@types/auth0": "3.3.3",
"@types/eslint": "8.40.1",
"@types/eslint": "8.40.2",
"@types/express": "4.17.17",
"@types/jest": "29.5.2",
"@types/node": "20.3.0",
"@types/node": "20.3.1",
"@types/nodemailer": "6.4.8",
"@types/passport-jwt": "3.0.8",
"@types/supertest": "2.0.12",
"@types/unist": "2.0.6",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"eslint": "8.42.0",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"eslint": "8.43.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jest": "27.2.2",
"eslint-plugin-jsdoc": "46.2.6",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-promise": "6.1.1",
Expand Down
Loading

0 comments on commit 79095c0

Please sign in to comment.