diff --git a/changelog.md b/changelog.md index 17c9409..9042fb8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2026-03-24 - 5.10.3 - fix(config) +replace npmextra with smartconfig for daemon key-value storage and release settings + +- swap the configuration storage dependency from @push.rocks/npmextra to @push.rocks/smartconfig +- update daemon config accessors to use the smartconfig KeyValueStore implementation +- add @git.zone/cli release registry and access configuration to npmextra.json + ## 2025-09-03 - 5.10.2 - fix(processmonitor) Bump smartdaemon and stop aggressive pidusage cache clearing in ProcessMonitor diff --git a/npmextra.json b/npmextra.json index 197d316..22aa9d7 100644 --- a/npmextra.json +++ b/npmextra.json @@ -14,5 +14,14 @@ "npmci": { "npmGlobalTools": [], "npmAccessLevel": "public" + }, + "@git.zone/cli": { + "release": { + "registries": [ + "https://verdaccio.lossless.digital", + "https://registry.npmjs.org" + ], + "accessLevel": "public" + } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 8c9a10b..2b6d477 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@types/node": "^22.13.10" }, "dependencies": { - "@push.rocks/npmextra": "^5.3.3", + "@push.rocks/smartconfig": "^6.0.0", "@push.rocks/projectinfo": "^5.0.2", "@push.rocks/smartcli": "^4.0.11", "@push.rocks/smartdaemon": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0aae9f2..be80e13 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,15 +8,15 @@ importers: .: dependencies: - '@push.rocks/npmextra': - specifier: ^5.3.3 - version: 5.3.3 '@push.rocks/projectinfo': specifier: ^5.0.2 version: 5.0.2 '@push.rocks/smartcli': specifier: ^4.0.11 version: 4.0.11 + '@push.rocks/smartconfig': + specifier: ^6.0.0 + version: 6.0.0 '@push.rocks/smartdaemon': specifier: ^2.1.0 version: 2.1.0 @@ -787,9 +787,6 @@ packages: '@push.rocks/mongodump@1.1.0': resolution: {integrity: sha512-kW0ZUGyf1e4nwloVwBQjNId+MzgTcNS834C+RxH21i1NqyOubbpWZtJtPP+K+s35nSJRyCTy3ICfBMdDBTAm2w==} - '@push.rocks/npmextra@5.3.3': - resolution: {integrity: sha512-snLpSHwaQ5OXlZzF1KX/FY71W5LwajjBzor82Vue0smjEPnSeUPY5/JcVdMwtdprdJe13pc/EQQuIiL/zw4/yg==} - '@push.rocks/projectinfo@5.0.2': resolution: {integrity: sha512-zzieCal6jwR++o+fDl8gMpWkNV2cGEsbT96vCNZu/H9kr0iqRmapOiA4DFadkhOnhlDqvRr6TPaXESu2YUbI8Q==} @@ -823,6 +820,9 @@ packages: '@push.rocks/smartclickhouse@2.0.17': resolution: {integrity: sha512-IYO8Obor/Ruam2KQ2B/+5uQ+rL0exU5KZoSgOc3jkkrfjn+zZenN2xoV8lVqavAtxZVfG7MfxFrcv6I7I9ZMmA==} + '@push.rocks/smartconfig@6.0.0': + resolution: {integrity: sha512-ohXwJdbDXV2budErnZKWBOz01YkjP6gJsZ7QM9+6Wsh+r7O1CVT3JpV+mD8xJWy5tZRHI+3B9L8z0+WkIDtKzw==} + '@push.rocks/smartcrypto@2.0.4': resolution: {integrity: sha512-1+/5bsjyataf5uUkUNnnVXGRAt+gHVk1KDzozjTqgqJxHvQk1d9fVDohL6CxUhUucTPtu5VR5xNBiV8YCDuGyw==} @@ -5665,7 +5665,7 @@ snapshots: '@push.rocks/smartcli': 4.0.11 '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartfile': 11.2.7 - '@push.rocks/smartlog': 3.1.8 + '@push.rocks/smartlog': 3.1.9 '@push.rocks/smartnpm': 2.0.6 '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartrequest': 4.3.1 @@ -6097,18 +6097,6 @@ snapshots: - snappy - socks - '@push.rocks/npmextra@5.3.3': - dependencies: - '@push.rocks/qenv': 6.1.3 - '@push.rocks/smartfile': 11.2.7 - '@push.rocks/smartjson': 5.0.20 - '@push.rocks/smartlog': 3.1.8 - '@push.rocks/smartpath': 6.0.0 - '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrx': 3.0.10 - '@push.rocks/taskbuffer': 3.1.7 - '@tsclass/tsclass': 9.2.0 - '@push.rocks/projectinfo@5.0.2': dependencies: '@push.rocks/smartfile': 10.0.41 @@ -6216,6 +6204,18 @@ snapshots: '@push.rocks/smarturl': 3.1.0 '@push.rocks/webrequest': 3.0.37 + '@push.rocks/smartconfig@6.0.0': + dependencies: + '@push.rocks/qenv': 6.1.3 + '@push.rocks/smartfile': 11.2.7 + '@push.rocks/smartjson': 5.0.20 + '@push.rocks/smartlog': 3.1.9 + '@push.rocks/smartpath': 6.0.0 + '@push.rocks/smartpromise': 4.2.3 + '@push.rocks/smartrx': 3.0.10 + '@push.rocks/taskbuffer': 3.1.10 + '@tsclass/tsclass': 9.2.0 + '@push.rocks/smartcrypto@2.0.4': dependencies: '@push.rocks/smartpromise': 4.2.3 @@ -6661,7 +6661,7 @@ snapshots: '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartenv': 5.0.13 '@push.rocks/smartjson': 5.0.20 - '@push.rocks/smartlog': 3.1.8 + '@push.rocks/smartlog': 3.1.9 '@push.rocks/smartpromise': 4.2.3 '@push.rocks/smartrx': 3.0.10 '@push.rocks/smarttime': 4.1.1 @@ -6799,7 +6799,7 @@ snapshots: dependencies: '@push.rocks/lik': 6.2.2 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartlog': 3.1.8 + '@push.rocks/smartlog': 3.1.9 '@push.rocks/smartpromise': 4.2.3 '@push.rocks/smartrx': 3.0.10 '@push.rocks/smarttime': 4.1.1 @@ -6809,7 +6809,7 @@ snapshots: dependencies: '@push.rocks/lik': 6.2.2 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartlog': 3.1.8 + '@push.rocks/smartlog': 3.1.9 '@push.rocks/smartpromise': 4.2.3 '@push.rocks/smartrx': 3.0.10 '@push.rocks/smarttime': 4.1.1 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 3bc19c4..ffa10f3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tspm', - version: '5.10.2', + version: '5.10.3', description: 'a no fuzz process manager' } diff --git a/ts/daemon/tspm.config.ts b/ts/daemon/tspm.config.ts index f3ddde2..8da12b9 100644 --- a/ts/daemon/tspm.config.ts +++ b/ts/daemon/tspm.config.ts @@ -1,20 +1,20 @@ import * as plugins from '../plugins.js'; export class TspmConfig { - public npmextraInstance = new plugins.npmextra.KeyValueStore({ + public smartconfigInstance = new plugins.smartconfig.KeyValueStore({ identityArg: '@git.zone__tspm', typeArg: 'userHomeDir', }); public async readKey(keyArg: string): Promise { - return await this.npmextraInstance.readKey(keyArg); + return await this.smartconfigInstance.readKey(keyArg); } public async writeKey(keyArg: string, value: string): Promise { - return await this.npmextraInstance.writeKey(keyArg, value); + return await this.smartconfigInstance.writeKey(keyArg, value); } public async deleteKey(keyArg: string): Promise { - return await this.npmextraInstance.deleteKey(keyArg); + return await this.smartconfigInstance.deleteKey(keyArg); } } diff --git a/ts/plugins.ts b/ts/plugins.ts index bbcdefc..f189c7a 100644 --- a/ts/plugins.ts +++ b/ts/plugins.ts @@ -6,7 +6,7 @@ import * as path from 'node:path'; export { childProcess, path }; // @push.rocks scope -import * as npmextra from '@push.rocks/npmextra'; +import * as smartconfig from '@push.rocks/smartconfig'; import * as projectinfo from '@push.rocks/projectinfo'; import * as smartcli from '@push.rocks/smartcli'; import * as smartdaemon from '@push.rocks/smartdaemon'; @@ -16,7 +16,7 @@ import * as smartpath from '@push.rocks/smartpath'; import * as smartinteract from '@push.rocks/smartinteract'; // Export with explicit module types -export { npmextra, projectinfo, smartcli, smartdaemon, smartfile, smartipc, smartpath, smartinteract }; +export { smartconfig, projectinfo, smartcli, smartdaemon, smartfile, smartipc, smartpath, smartinteract }; // third-party scope import psTree from 'ps-tree';