feat: add bitbucket-cloud-common with new client

Add `bitbucket-cloud-common`
(`@backstage/plugin-bitbucket-cloud-common`)
with a new client for Bitbucket Cloud.

The lib contains auto-generated models
which got generated using `@openapitools/openapi-generator-cli`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
Patrick Jungermann
2022-04-22 19:13:09 +02:00
parent 6327a17180
commit 1dffa7dd4d
26 changed files with 27972 additions and 36 deletions
@@ -0,0 +1,43 @@
{
"name": "@backstage/plugin-bitbucket-cloud-common",
"description": "Common functionalities for bitbucket-cloud plugins",
"version": "0.0.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
"backstage": {
"role": "common-library"
},
"scripts": {
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"refresh-schema": "scripts/prepare-schema.js && prettier --check bitbucket-cloud.oas.json -w",
"generate-models": "scripts/generate-models.sh",
"reduce-models": "scripts/reduce-models.js",
"update-models": "yarn refresh-schema && yarn generate-models && yarn reduce-models"
},
"dependencies": {
"@backstage/integration": "^1.2.1-next.0",
"cross-fetch": "^3.1.5"
},
"devDependencies": {
"@backstage/cli": "^0.17.2-next.0",
"@openapitools/openapi-generator-cli": "^2.4.26",
"msw": "^0.35.0",
"ts-morph": "^15.0.0"
},
"files": [
"dist"
]
}