Skip to content

Commit be1e8e6

Browse files
feat(chore): added git templates
added git templates Gh-1
1 parent fa9f18f commit be1e8e6

File tree

7 files changed

+11118
-2835
lines changed

7 files changed

+11118
-2835
lines changed

.cz-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
// used if allowCustomScopes is true
4545
customScope: 'Denote the SCOPE of this change:',
4646
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
47-
body: 'Provide a LONGER description of the change (mandatory). Use "\\n" to break new line:\n',
47+
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
4848
breaking: 'List any BREAKING CHANGES (optional):\n',
4949
footer: 'List any ISSUES CLOSED by this change (optional). E.g.: GH-144:\n',
5050
confirmCommit: 'Are you sure you want to proceed with the commit above?',

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ node_modules/
22
dist/
33
coverage/
44
.eslintrc.js
5+
.cz-config.js
6+
commitlint.config.js

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
git config --global user.name $CONFIG_USERNAME
3434
git config --global user.email $CONFIG_EMAIL
35-
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/sourcefuse/loopback4-authorization
35+
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/sourcefuse/loopback4-mcp
3636
env:
3737
GITHUB_PAT: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
3838
CONFIG_USERNAME: ${{ vars.RELEASE_COMMIT_USERNAME }}

.github/workflows/sync-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
git checkout -B $extension_branch || git checkout $extension_branch
5151
5252
# Copy README from the extension repo
53-
cp ../extension/docs/README.md docs/arc-api-docs/extensions/$(basename $GITHUB_REPOSITORY)/
53+
cp ../extension/README.md docs/arc-api-docs/extensions/$(basename $GITHUB_REPOSITORY)/
5454
git add .
5555
5656
if git diff --quiet --cached; then

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Its purpose is to enable LoopBack APIs, services, and business logic to be expos
2020

2121
- Lifecycle-managed Tool Registry :-
2222
A dedicated `McpToolRegistry` service maintains all discovered tool metadata,their handlers and execution context.
23-
23+
2424
A `McpToolRegistryBootObserver` ensures that registration happens only after the application has fully booted.
2525
## Installation
2626
```sh
@@ -47,6 +47,7 @@ async createUser(args: {email: string; name: string}) {
4747
```
4848
### Mcp Hook Usage Details
4949
To use hooks with MCP tools, follow the provider-based approach:
50+
5051
Step 1: Create a hook provider:
5152
```typescript
5253
// src/providers/my-hook.provider.ts

0 commit comments

Comments
 (0)