vela 0.24.0 → 0.25.1

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": "vela",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
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.11.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": "^5.9.4",
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.1.1",
65
+ "sv": "~1.2.0",
66
66
  "svelte": "^5.56.10",
67
67
  "tar": "^7.5.22",
68
68
  "tinyexec": "^1.3.0",
@@ -24,7 +24,9 @@ export const load = loadFlash(async ({ url }) => {
24
24
  height: 630
25
25
  }
26
26
  ]
27
- }
27
+ },
28
+ // The large picture card: the share image is 1200 x 630.
29
+ twitter: { cardType: 'summary_large_image' }
28
30
  });
29
31
 
30
32
  return {
@@ -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
- bash /tmp/nodesource_setup.sh >/dev/null
132
- rm -f /tmp/nodesource_setup.sh
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
@@ -25,7 +25,9 @@ export const load: LayoutLoad = ({ url }) => {
25
25
  height: 630
26
26
  }
27
27
  ]
28
- }
28
+ },
29
+ // The large picture card: the share image is 1200 x 630.
30
+ twitter: { cardType: 'summary_large_image' }
29
31
  });
30
32
 
31
33
  return {