wisdom 15.3.0 → 15.4.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/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2025.03.13, v15.4.0
2
+
3
+ fix:
4
+ - d01c74a wisdom: run-wisdom: use local node_modules/.bin first
5
+
1
6
  2025.03.06, v15.3.0
2
7
 
3
8
  feature:
@@ -3,6 +3,7 @@ import process from 'node:process';
3
3
  import redrun from 'redrun';
4
4
  import envir from 'envir';
5
5
  import getEnv from './get-env.js';
6
+ import {setPath} from './set-path.js';
6
7
 
7
8
  const {PATH} = process.env;
8
9
  const {cwd} = process;
@@ -18,7 +19,7 @@ export default async (name, type, version, info, emitter) => {
18
19
  ...process.env,
19
20
  ...envir(PATH, cwd(), info),
20
21
  ...getEnv(version),
21
- PATH,
22
+ PATH: setPath(PATH),
22
23
  npm_package_version: info.version,
23
24
  };
24
25
 
@@ -0,0 +1,3 @@
1
+ export const setPath = (path) => {
2
+ return `node_modules/.bin:${path}`;
3
+ };
package/lib/runner.js CHANGED
@@ -8,7 +8,7 @@ import versionio from 'version-io';
8
8
  import changelog from 'changelog-io';
9
9
  import getEnv from './get-env.js';
10
10
  import {release} from './release.js';
11
- import runWisdom from './run-wisdom.js';
11
+ import runWisdom from './run/run-wisdom.js';
12
12
  import {traverse} from './traverse.js';
13
13
 
14
14
  const prepend = promisify(_prepend);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wisdom",
3
- "version": "15.3.0",
3
+ "version": "15.4.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "configurable publish releases to github and npm",
6
6
  "homepage": "http://github.com/coderaiser/wisdom",