dialog-survey 1.6.5 → 1.6.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/cli.mjs +2 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dialog-survey",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "type": "module",
5
5
  "description": "AI-powered interview robot that conducts async multi-turn interviews via DingTalk",
6
6
  "repository": {
package/scripts/cli.mjs CHANGED
@@ -519,18 +519,8 @@ export async function installCommand(flags) {
519
519
  return;
520
520
  }
521
521
 
522
- // Step 10: build
523
- log("Building project...");
524
- try {
525
- exec("npm run build", { cwd: INSTALL_DIR });
526
- log(" Build complete ✓");
527
- } catch (err) {
528
- logError(`Build failed: ${err.message}`);
529
- process.exitCode = 1;
530
- return;
531
- }
532
-
533
- // Step 11: PM2 start
522
+ // Step 10: PM2 start
523
+ // Note: No build step needed — dist/ is pre-compiled in the npm package.
534
524
  log("Starting service via PM2...");
535
525
  try {
536
526
  exec(