@savvy-web/silk-core 0.4.4 → 0.4.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/silk-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Platform-free domain core of the Silk Suite: schemas, tagged errors, and the PR-body contract",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/silk-core",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@effected/templates": "^0.8.0",
|
|
36
|
-
"@effected/workspaces": "^0.
|
|
36
|
+
"@effected/workspaces": "^0.26.0",
|
|
37
37
|
"effect": "4.0.0-rc.117"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -116,7 +116,7 @@ ${hook === "post-checkout" ? ` install_from="$1"
|
|
|
116
116
|
install_pm=""
|
|
117
117
|
if [ -n "$install_root" ] && [ -f "$install_root/package.json" ]; then
|
|
118
118
|
if command -v jq >/dev/null 2>&1; then
|
|
119
|
-
install_pm=$(jq -r '.packageManager // empty' "$install_root/package.json" 2>/dev/null | cut -d'@' -f1)
|
|
119
|
+
install_pm=$(jq -r '(.devEngines.packageManager | if type == "array" then .[0] else . end | .name?) // .packageManager // empty' "$install_root/package.json" 2>/dev/null | cut -d'@' -f1)
|
|
120
120
|
fi
|
|
121
121
|
if [ -z "$install_pm" ]; then
|
|
122
122
|
if [ -f "$install_root/pnpm-lock.yaml" ]; then install_pm="pnpm"
|
package/schemas/SavvySections.js
CHANGED
|
@@ -62,7 +62,7 @@ in_ci() { [ -n "$CI" ] || [ -n "$GITHUB_ACTIONS" ]; }
|
|
|
62
62
|
|
|
63
63
|
detect_pm() {
|
|
64
64
|
if [ -f "$ROOT/package.json" ]; then
|
|
65
|
-
pm=$(jq -r '.packageManager // empty' "$ROOT/package.json" 2>/dev/null | cut -d'@' -f1)
|
|
65
|
+
pm=$(jq -r '(.devEngines.packageManager | if type == "array" then .[0] else . end | .name?) // .packageManager // empty' "$ROOT/package.json" 2>/dev/null | cut -d'@' -f1)
|
|
66
66
|
if [ -n "$pm" ]; then echo "$pm"; return; fi
|
|
67
67
|
fi
|
|
68
68
|
if [ -f "$ROOT/pnpm-lock.yaml" ]; then echo "pnpm"
|