Files
tsbundle/ts/plugins.ts

27 lines
729 B
TypeScript

// node native
import * as path from 'path';
export { path };
// pushrocks scope
import * as smartcli from '@push.rocks/smartcli';
import * as smartfs from '@push.rocks/smartfs';
import * as smartlog from '@push.rocks/smartlog';
import * as smartlogDestinationLocal from '@push.rocks/smartlog-destination-local';
import * as smartpath from '@push.rocks/smartpath';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartspawn from '@push.rocks/smartspawn';
export {
smartcli,
smartfs,
smartlog,
smartlogDestinationLocal,
smartpath,
smartpromise,
smartspawn,
};
// Create a shared SmartFs instance using Node provider
export const fs = new smartfs.SmartFs(new smartfs.SmartFsProviderNode());