trello-cli-unofficial 0.10.1 โ 0.10.3
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 +115 -0
- package/dist/main.js +2239 -2292
- package/dist/trello-cli-unofficial-0.10.3.tgz +0 -0
- package/package.json +11 -2
- package/scripts/test-cross-platform.js +140 -0
- package/src/infrastructure/repositories/FileConfigRepository.ts +3 -4
- package/dist/trello-cli-unofficial-0.10.1.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [0.10.3](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.2...v0.10.3) (2025-11-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add Windows USERPROFILE support for config directory ([36f72ca](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/36f72ca4685236e5bb2f03a5966e81b14815ad9c))
|
|
7
|
+
|
|
8
|
+
## [0.10.2](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.1...v0.10.2) (2025-11-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* resolve Commander.js undefined error by fixing build target ([1e3370d](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/1e3370de85ff3f3aefa22f42eac34361607947e1))
|
|
14
|
+
|
|
1
15
|
## [0.10.1](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.0...v0.10.1) (2025-11-14)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -350,6 +350,119 @@ bun run typecheck
|
|
|
350
350
|
bun run lint
|
|
351
351
|
```
|
|
352
352
|
|
|
353
|
+
## ๐งช Cross-Platform Development Testing
|
|
354
|
+
|
|
355
|
+
This project includes tools for testing cross-platform compatibility during development:
|
|
356
|
+
|
|
357
|
+
### Quick Cross-Platform Test
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
# Run comprehensive cross-platform tests
|
|
361
|
+
bun run test:cross-platform
|
|
362
|
+
|
|
363
|
+
# This will test:
|
|
364
|
+
# โ
Build process
|
|
365
|
+
# โ
Installation process
|
|
366
|
+
# โ
CLI functionality (--version, --help)
|
|
367
|
+
# โ
File system operations
|
|
368
|
+
# โ
Environment variable handling
|
|
369
|
+
# โ
Platform-specific features
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### Individual Test Commands
|
|
373
|
+
|
|
374
|
+
```bash
|
|
375
|
+
# Test build process only
|
|
376
|
+
bun run test:build
|
|
377
|
+
|
|
378
|
+
# Test installation process
|
|
379
|
+
bun run test:install
|
|
380
|
+
|
|
381
|
+
# Quick smoke tests
|
|
382
|
+
bun run test:smoke
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
### Docker-Based Cross-Platform Testing
|
|
386
|
+
|
|
387
|
+
For comprehensive testing across platforms, use Docker containers:
|
|
388
|
+
|
|
389
|
+
```bash
|
|
390
|
+
# Test on all platforms (Linux + Windows when available)
|
|
391
|
+
npm run test:docker
|
|
392
|
+
|
|
393
|
+
# Test specific platforms
|
|
394
|
+
npm run test:docker:ubuntu # Ubuntu Linux
|
|
395
|
+
npm run test:docker:alpine # Alpine Linux
|
|
396
|
+
npm run test:docker:windows # Windows (requires Windows host or WSL2)
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
**Platform Support:**
|
|
400
|
+
- โ
**Linux**: Ubuntu 22.04, Ubuntu 20.04, Alpine Linux
|
|
401
|
+
- โ
**Windows**: Windows Server Core 2022 (via Docker Desktop)
|
|
402
|
+
- โ
**macOS**: Tested via GitHub Actions CI/CD
|
|
403
|
+
|
|
404
|
+
**Requirements:**
|
|
405
|
+
- Docker Desktop installed
|
|
406
|
+
- 4GB+ RAM allocated to Docker
|
|
407
|
+
- For Windows containers: Windows 10/11 Pro+ or WSL2
|
|
408
|
+
|
|
409
|
+
See [`WINDOWS_TESTING.md`](./WINDOWS_TESTING.md) for detailed Windows setup instructions.
|
|
410
|
+
|
|
411
|
+
### Manual Windows Testing Checklist
|
|
412
|
+
|
|
413
|
+
When testing on Windows, verify these scenarios:
|
|
414
|
+
|
|
415
|
+
1. **Installation Methods:**
|
|
416
|
+
```powershell
|
|
417
|
+
# Method 1: NPM global install
|
|
418
|
+
npm install -g trello-cli-unofficial
|
|
419
|
+
|
|
420
|
+
# Method 2: From source
|
|
421
|
+
bun install
|
|
422
|
+
bun link # or bun run install-global
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
2. **Command Availability:**
|
|
426
|
+
```powershell
|
|
427
|
+
# Test both command names
|
|
428
|
+
tcu --version
|
|
429
|
+
trello-cli-unofficial --version
|
|
430
|
+
|
|
431
|
+
# Test in different terminals
|
|
432
|
+
# - Command Prompt (cmd)
|
|
433
|
+
# - PowerShell
|
|
434
|
+
# - Windows Terminal
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
3. **PATH Configuration:**
|
|
438
|
+
```powershell
|
|
439
|
+
# Check if commands are in PATH
|
|
440
|
+
where tcu
|
|
441
|
+
where trello-cli-unofficial
|
|
442
|
+
|
|
443
|
+
# Refresh environment (PowerShell)
|
|
444
|
+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
4. **File System Operations:**
|
|
448
|
+
- Config directory creation: `%USERPROFILE%\.trello-cli-unofficial\`
|
|
449
|
+
- File read/write permissions
|
|
450
|
+
- Path separator handling (`\` vs `/`)
|
|
451
|
+
|
|
452
|
+
5. **Environment Variables:**
|
|
453
|
+
- `TRELLO_TOKEN` handling
|
|
454
|
+
- Language detection (`LANG`, `LC_ALL`, etc.)
|
|
455
|
+
- Node.js/Bun path resolution
|
|
456
|
+
|
|
457
|
+
### Common Windows Issues & Solutions
|
|
458
|
+
|
|
459
|
+
| Issue | Symptom | Solution |
|
|
460
|
+
|-------|---------|----------|
|
|
461
|
+
| PATH not updated | `tcu command not found` | Restart terminal or run `refreshenv` |
|
|
462
|
+
| Permission denied | Installation fails | Run as Administrator |
|
|
463
|
+
| Antivirus blocking | Installation interrupted | Temporarily disable or whitelist |
|
|
464
|
+
| Node version conflicts | Runtime errors | Use Node 18+ or Bun 1.0+ |
|
|
465
|
+
|
|
353
466
|
## ๐ Security
|
|
354
467
|
|
|
355
468
|
- Token saved locally in protected file (`~/.trello-cli-unofficial/config.json`)
|
|
@@ -441,6 +554,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|
|
441
554
|
|
|
442
555
|
---
|
|
443
556
|
|
|
557
|
+
---
|
|
558
|
+
|
|
444
559
|
**Note**: This is an unofficial project and is not affiliated with Atlassian or Trello.
|
|
445
560
|
|
|
446
561
|
---
|