planx 19.38.1 → 19.42.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.
Files changed (2) hide show
  1. package/main.js +3 -6
  2. package/package.json +2 -2
package/main.js CHANGED
@@ -8,14 +8,11 @@ import { existsSync } from "node:fs";
8
8
  var __dirname = dirname(fileURLToPath(import.meta.url));
9
9
  function findMachinaBin() {
10
10
  const ownBin = resolve(__dirname, "node_modules/.bin/machina");
11
- if (existsSync(ownBin))
12
- return ownBin;
11
+ if (existsSync(ownBin)) return ownBin;
13
12
  const nmBin = resolve(__dirname, "../node_modules/.bin/machina");
14
- if (existsSync(nmBin))
15
- return nmBin;
13
+ if (existsSync(nmBin)) return nmBin;
16
14
  const npxBin = resolve(__dirname, "../../.bin/machina");
17
- if (existsSync(npxBin))
18
- return npxBin;
15
+ if (existsSync(npxBin)) return npxBin;
19
16
  return "machina";
20
17
  }
21
18
  var result = spawnSync(findMachinaBin(), process.argv.slice(2), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "planx",
3
- "version": "19.38.1",
3
+ "version": "19.42.0",
4
4
  "description": "planx - CLI wrapper for @machina.at/cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,7 +10,7 @@
10
10
  ".": "./main.js"
11
11
  },
12
12
  "dependencies": {
13
- "@machina.at/cli": "19.38.1"
13
+ "@machina.at/cli": "19.42.0"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"