@friggframework/admin-scripts 2.0.0--canary.517.971202e.0 → 2.0.0--canary.517.85f6598.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@friggframework/admin-scripts",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "2.0.0--canary.517.971202e.0",
4
+ "version": "2.0.0--canary.517.85f6598.0",
5
5
  "description": "Admin Script Runner for Frigg - Execute maintenance and operational scripts in hosted environments",
6
6
  "dependencies": {
7
7
  "@aws-sdk/client-scheduler": "^3.588.0",
8
- "@friggframework/core": "2.0.0--canary.517.971202e.0",
8
+ "@friggframework/core": "2.0.0--canary.517.85f6598.0",
9
9
  "@hapi/boom": "^10.0.1",
10
10
  "express": "^4.18.2",
11
11
  "serverless-http": "^3.2.0"
12
12
  },
13
13
  "devDependencies": {
14
- "@friggframework/eslint-config": "2.0.0--canary.517.971202e.0",
15
- "@friggframework/prettier-config": "2.0.0--canary.517.971202e.0",
16
- "@friggframework/test": "2.0.0--canary.517.971202e.0",
14
+ "@friggframework/eslint-config": "2.0.0--canary.517.85f6598.0",
15
+ "@friggframework/prettier-config": "2.0.0--canary.517.85f6598.0",
16
+ "@friggframework/test": "2.0.0--canary.517.85f6598.0",
17
17
  "eslint": "^8.22.0",
18
18
  "jest": "^29.7.0",
19
19
  "prettier": "^2.7.1",
@@ -44,5 +44,5 @@
44
44
  "maintenance",
45
45
  "operations"
46
46
  ],
47
- "gitHead": "971202e14e2eb6618527e4c94021cda8c2275f5a"
47
+ "gitHead": "85f65985a27a23524cfb382a44b5a044240e8cea"
48
48
  }
@@ -27,7 +27,8 @@ class AdminScriptContext {
27
27
 
28
28
  this.integrationFactory = params.integrationFactory || null;
29
29
 
30
- // Lazy-load repositories to avoid circular deps
30
+ // Repositories are created on first use so the Prisma client is only
31
+ // initialized (and only for the repos a script actually touches) when needed.
31
32
  this._integrationRepository = null;
32
33
  this._userRepository = null;
33
34
  this._moduleRepository = null;