feat: add license plugin
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
"@changesets/git": "^3.0.0",
|
||||
"@manypkg/get-packages": "^2.2.1",
|
||||
"consola": "^3.2.3",
|
||||
"dayjs": "^1.11.11",
|
||||
"find-up": "^7.0.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"pkg-types": "^1.1.1",
|
||||
|
10
internal/node-utils/src/date.ts
Normal file
10
internal/node-utils/src/date.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import dayjs from 'dayjs';
|
||||
import timezone from 'dayjs/plugin/timezone';
|
||||
import utc from 'dayjs/plugin/utc';
|
||||
|
||||
dayjs.extend(utc);
|
||||
dayjs.extend(timezone);
|
||||
|
||||
const dateUtil = dayjs().tz('Asia/Shanghai');
|
||||
|
||||
export { dateUtil };
|
@@ -1,13 +1,9 @@
|
||||
export { UNICODE } from './constants';
|
||||
export * from './constants';
|
||||
export * from './date';
|
||||
export * from './git';
|
||||
export { add as gitAdd, getStagedFiles } from './git';
|
||||
export { generatorContentHash } from './hash';
|
||||
export {
|
||||
findMonorepoRoot,
|
||||
getPackage,
|
||||
getPackages,
|
||||
getPackagesSync,
|
||||
} from './monorepo';
|
||||
export * from './monorepo';
|
||||
export { toPosixPath } from './path';
|
||||
export { prettierFormat } from './prettier';
|
||||
export type { Package } from '@manypkg/get-packages';
|
||||
|
Reference in New Issue
Block a user