@lcap/nasl 4.4.0-beta.21 → 4.4.0-beta.22
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/out/generator/icestark.d.ts +1 -1
- package/out/generator/icestark.d.ts.map +1 -1
- package/out/generator/icestark.js +6 -1
- package/out/generator/icestark.js.map +1 -1
- package/out/generator/qiankun.d.ts +1 -1
- package/out/generator/qiankun.d.ts.map +1 -1
- package/out/generator/qiankun.js +5 -3
- package/out/generator/qiankun.js.map +1 -1
- package/out/generator/release-body/data.d.ts.map +1 -1
- package/out/generator/release-body/data.js +30 -0
- package/out/generator/release-body/data.js.map +1 -1
- package/out/generator/release-body/share-content.js +1 -1
- package/out/generator/release-body/share-content.js.map +1 -1
- package/out/generator/wujie.d.ts +1 -1
- package/out/generator/wujie.d.ts.map +1 -1
- package/out/generator/wujie.js +6 -1
- package/out/generator/wujie.js.map +1 -1
- package/out/natural/exports/nasl2Files.d.ts +18 -1
- package/out/natural/exports/nasl2Files.d.ts.map +1 -1
- package/out/natural/exports/nasl2Files.js +76 -14
- package/out/natural/exports/nasl2Files.js.map +1 -1
- package/out/natural/exports/transform2BatchActions.d.ts +1 -1
- package/out/natural/exports/transform2BatchActions.d.ts.map +1 -1
- package/out/natural/exports/transform2BatchActions.js +15 -14
- package/out/natural/exports/transform2BatchActions.js.map +1 -1
- package/out/natural/old/parser/transformTSCode.d.ts.map +1 -1
- package/out/natural/old/parser/transformTSCode.js +25 -2
- package/out/natural/old/parser/transformTSCode.js.map +1 -1
- package/out/natural/parser/parseNaturalTS.d.ts.map +1 -1
- package/out/natural/parser/parseNaturalTS.js +6 -4
- package/out/natural/parser/parseNaturalTS.js.map +1 -1
- package/out/natural/parser/parseNaturalTSXView.d.ts.map +1 -1
- package/out/natural/parser/parseNaturalTSXView.js +16 -5
- package/out/natural/parser/parseNaturalTSXView.js.map +1 -1
- package/out/natural/transforms/checker/checkViewElement.d.ts.map +1 -1
- package/out/natural/transforms/checker/checkViewElement.js +34 -8
- package/out/natural/transforms/checker/checkViewElement.js.map +1 -1
- package/out/natural/transforms/transform2Logic.d.ts.map +1 -1
- package/out/natural/transforms/transform2Logic.js +13 -1
- package/out/natural/transforms/transform2Logic.js.map +1 -1
- package/out/natural/transforms/transform2LogicItem.d.ts.map +1 -1
- package/out/natural/transforms/transform2LogicItem.js +9 -1
- package/out/natural/transforms/transform2LogicItem.js.map +1 -1
- package/out/natural/transforms/transform2ValidationRule.d.ts +1 -1
- package/out/natural/transforms/transform2ValidationRule.d.ts.map +1 -1
- package/out/natural/transforms/transform2ValidationRule.js +3 -0
- package/out/natural/transforms/transform2ValidationRule.js.map +1 -1
- package/out/natural/transforms/transform2Variable.d.ts.map +1 -1
- package/out/natural/transforms/transform2Variable.js +4 -0
- package/out/natural/transforms/transform2Variable.js.map +1 -1
- package/out/natural/transforms/transformThemeAndStyle.d.ts +4 -1
- package/out/natural/transforms/transformThemeAndStyle.d.ts.map +1 -1
- package/out/natural/transforms/transformThemeAndStyle.js +23 -10
- package/out/natural/transforms/transformThemeAndStyle.js.map +1 -1
- package/out/natural/transforms/utils/parseDecorator.d.ts +6 -2
- package/out/natural/transforms/utils/parseDecorator.d.ts.map +1 -1
- package/out/natural/transforms/utils/parseDecorator.js +10 -3
- package/out/natural/transforms/utils/parseDecorator.js.map +1 -1
- package/out/server/naslServer.d.ts.map +1 -1
- package/out/server/naslServer.js +6 -4
- package/out/server/naslServer.js.map +1 -1
- package/out/service/storage/specTools.d.ts +11 -7
- package/out/service/storage/specTools.d.ts.map +1 -1
- package/out/service/storage/specTools.js +83 -4
- package/out/service/storage/specTools.js.map +1 -1
- package/package.json +9 -9
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { CodeAction } from '../../index';
|
|
2
|
+
type ChangeViewResult = {
|
|
3
|
+
status: 'success';
|
|
4
|
+
result: any;
|
|
5
|
+
} | {
|
|
6
|
+
status: 'fail';
|
|
7
|
+
error?: string;
|
|
8
|
+
};
|
|
9
|
+
type DependencyRecord = Record<string, Record<string, string>>;
|
|
2
10
|
/**
|
|
3
11
|
* 将代码操作转换为批量操作视图
|
|
4
12
|
* @param params - 转换参数对象
|
|
@@ -15,6 +23,7 @@ export declare const transform2BatchView: ({ codeActions, app, sessionId, type,
|
|
|
15
23
|
sessionId: string;
|
|
16
24
|
type?: 'normal' | 'debug';
|
|
17
25
|
}) => Promise<{
|
|
26
|
+
dependencies: DependencyRecord;
|
|
18
27
|
batchActions: import("../../index").Operators;
|
|
19
28
|
accumulatedTsCode?: string;
|
|
20
29
|
parseJSON?: any;
|
|
@@ -23,12 +32,7 @@ export declare const transform2BatchView: ({ codeActions, app, sessionId, type,
|
|
|
23
32
|
type: string;
|
|
24
33
|
error: Error;
|
|
25
34
|
}[];
|
|
26
|
-
batchView:
|
|
27
|
-
status: string;
|
|
28
|
-
result: any;
|
|
29
|
-
} | {
|
|
30
|
-
status: string;
|
|
31
|
-
result?: undefined;
|
|
32
|
-
};
|
|
35
|
+
batchView: ChangeViewResult;
|
|
33
36
|
}>;
|
|
37
|
+
export {};
|
|
34
38
|
//# sourceMappingURL=specTools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specTools.d.ts","sourceRoot":"","sources":["../../../src/service/storage/specTools.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,UAAU,EAAc,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"specTools.d.ts","sourceRoot":"","sources":["../../../src/service/storage/specTools.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,UAAU,EAAc,MAAM,aAAa,CAAC;AAM7E,KAAK,gBAAgB,GAAG;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhG,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAqH/D;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,2CAK7B;IACD,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC3B;;;;;;;;;;;EA2DA,CAAC"}
|
|
@@ -6,11 +6,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.transform2BatchView = void 0;
|
|
7
7
|
const service_1 = __importDefault(require("./service"));
|
|
8
8
|
const index_1 = require("../../index");
|
|
9
|
+
// 常量定义
|
|
10
|
+
const DEPENDENCIES_FILE_PATH = 'app.dependencies.json';
|
|
11
|
+
/**
|
|
12
|
+
* 检查是否为普通对象(非数组、非null)
|
|
13
|
+
*/
|
|
14
|
+
const isPlainObject = (value) => {
|
|
15
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
16
|
+
};
|
|
9
17
|
/**
|
|
10
18
|
* 获取变更视图
|
|
11
19
|
* 通过存储服务调用变更视图接口,用于获取批量操作的预览效果
|
|
12
20
|
* @param body - 请求体,包含批量操作数据
|
|
13
|
-
* @returns Promise<
|
|
21
|
+
* @returns Promise<ChangeViewResult> 返回操作状态和结果
|
|
14
22
|
*/
|
|
15
23
|
const getChangeView = async (body) => {
|
|
16
24
|
try {
|
|
@@ -24,12 +32,72 @@ const getChangeView = async (body) => {
|
|
|
24
32
|
};
|
|
25
33
|
}
|
|
26
34
|
catch (error) {
|
|
27
|
-
//
|
|
35
|
+
// 如果调用失败,返回失败状态和错误信息
|
|
28
36
|
return {
|
|
29
37
|
status: 'fail',
|
|
38
|
+
error: error instanceof Error ? error.message : String(error),
|
|
30
39
|
};
|
|
31
40
|
}
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* 比对 app.dependencies.json,找出新增的依赖
|
|
44
|
+
* @param codeActions - 代码操作数组
|
|
45
|
+
* @param existFiles - 已存在的文件数组
|
|
46
|
+
* @returns 新增的依赖配置对象,如果没有新增依赖则返回 null
|
|
47
|
+
*/
|
|
48
|
+
const compareDependencies = (codeActions, existFiles) => {
|
|
49
|
+
// 从 codeActions 中查找新的依赖文件
|
|
50
|
+
const newDependenciesAction = codeActions.find((action) => action.path === DEPENDENCIES_FILE_PATH);
|
|
51
|
+
if (!newDependenciesAction) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
try {
|
|
55
|
+
// 解析新的依赖配置
|
|
56
|
+
const newDeps = JSON.parse(newDependenciesAction.content);
|
|
57
|
+
// 从 existFiles 中查找旧的依赖文件
|
|
58
|
+
const oldDependenciesFile = existFiles.find((file) => file.path === DEPENDENCIES_FILE_PATH);
|
|
59
|
+
// 如果不存在旧的依赖配置,所有依赖都是新增的
|
|
60
|
+
if (!oldDependenciesFile) {
|
|
61
|
+
return newDeps;
|
|
62
|
+
}
|
|
63
|
+
// 解析旧的依赖配置
|
|
64
|
+
const oldDeps = JSON.parse(oldDependenciesFile.content);
|
|
65
|
+
// 存储新增的依赖
|
|
66
|
+
const addedDeps = {};
|
|
67
|
+
// 遍历新配置中的所有顶级 key(如 extensions、uilibs 等)
|
|
68
|
+
Object.entries(newDeps).forEach(([category, newCategoryDeps]) => {
|
|
69
|
+
const oldCategoryDeps = oldDeps[category] || {};
|
|
70
|
+
// 如果新配置的这个 key 是对象类型,才进行比对
|
|
71
|
+
if (isPlainObject(newCategoryDeps)) {
|
|
72
|
+
// 找出这个类别下新增的依赖项
|
|
73
|
+
const addedInCategory = {};
|
|
74
|
+
Object.entries(newCategoryDeps).forEach(([depName, depVersion]) => {
|
|
75
|
+
// 如果旧配置中不存在这个依赖,则为新增
|
|
76
|
+
if (!oldCategoryDeps[depName]) {
|
|
77
|
+
addedInCategory[depName] = depVersion;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
// 如果这个类别下有新增的依赖,添加到结果中
|
|
81
|
+
if (Object.keys(addedInCategory).length > 0) {
|
|
82
|
+
addedDeps[category] = addedInCategory;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
// 如果没有新增的依赖,返回 null
|
|
87
|
+
if (Object.keys(addedDeps).length === 0) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
// 返回新增的依赖
|
|
91
|
+
return addedDeps;
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
console.error('解析 app.dependencies.json 失败:', {
|
|
95
|
+
error,
|
|
96
|
+
file: DEPENDENCIES_FILE_PATH,
|
|
97
|
+
});
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
33
101
|
/**
|
|
34
102
|
* 将代码操作转换为批量操作视图
|
|
35
103
|
* @param params - 转换参数对象
|
|
@@ -41,6 +109,9 @@ const getChangeView = async (body) => {
|
|
|
41
109
|
|
|
42
110
|
*/
|
|
43
111
|
const transform2BatchView = async ({ codeActions, app, sessionId, type = 'normal', }) => {
|
|
112
|
+
if (process.env.NODE_ENV === 'development') {
|
|
113
|
+
console.log('codeActions', codeActions);
|
|
114
|
+
}
|
|
44
115
|
const existFiles = (0, index_1.nasl2Files)({ app, range: 'all' });
|
|
45
116
|
const existDtsFiles = existFiles
|
|
46
117
|
.filter((file) => file.path.endsWith('.d.ts'))
|
|
@@ -50,7 +121,7 @@ const transform2BatchView = async ({ codeActions, app, sessionId, type = 'normal
|
|
|
50
121
|
}));
|
|
51
122
|
// 用 codeActions 合并出一份完整的 files,按 path 做覆盖
|
|
52
123
|
const filesMap = new Map();
|
|
53
|
-
//
|
|
124
|
+
// 先添加已存在的文件
|
|
54
125
|
existDtsFiles.forEach((file) => {
|
|
55
126
|
filesMap.set(file.path, file);
|
|
56
127
|
});
|
|
@@ -73,13 +144,21 @@ const transform2BatchView = async ({ codeActions, app, sessionId, type = 'normal
|
|
|
73
144
|
return {
|
|
74
145
|
batchActions: null,
|
|
75
146
|
batchView: null,
|
|
147
|
+
dependencies: null,
|
|
76
148
|
};
|
|
77
149
|
}
|
|
78
150
|
const batchView = await getChangeView([result.batchActions]);
|
|
79
|
-
|
|
151
|
+
// 比对 app.dependencies.json,找出新增的依赖
|
|
152
|
+
const dependencies = compareDependencies(codeActions, existFiles);
|
|
153
|
+
const res = {
|
|
80
154
|
batchView,
|
|
81
155
|
...result,
|
|
156
|
+
dependencies,
|
|
82
157
|
};
|
|
158
|
+
if (process.env.NODE_ENV === 'development') {
|
|
159
|
+
console.log('result', res);
|
|
160
|
+
}
|
|
161
|
+
return res;
|
|
83
162
|
};
|
|
84
163
|
exports.transform2BatchView = transform2BatchView;
|
|
85
164
|
//# sourceMappingURL=specTools.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specTools.js","sourceRoot":"","sources":["../../../src/service/storage/specTools.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAuC;AACvC,uCAA6E;AAE7E;;;;;GAKG;AACH,MAAM,aAAa,GAAG,KAAK,EAAE,IAAS,
|
|
1
|
+
{"version":3,"file":"specTools.js","sourceRoot":"","sources":["../../../src/service/storage/specTools.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAuC;AACvC,uCAA6E;AAE7E,OAAO;AACP,MAAM,sBAAsB,GAAG,uBAAgC,CAAC;AAYhE;;GAEG;AACH,MAAM,aAAa,GAAG,CAAC,KAAU,EAAW,EAAE;IAC5C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,aAAa,GAAG,KAAK,EAAE,IAAS,EAA6B,EAAE;IACnE,IAAI,CAAC;QACH,gBAAgB;QAChB,MAAM,MAAM,GAAG,MAAM,iBAAc,CAAC,UAAU,CAAC;YAC7C,IAAI;SACL,CAAC,CAAC;QACH,OAAO;YAC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AAS,GAAG,MAAM,aAAa,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;IAE7D,mCAAmC;IACnC,MAAM,YAAY,GAAG,mBAAmB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAClE,MAAM,GAAG,GAAG;QACV,SAAS;QACT,GAAG,MAAM;QACT,YAAY;KACb,CAAC;IACF,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE,CAAC;QAC3C,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AArEW,QAAA,mBAAmB,uBAqE9B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcap/nasl",
|
|
3
3
|
"description": "NetEase Application Specific Language",
|
|
4
|
-
"version": "4.4.0-beta.
|
|
4
|
+
"version": "4.4.0-beta.22",
|
|
5
5
|
"author": "Forrest <rainforest92@126.com>",
|
|
6
6
|
"main": "./out",
|
|
7
7
|
"types": "./out/index.d.ts",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"vue": "3.4.33",
|
|
80
80
|
"vue-template-compiler": "2.6.14",
|
|
81
81
|
"vue-template-es2015-compiler": "1.9.1",
|
|
82
|
-
"@lcap/nasl-breakpoint": "4.4.0-beta.
|
|
83
|
-
"@lcap/nasl-
|
|
84
|
-
"@lcap/nasl-
|
|
85
|
-
"@lcap/nasl-log": "4.4.0-beta.
|
|
86
|
-
"@lcap/nasl-
|
|
87
|
-
"@lcap/nasl-
|
|
88
|
-
"@lcap/nasl-unified-frontend-generator": "4.4.0-beta.
|
|
89
|
-
"@lcap/nasl-utils": "4.4.0-beta.
|
|
82
|
+
"@lcap/nasl-breakpoint": "4.4.0-beta.22",
|
|
83
|
+
"@lcap/nasl-concepts": "4.4.0-beta.22",
|
|
84
|
+
"@lcap/nasl-language-server-core": "4.4.0-beta.22",
|
|
85
|
+
"@lcap/nasl-log": "4.4.0-beta.22",
|
|
86
|
+
"@lcap/nasl-translator": "4.4.0-beta.22",
|
|
87
|
+
"@lcap/nasl-types": "4.4.0-beta.22",
|
|
88
|
+
"@lcap/nasl-unified-frontend-generator": "4.4.0-beta.22",
|
|
89
|
+
"@lcap/nasl-utils": "4.4.0-beta.22"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@babel/preset-react": "7.24.1",
|