@arbidocs/cli 0.5.15 → 0.5.17
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 +27 -4
- package/dist/index.js +9 -15
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v0.5.
|
|
3
|
+
## v0.5.17
|
|
4
4
|
|
|
5
|
-
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.16...HEAD)
|
|
6
6
|
|
|
7
7
|
### 💅 Refactors
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- One relative-time formatter ([#1868](https://github.com/arbicity/ARBI-frontend/pull/1868))
|
|
10
10
|
|
|
11
11
|
### 🏡 Chore
|
|
12
12
|
|
|
13
|
-
- Release v0.5.
|
|
13
|
+
- Release v0.5.15 [skip ci] ([e35d92314](https://github.com/arbicity/ARBI-frontend/commit/e35d92314))
|
|
14
|
+
- Release v0.5.16 [skip ci] ([1069bb059](https://github.com/arbicity/ARBI-frontend/commit/1069bb059))
|
|
15
|
+
|
|
16
|
+
### 🎨 Styles
|
|
17
|
+
|
|
18
|
+
- **grid:** Match shared AG Grid theme to Tags tables ([#1873](https://github.com/arbicity/ARBI-frontend/pull/1873))
|
|
19
|
+
|
|
20
|
+
## v0.5.14
|
|
21
|
+
|
|
22
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.13...HEAD)
|
|
23
|
+
|
|
24
|
+
### 🩹 Fixes
|
|
25
|
+
|
|
26
|
+
- **react:** Commit buffered stream text before the thread is re-read ([#1861](https://github.com/arbicity/ARBI-frontend/pull/1861))
|
|
27
|
+
- **blocks:** Name the icon-only More button in the compact bulk bar ([#1863](https://github.com/arbicity/ARBI-frontend/pull/1863))
|
|
28
|
+
|
|
29
|
+
### 💅 Refactors
|
|
30
|
+
|
|
31
|
+
- **api:** Move the app's remaining API writes onto @arbidocs/react ([#1856](https://github.com/arbicity/ARBI-frontend/pull/1856))
|
|
32
|
+
|
|
33
|
+
### 🏡 Chore
|
|
34
|
+
|
|
35
|
+
- Release v0.5.12 [skip ci] ([e6447f384](https://github.com/arbicity/ARBI-frontend/commit/e6447f384))
|
|
36
|
+
- Release v0.5.13 [skip ci] ([355225bf1](https://github.com/arbicity/ARBI-frontend/commit/355225bf1))
|
|
14
37
|
|
|
15
38
|
## v0.5.13
|
|
16
39
|
|
package/dist/index.js
CHANGED
|
@@ -36,18 +36,12 @@ var __export = (target, all) => {
|
|
|
36
36
|
// src/prompts.ts
|
|
37
37
|
var prompts_exports = {};
|
|
38
38
|
__export(prompts_exports, {
|
|
39
|
-
checkbox: () => prompts.checkbox,
|
|
40
|
-
confirm: () => prompts.confirm,
|
|
41
|
-
input: () => prompts.input,
|
|
42
|
-
password: () => prompts.password,
|
|
43
39
|
promptCheckbox: () => promptCheckbox,
|
|
44
40
|
promptConfirm: () => promptConfirm,
|
|
45
41
|
promptInput: () => promptInput,
|
|
46
42
|
promptPassword: () => promptPassword,
|
|
47
43
|
promptSearch: () => promptSearch,
|
|
48
|
-
promptSelect: () => promptSelect
|
|
49
|
-
search: () => prompts.search,
|
|
50
|
-
select: () => prompts.select
|
|
44
|
+
promptSelect: () => promptSelect
|
|
51
45
|
});
|
|
52
46
|
async function promptSelect(message, choices) {
|
|
53
47
|
return prompts.select({ message, choices });
|
|
@@ -3695,7 +3689,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3695
3689
|
}
|
|
3696
3690
|
}
|
|
3697
3691
|
function getCurrentVersion() {
|
|
3698
|
-
return "0.5.
|
|
3692
|
+
return "0.5.17";
|
|
3699
3693
|
}
|
|
3700
3694
|
function readChangelog(fromVersion, toVersion) {
|
|
3701
3695
|
try {
|
|
@@ -3748,17 +3742,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3748
3742
|
async function checkForUpdates(autoUpdate) {
|
|
3749
3743
|
try {
|
|
3750
3744
|
const latest = getLatestVersion();
|
|
3751
|
-
if (!latest || latest === "0.5.
|
|
3745
|
+
if (!latest || latest === "0.5.17") return;
|
|
3752
3746
|
if (autoUpdate) {
|
|
3753
3747
|
warn(`
|
|
3754
|
-
Your arbi version is out of date (${"0.5.
|
|
3748
|
+
Your arbi version is out of date (${"0.5.17"} \u2192 ${latest}). Updating...`);
|
|
3755
3749
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3756
|
-
showChangelog("0.5.
|
|
3750
|
+
showChangelog("0.5.17", latest);
|
|
3757
3751
|
console.log(`Updated to ${latest}.`);
|
|
3758
3752
|
} else {
|
|
3759
3753
|
warn(
|
|
3760
3754
|
`
|
|
3761
|
-
Your arbi version is out of date (${"0.5.
|
|
3755
|
+
Your arbi version is out of date (${"0.5.17"} \u2192 ${latest}).
|
|
3762
3756
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3763
3757
|
);
|
|
3764
3758
|
}
|
|
@@ -3790,10 +3784,10 @@ function markNagShown(latest) {
|
|
|
3790
3784
|
function hintUpdateOnError() {
|
|
3791
3785
|
try {
|
|
3792
3786
|
const cached = readCache();
|
|
3793
|
-
if (!cached || cached.latest === "0.5.
|
|
3787
|
+
if (!cached || cached.latest === "0.5.17") return;
|
|
3794
3788
|
if (!shouldShowNag(cached.latest)) return;
|
|
3795
3789
|
warn(
|
|
3796
|
-
`Your arbi version is out of date (${"0.5.
|
|
3790
|
+
`Your arbi version is out of date (${"0.5.17"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3797
3791
|
);
|
|
3798
3792
|
markNagShown(cached.latest);
|
|
3799
3793
|
} catch {
|
|
@@ -12574,7 +12568,7 @@ console.info = (...args) => {
|
|
|
12574
12568
|
_origInfo(...args);
|
|
12575
12569
|
};
|
|
12576
12570
|
var program = new commander.Command();
|
|
12577
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.
|
|
12571
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.17").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
12578
12572
|
registerConfigCommand(program);
|
|
12579
12573
|
registerLoginCommand(program);
|
|
12580
12574
|
registerRegisterCommand(program);
|