wisdom 15.2.2 → 15.3.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.06, v15.3.0
2
+
3
+ feature:
4
+ - 40c0dd0 publish: --tag latest: add
5
+
1
6
  2025.03.06, v15.2.2
2
7
 
3
8
  feature:
package/lib/publish.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {execSync} from 'node:child_process';
2
2
  import getEnv from './get-env.js';
3
3
 
4
- export const publish = ({cwd, version}) => {
5
- execute(`npm publish`, version, cwd);
4
+ export const publish = ({cwd, version, execute = _execute}) => {
5
+ execute(`npm publish --tag latest`, version, cwd);
6
6
  };
7
7
 
8
- function execute(cmd, version, cwd) {
8
+ function _execute(cmd, version, cwd) {
9
9
  const stdio = [
10
10
  0,
11
11
  1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wisdom",
3
- "version": "15.2.2",
3
+ "version": "15.3.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",