chore: add prefix of node core modules (#11440)

This commit is contained in:
neverland
2022-12-31 20:27:35 +08:00
committed by GitHub
parent 65d6a22f03
commit 5bd6997d3c
27 changed files with 43 additions and 43 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import { join, dirname } from 'path';
import { fileURLToPath } from 'url';
import { join, dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import { ROOT } from '../common/constant.js';
import { createSpinner, slimPath } from '../common/logger.js';
import { createWriteStream, readFileSync } from 'fs';
import { createWriteStream, readFileSync } from 'node:fs';
import conventionalChangelog from 'conventional-changelog';
const DIST_FILE = join(ROOT, './changelog.generated.md');