akanjs 2.0.0-beta.4 → 2.0.0-beta.5
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/cli/index.js +1 -1
- package/cli/package/package.runner.ts +1 -1
- package/package.json +1 -1
package/cli/index.js
CHANGED
|
@@ -9951,7 +9951,7 @@ var {$: $2 } = globalThis.Bun;
|
|
|
9951
9951
|
|
|
9952
9952
|
class PackageRunner extends runner("package") {
|
|
9953
9953
|
async version(workspace, { log = true } = {}) {
|
|
9954
|
-
const pkgJson = await FileSys.readJson(process.env.USE_AKANJS_PKGS === "true" ? `${workspace.workspaceRoot}/pkgs/akanjs/package.json` : `${path36.dirname(Bun.main)}
|
|
9954
|
+
const pkgJson = await FileSys.readJson(process.env.USE_AKANJS_PKGS === "true" ? `${workspace.workspaceRoot}/pkgs/akanjs/package.json` : `${path36.dirname(Bun.main)}/../package.json`);
|
|
9955
9955
|
const version = pkgJson.version;
|
|
9956
9956
|
if (log)
|
|
9957
9957
|
Logger.rawLog(`${pkgJson.name}@${version}`);
|
|
@@ -15,7 +15,7 @@ export class PackageRunner extends runner("package") {
|
|
|
15
15
|
const pkgJson = await FileSys.readJson<PackageJson>(
|
|
16
16
|
process.env.USE_AKANJS_PKGS === "true"
|
|
17
17
|
? `${workspace.workspaceRoot}/pkgs/akanjs/package.json`
|
|
18
|
-
: `${path.dirname(Bun.main)}
|
|
18
|
+
: `${path.dirname(Bun.main)}/../package.json`,
|
|
19
19
|
);
|
|
20
20
|
const version = pkgJson.version;
|
|
21
21
|
if (log) Logger.rawLog(`${pkgJson.name}@${version}`);
|