vela 0.23.0 → 0.25.0
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/bin.js +366 -215
- package/dist/bin.js.map +4 -4
- package/package.json +4 -4
- package/templates/server/provision.sh +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vela",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A CLI for creating and updating SvelteKit projects",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@clack/prompts": "^1.7.0",
|
|
46
46
|
"@faker-js/faker": "^10.6.0",
|
|
47
|
-
"@velastack/patterns": "^0.
|
|
47
|
+
"@velastack/patterns": "^0.12.0",
|
|
48
48
|
"@velastack/pocketbase-codegen": "^0.1.0",
|
|
49
49
|
"@velastack/schema": "^0.3.0",
|
|
50
50
|
"@velastack/schema-ui": "^0.3.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"commander": "^15.0.0",
|
|
53
53
|
"cross-spawn": "^7.0.6",
|
|
54
54
|
"dedent": "^1.7.2",
|
|
55
|
-
"devalue": "^
|
|
55
|
+
"devalue": "^6.0.3",
|
|
56
56
|
"dotenv": "^18.0.1",
|
|
57
57
|
"fetch-cookie": "^3.2.0",
|
|
58
58
|
"json-schema-faker": "^0.6.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"pocketbase": "^0.28.0",
|
|
63
63
|
"pocketbase-server": "^0.40.6-beta.5",
|
|
64
64
|
"stripe": "^23.0.1",
|
|
65
|
-
"sv": "~1.
|
|
65
|
+
"sv": "~1.2.0",
|
|
66
66
|
"svelte": "^5.56.10",
|
|
67
67
|
"tar": "^7.5.22",
|
|
68
68
|
"tinyexec": "^1.3.0",
|
|
@@ -128,8 +128,16 @@ install_node() {
|
|
|
128
128
|
fi
|
|
129
129
|
curl -fsSL "https://deb.nodesource.com/setup_${line}.x" -o /tmp/nodesource_setup.sh
|
|
130
130
|
wait_for_apt
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
# The setup script calls `apt` rather than `apt-get`, and apt prints
|
|
132
|
+
# "WARNING: apt does not have a stable CLI interface" to stderr on every
|
|
133
|
+
# non-interactive call - three times on a provision where nothing is wrong.
|
|
134
|
+
# Drop that line (and the blank ones around it), pass everything else on.
|
|
135
|
+
local status=0
|
|
136
|
+
bash /tmp/nodesource_setup.sh >/dev/null 2>/tmp/nodesource_setup.err || status=$?
|
|
137
|
+
grep -v -e '^WARNING: apt does not have a stable CLI interface' -e '^[[:space:]]*$' \
|
|
138
|
+
/tmp/nodesource_setup.err >&2 || true
|
|
139
|
+
rm -f /tmp/nodesource_setup.sh /tmp/nodesource_setup.err
|
|
140
|
+
[ "$status" -eq 0 ] || die "the nodesource setup script failed (exit $status)"
|
|
133
141
|
# `install` upgrades a nodejs that is already there to the candidate the
|
|
134
142
|
# setup script just made available.
|
|
135
143
|
apt_get install -y -qq nodejs >/dev/null
|