@longzai-intelligence-dependencies/repository-plugin 0.0.17 → 0.0.19
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/index.d.ts +6 -7
- package/package.json +4 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./rolldown-runtime-BqT_7tdF.js";
|
|
2
1
|
import * as z from "zod";
|
|
3
2
|
import { CheckEventCallbacks, CheckOptions, CheckOptions as CheckOptions$1, DepType, DiffType, PackageMeta, PackageMeta as PackageMeta$1, RangeMode } from "@longzai-intelligence-dependencies/version-upgrade";
|
|
4
3
|
import { CheckReportItem, PluginCommandResult, PluginContext } from "@longzai-intelligence-plugin/core";
|
|
@@ -85,8 +84,8 @@ type DependenciesEnginePort = {
|
|
|
85
84
|
* @param callbacks - 事件回调集合
|
|
86
85
|
* @returns 包含所有包信息的对象
|
|
87
86
|
*/
|
|
88
|
-
checkPackages(options: CheckOptions
|
|
89
|
-
packages: PackageMeta
|
|
87
|
+
checkPackages(options: CheckOptions, callbacks?: CheckEventCallbacks): Promise<{
|
|
88
|
+
packages: PackageMeta[];
|
|
90
89
|
}>;
|
|
91
90
|
/**
|
|
92
91
|
* 将解析后的依赖变更写回包清单文件
|
|
@@ -94,7 +93,7 @@ type DependenciesEnginePort = {
|
|
|
94
93
|
* @param pkg - 包元信息
|
|
95
94
|
* @param options - 通用配置选项
|
|
96
95
|
*/
|
|
97
|
-
writePackage(pkg: PackageMeta
|
|
96
|
+
writePackage(pkg: PackageMeta, options: CheckOptions): Promise<void>;
|
|
98
97
|
};
|
|
99
98
|
/**
|
|
100
99
|
* 升级清单条目(呈现与勾选的最小单元)
|
|
@@ -328,7 +327,7 @@ type ChecklistBuildResult = {
|
|
|
328
327
|
* @param packages - 引擎 `CheckPackages` 返回的包列表
|
|
329
328
|
* @returns 清单条目数组与解析失败统计
|
|
330
329
|
*/
|
|
331
|
-
declare function buildChecklist(packages: readonly PackageMeta[]): ChecklistBuildResult;
|
|
330
|
+
declare function buildChecklist(packages: readonly PackageMeta$1[]): ChecklistBuildResult;
|
|
332
331
|
/**
|
|
333
332
|
* 把勾选子集应用回引擎包产物(未勾选条目 update 置假)并返回被触达的包
|
|
334
333
|
*
|
|
@@ -336,7 +335,7 @@ declare function buildChecklist(packages: readonly PackageMeta[]): ChecklistBuil
|
|
|
336
335
|
* @param selectedKeys - 勾选条目键集
|
|
337
336
|
* @returns 含勾选条目的包列表(仅这些包需要写入)
|
|
338
337
|
*/
|
|
339
|
-
declare function applySelectionToPackages(packages: readonly PackageMeta[], selectedKeys: ReadonlySet<string>): PackageMeta[];
|
|
338
|
+
declare function applySelectionToPackages(packages: readonly PackageMeta$1[], selectedKeys: ReadonlySet<string>): PackageMeta$1[];
|
|
340
339
|
/**
|
|
341
340
|
* 渲染清单条目的单行展示文本
|
|
342
341
|
*
|
|
@@ -352,7 +351,7 @@ declare function formatChecklistEntry(entry: DependenciesChecklistEntry): string
|
|
|
352
351
|
* @param options - 引擎检查选项(depFields 等写入过滤面沿用检查时配置)
|
|
353
352
|
* @returns 已写入的包名列表与逐包失败信息
|
|
354
353
|
*/
|
|
355
|
-
declare function writeSelectedPackages(engine: DependenciesEnginePort, touchedPackages: readonly PackageMeta[], options: CheckOptions): Promise<{
|
|
354
|
+
declare function writeSelectedPackages(engine: DependenciesEnginePort, touchedPackages: readonly PackageMeta$1[], options: CheckOptions$1): Promise<{
|
|
356
355
|
/**
|
|
357
356
|
* 已写入的包名列表
|
|
358
357
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longzai-intelligence-dependencies/repository-plugin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Longzai Intelligence dependencies 仓级插件(repository 场景的依赖升级流)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dependencies",
|
|
@@ -27,10 +27,7 @@
|
|
|
27
27
|
"build": "lzi-builder",
|
|
28
28
|
"build:prod": "NODE_ENV=production bun run build",
|
|
29
29
|
"prepublishOnly": "bun run build:prod",
|
|
30
|
-
"typecheck": "
|
|
31
|
-
"typecheck:app": "lzi-tsgo typecheck tsconfig/app.json",
|
|
32
|
-
"typecheck:node": "lzi-tsgo typecheck tsconfig/node.json",
|
|
33
|
-
"typecheck:test": "lzi-tsgo typecheck tsconfig/test.json",
|
|
30
|
+
"typecheck": "lzi-typecheck",
|
|
34
31
|
"lint": "oxlint && oxfmt --check",
|
|
35
32
|
"lint:fix": "oxlint --fix && oxfmt",
|
|
36
33
|
"test": "bun test",
|
|
@@ -40,8 +37,8 @@
|
|
|
40
37
|
},
|
|
41
38
|
"dependencies": {
|
|
42
39
|
"@longzai-intelligence-cli/core": "^0.0.12",
|
|
43
|
-
"@longzai-intelligence-dependencies/core": "0.0.
|
|
44
|
-
"@longzai-intelligence-dependencies/version-upgrade": "0.0.
|
|
40
|
+
"@longzai-intelligence-dependencies/core": "0.0.19",
|
|
41
|
+
"@longzai-intelligence-dependencies/version-upgrade": "0.0.19",
|
|
45
42
|
"@longzai-intelligence-plugin/core": "^0.0.2",
|
|
46
43
|
"@longzai-intelligence-shared-config/core": "^0.0.7",
|
|
47
44
|
"zod": "^4.4.3"
|