fixture.json

 1{
 2  "name": "Vite 8 + React + CSP meta tag",
 3  "config": {
 4    "files": ["index.html"],
 5    "insertBefore": "</body>",
 6    "commentSyntax": "html"
 7  },
 8  "sourceFiles": ["index.html", "src/App.jsx", "src/main.jsx", "src/styles.css", "vite.config.js"],
 9  "generatedFiles": [],
10  "wrapCases": [
11    {
12      "name": "wraps hero title in source JSX",
13      "args": { "classes": "hero-title", "tag": "h1" },
14      "expectedFile": "src/App.jsx"
15    }
16  ],
17  "csp": {
18    "shape": "meta-tag",
19    "signals": ["index.html"],
20    "patchTarget": "index.html"
21  },
22  "runtime": {
23    "styling": "plain-css",
24    "install": ["npm", "install", "--no-audit", "--no-fund", "--loglevel=error"],
25    "devCommand": ["npx", "vite", "--host", "127.0.0.1"],
26    "readyPattern": "Local:\\s+https?://[^:]+:(\\d+)",
27    "readyTimeoutMs": 120000,
28    "probe": {
29      "expectLiveInit": true,
30      "expectConsoleClean": true
31    }
32  }
33}