create-bdpa-react-scaffold 2.1.3 → 2.1.4
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/create-ui-lib.js +1 -10
- package/package.json +1 -1
package/create-ui-lib.js
CHANGED
|
@@ -1816,16 +1816,7 @@ if (!doInstall) {
|
|
|
1816
1816
|
console.log("\nℹ️ Skipping npm install (flag --no-install). Run manually later.");
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
|
-
|
|
1820
|
-
const isWinTs = process.platform === "win32";
|
|
1821
|
-
const codeCmdTs = isWinTs ? "code.cmd" : "code";
|
|
1822
|
-
console.log("\n🔄 Restarting TypeScript server to prevent IntelliSense hang...");
|
|
1823
|
-
const tsRestartResult = spawnSync(codeCmdTs, ["--command", "typescript.restartTsServer"], { stdio: "inherit" });
|
|
1824
|
-
if (tsRestartResult.status !== 0) {
|
|
1825
|
-
console.warn(" ⚠️ Could not restart TypeScript server (VS Code CLI may not be available).");
|
|
1826
|
-
} else {
|
|
1827
|
-
console.log(" ✔ TypeScript server restarted.");
|
|
1828
|
-
}
|
|
1819
|
+
|
|
1829
1820
|
|
|
1830
1821
|
// cd into app directory, npm install, then npm run dev
|
|
1831
1822
|
const isWin = process.platform === "win32";
|