@stacksjs/defaults 0.72.82 → 0.72.84
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/ide/vscode/package.json +1 -1
- package/package.json +2 -2
- package/project/buddy +17 -4
package/ide/vscode/package.json
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.72.
|
|
5
|
+
"version": "0.72.84",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@iconify-json/f7": "^1.2.2",
|
|
53
53
|
"@iconify-json/hugeicons": "^1.2.27",
|
|
54
|
-
"@stacksjs/mobile": "^0.72.
|
|
54
|
+
"@stacksjs/mobile": "^0.72.84",
|
|
55
55
|
"@stacksjs/sanitizer": "^0.2.113"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
package/project/buddy
CHANGED
|
@@ -150,10 +150,23 @@ if [ -d "${PANTRY_DIR}" ] && command -v bun >/dev/null 2>&1 && [ "${STACKS_FORCE
|
|
|
150
150
|
run_buddy "$(command -v bun)" "$@"
|
|
151
151
|
fi
|
|
152
152
|
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
#
|
|
156
|
-
|
|
153
|
+
# A bun on PATH is enough. Pantry exists to PROVIDE a runtime and system
|
|
154
|
+
# dependencies where none are installed; when the machine already has bun, there
|
|
155
|
+
# is nothing for it to do here and bootstrapping one costs a great deal.
|
|
156
|
+
#
|
|
157
|
+
# This used to also require the pantry installer to be absent, which made the
|
|
158
|
+
# check "is this a node_modules app" rather than "can we already run". Any
|
|
159
|
+
# project shipping storage/framework/scripts/ therefore bootstrapped a
|
|
160
|
+
# per-project pantry on first `./buddy` — including on a production box during
|
|
161
|
+
# deploy, where it installed its own PostgreSQL into the release and prepended
|
|
162
|
+
# that bin directory to PATH. Those binaries shadowed the box's working
|
|
163
|
+
# wrappers and could not load libpq, so `db:backup` and `migrate` both died with
|
|
164
|
+
# `error while loading shared libraries: libpq.so.5` on a machine whose psql had
|
|
165
|
+
# been working the whole time.
|
|
166
|
+
#
|
|
167
|
+
# Provisioning system dependencies stays an explicit act: `pantry install`, or
|
|
168
|
+
# `buddy install`.
|
|
169
|
+
if command -v bun >/dev/null 2>&1 && [ "${STACKS_FORCE_PANTRY:-}" != "1" ]; then
|
|
157
170
|
run_buddy "$(command -v bun)" "$@"
|
|
158
171
|
fi
|
|
159
172
|
|