@friggframework/core 2.0.0--canary.461.88067ea.0 → 2.0.0--canary.461.849e166.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. Local node_modules (where @friggframework/core is installed - production scenario)
22
- // 2. Parent node_modules (workspace/monorepo setup)
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.461.88067ea.0",
4
+ "version": "2.0.0--canary.461.849e166.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.461.88067ea.0",
42
- "@friggframework/prettier-config": "2.0.0--canary.461.88067ea.0",
43
- "@friggframework/test": "2.0.0--canary.461.88067ea.0",
41
+ "@friggframework/eslint-config": "2.0.0--canary.461.849e166.0",
42
+ "@friggframework/prettier-config": "2.0.0--canary.461.849e166.0",
43
+ "@friggframework/test": "2.0.0--canary.461.849e166.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": "88067ea8f87aa8af3de69620e1b3038ee316419b"
83
+ "gitHead": "849e1668d4ca0b0b4d074320fa48aab8b6784aee"
84
84
  }