Skip to content

Commit 2c52a34

Browse files
committed
feat: move docs into own repo
0 parents  commit 2c52a34

File tree

401 files changed

+27617
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+27617
-0
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
coverage
3+
test

.github/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: v1
2+
3+
labels:
4+
- label: 'feat'
5+
matcher:
6+
title: '^feat:.*'
7+
- label: 'fix'
8+
matcher:
9+
title: '^fix:.*'
10+
- label: 'chore'
11+
matcher:
12+
title: '^chore:.*'
13+
- label: 'docs'
14+
matcher:
15+
title: '^docs:.*'

.github/release.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- renovate
5+
categories:
6+
- title: Breaking Changes 🛠
7+
labels:
8+
- breaking-change
9+
- title: Exciting New Features 🎉
10+
labels:
11+
- feat
12+
- title: Important Bug Fixes 🐛
13+
labels:
14+
- fix
15+
- title: Documentation 📚
16+
labels:
17+
- docs
18+
- title: Other changes 🏗️
19+
labels:
20+
- chore
21+
- title: Dependencies 📦
22+
labels:
23+
- dependencies

.github/renovate.json

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":automergeMinor",
6+
":automergePr",
7+
":automergeRequireAllStatusChecks",
8+
":gitSignOff",
9+
":pinVersions",
10+
":semanticCommits",
11+
":semanticCommitTypeAll(chore)",
12+
":enableVulnerabilityAlerts",
13+
":combinePatchMinorReleases",
14+
":prConcurrentLimitNone",
15+
":prHourlyLimitNone",
16+
"security:openssf-scorecard",
17+
"schedule:nonOfficeHours"
18+
],
19+
"labels": ["dependencies"],
20+
"rebaseWhen": "conflicted",
21+
"packageRules": [
22+
{
23+
"matchPackagePatterns": ["bull-board"],
24+
"groupName": "bull-board"
25+
},
26+
{
27+
"matchPackagePatterns": ["taquito"],
28+
"groupName": "taquito"
29+
},
30+
{
31+
"matchPackagePatterns": ["nestjs"],
32+
"groupName": "nestjs"
33+
},
34+
{
35+
"matchPackagePatterns": ["pulumi"],
36+
"groupName": "pulumi"
37+
},
38+
{
39+
"matchPackagePatterns": ["hasura"],
40+
"groupName": "hasura"
41+
},
42+
{
43+
"matchPackagePatterns": ["hyperledger/fabric"],
44+
"groupName": "fabric"
45+
},
46+
{
47+
"matchPackagePatterns": ["graphiql"],
48+
"groupName": "graphiql"
49+
},
50+
{
51+
"matchPackagePatterns": ["graphiql"],
52+
"groupName": "graphiql"
53+
},
54+
{
55+
"matchPackagePatterns": ["kubo"],
56+
"groupName": "kubo"
57+
},
58+
{
59+
"matchPackagePatterns": ["0xpolygon/polygon-edge"],
60+
"groupName": "0xpolygon/polygon-edge"
61+
},
62+
{
63+
"matchPackagePatterns": ["settlemint/bpaas"],
64+
"groupName": "bpaas"
65+
},
66+
{
67+
"matchPackagePatterns": ["settlemint/bpaas/smartcontractsets"],
68+
"groupName": "bpaas/smartcontractsets",
69+
"excludePackagePatterns": [
70+
"settlemint/bpaas/onprem",
71+
"settlemint/bpaas/serivces",
72+
"settlemint/bpaas/saas"
73+
]
74+
},
75+
{
76+
"matchPackagePatterns": ["hyperledger/fabric"],
77+
"groupName": "hyperledger/fabric"
78+
}
79+
],
80+
"hostRules": [
81+
{
82+
"timeout": 3000000
83+
},
84+
{
85+
"hostType": "docker",
86+
"domainName": "ghcr.io",
87+
"username": "roderik",
88+
"password": "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"
89+
},
90+
{
91+
"hostType": "docker",
92+
"domainName": "docker.io",
93+
"username": "roderik",
94+
"password": "dckr_pat_9ALhAALMPtGlj1yuv5q7mfQitzE"
95+
}
96+
]
97+
}

.github/workflows/branch.yml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
name: Branch
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
tags:
11+
- "v*"
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions:
18+
actions: write
19+
checks: write
20+
contents: write
21+
deployments: write
22+
id-token: write
23+
issues: write
24+
discussions: write
25+
packages: write
26+
pages: write
27+
pull-requests: write
28+
repository-projects: write
29+
security-events: write
30+
statuses: write
31+
32+
env:
33+
NODE_NO_WARNINGS: "1"
34+
TURBO_TELEMETRY_DISABLED: "1"
35+
36+
jobs:
37+
build:
38+
name: Build
39+
runs-on: namespace-profile-btp-docs
40+
steps:
41+
- name: Checkout
42+
uses: namespacelabs/nscloud-checkout-action@v2
43+
with:
44+
fetch-depth: 2
45+
46+
- name: Install Node.js
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: 21
50+
token: ${{ secrets.GITHUB_TOKEN }}
51+
52+
- uses: pnpm/action-setup@v2
53+
name: Install pnpm
54+
with:
55+
version: latest
56+
run_install: false
57+
58+
- name: Get pnpm store directory
59+
shell: bash
60+
run: |
61+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
62+
63+
- name: Setup caches
64+
uses: namespacelabs/nscloud-cache-action@v1
65+
with:
66+
path: |
67+
.docusaurus
68+
${{ env.STORE_PATH }}
69+
~/.cache
70+
node_modules
71+
**/node_modules
72+
73+
- name: Login to GitHub Container Registry
74+
uses: docker/login-action@v3
75+
with:
76+
registry: ghcr.io
77+
username: ${{ github.repository_owner }}
78+
password: ${{ secrets.GITHUB_TOKEN }}
79+
80+
- name: Login to DockerHub
81+
uses: docker/login-action@v3
82+
with:
83+
username: ${{ secrets.DOCKERHUB_USER }}
84+
password: ${{ secrets.DOCKERHUB_PASS }}
85+
86+
- name: Install YQ
87+
uses: alexellis/arkade-get@master
88+
with:
89+
print-summary: false
90+
yq: latest
91+
92+
- name: Install dependencies
93+
run: |
94+
pnpm install --frozen-lockfile --prefer-offline
95+
96+
- name: Inject slug/short variables
97+
uses: rlespinasse/github-slug-action@v4
98+
99+
- name: Version
100+
id: version
101+
shell: bash
102+
run: |
103+
if [[ $GITHUB_REF_SLUG =~ ^v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
104+
VERSION=$GITHUB_REF_SLUG
105+
else
106+
VERSION="7.0.0-${GITHUB_REF_SLUG}.${{ github.run_id }}"
107+
fi
108+
echo "VERSION=$VERSION" >> $GITHUB_ENV
109+
110+
- name: Build
111+
run: |
112+
pnpm run build
113+
114+
- name: Build Docker container
115+
run: |
116+
pnpm run docker

.github/workflows/pr-labels.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: PR Labels
2+
3+
on:
4+
pull_request:
5+
types: [opened, closed]
6+
branches:
7+
- main
8+
9+
permissions:
10+
actions: write
11+
checks: write
12+
contents: write
13+
deployments: write
14+
id-token: write
15+
issues: write
16+
discussions: write
17+
packages: write
18+
pages: write
19+
pull-requests: write
20+
repository-projects: write
21+
security-events: write
22+
statuses: write
23+
24+
jobs:
25+
labels:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: fuxingloh/multi-labeler@v4

.github/workflows/pr-settings.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: PR Settings
2+
3+
on:
4+
pull_request:
5+
types: [ready_for_review]
6+
branches:
7+
- main
8+
9+
permissions:
10+
actions: write
11+
checks: write
12+
contents: write
13+
deployments: write
14+
id-token: write
15+
issues: write
16+
discussions: write
17+
packages: write
18+
pages: write
19+
pull-requests: write
20+
repository-projects: write
21+
security-events: write
22+
statuses: write
23+
24+
jobs:
25+
labels:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Send GitHub Action trigger data to Slack workflow with reviewers
29+
if: ${{ tojson(github.event.pull_request.requested_reviewers) != '[]' && !github.event.pull_request.draft }}
30+
uses: slackapi/slack-github-action@v1.25.0
31+
env:
32+
SLACK_WEBHOOK_URL: ${{ secrets.PR_SLACK_WEBHOOK_URL }}
33+
with:
34+
payload: |
35+
{
36+
"message": "${{ github.event.pull_request.title }} (by ${{ github.event.pull_request.user.login }} and to be checked by ${{ join(github.event.pull_request.requested_reviewers.*.login, ', ') }}) -> ${{ github.event.pull_request.html_url }}"
37+
}
38+
- name: Send GitHub Action trigger data to Slack workflow without reviewers
39+
if: ${{ !github.event.pull_request.draft }}
40+
uses: slackapi/slack-github-action@v1.25.0
41+
env:
42+
SLACK_WEBHOOK_URL: ${{ secrets.PR_SLACK_WEBHOOK_URL }}
43+
with:
44+
payload: |
45+
{
46+
"message": "${{ github.event.pull_request.title }} (by ${{ github.event.pull_request.user.login }}) -> ${{ github.event.pull_request.html_url }}"
47+
}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

.vscode/extensions.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"recommendations": [
3+
"firsttris.vscode-jest-runner",
4+
"mikehanson.auto-barrel",
5+
"apollographql.vscode-apollo",
6+
"ms-azuretools.vscode-docker",
7+
"mikestead.dotenv",
8+
"editorconfig.editorconfig",
9+
"usernamehw.errorlens",
10+
"dbaeumer.vscode-eslint",
11+
"codezombiech.gitignore",
12+
"qezhu.gitlink",
13+
"nhoizey.gremlins",
14+
"tim-koehler.helm-intellisense",
15+
"yoavbls.pretty-ts-errors",
16+
"stivo.tailwind-fold",
17+
"statelyai.stately-vscode",
18+
"dksedgwick.xstviz",
19+
"esbenp.prettier-vscode",
20+
"dracula-theme.theme-dracula",
21+
"miguelsolorio.fluent-icons",
22+
"github.vscode-github-actions",
23+
"github.codespaces",
24+
"github.vscode-pull-request-github",
25+
"quicktype.quicktype",
26+
"ms-vscode-remote.remote-ssh-edit",
27+
"juanblanco.solidity",
28+
"ashinzekene.nestjs",
29+
"vscode-icons-team.vscode-icons",
30+
"redhat.vscode-yaml",
31+
"stringham.copy-with-imports",
32+
"adpyke.codesnap",
33+
"tilt-dev.tiltfile",
34+
"shardulm94.trailing-spaces",
35+
"rangav.vscode-thunder-client",
36+
"bradlc.vscode-tailwindcss",
37+
"mattpocock.ts-error-translator"
38+
]
39+
}

0 commit comments

Comments
 (0)