fix(build): modernize project configuration and tighten Node.js typing support

This commit is contained in:
2026-04-30 18:19:27 +00:00
parent ff0bc72408
commit 8ed7413e62
13 changed files with 2224 additions and 2657 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
// node native
import * as path from 'path';
import * as path from 'node:path';
export { path };
@@ -14,7 +14,7 @@ export { smartenv, smartfile, smartpath, smartpromise, smartstring, smarttime };
// third party
import * as diff from 'diff';
import isomorphicGit from 'isomorphic-git';
import isomorphicGit, { type HttpClient } from 'isomorphic-git';
import { minimatch } from 'minimatch';
export { diff, isomorphicGit, minimatch };
export { diff, isomorphicGit, minimatch, type HttpClient };