@robinpath/bitbucket 0.1.0 → 0.1.1

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 +119 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,119 @@
1
+ # @robinpath/bitbucket
2
+
3
+ > Bitbucket module for RobinPath.
4
+
5
+ ![Category](https://img.shields.io/badge/category-DevOps-blue) ![Functions](https://img.shields.io/badge/functions-25-green) ![Auth](https://img.shields.io/badge/auth-API%20Key-orange) ![License](https://img.shields.io/badge/license-MIT-brightgreen)
6
+
7
+ ## Why use this module?
8
+
9
+ The `bitbucket` module lets you:
10
+
11
+ - listRepositories
12
+ - getRepository
13
+ - createRepository
14
+ - deleteRepository
15
+ - listBranches
16
+
17
+ All functions are callable directly from RobinPath scripts with a simple, consistent API.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ npm install @robinpath/bitbucket
23
+ ```
24
+
25
+ ## Quick Start
26
+
27
+ **1. Set up credentials**
28
+
29
+ ```robinpath
30
+ bitbucket.setCredentials "your-credentials"
31
+ ```
32
+
33
+ **2. listRepositories**
34
+
35
+ ```robinpath
36
+ bitbucket.listRepositories
37
+ ```
38
+
39
+ ## Available Functions
40
+
41
+ | Function | Description |
42
+ |----------|-------------|
43
+ | `bitbucket.setCredentials` | Configure bitbucket credentials. |
44
+ | `bitbucket.listRepositories` | listRepositories |
45
+ | `bitbucket.getRepository` | getRepository |
46
+ | `bitbucket.createRepository` | createRepository |
47
+ | `bitbucket.deleteRepository` | deleteRepository |
48
+ | `bitbucket.listBranches` | listBranches |
49
+ | `bitbucket.createBranch` | createBranch |
50
+ | `bitbucket.deleteBranch` | deleteBranch |
51
+ | `bitbucket.listPullRequests` | listPullRequests |
52
+ | `bitbucket.getPullRequest` | getPullRequest |
53
+ | `bitbucket.createPullRequest` | createPullRequest |
54
+ | `bitbucket.updatePullRequest` | updatePullRequest |
55
+ | `bitbucket.mergePullRequest` | mergePullRequest |
56
+ | `bitbucket.declinePullRequest` | declinePullRequest |
57
+ | `bitbucket.listCommits` | listCommits |
58
+ | `bitbucket.listPipelines` | listPipelines |
59
+ | `bitbucket.getPipeline` | getPipeline |
60
+ | `bitbucket.triggerPipeline` | triggerPipeline |
61
+ | `bitbucket.listIssues` | listIssues |
62
+ | `bitbucket.createIssue` | createIssue |
63
+ | `bitbucket.listWorkspaces` | listWorkspaces |
64
+ | `bitbucket.getWorkspace` | getWorkspace |
65
+ | `bitbucket.listWebhooks` | listWebhooks |
66
+ | `bitbucket.getUser` | getUser |
67
+ | `bitbucket.listDeployments` | listDeployments |
68
+
69
+ ## Examples
70
+
71
+ ### listRepositories
72
+
73
+ ```robinpath
74
+ bitbucket.listRepositories
75
+ ```
76
+
77
+ ### getRepository
78
+
79
+ ```robinpath
80
+ bitbucket.getRepository
81
+ ```
82
+
83
+ ### createRepository
84
+
85
+ ```robinpath
86
+ bitbucket.createRepository
87
+ ```
88
+
89
+ ## Integration with RobinPath
90
+
91
+ ```typescript
92
+ import { RobinPath } from "@wiredwp/robinpath";
93
+ import Module from "@robinpath/bitbucket";
94
+
95
+ const rp = new RobinPath();
96
+ rp.registerModule(Module.name, Module.functions);
97
+ rp.registerModuleMeta(Module.name, Module.functionMetadata);
98
+
99
+ const result = await rp.executeScript(`
100
+ bitbucket.setCredentials "your-credentials"
101
+ bitbucket.listRepositories
102
+ `);
103
+ ```
104
+
105
+ ## Full API Reference
106
+
107
+ See [MODULE.md](./MODULE.md) for complete documentation including all parameters, return types, error handling, and advanced examples.
108
+
109
+ ## Related Modules
110
+
111
+ - [`@robinpath/docker`](../docker) — Docker module for complementary functionality
112
+ - [`@robinpath/git`](../git) — Git module for complementary functionality
113
+ - [`@robinpath/github`](../github) — GitHub module for complementary functionality
114
+ - [`@robinpath/gitlab`](../gitlab) — GitLab module for complementary functionality
115
+ - [`@robinpath/vercel`](../vercel) — Vercel module for complementary functionality
116
+
117
+ ## License
118
+
119
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinpath/bitbucket",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },