@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.
package/dist/index.js CHANGED
@@ -6907,11 +6907,11 @@ async function downloadDependenciesToLcapModules(feDeps, fs, config) {
6907
6907
  }
6908
6908
  let packageJson = fs.read("/package.json")?.toString();
6909
6909
  packageJson = JSON.parse(packageJson);
6910
- if (!packageJson.dependencies) {
6911
- packageJson.dependencies = {};
6910
+ if (!packageJson.lcap_modules) {
6911
+ packageJson.lcap_modules = {};
6912
6912
  }
6913
6913
  downloadedDeps.forEach(({ pkgName, targetPath }) => {
6914
- packageJson.dependencies[pkgName] = `.${targetPath}`;
6914
+ packageJson.lcap_modules[pkgName] = `.${targetPath}`;
6915
6915
  });
6916
6916
  fs.write("/package.json", JSON.stringify(packageJson, null, 2));
6917
6917
  logger13.info("\u4E0B\u8F7D\u524D\u7AEF\u4F9D\u8D56\u5E93\u5230 lcap_modules \u76EE\u5F55\u5B8C\u6210");