Skip to content

Commit

Permalink
prevent republish of settings when nothing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Jan 10, 2024
1 parent 1a6aad2 commit cc544d9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 26 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-admin": "^2.0.0",
"@mintplex-labs/express-admin": "^0.0.1",
"graphql": "^16.8.1",
"js-tiktoken": "^1.0.7",
"jsonwebtoken": "^8.5.1",
Expand Down
2 changes: 1 addition & 1 deletion backend/utils/debug/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const dbAdmin = require("express-admin");
const dbAdmin = require("@mintplex-labs/express-admin");
const path = require("path");
const { SystemSettings } = require("../../models/systemSettings");

Expand Down
61 changes: 37 additions & 24 deletions backend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,31 @@
semver "^7.3.5"
tar "^6.1.11"

"@mintplex-labs/express-admin@^0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@mintplex-labs/express-admin/-/express-admin-0.0.1.tgz#f745b450dd6759d330446be7921b7f6e93056b91"
integrity sha512-p4b4ibXHklqc380qAKrIFjA6t1p0MUOU8bOdqRrntuhPz4GGSjgfzn0k20Mzs4V8VQ5QfU6iibHb/ciCLvsIKQ==
dependencies:
async "^0.9.2"
body-parser "^1.20.1"
connect-multiparty "^2.2.0"
consolidate "^0.16.0"
cookie-parser "^1.4.6"
csurf "^1.11.0"
deep-copy "^1.4.2"
express "^4.18.2"
express-admin-static "^2.2.2"
express-session "^1.17.3"
hogan.js "^3.0.2"
method-override "^2.3.10"
moment "^2.29.4"
mysql-validator "^0.1.6"
object-deep-compare "^1.2.0"
serve-static "^1.15.0"
slugify "^1.6.5"
sr-pagination "^1.0.1"
xsql "^1.0.1"

"@npmcli/fs@^1.0.0":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257"
Expand Down Expand Up @@ -761,30 +786,6 @@ express-admin-static@^2.2.2:
resolved "https://registry.yarnpkg.com/express-admin-static/-/express-admin-static-2.2.2.tgz#606daa55bb47976c6168bc07f91934ac5278721f"
integrity sha512-wjI9lwZB89BqyMiupPa6tVzeMstA5zYcg/5nEaCRXzUxXtsf+MpROsKZ0/TnlldTSRBwxiKIyOz+NOdpygcCCQ==

express-admin@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/express-admin/-/express-admin-2.0.0.tgz#4a515f03b7071acafc3c9695da2a3856736c4996"
integrity sha512-815XtCZ9qtUZVI9Hx5c1o00fjAAGmqLXGxkDgCwWDX6q/Ne0ABFeB4S74afLRPHeuOqJy2odltvSVRSJH1+vUA==
dependencies:
async "^0.9.2"
body-parser "^1.20.1"
connect-multiparty "^2.2.0"
consolidate "^0.16.0"
cookie-parser "^1.4.6"
csurf "^1.11.0"
deep-copy "^1.4.2"
express "^4.18.2"
express-admin-static "^2.2.2"
express-session "^1.17.3"
hogan.js "^3.0.2"
method-override "^2.3.10"
moment "^2.29.4"
mysql-validator "^0.1.6"
serve-static "^1.15.0"
slugify "^1.6.5"
sr-pagination "^1.0.1"
xsql "^1.0.1"

express-session@^1.17.3:
version "1.17.3"
resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.3.tgz#14b997a15ed43e5949cb1d073725675dd2777f36"
Expand Down Expand Up @@ -1358,6 +1359,11 @@ lodash.once@^4.0.0:
resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==

lodash@^4.17.20:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

lru-cache@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
Expand Down Expand Up @@ -1727,6 +1733,13 @@ object-assign@^4, object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==

object-deep-compare@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/object-deep-compare/-/object-deep-compare-1.2.0.tgz#f9d22a294fd5807b27b804bde15e3a2f68a55466"
integrity sha512-avtOP/QUywajg2LH01jQ8eikIiV3nwDU0Z0fvEl/vVrSg1XDY7KolblJECjEa477pocludBtexT5jW7jfrOXUw==
dependencies:
lodash "^4.17.20"

object-hash@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9"
Expand Down

0 comments on commit cc544d9

Please sign in to comment.