fix(core): update
This commit is contained in:
10
ts/mod_helpers/index.ts
Normal file
10
ts/mod_helpers/index.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import * as plugins from './mod.plugins.js';
|
||||
|
||||
export const run = async (argvArg) => {
|
||||
const command = argvArg._[1];
|
||||
switch (command) {
|
||||
case 'shortid':
|
||||
console.log('Here is new shortid');
|
||||
console.log(plugins.smartunique.shortId());
|
||||
}
|
||||
};
|
5
ts/mod_helpers/mod.plugins.ts
Normal file
5
ts/mod_helpers/mod.plugins.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export * from '../plugins.js';
|
||||
|
||||
import * as smartunique from '@push.rocks/smartunique';
|
||||
|
||||
export { smartunique };
|
Reference in New Issue
Block a user