Skip to content

Commit eb90a2e

Browse files
committed
feat: Initial content
1 parent ce8e182 commit eb90a2e

31 files changed

Lines changed: 4268 additions & 36 deletions

.claude-plugin/plugin.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "ui5",
3+
"version": "0.0.1",
4+
"description": "Claude plugin for SAPUI5 / OpenUI5. Create and validate UI5 projects, access API documentation, run UI5 linter, get development guidelines and best practices for UI5 development.",
5+
"author": {
6+
"name": "SAP SE"
7+
},
8+
"homepage": "https://github.com/UI5/claude-plugin",
9+
"repository": "https://github.com/UI5/claude-plugin",
10+
"license": "Apache-2.0",
11+
"keywords": ["sap", "ui5", "sapui5", "openui5", "claude", "plugin", "linter", "api documentation", "development guidelines", "best practices"]
12+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Bug Report
2+
description: Report an issue related to UI5 Claude Plugin
3+
type: Bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please have a look at our [contributing guidelines](https://github.com/UI5/claude-plugin/blob/main/CONTRIBUTING.md#-reporting-issues) on reporting issues.
9+
10+
> [!TIP]
11+
> You can easily create an MRE using a fork of our [OpenUI5 sample app](https://github.com/UI5/sample-app).
12+
>
13+
> Alternatively, share a version of your existing project that has been stripped down to a minimum sufficient to reproduce the issue.
14+
> Please do not share real business data or other sensitive information.
15+
- type: textarea
16+
id: steps-to-reproduce
17+
attributes:
18+
label: What is the issue and how can we reproduce it?
19+
description: |
20+
To help us understand and resolve the issue efficiently, please provide a **minimal reproducible example** (required) and steps that clearly illustrate the unexpected behavior.
21+
value: |
22+
1. Use following renovate.json config file ...
23+
2. Check PR #XX on ...
24+
3. ... --> **Issue:** ...
25+
26+
#### Error:
27+
> ...
28+
29+
#### Expected behavior:
30+
...
31+
validations:
32+
required: true
33+
- type: checkboxes
34+
id: issue-checked
35+
attributes:
36+
label: Confirmation
37+
description: |
38+
To avoid duplicates and ensure efficient issue resolution, please double-check whether a similar issue has been reported or discussed already either in this UI5 Claude Plugin repository or at community sites like [Stack Overflow](https://stackoverflow.com/search?tab=active&q=%5bui5-renovate-preset-config%5d%20is%3aquestion&searchOn=3).
39+
options:
40+
- label: I have searched the existing issues and reviewed the relevant documentation as well as the UI5 Claude Plugin documentation.
41+
required: true
42+
- label: I am not disclosing any internal or sensitive information.
43+
required: true
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Feature Request
2+
description: Request a new feature to be added to UI5 Claude Plugin
3+
type: Feature
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please have a look at our [contributing guidelines](https://github.com/UI5/claude-plugin/blob/main/CONTRIBUTING.md#-feature-requests) on requesting features to be added to UI5 Claude Plugin.
9+
- type: textarea
10+
id: background-information
11+
attributes:
12+
label: Why are you proposing this feature?
13+
description: A clear and concise description of the underlying scenario to be covered and whats's missing in UI5 Claude Plugin. Provide any relevant background information that helps explain why this feature would be beneficial.
14+
placeholder: A clear and concise description of the underlying scenario to be covered and whats's missing in UI5 Claude Plugin. Provide any relevant background information that helps explain why this feature would be beneficial.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: possible-solution
19+
attributes:
20+
label: How should a possible solution look like?
21+
description: A clear and concise description of what you want to happen.
22+
placeholder: A clear and concise description of what you want to happen.
23+
- type: textarea
24+
id: alternative-solution
25+
attributes:
26+
label: Are there alternative approaches?
27+
description: A clear and concise description of any alternative solutions or features you've considered.
28+
placeholder: A clear and concise description of any alternative solutions or features you've considered.
29+
- type: textarea
30+
id: additional-context
31+
attributes:
32+
label: Any further information you would like to share?
33+
description: Add any other context or screenshots about the feature request here.
34+
placeholder: Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**Thank you for your contribution!** 🙌
2+
3+
To get it merged faster, kindly review the checklist below:
4+
5+
## Pull Request Checklist
6+
- [ ] Reviewed the [Contributing Guidelines](https://github.com/UI5/claude-plugin/blob/main/CONTRIBUTING.md#-contributing-code)
7+
+ Especially the [How to Contribute](https://github.com/UI5/claude-plugin/blob/main/CONTRIBUTING.md#how-to-contribute) section
8+
- [ ] [No merge commits](https://github.com/UI5/claude-plugin/blob/main/docs/Guidelines.md#no-merge-commits)
9+
- [ ] [Correct commit message style](https://github.com/UI5/claude-plugin/blob/main/docs/Guidelines.md#commit-message-style)

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
commit-message:
8+
prefix: "ci(github-actions)"
9+
- package-ecosystem: npm
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
versioning-strategy: increase
14+
commit-message:
15+
prefix: "deps"
16+
prefix-development: "build(deps-dev)"

.github/in-solidarity.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_extends: ietf/terminology

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
jobs:
11+
test:
12+
name: General checks
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- uses: actions/checkout@v6
16+
- name: Use Node.js 22
17+
uses: actions/setup-node@v6
18+
with:
19+
node-version: 22
20+
21+
- name: Install dependencies
22+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
23+
24+
- name: Perform Prettier check
25+
run: npm run prettier:check
26+
27+
- name: Perform Licenses check
28+
run: npm run check-licenses
29+
30+
- name: Perform dependency check
31+
run: npm run knip

.github/workflows/commitlint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Commit Message Linting
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
commitlint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
with:
17+
fetch-depth: 0
18+
- uses: wagoid/commitlint-github-action@v6
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dependabot auto-merge
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
dependabot:
13+
runs-on: ubuntu-latest
14+
if: ${{ github.actor == 'dependabot[bot]' }}
15+
steps:
16+
- name: Dependabot metadata
17+
id: metadata
18+
uses: dependabot/fetch-metadata@v2
19+
with:
20+
github-token: "${{ secrets.GITHUB_TOKEN }}"
21+
- name: Enable auto-merge for Dependabot PRs
22+
if: ${{contains(fromJSON('["version-update:semver-minor", "version-update:semver-patch"]'), steps.metadata.outputs.update-type)}}
23+
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --rebase "$PR_URL"
24+
env:
25+
PR_URL: ${{github.event.pull_request.html_url}}
26+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)