conductor-node 3.7.1 → 3.8.0

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "3.7.1",
3
+ "version": "3.8.0",
4
4
  "description": "Conductor API wrapper",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "prepack": "yarn tsc && yarn delete-compiled-tests && yarn tsc-alias --verbose",
16
- "delete-compiled-tests": "rm -rfv `find ./dist -type d -name __tests__`",
16
+ "delete-compiled-tests": "rm -rf `find ./dist -type d -name __tests__`",
17
17
  "postpack": "rm -rf dist",
18
18
  "clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo"
19
19
  },
@@ -78,11 +78,11 @@ class Client {
78
78
  }
79
79
  checkForUpdates() {
80
80
  const currentVersion = package_json_1.default.version;
81
- const latestVersion = (0, child_process_1.execSync)(`npm view ${package_json_1.default.name} version`)
81
+ const latestVersion = (0, child_process_1.execSync)(`yarn info ${package_json_1.default.name} version`)
82
82
  .toString()
83
83
  .trim();
84
84
  if (currentVersion !== latestVersion) {
85
- console.warn(`Warning: You are using ${package_json_1.default.name} version ${currentVersion} but the latest version is ${latestVersion}. Please run "npm install ${package_json_1.default.name}@${latestVersion}" to update to the latest version.`);
85
+ console.warn(`Warning: You are using ${package_json_1.default.name} version ${currentVersion} but the latest version is ${latestVersion}. Please run "yarn add ${package_json_1.default.name}@${latestVersion}" to update to the latest version.`);
86
86
  }
87
87
  }
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "3.7.1",
3
+ "version": "3.8.0",
4
4
  "description": "Conductor API wrapper",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "prepack": "yarn tsc && yarn delete-compiled-tests && yarn tsc-alias --verbose",
16
- "delete-compiled-tests": "rm -rfv `find ./dist -type d -name __tests__`",
16
+ "delete-compiled-tests": "rm -rf `find ./dist -type d -name __tests__`",
17
17
  "postpack": "rm -rf dist",
18
18
  "clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo"
19
19
  },