Skip to content

Commit d5821cf

Browse files
committed
🎉 Initial commit
1 parent 255db38 commit d5821cf

19 files changed

+717
-638
lines changed

.dockerignore

-23
This file was deleted.

.env

Whitespace-only changes.

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @NatoBoram
1+
*.ts @coderabbitai/typescript-reviewers

.github/FUNDING.yaml

-5
This file was deleted.

.github/authorized_keys

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
41898282+github-actions[bot]@users.noreply.github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE0nNJJzdXWCLFEqZd4BMgzbTfabG3Z2kamWwXOpRqBI 41898282+github-actions[bot]@users.noreply.github.com
1+
41898282+github-actions[bot]@users.noreply.github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwlBXpWbU695PCyqzVdh+pmps81LzlZak63ODGmlo8P @coderabbitai/bitbucket

.github/workflows/docker.yaml

-54
This file was deleted.

.github/workflows/pnpm-publish.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
- uses: actions/setup-node@v4
3232
with:
3333
registry-url: https://npm.pkg.github.com
34-
scope: "@natoboram"
34+
scope: "@coderabbitai"
3535
- run: pnpm publish --access public --no-git-checks --provenance
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838

3939
- uses: actions/setup-node@v4
4040
with:
4141
registry-url: https://registry.npmjs.org
42-
scope: "@natoboram"
42+
scope: "@coderabbitai"
4343
- run: pnpm publish --access public --no-git-checks --provenance
4444
env:
4545
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
@@ -50,8 +50,8 @@ jobs:
5050
eval `ssh-agent -s`
5151
ssh-add - <<< '${{ secrets.DEPLOY_KEY_PRIVATE }}'
5252
echo '${{ vars.DEPLOY_KEY_PUBLIC }}' > '${{ runner.temp }}/DEPLOY_KEY_PUBLIC.pub'
53-
ssh-keygen -Y sign -f '${{ runner.temp }}/DEPLOY_KEY_PUBLIC.pub' -n file natoboram-gigachad.ts-*.tgz
54-
ssh-keygen -Y verify -f ./.github/authorized_keys -I '41898282+github-actions[bot]@users.noreply.github.com' -n file -s natoboram-gigachad.ts-*.tgz.sig < natoboram-gigachad.ts-*.tgz
55-
- run: gh release upload ${{ github.ref_name }} natoboram-gigachad.ts-*.tgz natoboram-gigachad.ts-*.tgz.sig
53+
ssh-keygen -Y sign -f '${{ runner.temp }}/DEPLOY_KEY_PUBLIC.pub' -n file coderabbitai-bitbucket-*.tgz
54+
ssh-keygen -Y verify -f ./.github/authorized_keys -I '41898282+github-actions[bot]@users.noreply.github.com' -n file -s coderabbitai-bitbucket-*.tgz.sig < coderabbitai-bitbucket-*.tgz
55+
- run: gh release upload ${{ github.ref_name }} coderabbitai-bitbucket-*.tgz coderabbitai-bitbucket-*.tgz.sig
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.vscode/extensions.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"dbaeumer.vscode-eslint",
55
"editorconfig.editorconfig",
66
"esbenp.prettier-vscode",
7+
"github.copilot-chat",
8+
"github.copilot",
79
"github.vscode-github-actions",
810
"github.vscode-pull-request-github",
9-
"ms-azuretools.vscode-docker",
11+
"ms-vscode.vscode-typescript-next",
12+
"seatonjiang.gitmoji-vscode",
1013
"vitest.explorer"
1114
]
1215
}

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
<https://github.com/NatoBoram/gigachad.ts>.
63+
<https://github.com/coderabbitai/bitbucket>.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

Dockerfile

-18
This file was deleted.

LICENSE.txt

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
1-
This is free and unencumbered software released into the public domain.
2-
3-
Anyone is free to copy, modify, publish, use, compile, sell, or
4-
distribute this software, either in source code form or as a compiled
5-
binary, for any purpose, commercial or non-commercial, and by any
6-
means.
7-
8-
In jurisdictions that recognize copyright laws, the author or authors
9-
of this software dedicate any and all copyright interest in the
10-
software to the public domain. We make this dedication for the benefit
11-
of the public at large and to the detriment of our heirs and
12-
successors. We intend this dedication to be an overt act of
13-
relinquishment in perpetuity of all present and future rights to this
14-
software under copyright law.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22-
OTHER DEALINGS IN THE SOFTWARE.
1+
Copyright © 2024 CodeRabbit

README.md

+3-48
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,5 @@
1-
# `gigachad.ts`
1+
# `@coderabbitai/bitbucket`
22

3-
[![Docker CI](https://github.com/NatoBoram/gigachad.ts/actions/workflows/docker.yaml/badge.svg)](https://github.com/NatoBoram/gigachad.ts/actions/workflows/docker.yaml) [![GitHub Pages](https://github.com/NatoBoram/gigachad.ts/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/NatoBoram/gigachad.ts/actions/workflows/github-pages.yaml) [![Node.js CI](https://github.com/NatoBoram/gigachad.ts/actions/workflows/node.js.yaml/badge.svg)](https://github.com/NatoBoram/gigachad.ts/actions/workflows/node.js.yaml) [![Dependabot Updates](https://github.com/NatoBoram/gigachad.ts/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/NatoBoram/gigachad.ts/actions/workflows/dependabot/dependabot-updates)
3+
[![Node.js CI](https://github.com/coderabbitai/bitbucket/actions/workflows/node.js.yaml/badge.svg)](https://github.com/coderabbitai/bitbucket/actions/workflows/node.js.yaml) [![Dependabot Updates](https://github.com/coderabbitai/bitbucket/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/coderabbitai/bitbucket/actions/workflows/dependabot/dependabot-updates) [![GitHub Pages](https://github.com/coderabbitai/bitbucket/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/coderabbitai/bitbucket/actions/workflows/github-pages.yaml)
44

5-
The most gigachad project setup for TypeScript.
6-
7-
<img
8-
align="right"
9-
alt="The most gigachad TypeScript programmer, writing high-quality well-tested code, big muscles, enjoyer, handsome face, digital painting, high resolution, ultra realistic, hands on keyboard"
10-
src="https://github.com/NatoBoram/gigachad.ts/assets/10495562/b113f3ee-38cf-4014-9a2e-737a48bad2e0"
11-
width="256"
12-
/>
13-
14-
- Dependency updates with [Dependabot](https://github.com/dependabot/dependabot-core)
15-
- Documentation with [TypeDoc](https://github.com/TypeStrong/typedoc)
16-
- Enforce format-on-save in [VSCode](https://github.com/microsoft/vscode)
17-
- Formatting with [Prettier](https://github.com/prettier/prettier)
18-
- Lint code with [ESLint](https://github.com/eslint/eslint)
19-
- Lint markdown with [markdownlint](https://github.com/DavidAnson/markdownlint)
20-
- Package management with [pnpm](https://github.com/pnpm/pnpm)
21-
- Publish it with a GitHub Workflow
22-
- Run it with [tsx](https://github.com/privatenumber/tsx)
23-
- Run your GitHub Actions locally with [`act`](https://github.com/nektos/act)
24-
- Unit tests with [Vitest](https://github.com/vitest-dev/vitest)
25-
26-
## Publishing
27-
28-
This template offers a GitHub Workflow to help you automatically bump the version number, tag it, push it, and publish it to both NPM, the GitHub Package Registry and in GitHub Releases on the click of a button.
29-
30-
To make the `git push` work, you'll need to use a [Deploy Key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys).
31-
32-
1. Genereate a SSH key with <https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key>
33-
34-
```sh
35-
ssh-keygen -t ed25519 -C "@natoboram/gigachad.ts" -f new_ssh_key -N ""
36-
```
37-
38-
2. Add the private key to your project's secrets at `/settings/secrets/actions/new` with the name `DEPLOY_KEY_PRIVATE`
39-
3. Add the public key to your project's variables at `/settings/variables/actions/new` with the name `DEPLOY_KEY_PUBLIC`
40-
4. Add the public key to your project's deploy keys at `/settings/keys`
41-
5. Add the public key to `.github/authorized_keys` in the format of `41898282+github-actions[bot]@users.noreply.github.com <DEPLOY_KEY_PUBLIC>` while replacing `<DEPLOY_KEY_PUBLIC>` with your public key
42-
6. Delete the key pair from your computer, never to be seen again
43-
44-
The `.github/authorized_keys` is used to sign and verify the signature of the build artefact that is sent to GitHub Releases. If you want to skip this step, you can remove it from `.github/workflows/pnpm-publish.yaml`.
45-
46-
To publish on NPM, you'll need to provide your NPM token.
47-
48-
1. Sign in to <https://www.npmjs.com>
49-
2. Access Tokens / Generate New Token / Classic Token / Automation / Generate Token
50-
3. Copy that token and save it in your project's secrets at `/settings/secrets/actions/new` with the name `NODE_AUTH_TOKEN`
5+
CodeRabbit's TypeScript API client for connecting to Bitbucket Cloud and Bitbucker Data Center.

package.json

+22-37
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
{
2-
"name": "@natoboram/gigachad.ts",
2+
"name": "@coderabbitai/bitbucket",
33
"version": "0.0.0",
4-
"description": "The most gigachad project setup for TypeScript.",
4+
"description": "CodeRabbit's TypeScript API client for connecting to Bitbucket Cloud and Bitbucker Data Center",
55
"keywords": [
6-
"dependabot",
7-
"eslint",
8-
"gigachad",
9-
"markdownlint",
10-
"prettier",
11-
"project-template",
12-
"typescript",
13-
"vitest"
6+
"bitbucker-cloud",
7+
"bitbucket-data-center",
8+
"bitbucket-server",
9+
"bitbucket"
1410
],
15-
"homepage": "https://github.com/NatoBoram/gigachad.ts",
11+
"homepage": "https://github.com/coderabbitai/bitbucket",
1612
"bugs": {
17-
"url": "https://github.com/NatoBoram/gigachad.ts/issues"
13+
"url": "https://github.com/coderabbitai/bitbucket/issues"
1814
},
19-
"license": "Unlicense",
15+
"license": "UNLICENSED",
2016
"author": {
21-
"name": "Nato Boram",
22-
"url": "https://github.com/NatoBoram"
17+
"name": "CodeRabbit",
18+
"url": "https://coderabbit.ai",
19+
"email": "[email protected]"
2320
},
24-
"funding": [
25-
{
26-
"type": "patreon",
27-
"url": "https://www.patreon.com/NatoBoram"
28-
},
29-
{
30-
"type": "individual",
31-
"url": "https://paypal.me/NatoBoram/5"
32-
}
33-
],
3421
"files": [
3522
"dist",
3623
"!dist/**/*.test.*"
@@ -39,15 +26,11 @@
3926
"bin": {
4027
"gigachad": "dist/main.js"
4128
},
42-
"repository": "github:NatoBoram/gigachad.ts",
29+
"repository": "github:coderabbitai/bitbucket",
4330
"scripts": {
4431
"build": "tsc",
4532
"clean": "rm -rf dist docs node_modules tsconfig.tsbuildinfo",
4633
"dev": "tsx ./src/main.ts",
47-
"docker": "pnpm run docker:build && pnpm run docker:run",
48-
"docker:build": "docker build -t gigachad.ts .",
49-
"docker:kill": "docker ps --format '{{.Image}} {{.ID}}' | grep gigachad.ts | awk '{print $2}' | xargs docker kill",
50-
"docker:run": "docker run gigachad.ts",
5134
"docs": "typedoc",
5235
"format": "prettier --write .",
5336
"lint": "eslint . && markdownlint-cli2 \"**/*.md\" && prettier --check .",
@@ -56,17 +39,19 @@
5639
"test": "vitest"
5740
},
5841
"devDependencies": {
59-
"@eslint/js": "^9.9.1",
60-
"eslint": "^9.9.1",
42+
"@eslint/js": "^9.10.0",
43+
"@types/node": "^22.5.5",
44+
"dotenv": "^16.4.5",
45+
"eslint": "^9.10.0",
6146
"eslint-config-prettier": "^9.1.0",
6247
"globals": "^15.9.0",
63-
"markdownlint-cli2": "^0.13.0",
48+
"markdownlint-cli2": "^0.14.0",
6449
"prettier": "^3.3.3",
65-
"tsx": "^4.19.0",
66-
"typedoc": "^0.26.6",
50+
"tsx": "^4.19.1",
51+
"typedoc": "^0.26.7",
6752
"typescript": "^5.5.4",
68-
"typescript-eslint": "^8.3.0",
69-
"vitest": "^2.0.5"
53+
"typescript-eslint": "^8.6.0",
54+
"vitest": "^2.1.1"
7055
},
7156
"type": "module",
7257
"exports": {

0 commit comments

Comments
 (0)