Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e6418a574 | |||
| 33609bff9a | |||
| ef7bab3e32 | |||
| 723dca735f |
12
changelog.md
12
changelog.md
@@ -1,5 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-10-28 - 1.3.2 - fix(cli)
|
||||||
|
Correct scripts subcommand argument parsing and bump smartcli dependency
|
||||||
|
|
||||||
|
- Fix scripts command argument indices so the subcommand is read from argvArg._[1] and subsequent arguments from argvArg._[2]. This resolves incorrect handling of 'scripts search', 'scripts info' and 'scripts run' inputs.
|
||||||
|
- Upgrade @push.rocks/smartcli dependency from ^4.0.11 to ^4.0.14 in deno.json for compatibility/stability improvements.
|
||||||
|
|
||||||
|
## 2025-10-27 - 1.3.1 - fix(publish)
|
||||||
|
Switch publish registry to internal Verdaccio instance and add local CI settings
|
||||||
|
|
||||||
|
- Update package.json publishConfig.registry from https://registry.npmjs.org/ to https://verdaccio.lossless.digital/ to publish packages to the internal Verdaccio registry.
|
||||||
|
- Add .claude/settings.local.json to include local CI/dev settings (local configuration only).
|
||||||
|
|
||||||
## 2025-10-27 - 1.3.0 - feat(cli)
|
## 2025-10-27 - 1.3.0 - feat(cli)
|
||||||
Add automatic update command and documentation updates
|
Add automatic update command and documentation updates
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/moxytool",
|
"name": "@serve.zone/moxytool",
|
||||||
"version": "1.3.0",
|
"version": "1.3.2",
|
||||||
"exports": "./mod.ts",
|
"exports": "./mod.ts",
|
||||||
"nodeModulesDir": "auto",
|
"nodeModulesDir": "auto",
|
||||||
"tasks": {
|
"tasks": {
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"@push.rocks/npmextra": "npm:@push.rocks/npmextra@^5.1.2",
|
"@push.rocks/npmextra": "npm:@push.rocks/npmextra@^5.1.2",
|
||||||
"@push.rocks/projectinfo": "npm:@push.rocks/projectinfo@^5.0.1",
|
"@push.rocks/projectinfo": "npm:@push.rocks/projectinfo@^5.0.1",
|
||||||
"@push.rocks/qenv": "npm:@push.rocks/qenv@^6.1.0",
|
"@push.rocks/qenv": "npm:@push.rocks/qenv@^6.1.0",
|
||||||
"@push.rocks/smartcli": "npm:@push.rocks/smartcli@^4.0.11",
|
"@push.rocks/smartcli": "npm:@push.rocks/smartcli@^4.0.14",
|
||||||
"@push.rocks/smartdelay": "npm:@push.rocks/smartdelay@^3.0.5",
|
"@push.rocks/smartdelay": "npm:@push.rocks/smartdelay@^3.0.5",
|
||||||
"@push.rocks/smartfile": "npm:@push.rocks/smartfile@^11.0.23",
|
"@push.rocks/smartfile": "npm:@push.rocks/smartfile@^11.0.23",
|
||||||
"@push.rocks/smartjson": "npm:@push.rocks/smartjson@^5.0.20",
|
"@push.rocks/smartjson": "npm:@push.rocks/smartjson@^5.0.20",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/moxytool",
|
"name": "@serve.zone/moxytool",
|
||||||
"version": "1.3.0",
|
"version": "1.3.2",
|
||||||
"description": "Proxmox administration tool for vGPU setup, VM management, and cluster configuration",
|
"description": "Proxmox administration tool for vGPU setup, VM management, and cluster configuration",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"proxmox",
|
"proxmox",
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
],
|
],
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://verdaccio.lossless.digital/"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.18.1+sha512.77a884a165cbba2d8d1c19e3b4880eee6d2fcabd0d879121e282196b80042351d5eb3ca0935fa599da1dc51265cc68816ad2bddd2a2de5ea9fdf92adbec7cd34"
|
"packageManager": "pnpm@10.18.1+sha512.77a884a165cbba2d8d1c19e3b4880eee6d2fcabd0d879121e282196b80042351d5eb3ca0935fa599da1dc51265cc68816ad2bddd2a2de5ea9fdf92adbec7cd34"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/moxytool',
|
name: '@serve.zone/moxytool',
|
||||||
version: '1.3.0',
|
version: '1.3.2',
|
||||||
description: 'Proxmox administration tool for vGPU setup, VM management, and cluster configuration'
|
description: 'Proxmox administration tool for vGPU setup, VM management, and cluster configuration'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ export const runCli = async () => {
|
|||||||
|
|
||||||
// Scripts management commands
|
// Scripts management commands
|
||||||
smartcliInstance.addCommand('scripts').subscribe(async (argvArg) => {
|
smartcliInstance.addCommand('scripts').subscribe(async (argvArg) => {
|
||||||
const subcommand = argvArg._[0];
|
const subcommand = argvArg._[1]; // _[0] is 'scripts', _[1] is the subcommand
|
||||||
|
|
||||||
if (!subcommand) {
|
if (!subcommand) {
|
||||||
logger.log('info', 'MOXYTOOL Scripts - Proxmox Community Scripts Management');
|
logger.log('info', 'MOXYTOOL Scripts - Proxmox Community Scripts Management');
|
||||||
@@ -262,7 +262,7 @@ export const runCli = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'search': {
|
case 'search': {
|
||||||
const query = argvArg._[1];
|
const query = argvArg._[2]; // _[0]=scripts, _[1]=search, _[2]=query
|
||||||
|
|
||||||
if (!query) {
|
if (!query) {
|
||||||
logger.log('error', 'Please provide a search query');
|
logger.log('error', 'Please provide a search query');
|
||||||
@@ -292,7 +292,7 @@ export const runCli = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'info': {
|
case 'info': {
|
||||||
const slug = argvArg._[1];
|
const slug = argvArg._[2]; // _[0]=scripts, _[1]=info, _[2]=slug
|
||||||
|
|
||||||
if (!slug) {
|
if (!slug) {
|
||||||
logger.log('error', 'Please provide a script slug');
|
logger.log('error', 'Please provide a script slug');
|
||||||
@@ -368,7 +368,7 @@ export const runCli = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'run': {
|
case 'run': {
|
||||||
const slug = argvArg._[1];
|
const slug = argvArg._[2]; // _[0]=scripts, _[1]=run, _[2]=slug
|
||||||
|
|
||||||
if (!slug) {
|
if (!slug) {
|
||||||
logger.log('error', 'Please provide a script slug');
|
logger.log('error', 'Please provide a script slug');
|
||||||
|
|||||||
Reference in New Issue
Block a user