@arbidocs/cli 0.4.14 → 0.4.15
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/CHANGELOG.md +12 -3
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v0.4.
|
|
3
|
+
## v0.4.15
|
|
4
4
|
|
|
5
|
-
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.13...
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.13...v0.4.15)
|
|
6
6
|
|
|
7
7
|
### 🏡 Chore
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- test/cli: let ARBI_TEST_CENTRAL_URL replace the hardcoded central.arbi.work ([50d53c407](https://github.com/arbicity/ARBI-frontend/commit/50d53c40799ccec02577f08896c6b9e53389d153))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## v0.4.13
|
|
13
|
+
|
|
14
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.11...HEAD)
|
|
15
|
+
|
|
16
|
+
### 🩹 Fixes
|
|
17
|
+
|
|
18
|
+
- **react,blocks:** Load stored markdown lists, headings and tables correctly in the editor ([#1348](https://github.com/arbicity/ARBI-frontend/pull/1348))
|
|
10
19
|
|
|
11
20
|
## v0.4.11
|
|
12
21
|
|
package/dist/index.js
CHANGED
|
@@ -3694,7 +3694,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
function getCurrentVersion() {
|
|
3697
|
-
return "0.4.
|
|
3697
|
+
return "0.4.15";
|
|
3698
3698
|
}
|
|
3699
3699
|
function readChangelog(fromVersion, toVersion) {
|
|
3700
3700
|
try {
|
|
@@ -3747,17 +3747,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3747
3747
|
async function checkForUpdates(autoUpdate) {
|
|
3748
3748
|
try {
|
|
3749
3749
|
const latest = getLatestVersion();
|
|
3750
|
-
if (!latest || latest === "0.4.
|
|
3750
|
+
if (!latest || latest === "0.4.15") return;
|
|
3751
3751
|
if (autoUpdate) {
|
|
3752
3752
|
warn(`
|
|
3753
|
-
Your arbi version is out of date (${"0.4.
|
|
3753
|
+
Your arbi version is out of date (${"0.4.15"} \u2192 ${latest}). Updating...`);
|
|
3754
3754
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3755
|
-
showChangelog("0.4.
|
|
3755
|
+
showChangelog("0.4.15", latest);
|
|
3756
3756
|
console.log(`Updated to ${latest}.`);
|
|
3757
3757
|
} else {
|
|
3758
3758
|
warn(
|
|
3759
3759
|
`
|
|
3760
|
-
Your arbi version is out of date (${"0.4.
|
|
3760
|
+
Your arbi version is out of date (${"0.4.15"} \u2192 ${latest}).
|
|
3761
3761
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3762
3762
|
);
|
|
3763
3763
|
}
|
|
@@ -3789,10 +3789,10 @@ function markNagShown(latest) {
|
|
|
3789
3789
|
function hintUpdateOnError() {
|
|
3790
3790
|
try {
|
|
3791
3791
|
const cached = readCache();
|
|
3792
|
-
if (!cached || cached.latest === "0.4.
|
|
3792
|
+
if (!cached || cached.latest === "0.4.15") return;
|
|
3793
3793
|
if (!shouldShowNag(cached.latest)) return;
|
|
3794
3794
|
warn(
|
|
3795
|
-
`Your arbi version is out of date (${"0.4.
|
|
3795
|
+
`Your arbi version is out of date (${"0.4.15"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3796
3796
|
);
|
|
3797
3797
|
markNagShown(cached.latest);
|
|
3798
3798
|
} catch {
|
|
@@ -4462,7 +4462,7 @@ async function withRetry(fn, options) {
|
|
|
4462
4462
|
}
|
|
4463
4463
|
|
|
4464
4464
|
// src/commands/register.ts
|
|
4465
|
-
var CENTRAL_API_URL = "https://central.arbi.work";
|
|
4465
|
+
var CENTRAL_API_URL = process.env.ARBI_TEST_CENTRAL_URL || "https://central.arbi.work";
|
|
4466
4466
|
var RegisterHintError = class extends Error {
|
|
4467
4467
|
constructor(message, kind) {
|
|
4468
4468
|
super(message);
|
|
@@ -9299,7 +9299,7 @@ async function runQuickstart(url) {
|
|
|
9299
9299
|
process.exit(1);
|
|
9300
9300
|
}
|
|
9301
9301
|
}
|
|
9302
|
-
var CENTRAL_API_URL2 = "https://central.arbi.work";
|
|
9302
|
+
var CENTRAL_API_URL2 = process.env.ARBI_TEST_CENTRAL_URL || "https://central.arbi.work";
|
|
9303
9303
|
var DEFAULT_PASSWORD = "agent-dev-1234";
|
|
9304
9304
|
async function getVerificationCode2(email, apiKey) {
|
|
9305
9305
|
const params = new URLSearchParams({ email });
|
|
@@ -10653,7 +10653,7 @@ console.info = (...args) => {
|
|
|
10653
10653
|
_origInfo(...args);
|
|
10654
10654
|
};
|
|
10655
10655
|
var program = new commander.Command();
|
|
10656
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.
|
|
10656
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.15").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
10657
10657
|
registerConfigCommand(program);
|
|
10658
10658
|
registerLoginCommand(program);
|
|
10659
10659
|
registerRegisterCommand(program);
|