From e927748335ec4f02deb716c85cb8f5e31e04036d Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Thu, 1 May 2025 11:55:11 -0400 Subject: [PATCH] feature/IO-3205-Paint-Scale-Integrations: Code Review Revisions --- .env.imex | 17 +++++++++++------ .env.rome | 17 +++++++++++------ package-lock.json | 27 ++++++++++++++++++++------- package.json | 12 ++++++------ 4 files changed, 48 insertions(+), 25 deletions(-) diff --git a/.env.imex b/.env.imex index c18cc44..3bd811e 100644 --- a/.env.imex +++ b/.env.imex @@ -1,9 +1,14 @@ -VITE_FIREBASE_CONFIG={"apiKey":"AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU","authDomain":"imex-prod.firebaseapp.com","databaseURL":"https://imex-prod.firebaseio.com","projectId":"imex-prod","storageBucket":"imex-prod.appspot.com","messagingSenderId":"253497221485","appId":"1:253497221485:web:3c81c483b94db84b227a64","measurementId":"G-NTWBKG2L0M"} -VITE_GRAPHQL_ENDPOINT=https://db.imex.online/v1/graphql -VITE_FIREBASE_CONFIG_TEST={ "apiKey":"AIzaSyBw7_GTy7GtQyfkIRPVrWHEGKfcqeyXw0c", "authDomain":"imex-test.firebaseapp.com", "projectId":"imex-test", "storageBucket":"imex-test.appspot.com", "messagingSenderId":"991923618608", "appId":"1:991923618608:web:633437569cdad78299bef5", "measurementId":"G-TW0XLZEH18"} -VITE_GRAPHQL_ENDPOINT_TEST=https://db.test.bodyshop.app/v1/graphql VITE_COMPANY=IMEX + +# Fire Base Config +VITE_FIREBASE_CONFIG={"apiKey":"AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU","authDomain":"imex-prod.firebaseapp.com","databaseURL":"https://imex-prod.firebaseio.com","projectId":"imex-prod","storageBucket":"imex-prod.appspot.com","messagingSenderId":"253497221485","appId":"1:253497221485:web:3c81c483b94db84b227a64","measurementId":"G-NTWBKG2L0M"} +VITE_FIREBASE_CONFIG_TEST={ "apiKey":"AIzaSyBw7_GTy7GtQyfkIRPVrWHEGKfcqeyXw0c", "authDomain":"imex-test.firebaseapp.com", "projectId":"imex-test", "storageBucket":"imex-test.appspot.com", "messagingSenderId":"991923618608", "appId":"1:991923618608:web:633437569cdad78299bef5", "measurementId":"G-TW0XLZEH18"} +# GraphQL Config +VITE_GRAPHQL_ENDPOINT=https://db.imex.online/v1/graphql +VITE_GRAPHQL_ENDPOINT_TEST=https://db.test.bodyshop.app/v1/graphql +# Front End URL VITE_FE_URL=https://imex.online VITE_FE_URL_TEST=https://test.imex.online -VITE_API_URL="http://localhost:4000" -VITE_API_TEST_URL="http://api.test.imex.online" \ No newline at end of file +# API Url +VITE_API_URL="https://api.imex.online" +VITE_API_TEST_URL="https://test.api.imex.online" \ No newline at end of file diff --git a/.env.rome b/.env.rome index 749efc9..9695644 100644 --- a/.env.rome +++ b/.env.rome @@ -1,9 +1,14 @@ -VITE_FIREBASE_CONFIG={ "apiKey": "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE", "authDomain": "rome-prod-1.firebaseapp.com", "projectId": "rome-prod-1", "storageBucket": "rome-prod-1.appspot.com", "messagingSenderId": "147786367145", "appId": "1:147786367145:web:9d4cba68071c3f29a8a9b8", "measurementId": "G-G8Z9DRHTZS"} -VITE_GRAPHQL_ENDPOINT=https://db.romeonline.io/v1/graphql -VITE_FIREBASE_CONFIG_TEST={ "apiKey": "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE", "authDomain": "rome-prod-1.firebaseapp.com", "projectId": "rome-prod-1", "storageBucket": "rome-prod-1.appspot.com", "messagingSenderId": "147786367145", "appId": "1:147786367145:web:9d4cba68071c3f29a8a9b8", "measurementId": "G-G8Z9DRHTZS"} -VITE_GRAPHQL_ENDPOINT_TEST=https://db.test.romeonline.io/v1/graphql VITE_COMPANY=ROME + +# Fire Base Config +VITE_FIREBASE_CONFIG={ "apiKey": "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE", "authDomain": "rome-prod-1.firebaseapp.com", "projectId": "rome-prod-1", "storageBucket": "rome-prod-1.appspot.com", "messagingSenderId": "147786367145", "appId": "1:147786367145:web:9d4cba68071c3f29a8a9b8", "measurementId": "G-G8Z9DRHTZS"} +VITE_FIREBASE_CONFIG_TEST={ "apiKey": "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE", "authDomain": "rome-prod-1.firebaseapp.com", "projectId": "rome-prod-1", "storageBucket": "rome-prod-1.appspot.com", "messagingSenderId": "147786367145", "appId": "1:147786367145:web:9d4cba68071c3f29a8a9b8", "measurementId": "G-G8Z9DRHTZS"} +# GraphQL Config +VITE_GRAPHQL_ENDPOINT=https://db.romeonline.io/v1/graphql +VITE_GRAPHQL_ENDPOINT_TEST=https://db.test.romeonline.io/v1/graphql +# Front End URL VITE_FE_URL=https://romeonline.io VITE_FE_URL_TEST=https://test.romeonline.io -VITE_API_URL="http://localhost:4000" -VITE_API_TEST_URL="http://api.test.romeonline.io" \ No newline at end of file +# API Url +VITE_API_URL="https://api.romeonline.io" +VITE_API_TEST_URL="https://test.api.romeonline.io" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 519fa83..745f7c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bodyshop-desktop", - "version": "0.0.1-alpha.7", + "version": "0.0.1-alpha.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bodyshop-desktop", - "version": "0.0.1-alpha.7", + "version": "0.0.1-alpha.8", "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.13.6", @@ -19,10 +19,7 @@ "electron-log": "^5.3.3", "electron-store": "^8.2.0", "electron-updater": "^6.6.2", - "node-cron": "^3.0.3", - "winax": "^3.6.2", - "xml2js": "^0.6.2", - "xmlbuilder2": "^3.1.1" + "winax": "^3.6.2" }, "devDependencies": { "@ant-design/v5-patch-for-react-19": "^1.0.3", @@ -58,6 +55,7 @@ "graphql-request": "^7.1.2", "i18next": "^24.2.3", "lodash": "^4.17.21", + "node-cron": "^3.0.3", "playwright": "^1.51.1", "prettier": "^3.5.3", "react": "^19.1.0", @@ -68,7 +66,9 @@ "react-router": "^7.5.0", "redux-logger": "^3.0.6", "typescript": "^5.8.3", - "vite": "6.2.6" + "vite": "6.2.6", + "xml2js": "^0.6.2", + "xmlbuilder2": "^3.1.1" } }, "node_modules/@ampproject/remapping": { @@ -2705,6 +2705,7 @@ "version": "1.15.10", "resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-1.15.10.tgz", "integrity": "sha512-0JT29/LaxVgRcGKvHmSrUTEvZ8BXvZhGl2LASRUgHqDTC1M5g1pLmVv56IYNyt3bG2CUjDkc67wnyZC14pbQrQ==", + "dev": true, "license": "MIT", "dependencies": { "@oozcitak/infra": "1.0.8", @@ -2719,6 +2720,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/@oozcitak/infra/-/infra-1.0.8.tgz", "integrity": "sha512-JRAUc9VR6IGHOL7OGF+yrvs0LO8SlqGnPAMqyzOuFZPSZSXI7Xf2O9+awQPSMXgIWGtgUf/dA6Hs6X6ySEaWTg==", + "dev": true, "license": "MIT", "dependencies": { "@oozcitak/util": "8.3.8" @@ -2731,6 +2733,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/@oozcitak/url/-/url-1.0.4.tgz", "integrity": "sha512-kDcD8y+y3FCSOvnBI6HJgl00viO/nGbQoCINmQ0h98OhnGITrWR3bOGfwYCthgcrV8AnTJz8MzslTQbC3SOAmw==", + "dev": true, "license": "MIT", "dependencies": { "@oozcitak/infra": "1.0.8", @@ -2744,6 +2747,7 @@ "version": "8.3.8", "resolved": "https://registry.npmjs.org/@oozcitak/util/-/util-8.3.8.tgz", "integrity": "sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8.0" @@ -8214,6 +8218,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", @@ -11120,6 +11125,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/node-cron/-/node-cron-3.0.3.tgz", "integrity": "sha512-dOal67//nohNgYWb+nWmg5dkFdIwDm8EpeGYMekPMrngV3637lqnX0lbUcCtgibHTz6SEz7DAIjKvKDFYCnO1A==", + "dev": true, "license": "ISC", "dependencies": { "uuid": "8.3.2" @@ -14878,6 +14884,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, "license": "MIT", "bin": { "uuid": "dist/bin/uuid" @@ -15263,6 +15270,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "dev": true, "license": "MIT", "dependencies": { "sax": ">=0.6.0", @@ -15276,6 +15284,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, "license": "MIT", "engines": { "node": ">=4.0" @@ -15295,6 +15304,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/xmlbuilder2/-/xmlbuilder2-3.1.1.tgz", "integrity": "sha512-WCSfbfZnQDdLQLiMdGUQpMxxckeQ4oZNMNhLVkcekTu7xhD4tuUDyAPoY8CwXvBYE6LwBHd6QW2WZXlOWr1vCw==", + "dev": true, "license": "MIT", "dependencies": { "@oozcitak/dom": "1.15.10", @@ -15310,6 +15320,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" @@ -15319,6 +15330,7 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, "license": "MIT", "dependencies": { "argparse": "^1.0.7", @@ -15332,6 +15344,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/xtend": { diff --git a/package.json b/package.json index 004c373..a962fd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bodyshop-desktop", - "version": "0.0.1-alpha.7", + "version": "0.0.1-alpha.8", "description": "Shop Management System Partner", "main": "./out/main/index.js", "author": "Convenient Brands, LLC", @@ -34,10 +34,7 @@ "electron-log": "^5.3.3", "electron-store": "^8.2.0", "electron-updater": "^6.6.2", - "node-cron": "^3.0.3", - "winax": "^3.6.2", - "xml2js": "^0.6.2", - "xmlbuilder2": "^3.1.1" + "winax": "^3.6.2" }, "devDependencies": { "@ant-design/v5-patch-for-react-19": "^1.0.3", @@ -83,6 +80,9 @@ "react-router": "^7.5.0", "redux-logger": "^3.0.6", "typescript": "^5.8.3", - "vite": "6.2.6" + "vite": "6.2.6", + "xml2js": "^0.6.2", + "xmlbuilder2": "^3.1.1", + "node-cron": "^3.0.3" } }