anorion 0.2.0 → 0.2.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/bin/anorion.js +1 -1
- package/package.json +1 -1
- package/src/cli/index.ts +1 -1
package/bin/anorion.js
CHANGED
|
@@ -7108,7 +7108,7 @@ function getVersion() {
|
|
|
7108
7108
|
try {
|
|
7109
7109
|
const pkgPath = resolve(dirname(import.meta.url.replace("file://", "")), "../../package.json");
|
|
7110
7110
|
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
|
|
7111
|
-
return pkg.version || "0.
|
|
7111
|
+
return pkg.version || "0.2.0";
|
|
7112
7112
|
} catch {
|
|
7113
7113
|
return "0.1.0";
|
|
7114
7114
|
}
|
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -14,7 +14,7 @@ function getVersion(): string {
|
|
|
14
14
|
try {
|
|
15
15
|
const pkgPath = resolve(dirname(import.meta.url.replace('file://', '')), '../../package.json');
|
|
16
16
|
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
|
|
17
|
-
return pkg.version || '0.
|
|
17
|
+
return pkg.version || '0.2.0';
|
|
18
18
|
} catch {
|
|
19
19
|
return '0.1.0';
|
|
20
20
|
}
|