@lcap/nasl-unified-frontend-generator 4.0.1-rc.0 → 4.0.1-rc.1
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/playground.js +3 -3
- package/dist/playground.js.map +1 -1
- package/dist/playground.mjs +3 -3
- package/dist/playground.mjs.map +1 -1
- package/package.json +6 -6
package/dist/playground.mjs
CHANGED
|
@@ -9185,11 +9185,11 @@ async function downloadDependenciesToLcapModules(feDeps, fs, config2) {
|
|
|
9185
9185
|
}
|
|
9186
9186
|
let packageJson = fs.read("/package.json")?.toString();
|
|
9187
9187
|
packageJson = JSON.parse(packageJson);
|
|
9188
|
-
if (!packageJson.
|
|
9189
|
-
packageJson.
|
|
9188
|
+
if (!packageJson.lcap_modules) {
|
|
9189
|
+
packageJson.lcap_modules = {};
|
|
9190
9190
|
}
|
|
9191
9191
|
downloadedDeps.forEach(({ pkgName, targetPath }) => {
|
|
9192
|
-
packageJson.
|
|
9192
|
+
packageJson.lcap_modules[pkgName] = `.${targetPath}`;
|
|
9193
9193
|
});
|
|
9194
9194
|
fs.write("/package.json", JSON.stringify(packageJson, null, 2));
|
|
9195
9195
|
logger15.info("\u4E0B\u8F7D\u524D\u7AEF\u4F9D\u8D56\u5E93\u5230 lcap_modules \u76EE\u5F55\u5B8C\u6210");
|