@salefronts/cli 1.0.1 → 1.0.3

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/commands/seal.sh CHANGED
@@ -59,8 +59,10 @@ else
59
59
  # Convert to associative arrays for easier comparison and maintain order
60
60
  declare -A k8s_secret_map
61
61
  while IFS= read -r line; do
62
+ [[ -z "$line" ]] && continue # skip empty lines
62
63
  key=$(echo "$line" | awk '{print $1}')
63
64
  value=$(echo "$line" | cut -d' ' -f2-)
65
+ [[ -z "$key" ]] && continue # skip lines with empty key
64
66
  k8s_secret_map["$key"]="$value"
65
67
  done <<< "$K8S_SECRET_DATA"
66
68
 
package/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@salefronts/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "bin": {
5
5
  "sf": "bin/sf"
6
6
  },
7
- "scripts": {
8
- "postinstall": "shx chmod +x bin/sf"
9
- },
10
7
  "dependencies": {
11
8
  "jsonwebtoken": "~9.0.2",
12
9
  "niceware": "~4.0.0",
@@ -0,0 +1,10 @@
1
+ {
2
+ "folders": [
3
+ {
4
+ "path": "."
5
+ },
6
+ {
7
+ "path": "."
8
+ }
9
+ ]
10
+ }