@powerhousedao/ph-cli 0.40.85-dev.7 → 0.40.85-dev.9

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/ph-cli",
3
- "version": "0.40.85-dev.7",
3
+ "version": "0.40.85-dev.9",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
@@ -29,14 +29,8 @@ else
29
29
  local project_name=$1
30
30
  local error=0
31
31
 
32
- # Check if project directory exists
33
- if [ ! -d "$project_name" ]; then
34
- echo "Error: Project directory '$project_name' not found"
35
- error=1
36
- fi
37
-
38
32
  # Check if .env file exists
39
- if [ ! -f "$project_name/.env" ]; then
33
+ if [ ! -f ".env" ]; then
40
34
  echo "Error: .env file not found in project directory"
41
35
  error=1
42
36
  fi
@@ -48,7 +42,7 @@ else
48
42
  fi
49
43
 
50
44
  # Check if database is configured
51
- if ! grep -q "DATABASE_URL" "$project_name/.env"; then
45
+ if ! grep -q "DATABASE_URL" ".env"; then
52
46
  echo "Error: Database configuration not found in .env file"
53
47
  error=1
54
48
  fi
@@ -1,2 +1,2 @@
1
- export declare const version = "0.40.85-dev.7";
1
+ export declare const version = "0.40.85-dev.9";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. DO NOT EDIT.
2
- export const version = "0.40.85-dev.7";
2
+ export const version = "0.40.85-dev.9";
3
3
  //# sourceMappingURL=version.js.map