core: use moment-timezone

This commit is contained in:
undefined committed 2022-12-12 02:56:42 +08:00
1 parent 4db96d858a
commit 8f33ffd8eb
5 files changed
+6 -9

No files matched your search

+1 -4
View File
@@ -1,8 +1,5 @@
import AdmZip from 'adm-zip';
import fs from 'fs-extra';
import yaml from 'js-yaml';
import _ from 'lodash';
import moment from 'moment-timezone';
import Schema from 'schemastery';
import superagent from 'superagent';
import { Context } from './context';
@@ -12,7 +9,7 @@ export * from './utils';
export * from './interface';
export * from './typeutils';
export {
Schema, yaml, fs, AdmZip, superagent, _, moment,
Schema, AdmZip, superagent, _,
};
export const definePlugin = <T = never>(args: {
using?: keyof Context[];