Upgrading to nest v11

This commit is contained in:
2025-03-08 08:32:45 -06:00
parent 24cde897d5
commit 04d796da6c
3 changed files with 1474 additions and 1063 deletions

View File

@@ -10,7 +10,6 @@ export class AzureAdStrategy extends PassportStrategy(
'azure-ad' 'azure-ad'
) { ) {
constructor(@Inject(MODULE_OPTIONS_TOKEN) authModuleOptions: AuthModuleOptions) { constructor(@Inject(MODULE_OPTIONS_TOKEN) authModuleOptions: AuthModuleOptions) {
console.log(authModuleOptions)
super({ super({
identityMetadata: `https://login.microsoftonline.com/${authModuleOptions.tenantId}/.well-known/openid-configuration`, identityMetadata: `https://login.microsoftonline.com/${authModuleOptions.tenantId}/.well-known/openid-configuration`,
clientID: authModuleOptions.clientId, clientID: authModuleOptions.clientId,

2520
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@noahspan/noahspan-modules", "name": "@noahspan/noahspan-modules",
"version": "1.0.0", "version": "1.1.0",
"description": "", "description": "",
"author": "", "author": "",
"license": "UNLICENSED", "license": "UNLICENSED",
@@ -27,10 +27,10 @@
"@azure/identity": "^4.2.0", "@azure/identity": "^4.2.0",
"@azure/msal-node": "^2.9.2", "@azure/msal-node": "^2.9.2",
"@microsoft/microsoft-graph-client": "^3.0.7", "@microsoft/microsoft-graph-client": "^3.0.7",
"@nestjs/common": "^10.0.0", "@nestjs/common": "^11.0.11",
"@nestjs/core": "^10.0.0", "@nestjs/core": "^11.0.11",
"@nestjs/passport": "^10.0.3", "@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^10.0.0", "@nestjs/platform-express": "^11.0.11",
"axios": "^1.7.2", "axios": "^1.7.2",
"passport": "^0.7.0", "passport": "^0.7.0",
"passport-azure-ad": "^4.3.5", "passport-azure-ad": "^4.3.5",
@@ -40,9 +40,9 @@
}, },
"devDependencies": { "devDependencies": {
"@microsoft/microsoft-graph-types": "^2.40.0", "@microsoft/microsoft-graph-types": "^2.40.0",
"@nestjs/cli": "^10.0.0", "@nestjs/cli": "^11.0.5",
"@nestjs/schematics": "^10.0.0", "@nestjs/schematics": "^11.0.2",
"@nestjs/testing": "^10.0.0", "@nestjs/testing": "^11.0.11",
"@types/express": "^4.17.17", "@types/express": "^4.17.17",
"@types/jest": "^29.5.2", "@types/jest": "^29.5.2",
"@types/node": "^20.3.1", "@types/node": "^20.3.1",