diff --git a/API.md b/API.md index 2ef59a0b..2f0aaa7f 100644 --- a/API.md +++ b/API.md @@ -1,40 +1,3 @@ -# CDK BitBucket Server Constructs - -An CDK Construct to create repositories, webhooks and maybe more on BitBucket Server (formarly Stash). It's not working with BitBucket Cloud. - -![](https://github.com/pgarbe/cdk-bitbucket-server/workflows/Build/badge.svg) - -## How to use it - -See also `examples` folder. `bitbucket-backend-stack` creates the custom resource and shares the ServiceToken as output. `bitbucket-stack` uses ServiceToken and creates new BitBucket resources. - -Ensure to have SSM Parameters `config/bitbucket/host`, `config/bitbucket/username` and `config/bitbucket/password`. - -```bash -cdk deploy --app "npx ts-node bitbucket-backend-stack.ts" -cdk deploy --app "npx ts-node bitbucket-stack.ts" -``` - -## Supported resources - -[x] Repository -[x] WebHook -[x] Project - -## Next steps -[] Support cross account usage (see also [#8470](https://github.com/aws/aws-cdk/issues/8470) ) -[] Explicitly handle update of resources -[] Explicitly handle delete of resources (using retention policy) - -## How to release - -Set a new version with `npm version` command and push changes to GitHub. - -``` -npm version x.x.x -git push -``` - # API Reference ## Constructs diff --git a/tsconfig.json b/tsconfig.json index f7d7c8f6..cc6aa9c3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -34,7 +34,8 @@ "src/**/*.ts" ], "exclude": [ - "node_modules" + "node_modules", + "/home/runner/work/cdk-bitbucket-server/cdk-bitbucket-server/lib/.types-compat" ], "_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" } \ No newline at end of file