@crossdelta/platform-sdk 0.8.32 → 0.8.34

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.
Files changed (3) hide show
  1. package/bin/cli.js +127 -127
  2. package/install.sh +14 -14
  3. package/package.json +1 -1
package/install.sh CHANGED
@@ -11,15 +11,15 @@ NC='\033[0m'
11
11
 
12
12
  printf "${CYAN}"
13
13
  cat << "EOF"
14
- ______
14
+ ______
15
15
  / ____/
16
- ____ / /_
17
- / __ \ / __/
18
- / /_/ // /
19
- / .___//_/
20
- /_/
21
-
22
- @crossdelta/platform-sdk installer
16
+ ____ / /_
17
+ / __ \ / __/
18
+ / /_/ // /
19
+ / .___//_/
20
+ /_/
21
+
22
+ @crossdelta/platform-sdk installer
23
23
  EOF
24
24
  printf "${NC}\n"
25
25
 
@@ -44,28 +44,28 @@ detect_or_install_package_manager() {
44
44
  echo "npm"
45
45
  return 0
46
46
  fi
47
-
47
+
48
48
  # No package manager found - ask user for permission
49
49
  printf "${YELLOW}No package manager found (bun, pnpm, yarn, npm).${NC}\n"
50
50
  printf "${YELLOW}To use @crossdelta/platform-sdk, we recommend installing Bun (fast JavaScript runtime).${NC}\n"
51
51
  printf "\n"
52
52
  read -p "Do you want to install Bun now? (y/n) " -n 1 -r
53
53
  printf "\n"
54
-
54
+
55
55
  if [[ ! $REPLY =~ ^[Yy]$ ]]; then
56
56
  printf "${RED}Installation cancelled. Please install Bun or another package manager manually.${NC}\n"
57
57
  printf "${BLUE}Visit: https://bun.sh${NC}\n"
58
58
  exit 1
59
59
  fi
60
-
60
+
61
61
  # Install Bun
62
62
  printf "${BLUE}Installing Bun...${NC}\n"
63
63
  curl -fsSL https://bun.sh/install | bash
64
-
64
+
65
65
  # Load Bun into current shell
66
66
  export BUN_INSTALL="$HOME/.bun"
67
67
  export PATH="$BUN_INSTALL/bin:$PATH"
68
-
68
+
69
69
  printf "${GREEN}✓${NC} Bun installed successfully\n"
70
70
  echo "bun"
71
71
  }
@@ -117,7 +117,7 @@ if [ $# -eq 0 ]; then
117
117
  else
118
118
  # Arguments provided: Run pf command directly
119
119
  PF_ARGS=()
120
-
120
+
121
121
  while [[ $# -gt 0 ]]; do
122
122
  case $1 in
123
123
  -h|--help)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.8.32",
3
+ "version": "0.8.34",
4
4
  "description": "Platform toolkit for event-driven microservices — keeping code and infrastructure in lockstep.",
5
5
  "keywords": [
6
6
  "cli",