@pyrpc/client 0.6.1 → 0.6.2

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 +41 -44
  2. package/postinstall.js +2 -2
package/package.json CHANGED
@@ -1,44 +1,41 @@
1
- {
2
- "name": "@pyrpc/client",
3
- "version": "0.6.1",
4
- "description": "Universal TypeScript client for pyRPC",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
8
- "bin": {
9
- "pyrpc": "./cli.js"
10
- },
11
- "files": [
12
- "dist",
13
- "cli.js",
14
- "postinstall.js"
15
- ],
16
- "scripts": {
17
- "postinstall": "node postinstall.js",
18
- "build": "tsup src/index.ts --format cjs,esm --dts",
19
- "dev": "tsup src/index.ts --format cjs,esm --watch --dts",
20
- "lint": "eslint src/**/*.ts",
21
- "test": "vitest run"
22
- },
23
- "keywords": [
24
- "rpc",
25
- "pyrpc",
26
- "typescript",
27
- "client",
28
- "api"
29
- ],
30
- "author": "",
31
- "license": "MIT",
32
- "dependencies": {
33
- "@pyrpc/types": "^0.6.0"
34
- },
35
- "peerDependencies": {
36
- "@pyrpc/types": "^0.6.0"
37
- },
38
- "devDependencies": {
39
- "@types/node": "^20.19.39",
40
- "tsup": "^8.5.1",
41
- "typescript": "^5.9.3",
42
- "vitest": "^3.0.0"
43
- }
44
- }
1
+ {
2
+ "name": "@pyrpc/client",
3
+ "version": "0.6.2",
4
+ "description": "Universal TypeScript client for pyRPC",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "pyrpc": "./cli.js"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "cli.js",
14
+ "postinstall.js"
15
+ ],
16
+ "scripts": {
17
+ "postinstall": "node postinstall.js",
18
+ "build": "tsup src/index.ts --format cjs,esm --dts",
19
+ "dev": "tsup src/index.ts --format cjs,esm --watch --dts",
20
+ "lint": "eslint src/**/*.ts",
21
+ "test": "vitest run"
22
+ },
23
+ "keywords": [
24
+ "rpc",
25
+ "pyrpc",
26
+ "typescript",
27
+ "client",
28
+ "api"
29
+ ],
30
+ "author": "",
31
+ "license": "MIT",
32
+ "dependencies": {
33
+ "@pyrpc/types": "^0.6.0"
34
+ },
35
+ "devDependencies": {
36
+ "@types/node": "^20.19.39",
37
+ "tsup": "^8.5.1",
38
+ "typescript": "^5.9.3",
39
+ "vitest": "^3.0.0"
40
+ }
41
+ }
package/postinstall.js CHANGED
@@ -119,10 +119,10 @@ function main() {
119
119
  return Promise.resolve();
120
120
  }
121
121
 
122
- var isInteractive = process.stdin.isTTY;
122
+ var isInteractive = process.stdout.isTTY;
123
123
  var isCI = process.env.CI;
124
124
 
125
- if (!isInteractive || isCI) {
125
+ if (process.env.CI || !isInteractive) {
126
126
  return Promise.resolve();
127
127
  }
128
128