trello-cli-unofficial 0.8.0 โ†’ 0.9.0

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.
Files changed (2) hide show
  1. package/README.md +57 -9
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -22,29 +22,69 @@ An unofficial Trello CLI using Power-Up authentication, built with Bun for maxim
22
22
  - ๐Ÿ› ๏ธ **Traditional CLI**: Also works as a command-line tool
23
23
  - ๐ŸŒ **Internationalization**: Support for Portuguese (pt-BR) and English (en) with auto-detection
24
24
  - ๐Ÿค– **Automated CI/CD**: Semantic versioning and NPM publishing on every release
25
- - ๏ฟฝ **Quality Gates**: 95% test coverage threshold enforced in CI/CD
26
- - ๏ฟฝ๐Ÿ”’ **Secure Publishing**: NPM provenance with GitHub Actions OIDC
25
+ - ๐Ÿงช **Quality Gates**: 95% test coverage threshold enforced in CI/CD
26
+ - ๐Ÿ” **Secure Publishing**: NPM provenance with GitHub Actions OIDC
27
27
 
28
28
  ## ๐Ÿ“ฆ Installation
29
29
 
30
30
  ### Prerequisites
31
31
 
32
- - [Bun](https://bun.sh/) or Node.js installed
32
+ - **[Node.js 16+](https://nodejs.org/) (Required)**
33
+ - **[Bun](https://bun.sh/) (Optional, for better performance)**
33
34
  - Trello account with Power-Up enabled
35
+ - **Supported Platforms:** Linux, macOS, Windows
34
36
 
35
37
  ### NPM Installation (Recommended)
36
38
 
39
+ The CLI works with both Bun and Node.js. Choose the package manager you prefer:
40
+
37
41
  ```bash
38
- # Install globally via NPM
42
+ # Option 1: Using NPM (works with both Bun and Node.js)
39
43
  npm install -g trello-cli-unofficial
40
44
 
41
- # Or using Bun
45
+ # Option 2: Using Bun (recommended for better performance)
42
46
  bun add -g trello-cli-unofficial
43
47
 
48
+ # Option 3: Using Yarn
49
+ yarn global add trello-cli-unofficial
50
+
51
+ # Option 4: Using PNPM
52
+ pnpm add -g trello-cli-unofficial
53
+
44
54
  # Verify installation
45
55
  tcu --version
46
56
  ```
47
57
 
58
+ #### Windows Installation
59
+
60
+ For Windows users, you can install using any package manager:
61
+
62
+ **PowerShell (Recommended):**
63
+ ```powershell
64
+ # Using NPM (works with both Node.js and Bun)
65
+ npm install -g trello-cli-unofficial
66
+
67
+ # Or using Bun (recommended for better performance)
68
+ bun add -g trello-cli-unofficial
69
+
70
+ # Or using Yarn
71
+ yarn global add trello-cli-unofficial
72
+
73
+ # Verify installation
74
+ tcu --version
75
+ ```
76
+
77
+ **Command Prompt:**
78
+ ```cmd
79
+ # Using NPM
80
+ npm install -g trello-cli-unofficial
81
+
82
+ # Verify installation
83
+ tcu --version
84
+ ```
85
+
86
+ **Note:** On Windows, you may need to restart your terminal or run `refreshenv` in PowerShell after installation to update your PATH.
87
+
48
88
  ### Manual Installation (Development)
49
89
 
50
90
  ```bash
@@ -161,7 +201,7 @@ changeLanguage("pt-BR");
161
201
  changeLanguage("en");
162
202
  ```
163
203
 
164
- ## ๏ฟฝ๐ŸŽฎ Usage
204
+ ## ๐Ÿ“– Usage
165
205
 
166
206
  ### Interactive Mode (Recommended)
167
207
 
@@ -352,9 +392,17 @@ bun run lint
352
392
 
353
393
  ### Installation Issues
354
394
 
355
- - Ensure Bun or Node.js is installed
356
- - Try `npm install -g trello-cli-unofficial` if Bun fails
357
- - Check that `tcu` command is in your PATH
395
+ - **Runtime Required:** Ensure Bun or Node.js 16+ is installed
396
+ - **Package Manager Fallback:** Try `npm install -g trello-cli-unofficial` if Bun fails
397
+ - **PATH Issues:** Check that `tcu` command is in your PATH
398
+ - **Permission Issues:** Try running as administrator/sudo
399
+
400
+ #### Windows-specific Issues
401
+
402
+ - **PATH not updated:** Restart your terminal or run `refreshenv` in PowerShell
403
+ - **Permission errors:** Run PowerShell/Command Prompt as Administrator
404
+ - **Node.js version:** Ensure you have Node.js 16+ or Bun 1.0+
405
+ - **Antivirus blocking:** Some antivirus software may block global NPM installations
358
406
 
359
407
  ## ๐Ÿค Contributing
360
408
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trello-cli-unofficial",
3
3
  "type": "module",
4
- "version": "0.8.0",
4
+ "version": "0.9.0",
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/)",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "module": "main.ts",
28
28
  "bin": {
29
- "trello-cli-unofficial": "./main.ts",
30
- "tcu": "./main.ts"
29
+ "trello-cli-unofficial": "./dist/main.js",
30
+ "tcu": "./dist/main.js"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public",
@@ -47,7 +47,7 @@
47
47
  "src"
48
48
  ],
49
49
  "engines": {
50
- "bun": ">=1.0.0"
50
+ "node": ">=16.0.0"
51
51
  },
52
52
  "scripts": {
53
53
  "start": "bun run main.ts",
@@ -62,6 +62,7 @@
62
62
  "test:coverage:threshold": "bun test --coverage --coverage-reporter=lcov && bun run scripts/check-coverage.js",
63
63
  "lint": "eslint .",
64
64
  "lint:fix": "eslint . --fix",
65
+ "lint:json": "node -e \"JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8')); console.log('JSON is valid')\" --",
65
66
  "typecheck": "tsc --noEmit",
66
67
  "commitlint": "commitlint --edit",
67
68
  "validate": "bun run lint && bun run typecheck && bun run test:coverage:threshold",
@@ -103,6 +104,9 @@
103
104
  "lint-staged": {
104
105
  "*.{js,ts,tsx}": [
105
106
  "eslint --max-warnings 0"
107
+ ],
108
+ "*.json": [
109
+ "bun run lint:json"
106
110
  ]
107
111
  }
108
112
  }