Просмотр исходного кода

Merge pull request #14698 from overleaf/bg-sg-use-node-watch

[misc] replace nodemon with "node --watch"

GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
Jakob Ackermann 3 лет назад
Родитель
Сommit
efb36b7193
52 измененных файлов с 45 добавлено и 534 удалено
  1. 1 2
      libraries/access-token-encryptor/buildscript.txt
  2. 1 2
      libraries/fetch-utils/buildscript.txt
  3. 1 2
      libraries/logger/buildscript.txt
  4. 1 2
      libraries/metrics/buildscript.txt
  5. 1 2
      libraries/o-error/buildscript.txt
  6. 1 2
      libraries/object-persistor/buildscript.txt
  7. 1 2
      libraries/overleaf-editor-core/buildscript.txt
  8. 1 2
      libraries/ranges-tracker/buildscript.txt
  9. 1 2
      libraries/redis-wrapper/buildscript.txt
  10. 1 2
      libraries/settings/buildscript.txt
  11. 1 2
      libraries/stream-utils/buildscript.txt
  12. 1 246
      package-lock.json
  13. 0 1
      package.json
  14. 1 2
      services/chat/buildscript.txt
  15. 0 18
      services/chat/nodemon.json
  16. 1 1
      services/chat/package.json
  17. 1 2
      services/clsi/buildscript.txt
  18. 0 18
      services/clsi/nodemon.json
  19. 1 1
      services/clsi/package.json
  20. 1 2
      services/contacts/buildscript.txt
  21. 0 18
      services/contacts/nodemon.json
  22. 1 1
      services/contacts/package.json
  23. 1 2
      services/docstore/buildscript.txt
  24. 0 18
      services/docstore/nodemon.json
  25. 1 1
      services/docstore/package.json
  26. 1 2
      services/document-updater/buildscript.txt
  27. 0 18
      services/document-updater/nodemon.json
  28. 1 1
      services/document-updater/package.json
  29. 1 2
      services/filestore/buildscript.txt
  30. 0 18
      services/filestore/nodemon.json
  31. 1 1
      services/filestore/package.json
  32. 1 2
      services/history-v1/buildscript.txt
  33. 0 20
      services/history-v1/nodemon.json
  34. 1 1
      services/history-v1/package.json
  35. 1 2
      services/notifications/buildscript.txt
  36. 0 18
      services/notifications/nodemon.json
  37. 1 1
      services/notifications/package.json
  38. 1 2
      services/project-history/buildscript.txt
  39. 0 18
      services/project-history/nodemon.json
  40. 1 1
      services/project-history/package.json
  41. 1 2
      services/real-time/buildscript.txt
  42. 0 18
      services/real-time/nodemon.json
  43. 1 1
      services/real-time/package.json
  44. 1 2
      services/spelling/buildscript.txt
  45. 0 18
      services/spelling/nodemon.json
  46. 1 1
      services/spelling/package.json
  47. 1 2
      services/track-changes/buildscript.txt
  48. 0 18
      services/track-changes/nodemon.json
  49. 1 1
      services/track-changes/package.json
  50. 8 0
      services/web/app/src/infrastructure/Translations.js
  51. 0 10
      services/web/nodemon.json
  52. 1 1
      services/web/package.json

+ 1 - 2
libraries/access-token-encryptor/buildscript.txt

@@ -4,8 +4,7 @@ access-token-encryptor
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/fetch-utils/buildscript.txt

@@ -4,8 +4,7 @@ fetch-utils
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/logger/buildscript.txt

@@ -4,8 +4,7 @@ logger
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/metrics/buildscript.txt

@@ -4,8 +4,7 @@ metrics
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/o-error/buildscript.txt

@@ -4,8 +4,7 @@ o-error
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/object-persistor/buildscript.txt

@@ -4,8 +4,7 @@ object-persistor
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/overleaf-editor-core/buildscript.txt

@@ -4,8 +4,7 @@ overleaf-editor-core
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/ranges-tracker/buildscript.txt

@@ -4,8 +4,7 @@ ranges-tracker
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/redis-wrapper/buildscript.txt

@@ -4,8 +4,7 @@ redis-wrapper
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/settings/buildscript.txt

@@ -4,8 +4,7 @@ settings
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 2
libraries/stream-utils/buildscript.txt

@@ -4,8 +4,7 @@ stream-utils
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --is-library=True
 --is-library=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 1 - 246
package-lock.json

@@ -48,7 +48,6 @@
         "eslint-plugin-node": "^11.1.0",
         "eslint-plugin-node": "^11.1.0",
         "eslint-plugin-prettier": "^4.0.0",
         "eslint-plugin-prettier": "^4.0.0",
         "eslint-plugin-promise": "^6.0.0",
         "eslint-plugin-promise": "^6.0.0",
-        "nodemon": "^3.0.1",
         "prettier": "2.5.1"
         "prettier": "2.5.1"
       }
       }
     },
     },
@@ -30169,12 +30168,6 @@
         "node": ">= 4"
         "node": ">= 4"
       }
       }
     },
     },
-    "node_modules/ignore-by-default": {
-      "version": "1.0.1",
-      "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
-      "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=",
-      "dev": true
-    },
     "node_modules/image-size": {
     "node_modules/image-size": {
       "version": "0.5.5",
       "version": "0.5.5",
       "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
       "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
@@ -35306,97 +35299,6 @@
         "aws-sdk": "^2.2.36"
         "aws-sdk": "^2.2.36"
       }
       }
     },
     },
-    "node_modules/nodemon": {
-      "version": "3.0.1",
-      "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.1.tgz",
-      "integrity": "sha512-g9AZ7HmkhQkqXkRc20w+ZfQ73cHLbE8hnPbtaFbFtCumZsjyMhKk9LajQ07U5Ux28lvFjZ5X7HvWR1xzU8jHVw==",
-      "dev": true,
-      "dependencies": {
-        "chokidar": "^3.5.2",
-        "debug": "^3.2.7",
-        "ignore-by-default": "^1.0.1",
-        "minimatch": "^3.1.2",
-        "pstree.remy": "^1.1.8",
-        "semver": "^7.5.3",
-        "simple-update-notifier": "^2.0.0",
-        "supports-color": "^5.5.0",
-        "touch": "^3.1.0",
-        "undefsafe": "^2.0.5"
-      },
-      "bin": {
-        "nodemon": "bin/nodemon.js"
-      },
-      "engines": {
-        "node": ">=10"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/nodemon"
-      }
-    },
-    "node_modules/nodemon/node_modules/debug": {
-      "version": "3.2.7",
-      "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
-      "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
-      "dev": true,
-      "dependencies": {
-        "ms": "^2.1.1"
-      }
-    },
-    "node_modules/nodemon/node_modules/has-flag": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
-      "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
-      "dev": true,
-      "engines": {
-        "node": ">=4"
-      }
-    },
-    "node_modules/nodemon/node_modules/lru-cache": {
-      "version": "6.0.0",
-      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
-      "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
-      "dev": true,
-      "dependencies": {
-        "yallist": "^4.0.0"
-      },
-      "engines": {
-        "node": ">=10"
-      }
-    },
-    "node_modules/nodemon/node_modules/semver": {
-      "version": "7.5.4",
-      "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
-      "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
-      "dev": true,
-      "dependencies": {
-        "lru-cache": "^6.0.0"
-      },
-      "bin": {
-        "semver": "bin/semver.js"
-      },
-      "engines": {
-        "node": ">=10"
-      }
-    },
-    "node_modules/nodemon/node_modules/supports-color": {
-      "version": "5.5.0",
-      "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
-      "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
-      "dev": true,
-      "dependencies": {
-        "has-flag": "^3.0.0"
-      },
-      "engines": {
-        "node": ">=4"
-      }
-    },
-    "node_modules/nodemon/node_modules/yallist": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
-      "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
-      "dev": true
-    },
     "node_modules/nopt": {
     "node_modules/nopt": {
       "version": "5.0.0",
       "version": "5.0.0",
       "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
       "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
@@ -37851,12 +37753,6 @@
       "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
       "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
       "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
       "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
     },
     },
-    "node_modules/pstree.remy": {
-      "version": "1.1.8",
-      "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
-      "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
-      "dev": true
-    },
     "node_modules/pug": {
     "node_modules/pug": {
       "version": "3.0.2",
       "version": "3.0.2",
       "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.2.tgz",
       "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.2.tgz",
@@ -42937,33 +42833,6 @@
       "resolved": "https://registry.npmjs.org/toposort-class/-/toposort-class-1.0.1.tgz",
       "resolved": "https://registry.npmjs.org/toposort-class/-/toposort-class-1.0.1.tgz",
       "integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg="
       "integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg="
     },
     },
-    "node_modules/touch": {
-      "version": "3.1.0",
-      "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
-      "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
-      "dev": true,
-      "dependencies": {
-        "nopt": "~1.0.10"
-      },
-      "bin": {
-        "nodetouch": "bin/nodetouch.js"
-      }
-    },
-    "node_modules/touch/node_modules/nopt": {
-      "version": "1.0.10",
-      "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
-      "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
-      "dev": true,
-      "dependencies": {
-        "abbrev": "1"
-      },
-      "bin": {
-        "nopt": "bin/nopt.js"
-      },
-      "engines": {
-        "node": "*"
-      }
-    },
     "node_modules/tough-cookie": {
     "node_modules/tough-cookie": {
       "version": "4.1.3",
       "version": "4.1.3",
       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
@@ -43278,12 +43147,6 @@
         "react": ">=15.0.0"
         "react": ">=15.0.0"
       }
       }
     },
     },
-    "node_modules/undefsafe": {
-      "version": "2.0.5",
-      "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
-      "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
-      "dev": true
-    },
     "node_modules/underscore": {
     "node_modules/underscore": {
       "version": "1.13.2",
       "version": "1.13.2",
       "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz",
       "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz",
@@ -45833,8 +45696,7 @@
       "devDependencies": {
       "devDependencies": {
         "chai": "^4.3.6",
         "chai": "^4.3.6",
         "chai-as-promised": "^7.1.1",
         "chai-as-promised": "^7.1.1",
-        "mocha": "^10.2.0",
-        "nodemon": "^3.0.1"
+        "mocha": "^10.2.0"
       }
       }
     },
     },
     "services/github-sync": {
     "services/github-sync": {
@@ -70871,7 +70733,6 @@
         "express": "^4.18.2",
         "express": "^4.18.2",
         "is-valid-hostname": "^1.0.2",
         "is-valid-hostname": "^1.0.2",
         "mocha": "^10.2.0",
         "mocha": "^10.2.0",
-        "nodemon": "^3.0.1",
         "tar-stream": "^2.2.0",
         "tar-stream": "^2.2.0",
         "zlib": "^1.0.5"
         "zlib": "^1.0.5"
       }
       }
@@ -72627,12 +72488,6 @@
       "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
       "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
       "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ=="
       "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ=="
     },
     },
-    "ignore-by-default": {
-      "version": "1.0.1",
-      "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
-      "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=",
-      "dev": true
-    },
     "image-size": {
     "image-size": {
       "version": "0.5.5",
       "version": "0.5.5",
       "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
       "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
@@ -76652,74 +76507,6 @@
         "aws-sdk": "^2.2.36"
         "aws-sdk": "^2.2.36"
       }
       }
     },
     },
-    "nodemon": {
-      "version": "3.0.1",
-      "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.1.tgz",
-      "integrity": "sha512-g9AZ7HmkhQkqXkRc20w+ZfQ73cHLbE8hnPbtaFbFtCumZsjyMhKk9LajQ07U5Ux28lvFjZ5X7HvWR1xzU8jHVw==",
-      "dev": true,
-      "requires": {
-        "chokidar": "^3.5.2",
-        "debug": "^3.2.7",
-        "ignore-by-default": "^1.0.1",
-        "minimatch": "^3.1.2",
-        "pstree.remy": "^1.1.8",
-        "semver": "^7.5.3",
-        "simple-update-notifier": "^2.0.0",
-        "supports-color": "^5.5.0",
-        "touch": "^3.1.0",
-        "undefsafe": "^2.0.5"
-      },
-      "dependencies": {
-        "debug": {
-          "version": "3.2.7",
-          "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
-          "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
-          "dev": true,
-          "requires": {
-            "ms": "^2.1.1"
-          }
-        },
-        "has-flag": {
-          "version": "3.0.0",
-          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
-          "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
-          "dev": true
-        },
-        "lru-cache": {
-          "version": "6.0.0",
-          "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
-          "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
-          "dev": true,
-          "requires": {
-            "yallist": "^4.0.0"
-          }
-        },
-        "semver": {
-          "version": "7.5.4",
-          "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
-          "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
-          "dev": true,
-          "requires": {
-            "lru-cache": "^6.0.0"
-          }
-        },
-        "supports-color": {
-          "version": "5.5.0",
-          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
-          "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
-          "dev": true,
-          "requires": {
-            "has-flag": "^3.0.0"
-          }
-        },
-        "yallist": {
-          "version": "4.0.0",
-          "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
-          "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
-          "dev": true
-        }
-      }
-    },
     "nopt": {
     "nopt": {
       "version": "5.0.0",
       "version": "5.0.0",
       "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
       "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
@@ -78723,12 +78510,6 @@
       "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
       "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
       "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
       "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
     },
     },
-    "pstree.remy": {
-      "version": "1.1.8",
-      "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
-      "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
-      "dev": true
-    },
     "pug": {
     "pug": {
       "version": "3.0.2",
       "version": "3.0.2",
       "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.2.tgz",
       "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.2.tgz",
@@ -82711,26 +82492,6 @@
       "resolved": "https://registry.npmjs.org/toposort-class/-/toposort-class-1.0.1.tgz",
       "resolved": "https://registry.npmjs.org/toposort-class/-/toposort-class-1.0.1.tgz",
       "integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg="
       "integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg="
     },
     },
-    "touch": {
-      "version": "3.1.0",
-      "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
-      "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
-      "dev": true,
-      "requires": {
-        "nopt": "~1.0.10"
-      },
-      "dependencies": {
-        "nopt": {
-          "version": "1.0.10",
-          "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
-          "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
-          "dev": true,
-          "requires": {
-            "abbrev": "1"
-          }
-        }
-      }
-    },
     "tough-cookie": {
     "tough-cookie": {
       "version": "4.1.3",
       "version": "4.1.3",
       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
@@ -82968,12 +82729,6 @@
         "react-lifecycles-compat": "^3.0.4"
         "react-lifecycles-compat": "^3.0.4"
       }
       }
     },
     },
-    "undefsafe": {
-      "version": "2.0.5",
-      "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
-      "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
-      "dev": true
-    },
     "underscore": {
     "underscore": {
       "version": "1.13.2",
       "version": "1.13.2",
       "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz",
       "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz",

+ 0 - 1
package.json

@@ -15,7 +15,6 @@
     "eslint-plugin-node": "^11.1.0",
     "eslint-plugin-node": "^11.1.0",
     "eslint-plugin-prettier": "^4.0.0",
     "eslint-plugin-prettier": "^4.0.0",
     "eslint-plugin-promise": "^6.0.0",
     "eslint-plugin-promise": "^6.0.0",
-    "nodemon": "^3.0.1",
     "prettier": "2.5.1"
     "prettier": "2.5.1"
   },
   },
   "scripts": {
   "scripts": {

+ 1 - 2
services/chat/buildscript.txt

@@ -4,7 +4,6 @@ chat
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/chat/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/chat/package.json

@@ -8,7 +8,7 @@
     "start": "node $NODE_APP_OPTIONS app.js",
     "start": "node $NODE_APP_OPTIONS app.js",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",

+ 1 - 2
services/clsi/buildscript.txt

@@ -6,7 +6,6 @@ clsi
 --env-pass-through=TEXLIVE_IMAGE
 --env-pass-through=TEXLIVE_IMAGE
 --esmock-loader=False
 --esmock-loader=False
 --has-custom-cloudbuild=True
 --has-custom-cloudbuild=True
---has-custom-nodemon=False
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/clsi/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/clsi/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/contacts/buildscript.txt

@@ -4,7 +4,6 @@ contacts
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=True
 --esmock-loader=True
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/contacts/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/contacts/package.json

@@ -10,7 +10,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/docstore/buildscript.txt

@@ -4,7 +4,6 @@ docstore
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/docstore/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/docstore/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/document-updater/buildscript.txt

@@ -4,7 +4,6 @@ document-updater
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/document-updater/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/document-updater/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/filestore/buildscript.txt

@@ -5,7 +5,6 @@ filestore
 --env-add=ENABLE_CONVERSIONS="true",USE_PROM_METRICS="true",AWS_S3_USER_FILES_BUCKET_NAME=fake_user_files,AWS_S3_TEMPLATE_FILES_BUCKET_NAME=fake_template_files,AWS_S3_PUBLIC_FILES_BUCKET_NAME=fake_public_files,GCS_USER_FILES_BUCKET_NAME=fake_userfiles,GCS_TEMPLATE_FILES_BUCKET_NAME=fake_templatefiles,GCS_PUBLIC_FILES_BUCKET_NAME=fake_publicfiles
 --env-add=ENABLE_CONVERSIONS="true",USE_PROM_METRICS="true",AWS_S3_USER_FILES_BUCKET_NAME=fake_user_files,AWS_S3_TEMPLATE_FILES_BUCKET_NAME=fake_template_files,AWS_S3_PUBLIC_FILES_BUCKET_NAME=fake_public_files,GCS_USER_FILES_BUCKET_NAME=fake_userfiles,GCS_TEMPLATE_FILES_BUCKET_NAME=fake_templatefiles,GCS_PUBLIC_FILES_BUCKET_NAME=fake_publicfiles
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/filestore/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/filestore/package.json

@@ -9,7 +9,7 @@
     "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "start": "node $NODE_APP_OPTIONS app.js",
     "start": "node $NODE_APP_OPTIONS app.js",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/history-v1/buildscript.txt

@@ -4,7 +4,6 @@ history-v1
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 20
services/history-v1/nodemon.json

@@ -1,20 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "api/",
-    "app/js/",
-    "app.js",
-    "config/",
-    "storage/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/history-v1/package.json

@@ -59,7 +59,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "migrate": "knex migrate:latest",
     "migrate": "knex migrate:latest",
     "delete_old_chunks": "node storage/tasks/delete_old_chunks.js",
     "delete_old_chunks": "node storage/tasks/delete_old_chunks.js",
     "fix_duplicate_versions": "node storage/tasks/fix_duplicate_versions.js",
     "fix_duplicate_versions": "node storage/tasks/fix_duplicate_versions.js",

+ 1 - 2
services/notifications/buildscript.txt

@@ -4,7 +4,6 @@ notifications
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/notifications/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/notifications/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/project-history/buildscript.txt

@@ -4,7 +4,6 @@ project-history
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=True
 --esmock-loader=True
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/project-history/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/project-history/package.json

@@ -8,7 +8,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "start": "node $NODE_APP_OPTIONS app.js",
     "start": "node $NODE_APP_OPTIONS app.js",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "test:acceptance:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:acceptance:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",

+ 1 - 2
services/real-time/buildscript.txt

@@ -4,7 +4,6 @@ real-time
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=False
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/real-time/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/real-time/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 1 - 2
services/spelling/buildscript.txt

@@ -5,7 +5,6 @@ spelling
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=True
 --esmock-loader=True
---has-custom-nodemon=False
 --node-version=18.18.0-buster
 --node-version=18.18.0-buster
 --public-repo=False
 --public-repo=False
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/spelling/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/spelling/package.json

@@ -14,7 +14,7 @@
     "compile:unit_tests": "[ ! -e test/unit/coffee ] &&  echo 'No unit tests to compile' || coffee -o test/unit/js -c test/unit/coffee",
     "compile:unit_tests": "[ ! -e test/unit/coffee ] &&  echo 'No unit tests to compile' || coffee -o test/unit/js -c test/unit/coffee",
     "compile:acceptance_tests": "[ ! -e test/acceptance/coffee ] && echo 'No acceptance tests to compile' || coffee -o test/acceptance/js -c test/acceptance/coffee",
     "compile:acceptance_tests": "[ ! -e test/acceptance/coffee ] && echo 'No acceptance tests to compile' || coffee -o test/acceptance/js -c test/acceptance/coffee",
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "compile:smoke_tests": "[ ! -e test/smoke/coffee ] &&  echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee",
     "compile:smoke_tests": "[ ! -e test/smoke/coffee ] &&  echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",

+ 1 - 2
services/track-changes/buildscript.txt

@@ -4,7 +4,6 @@ track-changes
 --env-add=AWS_BUCKET=bucket
 --env-add=AWS_BUCKET=bucket
 --env-pass-through=
 --env-pass-through=
 --esmock-loader=False
 --esmock-loader=False
---has-custom-nodemon=True
 --node-version=18.18.0
 --node-version=18.18.0
 --public-repo=True
 --public-repo=True
---script-version=4.3.0
+--script-version=4.4.0

+ 0 - 18
services/track-changes/nodemon.json

@@ -1,18 +0,0 @@
-{
-  "ignore": [
-    ".git",
-    "node_modules/"
-  ],
-  "verbose": true,
-  "legacyWatch": true,
-  "execMap": {
-    "js": "npm run start"
-  },
-  "watch": [
-    "app/js/",
-    "app.js",
-    "config/",
-    "../../libraries/"
-  ],
-  "ext": "js"
-}

+ 1 - 1
services/track-changes/package.json

@@ -9,7 +9,7 @@
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
     "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
-    "nodemon": "nodemon --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js",
     "lint": "eslint --max-warnings 0 --format unix .",
     "lint": "eslint --max-warnings 0 --format unix .",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format": "prettier --list-different $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",
     "format:fix": "prettier --write $PWD/'**/*.js'",

+ 8 - 0
services/web/app/src/infrastructure/Translations.js

@@ -31,6 +31,14 @@ if (!availableLanguageCodes.includes(fallbackLanguageCode)) {
   availableLanguageCodes.push(fallbackLanguageCode)
   availableLanguageCodes.push(fallbackLanguageCode)
 }
 }
 
 
+// The "node --watch" flag is not easy to detect.
+if (process.argv.includes('--watch-locales')) {
+  // Dummy imports for setting up watching of locales files.
+  for (const lngCode of availableLanguageCodes) {
+    require(`../../../locales/${lngCode}.json`)
+  }
+}
+
 i18n
 i18n
   .use(fsBackend)
   .use(fsBackend)
   .use(middleware.LanguageDetector)
   .use(middleware.LanguageDetector)

+ 0 - 10
services/web/nodemon.json

@@ -1,10 +0,0 @@
-{
-  "watch": [
-    "app/src/",
-    "app.js",
-    "locales/*.json",
-    "modules/*/app/src/",
-    "config/",
-    "../../libraries/"
-  ]
-}

+ 1 - 1
services/web/package.json

@@ -18,7 +18,7 @@
     "test:karma": "karma start",
     "test:karma": "karma start",
     "test:karma:single": "karma start --no-auto-watch --single-run",
     "test:karma:single": "karma start --no-auto-watch --single-run",
     "start": "node $NODE_APP_OPTIONS app.js",
     "start": "node $NODE_APP_OPTIONS app.js",
-    "nodemon": "nodemon $NODE_APP_OPTIONS --config nodemon.json",
+    "nodemon": "node --watch $NODE_APP_OPTIONS app.js --watch-locales",
     "webpack": "webpack serve --config webpack.config.dev.js",
     "webpack": "webpack serve --config webpack.config.dev.js",
     "webpack:production": "webpack --config webpack.config.prod.js",
     "webpack:production": "webpack --config webpack.config.prod.js",
     "webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
     "webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",