@docsalot/previewing 0.1.0-beta.5 → 0.1.0-beta.6

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.
Binary file
@@ -40,9 +40,12 @@ const installDeps = async () => {
40
40
  if (!dependenciesInstalled || needsBootstrap) {
41
41
  logger.text = "Installing local DocsALot dependencies...";
42
42
  shell.cd(CLIENT_PATH);
43
- const installResult = shell.exec("yarn");
43
+ const installResult = shell.exec("yarn install --production=true --ignore-scripts --silent", { silent: true });
44
44
  if (installResult.code !== 0) {
45
45
  logger.fail("Failed to install dependencies.");
46
+ if (installResult.stderr) {
47
+ console.error(installResult.stderr);
48
+ }
46
49
  process.exit(1);
47
50
  }
48
51
  logger.succeed("Dependencies installed.");
@@ -75,10 +75,10 @@ const dev = async (argv) => {
75
75
  const run = (port) => {
76
76
  shell.cd(CLIENT_PATH);
77
77
  console.log("CLIENT PATH", CLIENT_PATH);
78
- // For Cloud Run/Docker, use dev-host (binds to 0.0.0.0, no file watching)
79
- // For local development, use dev-watch (binds to localhost, with file watching)
78
+ // For Cloud Run/Docker, use dev-host (binds to 0.0.0.0).
79
+ // For local development, use next dev directly.
80
80
  const isProduction = process.env.BIND_ALL_INTERFACES === "true";
81
- const devScript = isProduction ? "npm run dev-host" : "npm run dev-watch";
81
+ const devScript = isProduction ? "npm run dev-host" : "npm run dev";
82
82
  const docsalotDevProcess = child_process.spawn(devScript, {
83
83
  env: {
84
84
  ...process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsalot/previewing",
3
- "version": "0.1.0-beta.5",
3
+ "version": "0.1.0-beta.6",
4
4
  "description": "Preview DocsALot docs locally",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@apidevtools/swagger-parser": "^10.1.0",
32
- "@docsalot/prebuild": "^0.1.0-beta.5",
33
- "@docsalot/validation": "^0.1.0-beta.5",
32
+ "@docsalot/prebuild": "^0.1.0-beta.6",
33
+ "@docsalot/validation": "^0.1.0-beta.6",
34
34
  "@octokit/rest": "^19.0.5",
35
35
  "axios": "^1.2.2",
36
36
  "chalk": "^5.1.0",