rename package from @push.rocks/npmextra to @push.rocks/smartconfig

- Rename all source files from npmextra.* to simpler names (classes.appdata.ts, etc.)
- Rename Npmextra class to Smartconfig
- Config file changed from npmextra.json to smartconfig.json
- KV store path changed from ~/.npmextra/kv to ~/.smartconfig/kv
- Update all imports, tests, and metadata
This commit is contained in:
2026-03-24 14:56:23 +00:00
parent fdc2420238
commit 22a9aa9f3e
23 changed files with 202 additions and 363 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "@push.rocks/npmextra",
"name": "@push.rocks/smartconfig",
"version": "5.3.3",
"private": false,
"description": "A utility to enhance npm with additional configuration, tool management capabilities, and a key-value store for project setups.",
"description": "A comprehensive configuration management library providing key-value storage, environment variable mapping, and tool configuration.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"scripts": {
@@ -12,14 +12,14 @@
},
"repository": {
"type": "git",
"url": "https://code.foss.global/push.rocks/npmextra.git"
"url": "https://code.foss.global/push.rocks/smartconfig.git"
},
"author": "Lossless GmbH",
"license": "MIT",
"bugs": {
"url": "https://code.foss.global/push.rocks/npmextra/issues"
"url": "https://code.foss.global/push.rocks/smartconfig/issues"
},
"homepage": "https://code.foss.global/push.rocks/npmextra#readme",
"homepage": "https://code.foss.global/push.rocks/smartconfig#readme",
"dependencies": {
"@push.rocks/qenv": "^6.1.3",
"@push.rocks/smartfile": "^11.2.5",
@@ -46,7 +46,7 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
"npmextra.json",
"smartconfig.json",
"readme.md"
],
"browserslist": [