create-kide-app 0.0.11 → 0.0.12
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/index.js +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -150,6 +150,12 @@ async function main() {
|
|
|
150
150
|
s.start("Installing dependencies");
|
|
151
151
|
try {
|
|
152
152
|
execSync(pm.install, { cwd: projectDir, stdio: "pipe" });
|
|
153
|
+
// Rebuild native deps that pnpm may have skipped (e.g. better-sqlite3 bindings)
|
|
154
|
+
try {
|
|
155
|
+
execSync("pnpm rebuild better-sqlite3", { cwd: projectDir, stdio: "pipe" });
|
|
156
|
+
} catch {
|
|
157
|
+
// Ignore — only matters for local target
|
|
158
|
+
}
|
|
153
159
|
s.stop("Dependencies installed");
|
|
154
160
|
} catch {
|
|
155
161
|
s.stop(`${pm.install} failed — run it manually`);
|