fix(core): update
This commit is contained in:
parent
86427ac05d
commit
d834e0a220
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/npmextra',
|
||||
version: '4.0.2',
|
||||
version: '4.0.3',
|
||||
description: 'do more with npm'
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user