planx 19.34.0 → 19.36.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 -0
  2. package/package.json +2 -2
package/main.js CHANGED
@@ -7,6 +7,9 @@ import { fileURLToPath } from "node:url";
7
7
  import { existsSync } from "node:fs";
8
8
  var __dirname = dirname(fileURLToPath(import.meta.url));
9
9
  function findMachinaBin() {
10
+ const ownBin = resolve(__dirname, "node_modules/.bin/machina");
11
+ if (existsSync(ownBin))
12
+ return ownBin;
10
13
  const nmBin = resolve(__dirname, "../node_modules/.bin/machina");
11
14
  if (existsSync(nmBin))
12
15
  return nmBin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "planx",
3
- "version": "19.34.0",
3
+ "version": "19.36.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.34.0"
13
+ "@machina.at/cli": "19.36.0"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"