@mintlify/previewing 4.0.1423 → 4.0.1424

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.
@@ -34,7 +34,7 @@ export const setupNext = async () => {
34
34
  'code' in err &&
35
35
  err.code === 'ENOENT' &&
36
36
  NEXT_CONFIG_PATH.includes('.next/required-server-files.json')) {
37
- throw new Error(`Client not built. Run: cd <path>/apps/client && STANDALONE_BUILD=true NEXT_PUBLIC_ENV=cli yarn build`);
37
+ throw new Error(`Client not built. Run: cd <path>/apps/client && STANDALONE_BUILD=true NEXT_PUBLIC_ENV=cli pnpm build`);
38
38
  }
39
39
  throw err;
40
40
  }
@@ -17,7 +17,7 @@ const buildClient = async () => {
17
17
  return new Promise((resolve) => {
18
18
  clearLogs();
19
19
  addLog(_jsx(SpinnerLog, { message: "building local client (this may take a few minutes)..." }));
20
- const buildProcess = spawn('yarn', ['build'], {
20
+ const buildProcess = spawn('pnpm', ['build'], {
21
21
  cwd: CLIENT_PATH,
22
22
  env: {
23
23
  ...process.env,