Skip to content

Commit

Permalink
basic setup (#2)
Browse files Browse the repository at this point in the history
* basic setup

fixe #0

* basic setup

fixe #0

* basic setup

fixe #0

* basic setup

fixe #0

* basic setup

fixe #0
  • Loading branch information
Idrinth authored May 13, 2024
1 parent afa8404 commit a77bc7d
Show file tree
Hide file tree
Showing 32 changed files with 3,733 additions and 32 deletions.
24 changes: 24 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-GB"
early_access: false
tone_instructions: "You are the Borg drone 'code of rabbit'. You must talk as a disconnected drone would. You must refer to yourself with full name. Always speak in character."
reviews:
request_changes_workflow: true
high_level_summary: false
poem: true
review_status: true
collapse_walkthrough: false
auto_review:
enabled: true
drafts: true
path_instructions:
- path: "**/*.ts"
instructions: "Review the code for conformity with the .eslintrc files in / and /*/."
- path: "**/*.js"
instructions: "Review the code for conformity with the .eslintrc files in / and /*/."
- path: "**/*.tsx"
instructions: "Review the code for conformity with the .eslintrc files in / and /*/."
- path: "**/*.svelte"
instructions: "Review the code for conformity with the .eslintrc files in / and /*/."
chat:
auto_reply: false
35 changes: 35 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"formatter": "@commitlint/format",
"rules": {
"scope-enum": [2, "always", [
"ci",
"cli",
"documentation-website",
"examples",
"framework",
"history-microservice",
"history-website",
"mindmap",
"tools",
"containers",
"desktop"
]],
"type-enum": [2, "always", [
"bug",
"feature",
"refactor",
"ci",
"build",
"documentation"
]],
"signed-off-by": [0, "never"],
"trailer-exists": [0, "never"],
"references-empty": [2, "never"]
},
"helpUrl": "https://idrinth-api-ben.ch/contributing/",
"parserPreset": {
"parserOpts": {
"referenceActions": [ "closes", "fixes", "resolves", "refs" ]
}
}
}
109 changes: 109 additions & 0 deletions .dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
2xx
APIs
Autowiring
Benchmarking
Björn
Büttner
CLI
Codacy
Destructuring
DockerHub
Dockerfiles
ENV
Fastify
vue
Gitea
Gitlab
HAR
Idrinth's
airtimeux.com
JSON
Javascript
Jira
LinkedIn
MSSQL
Matomo
Microservice
Middleware
Middlewares
Mindmap
NPMJS
Node.js
OpenApi
OpenSauced
PascalCase
Postgres
README
Reddit
Roadmap
SHA
Web-UI
XML
XRAY_CLIENT_ID
XRAY_CLIENT_SECRET
XRAY_ENDPOINT
XRAY_PASSWORD
XRAY_TEST_PLAN_KEY
XRAY_USER_NAME
XRay
aBc
api-bench
api-bench-cli
api-bench-gitea-action
api-bench-gitlab-runner
api-bench-history-microservice
api-bench-history-website
api-bench-runner
api-benchmark
autowire
autowired
benchmarking
bugfixes
bvanderlaan
camelCase
ci-images
coai
codecheck
csrf-header
data.yml
deprecations
dockerfiles
eslint
faq
gitea
gitlab
gitlab-runner
history-microservice
iab
idrinth
idrinth-api-bench
jeffbski
json
jungwild
macOS
markmap
matteofigus
microservice
microservices
middleware
middlewares
mindmap
mono-repo
npm
ns
package.json
pino
pre
programmatically
readme
rest-APIs
sexualised
src
subprojects
tracking.bjoern-buettner.me
UI
[email protected]
winston
www.contributor-covenant.org
www.youtube-nocookie.com
xml
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
7 changes: 7 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
env:
node: true
extends:
- "@idrinth-api-bench"
ignorePatterns:
- node_modules
root: true
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
- idrinth
ko_fi: idrinth
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/framework"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/documentation-website"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/history-website"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/history-microservice"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/mindmap"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/desktop"
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: npm
directory: "/desktop/public"
schedule:
interval: weekly
open-pull-requests-limit: 100
9 changes: 9 additions & 0 deletions .github/prace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 1
body:
patterns:
- '#\d+'
error: The body has to include an issue reference like `#0`
branch:
patterns:
- 'issue-\d{1,}-[a-z0-9-]+'
error: Branch must be called `issue-{id}-{short description}`
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# The Pull Request is ready

- [ ] fixes #<!-- YOUR ISSUE ID HERE -->
- [ ] all actions are passing
- [ ] only fixes a single issue

## Overview

<!-- Provide a brief description of the changes introduced by this
Pull Request. -->

## Review points

<!-- List the points to be reviewed in detail
and the points you are not confident about. -->
<!-- Delete this section if not needed -->

## Website Builder

- [ ] the change breaks no interface
- [ ] default behaviour did not change
- [ ] tests have been added (if required)
- [ ] documentation has been adjusted (if required)
- [ ] shared code has been extracted in a different file

## Notes

<!-- Write any note or comment. You can share your thoughts or ideas. -->
<!-- Delete this section if not needed -->
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- renovate
47 changes: 47 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CodeQL
on:
push:
branches:
- the-one
paths:
- '**.ts'
- '**.js'
- '**.cjs'
- 'package-lock.json'
- '.github/workflows/codeql.yml'
pull_request:
branches:
- the-one
paths:
- '**.ts'
- '**.js'
- '**.cjs'
- 'package-lock.json'
- '.github/workflows/codeql.yml'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
queries: security-and-quality
- name: Setup Node.js environment ${{ env.CURRENT_NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript-typescript"
22 changes: 22 additions & 0 deletions .github/workflows/commit-message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Commit Message Lint
on:
push:
branches:
- the-one
pull_request:
branches:
- the-one
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run commitlint-ci
18 changes: 18 additions & 0 deletions .github/workflows/editorconfiglint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Editor Config Lint
on:
push:
branches:
- the-one
pull_request:
branches:
- the-one
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go install github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker@latest
- run: ~/go/bin/editorconfig-checker
Loading

0 comments on commit a77bc7d

Please sign in to comment.