trello-cli-unofficial 0.9.4 → 0.9.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/CHANGELOG.md +7 -0
- package/README.md +15 -22
- package/bin/cli.js +20 -6
- package/bun.lock +25 -0
- package/dist/trello-cli-unofficial-0.9.5.tgz +0 -0
- package/package.json +2 -1
- package/dist/trello-cli-unofficial-0.9.4.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.9.5](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.9.4...v0.9.5) (2025-11-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* improve Bun dependency management and user experience ([fe12f62](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/fe12f627de9c7e0202ce77efe563480e37ab1c34))
|
|
7
|
+
|
|
1
8
|
## [0.9.4](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.9.3...v0.9.4) (2025-11-14)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -30,16 +30,16 @@ An unofficial Trello CLI using Power-Up authentication, built with Bun for maxim
|
|
|
30
30
|
### Prerequisites
|
|
31
31
|
|
|
32
32
|
- **[Node.js 16+](https://nodejs.org/) (Required)**
|
|
33
|
-
- **
|
|
33
|
+
- **Bun incluído automaticamente** - Não é necessário instalar separadamente
|
|
34
34
|
- Trello account with Power-Up enabled
|
|
35
35
|
- **Supported Platforms:** Linux, macOS, Windows
|
|
36
36
|
|
|
37
37
|
### NPM Installation (Recommended)
|
|
38
38
|
|
|
39
|
-
O
|
|
39
|
+
O CLI inclui o Bun automaticamente. Basta instalar e usar imediatamente!
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
# Installation
|
|
42
|
+
# Installation - Bun is included automatically
|
|
43
43
|
npm install -g trello-cli-unofficial
|
|
44
44
|
|
|
45
45
|
# Or with other package managers
|
|
@@ -48,41 +48,34 @@ yarn global add trello-cli-unofficial
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
# Option 4: Using PNPM
|
|
51
|
+
|
|
51
52
|
pnpm add -g trello-cli-unofficial
|
|
52
53
|
|
|
53
|
-
#
|
|
54
|
+
# Ready to use immediately!
|
|
55
|
+
|
|
54
56
|
tcu --version
|
|
55
|
-
|
|
57
|
+
|
|
58
|
+
````
|
|
56
59
|
|
|
57
60
|
#### Windows Installation
|
|
58
61
|
|
|
59
|
-
|
|
62
|
+
Para usuários Windows, a instalação é simples com qualquer gerenciador de pacotes:
|
|
60
63
|
|
|
61
|
-
**PowerShell (Recommended):**
|
|
62
64
|
```powershell
|
|
63
|
-
#
|
|
65
|
+
# Usando NPM (funciona com Node.js)
|
|
64
66
|
npm install -g trello-cli-unofficial
|
|
65
67
|
|
|
66
|
-
#
|
|
68
|
+
# Ou usando Bun (recomendado para melhor performance)
|
|
67
69
|
bun add -g trello-cli-unofficial
|
|
68
70
|
|
|
69
|
-
#
|
|
71
|
+
# Ou usando Yarn
|
|
70
72
|
yarn global add trello-cli-unofficial
|
|
71
73
|
|
|
72
|
-
#
|
|
73
|
-
tcu --version
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
**Command Prompt:**
|
|
77
|
-
```cmd
|
|
78
|
-
# Using NPM
|
|
79
|
-
npm install -g trello-cli-unofficial
|
|
80
|
-
|
|
81
|
-
# Verify installation
|
|
74
|
+
# Pronto para usar!
|
|
82
75
|
tcu --version
|
|
83
|
-
|
|
76
|
+
````
|
|
84
77
|
|
|
85
|
-
**
|
|
78
|
+
**Nota:** No Windows, você pode precisar reiniciar o terminal após a instalação para atualizar o PATH.
|
|
86
79
|
|
|
87
80
|
### Manual Installation (Development)
|
|
88
81
|
|
package/bin/cli.js
CHANGED
|
@@ -44,19 +44,28 @@ const messages = {
|
|
|
44
44
|
|
|
45
45
|
const msg = messages[lang];
|
|
46
46
|
|
|
47
|
-
// Check if Bun is available
|
|
47
|
+
// Check if Bun is available (local or global)
|
|
48
48
|
function isBunAvailable() {
|
|
49
49
|
try {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
// First try local Bun
|
|
51
|
+
execSync('node_modules/.bin/bun --version', { stdio: 'pipe' });
|
|
52
|
+
return 'local';
|
|
52
53
|
}
|
|
53
54
|
catch {
|
|
54
|
-
|
|
55
|
+
try {
|
|
56
|
+
// Then try global Bun
|
|
57
|
+
execSync('bun --version', { stdio: 'pipe' });
|
|
58
|
+
return 'global';
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
55
63
|
}
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
// Main execution
|
|
59
|
-
|
|
67
|
+
const bunType = isBunAvailable();
|
|
68
|
+
if (!bunType) {
|
|
60
69
|
console.log(msg.bunRequired);
|
|
61
70
|
console.log(msg.bunNotFound);
|
|
62
71
|
console.log('');
|
|
@@ -81,7 +90,12 @@ if (!isBunAvailable()) {
|
|
|
81
90
|
const mainScript = path.join(__dirname, '..', 'dist', 'main.js');
|
|
82
91
|
const args = process.argv.slice(2);
|
|
83
92
|
|
|
84
|
-
|
|
93
|
+
// Use local Bun if available, otherwise global
|
|
94
|
+
const bunCommand = bunType === 'local'
|
|
95
|
+
? path.join(__dirname, '..', 'node_modules', '.bin', 'bun')
|
|
96
|
+
: 'bun';
|
|
97
|
+
|
|
98
|
+
const child = spawn(bunCommand, [mainScript, ...args], {
|
|
85
99
|
stdio: 'inherit',
|
|
86
100
|
cwd: process.cwd(),
|
|
87
101
|
});
|
package/bun.lock
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"name": "trello-cli-unofficial",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@types/node": "^24.10.0",
|
|
9
|
+
"bun": "^1.3.2",
|
|
9
10
|
"commander": "^14.0.2",
|
|
10
11
|
"dotenv": "^17.2.3",
|
|
11
12
|
"fs-extra": "^11.3.2",
|
|
@@ -165,6 +166,28 @@
|
|
|
165
166
|
|
|
166
167
|
"@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="],
|
|
167
168
|
|
|
169
|
+
"@oven/bun-darwin-aarch64": ["@oven/bun-darwin-aarch64@1.3.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-licBDIbbLP5L5/S0+bwtJynso94XD3KyqSP48K59Sq7Mude6C7dR5ZujZm4Ut4BwZqUFfNOfYNMWBU5nlL7t1A=="],
|
|
170
|
+
|
|
171
|
+
"@oven/bun-darwin-x64": ["@oven/bun-darwin-x64@1.3.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-hn8lLzsYyyh6ULo2E8v2SqtrWOkdQKJwapeVy1rDw7juTTeHY3KDudGWf4mVYteC9riZU6HD88Fn3nGwyX0eIg=="],
|
|
172
|
+
|
|
173
|
+
"@oven/bun-darwin-x64-baseline": ["@oven/bun-darwin-x64-baseline@1.3.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-UHxdtbyxdtNJUNcXtIrjx3Lmq8ji3KywlXtIHV/0vn9A8W5mulqOcryqUWMFVH9JTIIzmNn6Q/qVmXHTME63Ww=="],
|
|
174
|
+
|
|
175
|
+
"@oven/bun-linux-aarch64": ["@oven/bun-linux-aarch64@1.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-5uZzxzvHU/z+3cZwN/A0H8G+enQ+9FkeJVZkE2fwK2XhiJZFUGAuWajCpy7GepvOWlqV7VjPaKi2+Qmr4IX7nQ=="],
|
|
176
|
+
|
|
177
|
+
"@oven/bun-linux-aarch64-musl": ["@oven/bun-linux-aarch64-musl@1.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-OD9DYkjes7WXieBn4zQZGXWhRVZhIEWMDGCetZ3H4vxIuweZ++iul/CNX5jdpNXaJ17myb1ROMvmRbrqW44j3w=="],
|
|
178
|
+
|
|
179
|
+
"@oven/bun-linux-x64": ["@oven/bun-linux-x64@1.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-EoEuRP9bxAxVKuvi6tZ0ZENjueP4lvjz0mKsMzdG0kwg/2apGKiirH1l0RIcdmvfDGGuDmNiv/XBpkoXq1x8ug=="],
|
|
180
|
+
|
|
181
|
+
"@oven/bun-linux-x64-baseline": ["@oven/bun-linux-x64-baseline@1.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-m9Ov9YH8KjRLui87eNtQQFKVnjGsNk3xgbrR9c8d2FS3NfZSxmVjSeBvEsDjzNf1TXLDriHb/NYOlpiMf/QzDg=="],
|
|
182
|
+
|
|
183
|
+
"@oven/bun-linux-x64-musl": ["@oven/bun-linux-x64-musl@1.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-3TuOsRVoG8K+soQWRo+Cp5ACpRs6rTFSu5tAqc/6WrqwbNWmqjov/eWJPTgz3gPXnC7uNKVG7RxxAmV8r2EYTQ=="],
|
|
184
|
+
|
|
185
|
+
"@oven/bun-linux-x64-musl-baseline": ["@oven/bun-linux-x64-musl-baseline@1.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-q8Hto8hcpofPJjvuvjuwyYvhOaAzPw1F5vRUUeOJDmDwZ4lZhANFM0rUwchMzfWUJCD6jg8/EVQ8MiixnZWU0A=="],
|
|
186
|
+
|
|
187
|
+
"@oven/bun-windows-x64": ["@oven/bun-windows-x64@1.3.2", "", { "os": "win32", "cpu": "x64" }, "sha512-nZJUa5NprPYQ4Ii4cMwtP9PzlJJTp1XhxJ+A9eSn1Jfr6YygVWyN2KLjenyI93IcuBouBAaepDAVZZjH2lFBhg=="],
|
|
188
|
+
|
|
189
|
+
"@oven/bun-windows-x64-baseline": ["@oven/bun-windows-x64-baseline@1.3.2", "", { "os": "win32", "cpu": "x64" }, "sha512-s00T99MjB+xLOWq+t+wVaVBrry+oBOZNiTJijt+bmkp/MJptYS3FGvs7a+nkjLNzoNDoWQcXgKew6AaHES37Bg=="],
|
|
190
|
+
|
|
168
191
|
"@pkgr/core": ["@pkgr/core@0.1.2", "", {}, "sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ=="],
|
|
169
192
|
|
|
170
193
|
"@sindresorhus/base62": ["@sindresorhus/base62@1.0.0", "", {}, "sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA=="],
|
|
@@ -267,6 +290,8 @@
|
|
|
267
290
|
|
|
268
291
|
"builtin-modules": ["builtin-modules@5.0.0", "", {}, "sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg=="],
|
|
269
292
|
|
|
293
|
+
"bun": ["bun@1.3.2", "", { "optionalDependencies": { "@oven/bun-darwin-aarch64": "1.3.2", "@oven/bun-darwin-x64": "1.3.2", "@oven/bun-darwin-x64-baseline": "1.3.2", "@oven/bun-linux-aarch64": "1.3.2", "@oven/bun-linux-aarch64-musl": "1.3.2", "@oven/bun-linux-x64": "1.3.2", "@oven/bun-linux-x64-baseline": "1.3.2", "@oven/bun-linux-x64-musl": "1.3.2", "@oven/bun-linux-x64-musl-baseline": "1.3.2", "@oven/bun-windows-x64": "1.3.2", "@oven/bun-windows-x64-baseline": "1.3.2" }, "os": [ "linux", "win32", "darwin", ], "cpu": [ "x64", "arm64", ], "bin": { "bun": "bin/bun.exe", "bunx": "bin/bunx.exe" } }, "sha512-x75mPJiEfhO1j4Tfc65+PtW6ZyrAB6yTZInydnjDZXF9u9PRAnr6OK3v0Q9dpDl0dxRHkXlYvJ8tteJxc8t4Sw=="],
|
|
294
|
+
|
|
270
295
|
"bun-types": ["bun-types@1.3.2", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-i/Gln4tbzKNuxP70OWhJRZz1MRfvqExowP7U6JKoI8cntFrtxg7RJK3jvz7wQW54UuvNC8tbKHHri5fy74FVqg=="],
|
|
271
296
|
|
|
272
297
|
"cac": ["cac@6.7.14", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="],
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trello-cli-unofficial",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Unofficial Trello CLI using Power-Up authentication, built with Bun for maximum performance",
|
|
7
7
|
"author": "Matheus Caiser <matheus.kaiser@gmail.com> (https://www.mrdeveloper.com.br/)",
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@types/node": "^24.10.0",
|
|
81
|
+
"bun": "^1.3.2",
|
|
81
82
|
"commander": "^14.0.2",
|
|
82
83
|
"dotenv": "^17.2.3",
|
|
83
84
|
"fs-extra": "^11.3.2",
|
|
Binary file
|