trello-cli-unofficial 0.7.4 → 0.7.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.
Files changed (2) hide show
  1. package/PAT_SETUP.md +48 -0
  2. package/package.json +5 -2
package/PAT_SETUP.md ADDED
@@ -0,0 +1,48 @@
1
+ # Personal Access Token (PAT) Setup
2
+
3
+ ## Why do I need a PAT?
4
+
5
+ The release workflow needs to push back to the repository to:
6
+
7
+ - Update the version in `package.json`
8
+ - Create release commits
9
+ - Create version tags
10
+ - Push the tags
11
+
12
+ The default `GITHUB_TOKEN` doesn't have sufficient permissions for these operations on protected branches.
13
+
14
+ ## How to create a PAT
15
+
16
+ 1. Go to [GitHub Settings > Developer settings > Personal access tokens](https://github.com/settings/tokens)
17
+ 2. Click "Generate new token (classic)"
18
+ 3. Give it a descriptive name, e.g., "Trello CLI Release"
19
+ 4. Select the following permissions:
20
+ - ✅ `repo` (Full control of private repositories)
21
+ - ✅ `workflow` (Update GitHub Action workflows)
22
+ 5. Click "Generate token"
23
+ 6. **COPY THE TOKEN IMMEDIATELY** (it only appears once!)
24
+
25
+ ## How to add the PAT to the repository
26
+
27
+ 1. Go to your repository on GitHub
28
+ 2. Click "Settings" → "Secrets and variables" → "Actions"
29
+ 3. Click "New repository secret"
30
+ 4. Name: `PAT_TOKEN`
31
+ 5. Value: Paste the token you copied
32
+ 6. Click "Add secret"
33
+
34
+ ## Verification
35
+
36
+ After adding the secret, the next commit with `feat:`, `fix:`, or `BREAKING CHANGE` will:
37
+
38
+ 1. Detect the type of change
39
+ 2. Update the version automatically
40
+ 3. Create a GitHub release
41
+ 4. Publish to NPM
42
+
43
+ ## Troubleshooting
44
+
45
+ - **"Permission denied" error**: Check if the PAT has the correct permissions
46
+ - **"Resource not accessible" error**: The PAT may have expired, generate a new one
47
+ - **Workflow doesn't run**: Check if the commit message follows conventional commits pattern</content>
48
+ <parameter name="filePath">/home/matheus/Desenvolvimento/personal/trello-cli-unofficial/PAT_SETUP.md
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trello-cli-unofficial",
3
3
  "type": "module",
4
- "version": "0.7.4",
4
+ "version": "0.7.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/)",
@@ -20,7 +20,9 @@
20
20
  "power-up",
21
21
  "api",
22
22
  "bun",
23
- "typescript"
23
+ "typescript",
24
+ "i18n",
25
+ "internationalization"
24
26
  ],
25
27
  "module": "main.ts",
26
28
  "bin": {
@@ -34,6 +36,7 @@
34
36
  "files": [
35
37
  "CHANGELOG.md",
36
38
  "LICENSE",
39
+ "PAT_SETUP.md",
37
40
  "README.md",
38
41
  "bun.lock",
39
42
  "bunfig.toml",