create-nuxt-base 2.5.3 → 2.6.2

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.
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ # Temp file for server output
5
+ LOG_FILE=$(mktemp)
6
+
7
+ # Start the built Nuxt server in background, redirect output to log file
8
+ # The build step already ran before this script is called
9
+ node .output/server/index.mjs > "$LOG_FILE" 2>&1 &
10
+ SERVER_PID=$!
11
+
12
+ # Show log output in real-time
13
+ tail -f "$LOG_FILE" &
14
+ TAIL_PID=$!
15
+
16
+ # Ensure cleanup on exit: kill server, tail, and remove temp file
17
+ trap 'kill $SERVER_PID $TAIL_PID 2>/dev/null; wait $SERVER_PID $TAIL_PID 2>/dev/null || true; rm -f "$LOG_FILE"' EXIT
18
+
19
+ # Wait for the Nitro server ready message (max 60 seconds)
20
+ for i in $(seq 1 60); do
21
+ if grep -q "Listening on\|Nitro ready\|Local:" "$LOG_FILE" 2>/dev/null; then
22
+ echo ""
23
+ echo "Server started successfully - check complete"
24
+ exit 0
25
+ fi
26
+ # Check if server process died unexpectedly
27
+ if ! kill -0 $SERVER_PID 2>/dev/null; then
28
+ echo ""
29
+ echo "Server process exited unexpectedly"
30
+ exit 1
31
+ fi
32
+ sleep 1
33
+ done
34
+
35
+ echo ""
36
+ echo "Server failed to start within 60 seconds"
37
+ exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nuxt-base",
3
- "version": "2.5.3",
3
+ "version": "2.6.2",
4
4
  "description": "Starter to generate a configured environment with VueJS, Nuxt, Tailwind, Linting, Unit Tests, Playwright etc.",
5
5
  "license": "MIT",
6
6
  "author": "lenne.Tech GmbH",
@@ -38,10 +38,16 @@
38
38
  },
39
39
  "pnpm": {
40
40
  "overrides": {
41
- "brace-expansion@>=4.0.0 <5.0.5": ">=5.0.5",
42
- "handlebars@>=4.0.0 <=4.7.8": ">=4.7.9",
43
- "lodash@>=4.0.0 <=4.17.23": ">=4.18.0",
44
- "minimatch@<3.1.4": ">=3.1.4"
41
+ "brace-expansion@>=4.0.0 <5.0.5": "5.0.5",
42
+ "handlebars@>=4.0.0 <=4.7.8": "4.7.9",
43
+ "lodash@>=4.0.0 <=4.17.23": "4.18.1",
44
+ "minimatch@<3.1.4": "3.1.5"
45
45
  }
46
+ },
47
+ "//overrides": {
48
+ "brace-expansion@>=4.0.0 <5.0.5": "Security fix: ReDoS via zero-step sequences (GHSA-f886-m6hf-6m8v) - transitive via standard-version",
49
+ "handlebars@>=4.0.0 <=4.7.8": "Security fix: prototype pollution / RCE in handlebars <=4.7.8 (GHSA-g9r4-xpmj-mj65) - transitive via standard-version",
50
+ "lodash@>=4.0.0 <=4.17.23": "Security fix: prototype pollution in lodash <=4.17.23 (GHSA-x5rq-j2xg-h7qm) - transitive via standard-version",
51
+ "minimatch@<3.1.4": "Security fix: ReDoS in minimatch <3.1.4 (GHSA-f8q6-p94x-37v3) - transitive via standard-version"
46
52
  }
47
53
  }