node-pty 1.1.0-beta34 → 1.1.0-beta35

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "Microsoft Corporation"
6
6
  },
7
- "version": "1.1.0-beta34",
7
+ "version": "1.1.0-beta35",
8
8
  "license": "MIT",
9
9
  "main": "./lib/index.js",
10
10
  "types": "./typings/node-pty.d.ts",
@@ -38,6 +38,7 @@
38
38
  "watch": "tsc -b -w ./src/tsconfig.json",
39
39
  "lint": "eslint -c .eslintrc.js --ext .ts src/",
40
40
  "postinstall": "node scripts/post-install.js",
41
+ "compileCommands": "node scripts/gen-compile-commands.js",
41
42
  "test": "cross-env NODE_ENV=test mocha -R spec --exit lib/*.test.js",
42
43
  "posttest": "npm run lint",
43
44
  "prepare": "npm run build",
@@ -54,7 +55,6 @@
54
55
  "cross-env": "^5.1.4",
55
56
  "eslint": "^6.8.0",
56
57
  "mocha": "10",
57
- "node-gyp": "^10.0.1",
58
58
  "ps-list": "^6.0.0",
59
59
  "typescript": "^3.8.3"
60
60
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Copyright (c) 2025, Microsoft Corporation (MIT License).
3
+ */
4
+
5
+ console.log(`\x1b[32m> Generating compile_commands.json...\x1b[0m`);
6
+ execSync('npx node-gyp configure -- -f compile_commands_json');
@@ -77,7 +77,4 @@ if (os.platform() !== 'win32') {
77
77
  }
78
78
  }
79
79
 
80
- console.log(`\x1b[32m> Generating compile_commands.json...\x1b[0m`);
81
- execSync('npx node-gyp configure -- -f compile_commands_json');
82
-
83
80
  process.exit(0);