fix(config): migrate configuration loading to smartconfig and update build tooling compatibility

This commit is contained in:
2026-03-24 18:56:43 +00:00
parent c97306b22a
commit 3c3662d935
10 changed files with 164 additions and 135 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdocker',
version: '2.2.3',
description: 'develop npm modules cross platform with docker'
version: '2.2.4',
description: 'A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.'
}

View File

@@ -3,8 +3,8 @@ import * as paths from './tsdocker.paths.js';
import type { ITsDockerConfig } from './interfaces/index.js';
const buildConfig = async (): Promise<ITsDockerConfig> => {
const npmextra = new plugins.npmextra.Smartconfig(paths.cwd);
const config = npmextra.dataFor<ITsDockerConfig>('@git.zone/tsdocker', {
const smartconfig = new plugins.smartconfig.Smartconfig(paths.cwd);
const config = smartconfig.dataFor<ITsDockerConfig>('@git.zone/tsdocker', {
registries: [],
registryRepoMap: {},
buildArgEnvMap: {},

View File

@@ -1,6 +1,6 @@
// push.rocks scope
import * as lik from '@push.rocks/lik';
import * as npmextra from '@push.rocks/smartconfig';
import * as smartconfig from '@push.rocks/smartconfig';
import * as path from 'path';
import * as projectinfo from '@push.rocks/projectinfo';
import * as smartcli from '@push.rocks/smartcli';
@@ -16,7 +16,7 @@ export const smartfs = new SmartFs(new SmartFsProviderNode());
export {
lik,
npmextra,
smartconfig,
path,
projectinfo,
smartcli,