@nasti-toolchain/nasti 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +488 -270
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +475 -257
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +414 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +407 -182
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -811,6 +811,13 @@ declare class ModuleGraph {
|
|
|
811
811
|
getModuleByUrl(url: string): ModuleNode | undefined;
|
|
812
812
|
getModuleById(id: string): ModuleNode | undefined;
|
|
813
813
|
getModulesByFile(file: string): Set<ModuleNode> | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* Modules whose registered entry file lives under `dir` (inclusive).
|
|
816
|
+
* Used when a non-entry source inside a prebundled workspace package changes:
|
|
817
|
+
* only the package entry was registered, so getModulesByFile(changedFile)
|
|
818
|
+
* misses — we invalidate every /@modules entry rooted in that package.
|
|
819
|
+
*/
|
|
820
|
+
getModulesWithFileUnder(dir: string): Set<ModuleNode>;
|
|
814
821
|
ensureEntryFromUrl(url: string): Promise<ModuleNode>;
|
|
815
822
|
createModule(url: string, id?: string): ModuleNode;
|
|
816
823
|
/** 注册文件路径到模块的映射 */
|
package/dist/index.d.ts
CHANGED
|
@@ -811,6 +811,13 @@ declare class ModuleGraph {
|
|
|
811
811
|
getModuleByUrl(url: string): ModuleNode | undefined;
|
|
812
812
|
getModuleById(id: string): ModuleNode | undefined;
|
|
813
813
|
getModulesByFile(file: string): Set<ModuleNode> | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* Modules whose registered entry file lives under `dir` (inclusive).
|
|
816
|
+
* Used when a non-entry source inside a prebundled workspace package changes:
|
|
817
|
+
* only the package entry was registered, so getModulesByFile(changedFile)
|
|
818
|
+
* misses — we invalidate every /@modules entry rooted in that package.
|
|
819
|
+
*/
|
|
820
|
+
getModulesWithFileUnder(dir: string): Set<ModuleNode>;
|
|
814
821
|
ensureEntryFromUrl(url: string): Promise<ModuleNode>;
|
|
815
822
|
createModule(url: string, id?: string): ModuleNode;
|
|
816
823
|
/** 注册文件路径到模块的映射 */
|