@lcap/nasl-unified-frontend-generator 4.0.1-rc.0 → 4.0.1-rc.2

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.
@@ -9062,11 +9062,11 @@ async function downloadDependenciesToLcapModules(feDeps, fs, config2) {
9062
9062
  }
9063
9063
  let packageJson = fs.read("/package.json")?.toString();
9064
9064
  packageJson = JSON.parse(packageJson);
9065
- if (!packageJson.dependencies) {
9066
- packageJson.dependencies = {};
9065
+ if (!packageJson.lcap_modules) {
9066
+ packageJson.lcap_modules = {};
9067
9067
  }
9068
9068
  downloadedDeps.forEach(({ pkgName, targetPath }) => {
9069
- packageJson.dependencies[pkgName] = `.${targetPath}`;
9069
+ packageJson.lcap_modules[pkgName] = `.${targetPath}`;
9070
9070
  });
9071
9071
  fs.write("/package.json", JSON.stringify(packageJson, null, 2));
9072
9072
  logger15.info("\u4E0B\u8F7D\u524D\u7AEF\u4F9D\u8D56\u5E93\u5230 lcap_modules \u76EE\u5F55\u5B8C\u6210");