@akanjs/cli 0.0.68 → 0.0.69
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/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -905,7 +905,7 @@ var TypeScriptDependencyScanner = class {
|
|
|
905
905
|
imports.push(arg.text);
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
if (ts2.isArrowFunction(node.expression)
|
|
908
|
+
if (ts2.isArrowFunction(node.expression)) {
|
|
909
909
|
const body = node.expression.body;
|
|
910
910
|
if (ts2.isCallExpression(body) && body.expression.kind === ts2.SyntaxKind.ImportKeyword) {
|
|
911
911
|
if (body.arguments.length > 0) {
|
|
@@ -2119,6 +2119,7 @@ var LibraryRunner = class {
|
|
|
2119
2119
|
const newRootPackageJson = { ...rootPackageJson, dependencies, devDependencies };
|
|
2120
2120
|
lib.workspace.writeJson("package.json", newRootPackageJson);
|
|
2121
2121
|
await lib.workspace.spawn("pnpm", ["install"]);
|
|
2122
|
+
await lib.workspace.commit(`Merge ${lib.name} library dependencies`);
|
|
2122
2123
|
}
|
|
2123
2124
|
async pushLibrary(lib, branch) {
|
|
2124
2125
|
await lib.workspace.exec(
|
|
@@ -4044,7 +4045,7 @@ var PackageRunner = class {
|
|
|
4044
4045
|
dependencies,
|
|
4045
4046
|
...pkgJson.peerDependencies ? {
|
|
4046
4047
|
peerDependencies: Object.fromEntries(
|
|
4047
|
-
Object.keys(pkgJson.peerDependencies).sort().map((dep) => [dep, allDependencies[dep] ?? pkgJson.peerDependencies?.[dep]
|
|
4048
|
+
Object.keys(pkgJson.peerDependencies).sort().map((dep) => [dep, allDependencies[dep] ?? pkgJson.peerDependencies?.[dep]])
|
|
4048
4049
|
)
|
|
4049
4050
|
} : {},
|
|
4050
4051
|
...["@akanjs/config", "@akanjs/cli"].includes(pkg.name) ? {} : {
|