Skip to content

Commit

Permalink
Cleanup done to the web socket service and optimisation done by updat…
Browse files Browse the repository at this point in the history
…ing to the @stomp/stompjs sockjs-client library which is better maintained.
  • Loading branch information
AustinAdodo committed Nov 24, 2024
1 parent f07b771 commit 88fd29c
Show file tree
Hide file tree
Showing 4 changed files with 1,478 additions and 1,379 deletions.
56 changes: 34 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,21 @@
"projects": {
"The_Ride_Front_End": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/the-ride-front-end",
"index": "src/index.html",
"browser": "src/main.ts",
"main": "src/main.ts",
"polyfills": ["zone.js", "src/window-global-fix.ts"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"server": "src/main.server.ts",
"prerender": true,
"ssr": {
"entry": "server.ts"
},
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand Down Expand Up @@ -70,6 +59,8 @@
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
},
"configurations": {
"production": {
"buildTarget": "The_Ride_Front_End:build:production"
Expand All @@ -80,6 +71,32 @@
},
"defaultConfiguration": "development"
},
"server": {
"builder": "@nguniversal/builders:server",
"options": {
"outputPath": "dist/the-ride-front-end/server",
"main": "src/main.server.ts",
"tsConfig": "tsconfig.server.json"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
}
}
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"routes": ["/"],
"buildTarget": "The_Ride_Front_End:build:production",
"serverTarget": "The_Ride_Front_End:server:production"
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
Expand All @@ -94,13 +111,8 @@
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
}
}
Expand Down
Loading

0 comments on commit 88fd29c

Please sign in to comment.