fix(config): migrate configuration handling from npmextra to smartconfig
This commit is contained in:
@@ -42,7 +42,7 @@ export class ServiceManager {
|
||||
* Load service configuration from npmextra.json
|
||||
*/
|
||||
private async loadServiceConfiguration(): Promise<void> {
|
||||
const npmextraConfig = new plugins.npmextra.Npmextra(process.cwd());
|
||||
const npmextraConfig = new plugins.npmextra.Smartconfig(process.cwd());
|
||||
const gitzoneConfig = npmextraConfig.dataFor<any>('@git.zone/cli', {});
|
||||
|
||||
// Check if services array exists
|
||||
@@ -75,7 +75,7 @@ export class ServiceManager {
|
||||
* Save service configuration to npmextra.json
|
||||
*/
|
||||
private async saveServiceConfiguration(services: string[]): Promise<void> {
|
||||
const npmextraPath = plugins.path.join(process.cwd(), 'npmextra.json');
|
||||
const npmextraPath = plugins.path.join(process.cwd(), 'smartconfig.json');
|
||||
let npmextraData: any = {};
|
||||
|
||||
// Read existing npmextra.json if it exists
|
||||
|
||||
Reference in New Issue
Block a user