fix(config): migrate configuration handling from npmextra to smartconfig
This commit is contained in:
@@ -101,7 +101,7 @@ export class PackageJsonFormatter extends BaseFormatter {
|
||||
const packageJson = JSON.parse(currentContent);
|
||||
|
||||
// Get gitzone config from npmextra
|
||||
const npmextraConfig = new plugins.npmextra.Npmextra(paths.cwd);
|
||||
const npmextraConfig = new plugins.npmextra.Smartconfig(paths.cwd);
|
||||
const gitzoneData: any = npmextraConfig.dataFor('@git.zone/cli', {});
|
||||
|
||||
// Set metadata from gitzone config
|
||||
@@ -156,7 +156,7 @@ export class PackageJsonFormatter extends BaseFormatter {
|
||||
'dist_ts_web/**/*',
|
||||
'assets/**/*',
|
||||
'cli.js',
|
||||
'npmextra.json',
|
||||
'smartconfig.json',
|
||||
'readme.md',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user