@friggframework/core 2.0.0--canary.474.aa465e4.0 → 2.0.0--canary.474.213c7d9.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.
|
@@ -18,9 +18,12 @@ const chalk = require('chalk');
|
|
|
18
18
|
function getPrismaSchemaPath(dbType, projectRoot = process.cwd()) {
|
|
19
19
|
// Try multiple locations for the schema file
|
|
20
20
|
// Priority order:
|
|
21
|
-
// 1.
|
|
22
|
-
// 2.
|
|
21
|
+
// 1. Lambda layer path (where the schema actually exists in deployed Lambda)
|
|
22
|
+
// 2. Local node_modules (where @friggframework/core is installed - production scenario)
|
|
23
|
+
// 3. Parent node_modules (workspace/monorepo setup)
|
|
23
24
|
const possiblePaths = [
|
|
25
|
+
// Lambda layer path - this is where the schema actually exists in deployed Lambda
|
|
26
|
+
`/opt/nodejs/node_modules/generated/prisma-${dbType}/schema.prisma`,
|
|
24
27
|
// Check where Frigg is installed via npm (production scenario)
|
|
25
28
|
path.join(projectRoot, 'node_modules', '@friggframework', 'core', `prisma-${dbType}`, 'schema.prisma'),
|
|
26
29
|
path.join(projectRoot, '..', 'node_modules', '@friggframework', 'core', `prisma-${dbType}`, 'schema.prisma')
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.474.
|
|
4
|
+
"version": "2.0.0--canary.474.213c7d9.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-apigatewaymanagementapi": "^3.588.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.588.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@friggframework/eslint-config": "2.0.0--canary.474.
|
|
42
|
-
"@friggframework/prettier-config": "2.0.0--canary.474.
|
|
43
|
-
"@friggframework/test": "2.0.0--canary.474.
|
|
41
|
+
"@friggframework/eslint-config": "2.0.0--canary.474.213c7d9.0",
|
|
42
|
+
"@friggframework/prettier-config": "2.0.0--canary.474.213c7d9.0",
|
|
43
|
+
"@friggframework/test": "2.0.0--canary.474.213c7d9.0",
|
|
44
44
|
"@prisma/client": "^6.17.0",
|
|
45
45
|
"@types/lodash": "4.17.15",
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "213c7d97e55af514edda57bfad6eecfbb0d35314"
|
|
84
84
|
}
|