nextjs-studio 1.0.7 → 1.0.8
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.
|
@@ -6870,7 +6870,7 @@ async function loadConfigFromPath(configPath2) {
|
|
|
6870
6870
|
// package.json
|
|
6871
6871
|
var package_default = {
|
|
6872
6872
|
name: "nextjs-studio",
|
|
6873
|
-
version: "1.0.
|
|
6873
|
+
version: "1.0.8",
|
|
6874
6874
|
description: "A Git-based, local-first CMS for Next.js projects",
|
|
6875
6875
|
keywords: [
|
|
6876
6876
|
"nextjs",
|
|
@@ -7003,7 +7003,8 @@ function extractStandalone(archivePath) {
|
|
|
7003
7003
|
if (!existsSync2(serverJs)) {
|
|
7004
7004
|
console.log("Extracting studio UI (first run)...");
|
|
7005
7005
|
mkdirSync(cacheDir, { recursive: true });
|
|
7006
|
-
|
|
7006
|
+
const forceLocal = process.platform !== "win32" ? "--force-local " : "";
|
|
7007
|
+
execSync(`tar ${forceLocal}-xzf "${archivePath.replaceAll("\\", "/")}" -C "${cacheDir.replaceAll("\\", "/")}"`, { stdio: "inherit" });
|
|
7007
7008
|
}
|
|
7008
7009
|
return serverJs;
|
|
7009
7010
|
}
|
|
Binary file
|