fix(core): update

This commit is contained in:
Philipp Kunz 2023-08-26 09:56:20 +02:00
parent 86427ac05d
commit d834e0a220
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/npmextra',
version: '4.0.2',
version: '4.0.3',
description: 'do more with npm'
}

View File

@ -3,6 +3,13 @@ import * as paths from './npmextra.paths.js';
import { KeyValueStore } from './npmextra.classes.keyvaluestore.js';
export class AppData {
public static async createAndInit(pathArg: string) {
const appData = new AppData(pathArg);
await appData.init();
return appData;
}
// instance
public readyDeferred = plugins.smartpromise.defer();
public dirPathArg: string;
private kvStore: KeyValueStore;