Cleaned up dependencies; changed dist commands; start message improvements

This commit is contained in:
itdominator 2025-06-15 15:50:38 -05:00
parent ef56b8c84b
commit 9e4ac75a91
4 changed files with 13 additions and 25 deletions

View File

@ -48,14 +48,14 @@
],
"scripts":[
],
"optimization": false
"optimization": true
},
"configurations":{
"production":{
"budgets":[
{
"type":"initial",
"maximumWarning":"5MB",
"maximumWarning":"15MB",
"maximumError":"50MB"
},
{

View File

@ -41,14 +41,14 @@ const loadIPCServer = (fpath) => {
});
ipcServer.listen(ipcServerPort, () => {
console.debug(`IPCServer is up on port ${ipcServerPort}`);
console.debug("IPCServer (start) : Started on port ", ipcServerPort, " .");
});
}
const isIPCServerUp = async () => {
const response = await fetch(`${ipcServerURL}/is-up`).catch((err) => {
console.debug(err);
console.debug("IPCServer (status) : Not up; okay to start.");
return {
text: () => {
return "no";

View File

@ -1,9 +1,3 @@
try {
require('electron-reloader')(module)
} catch(error) {
console.log(error);
}
const { app, ipcMain } = require('electron');
const { newton } = require('./app');

View File

@ -9,9 +9,9 @@
"scripts": {
"app": "ng build --base-href ./ && electron . --trace-warnings --start-as=build",
"electron-start": "electron . --trace-warnings --start-as=build",
"electron-pack": "electron-builder --dir",
"electron-dist": "electron-builder",
"electron-dist-all": "electron-builder -mwl",
"electron-pack": "ng build --base-href ./ && electron-builder --dir",
"electron-dist": "ng build --base-href ./ && electron-builder",
"electron-dist-all": "ng build --base-href ./ && electron-builder -mwl",
"electron-concurrently": "concurrently 'ng serve' 'electron . --trace-warnings --start-as=ng-serve'",
"ng-serve": "ng serve",
"ng-build": "ng build",
@ -40,15 +40,10 @@
"postinstall": "electron-builder install-app-deps",
"dependencies": {
"@angular/cdk": "19.2.0",
"@angular/cli": "19.2.9",
"@angular/common": "19.2.0",
"@angular/compiler": "19.2.0",
"@angular/core": "19.2.0",
"@angular/forms": "19.2.0",
"@angular/platform-browser": "19.2.0",
"@angular/platform-browser-dynamic": "19.2.0",
"@angular/platform-server": "19.2.0",
"@angular/router": "19.2.0",
"ace-builds": "1.41.0",
"ace-linters": "1.5.3",
"bootstrap": "5.3.6",
@ -59,7 +54,6 @@
"node-fetch": "3.3.2",
"rxjs": "7.8.0",
"socket.io": "4.8.1",
"tslib": "2.3.0",
"uuid": "11.1.0",
"zone.js": "0.15.0"
},
@ -73,13 +67,13 @@
"concurrently": "9.1.2",
"electron": "36.2.0",
"electron-builder": "26.0.12",
"electron-reloader": "1.2.3",
"jasmine-core": "5.6.0",
"karma": "6.4.0",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.0",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"typescript": "5.7.2"
"typescript": "5.7.2",
"tslib": "2.3.0"
}
}