Files
tsbundle/ts/plugins.ts

31 lines
868 B
TypeScript

// node native
import * as path from 'path';
export { path };
// pushrocks scope
import * as npmextra from '@push.rocks/npmextra';
import * as smartcli from '@push.rocks/smartcli';
import * as smartfs from '@push.rocks/smartfs';
import * as smartinteract from '@push.rocks/smartinteract';
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 {
npmextra,
smartcli,
smartfs,
smartinteract,
smartlog,
smartlogDestinationLocal,
smartpath,
smartpromise,
smartspawn,
};
// Create a shared SmartFs instance using Node provider
export const fs = new smartfs.SmartFs(new smartfs.SmartFsProviderNode());