@akanjs/cli 0.0.130 → 0.0.132
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/cjs/index.js
CHANGED
|
@@ -1416,7 +1416,7 @@ var SysExecutor = class extends Executor {
|
|
|
1416
1416
|
libDeps,
|
|
1417
1417
|
pkgDeps,
|
|
1418
1418
|
dependencies: [...npmDepSet].filter((dep) => !dep.startsWith("@akanjs")),
|
|
1419
|
-
libs: Object.fromEntries(
|
|
1419
|
+
libs: Object.fromEntries(akanConfig.libs.map((libName) => [libName, libScanResults[libName]]))
|
|
1420
1420
|
};
|
|
1421
1421
|
await this.applyTemplate({ basePath: "lib", template: "lib", scanResult });
|
|
1422
1422
|
await this.applyTemplate({ basePath: ".", template: "server.ts", scanResult });
|
|
@@ -26,7 +26,6 @@ function getContent(scanResult, dict = {}) {
|
|
|
26
26
|
if (!scanResult)
|
|
27
27
|
return null;
|
|
28
28
|
const libs = scanResult.akanConfig.libs;
|
|
29
|
-
console.log(scanResult);
|
|
30
29
|
const userLibs = scanResult.akanConfig.libs.filter(
|
|
31
30
|
(libName) => scanResult.libs[libName].files.constants.databases.includes("user")
|
|
32
31
|
);
|
package/esm/index.js
CHANGED
|
@@ -1403,7 +1403,7 @@ var SysExecutor = class extends Executor {
|
|
|
1403
1403
|
libDeps,
|
|
1404
1404
|
pkgDeps,
|
|
1405
1405
|
dependencies: [...npmDepSet].filter((dep) => !dep.startsWith("@akanjs")),
|
|
1406
|
-
libs: Object.fromEntries(
|
|
1406
|
+
libs: Object.fromEntries(akanConfig.libs.map((libName) => [libName, libScanResults[libName]]))
|
|
1407
1407
|
};
|
|
1408
1408
|
await this.applyTemplate({ basePath: "lib", template: "lib", scanResult });
|
|
1409
1409
|
await this.applyTemplate({ basePath: ".", template: "server.ts", scanResult });
|
|
@@ -3,7 +3,6 @@ function getContent(scanResult, dict = {}) {
|
|
|
3
3
|
if (!scanResult)
|
|
4
4
|
return null;
|
|
5
5
|
const libs = scanResult.akanConfig.libs;
|
|
6
|
-
console.log(scanResult);
|
|
7
6
|
const userLibs = scanResult.akanConfig.libs.filter(
|
|
8
7
|
(libName) => scanResult.libs[libName].files.constants.databases.includes("user")
|
|
9
8
|
);
|