Skip to content

Commit

Permalink
update for openssl changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnubansaltarento committed Sep 18, 2024
1 parent 1791acc commit 2498d35
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ COPY . .

#RUN npm i yarn
#RUN yarn global add @angular/cli@latest
RUN ENV NODE_OPTIONS=--openssl-legacy-provider
RUN yarn && yarn add moment && yarn add vis-util && npm run build --prod --build-optimizer
#RUN ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --verbose=true
RUN npm run compress:brotli
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"start": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng serve --proxy-config proxy/localhost.proxy.json -o",
"dev": "npm run start:spv-dev",
"prebuild": "npm run lint:fix",
"build-dev": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --configuration=dev --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"build-preprod": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --configuration=preprod --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"build": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"build-dev": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --configuration=dev --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"build-preprod": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --configuration=preprod --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production --outputPath=dist/www/en --baseHref=/ --subresource-integrity",
"postbuild": "npm run compress:gzip && npm run compress:brotli",
"compress:brotli": "gzipper --brotli --gzip-level=9 --verbose ./dist/www",
"compress:gzip": "gzipper --verbose --gzip-level=9 ./dist/www",
"build:local": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production",
"build:local": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration production",
"build:stats": "ng build --stats-json",
"start:spv-dev": "node --max_old_space_size=12288 ./node_modules/@angular/cli/bin/ng serve --proxy-config proxy/spv-dev-ip.proxy.json -o",
"analyse": "webpack-bundle-analyzer ./dist/www/ng serve --proxy-config proxy/localhost.proxy.json -o/stats-es5.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class MentorManageComponent implements OnInit, OnDestroy {
setTimeout(() => {
this.getAllVerifiedUsers('')
this.getMentorUsers('')
}, 1000)
}, 1000)

})
// this.getNMUsers('')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export class CreateMdoComponent implements OnInit {

// this.router.navigate([`/app/home/directory`])
}
}, (error: any) => {
}, (error: any) => {
this.openSnackbar(`Something went wrong, please try again later`)
this.disableStateCreateButton = false
this.displayLoader = false
Expand Down Expand Up @@ -501,10 +501,9 @@ export class CreateMdoComponent implements OnInit {
}
}
} else {
this.snackBar.open("Form is not valid")
this.snackBar.open('Form is not valid')
}


}

onStateChange() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class EventListViewComponent implements OnInit, AfterViewInit, OnChanges,
@Input() data?: []
@Input() isUpload?: boolean
@Input() isCreate?: boolean
@Input() currentFilter?: string = ''
@Input() currentFilter = ''

@Input() columns?: IColums[]
@Input() needCheckBox?: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export class RequestCopyDetailsComponent implements OnInit {
competencySubtheme!: FormControl
data: any
constructor(private formBuilder: FormBuilder,
private requestService: RequestServiceService,
private activatedRouter: ActivatedRoute,
private snackBar: MatSnackBar,
private router: Router,
public dialog: MatDialog
private requestService: RequestServiceService,
private activatedRouter: ActivatedRoute,
private snackBar: MatSnackBar,
private router: Router,
public dialog: MatDialog
) {

this.currentUser = sessionStorage.getItem('idDetails') ? sessionStorage.getItem('idDetails') : ''
Expand Down Expand Up @@ -653,9 +653,9 @@ export class RequestCopyDetailsComponent implements OnInit {
this.router.navigateByUrl('/app/home/all-request')
this.snackBar.open('Request submitted successfully ')
}
}, 1000)
}, 1000)
},
(error: any) => {
(error: any) => {
this.dialogRefs.close({ error })
this.snackBar.open('Request Failed')

Expand Down

0 comments on commit 2498d35

Please sign in to comment.