trello-cli-unofficial 0.9.4 → 0.9.6
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 +14 -0
- package/README.md +18 -29
- package/bin/cli.js +20 -6
- package/bun.lock +25 -0
- package/dist/trello-cli-unofficial-0.9.6.tgz +0 -0
- package/package.json +3 -3
- package/dist/trello-cli-unofficial-0.9.4.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [0.9.6](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.9.5...v0.9.6) (2025-11-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove intrusive postinstall script from npm package ([0b8d109](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/0b8d109be026d0723480d7bd1bd8d53691485de2))
|
|
7
|
+
|
|
8
|
+
## [0.9.5](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.9.4...v0.9.5) (2025-11-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* improve Bun dependency management and user experience ([fe12f62](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/fe12f627de9c7e0202ce77efe563480e37ab1c34))
|
|
14
|
+
|
|
1
15
|
## [0.9.4](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.9.3...v0.9.4) (2025-11-14)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -30,59 +30,48 @@ 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
|
-
- **[Bun](https://bun.sh/) (Required -
|
|
33
|
+
- **[Bun](https://bun.sh/) (Required)** - Deve ser instalado 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 requer Bun para funcionar. Instale-o primeiro:
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
#
|
|
42
|
+
# 1. Instale o Bun primeiro
|
|
43
|
+
curl -fsSL https://bun.sh/install | bash
|
|
44
|
+
# ou no Windows: powershell -c "irm bun.sh/install.ps1 | iex"
|
|
45
|
+
|
|
46
|
+
# 2. Instale o CLI
|
|
43
47
|
npm install -g trello-cli-unofficial
|
|
44
48
|
|
|
45
|
-
#
|
|
46
|
-
|
|
47
|
-
yarn global add trello-cli-unofficial
|
|
49
|
+
# 3. Use
|
|
50
|
+
tcu --version
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
#
|
|
51
|
-
pnpm add -g trello-cli-unofficial
|
|
53
|
+
# Ready to use immediately!
|
|
52
54
|
|
|
53
|
-
# Verify installation
|
|
54
55
|
tcu --version
|
|
55
|
-
|
|
56
|
+
|
|
57
|
+
````
|
|
56
58
|
|
|
57
59
|
#### Windows Installation
|
|
58
60
|
|
|
59
|
-
|
|
61
|
+
Para usuários Windows, primeiro instale o Bun, depois o CLI:
|
|
60
62
|
|
|
61
|
-
**PowerShell (Recommended):**
|
|
62
63
|
```powershell
|
|
63
|
-
#
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
# Or using Bun (recommended for better performance)
|
|
67
|
-
bun add -g trello-cli-unofficial
|
|
68
|
-
|
|
69
|
-
# Or using Yarn
|
|
70
|
-
yarn global add trello-cli-unofficial
|
|
71
|
-
|
|
72
|
-
# Verify installation
|
|
73
|
-
tcu --version
|
|
74
|
-
```
|
|
64
|
+
# 1. Instale o Bun
|
|
65
|
+
powershell -c "irm bun.sh/install.ps1 | iex"
|
|
75
66
|
|
|
76
|
-
|
|
77
|
-
```cmd
|
|
78
|
-
# Using NPM
|
|
67
|
+
# 2. Instale o CLI
|
|
79
68
|
npm install -g trello-cli-unofficial
|
|
80
69
|
|
|
81
|
-
#
|
|
70
|
+
# 3. Use
|
|
82
71
|
tcu --version
|
|
83
72
|
```
|
|
84
73
|
|
|
85
|
-
**
|
|
74
|
+
**Nota:** No Windows, você pode precisar reiniciar o terminal após instalar o Bun.
|
|
86
75
|
|
|
87
76
|
### Manual Installation (Development)
|
|
88
77
|
|
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.6",
|
|
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/)",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"version:patch": "bun version patch && git push --follow-tags",
|
|
71
71
|
"version:minor": "bun version minor && git push --follow-tags",
|
|
72
72
|
"version:major": "bun version major && git push --follow-tags",
|
|
73
|
-
"prepublishOnly": "bun run validate && bun run build"
|
|
74
|
-
"postinstall": "node scripts/check-dependencies.js"
|
|
73
|
+
"prepublishOnly": "bun run validate && bun run build"
|
|
75
74
|
},
|
|
76
75
|
"peerDependencies": {
|
|
77
76
|
"typescript": "^5"
|
|
78
77
|
},
|
|
79
78
|
"dependencies": {
|
|
80
79
|
"@types/node": "^24.10.0",
|
|
80
|
+
"bun": "^1.3.2",
|
|
81
81
|
"commander": "^14.0.2",
|
|
82
82
|
"dotenv": "^17.2.3",
|
|
83
83
|
"fs-extra": "^11.3.2",
|
|
Binary file
|