From e3a9e9c3e46b58e43b18e4790b067d898d2a176d Mon Sep 17 00:00:00 2001 From: Netshlife <111433435+RikoxCode@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:13:45 +0200 Subject: [PATCH 1/3] docs(readme): add centered logo --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e01e034..ba5bda0 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ ![Overview](docs/assets/logo_text.png) Sesh is a mono-repo for managing PA/QV documentation. It includes setup for ESLint, Prettier, Husky hooks, branching rules, GitHub workflows (CI/CD), and issue/PR templates. This serves as the foundation for future implementations (React/Laravel) with Keycloak integration. + +# Hello world From feba2d1f009be20ab9adcf41d50ed8a4a750e121 Mon Sep 17 00:00:00 2001 From: Netshlife <111433435+RikoxCode@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:20:12 +0200 Subject: [PATCH 2/3] chore(format): apply prettier across repo --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 2 + .github/PULL_REQUEST_TEMPLATE.md | 4 ++ .prettierrc.cjs | 4 +- README.md | 1 + apps/backend/README.md | 2 +- apps/frontend/README.md | 2 +- docs/BRANCHING.md | 1 + eslint.config.cjs | 50 +++++++++++------------ 9 files changed, 38 insertions(+), 29 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0e53326..f996574 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -3,6 +3,7 @@ name: Bug report about: Report a defect labels: bug --- + **Description** **Steps to Reproduce** **Expected / Actual** diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 56b886c..9aa9a5a 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -3,7 +3,9 @@ name: Feature request about: Propose an enhancement labels: enhancement --- + **Goal** **Scope** **Acceptance Criteria** + - [ ] ... diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1a2cd33..7924245 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,11 @@ ## Purpose + ## Changes + - ... + ## Checks + - [ ] Lint ok - [ ] Prettier ok - [ ] Docs updated diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 2b6ca87..936a8e3 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,7 +1,7 @@ module.exports = { printWidth: 100, singleQuote: true, - trailingComma: "all", + trailingComma: 'all', semi: true, - arrowParens: "always", + arrowParens: 'always', }; diff --git a/README.md b/README.md index ba5bda0..c55f47d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Sesh + ![Overview](docs/assets/logo_text.png) Sesh is a mono-repo for managing PA/QV documentation. It includes setup for ESLint, Prettier, Husky hooks, branching rules, GitHub workflows (CI/CD), and issue/PR templates. This serves as the foundation for future implementations (React/Laravel) with Keycloak integration. diff --git a/apps/backend/README.md b/apps/backend/README.md index b224614..ce8a098 100644 --- a/apps/backend/README.md +++ b/apps/backend/README.md @@ -1 +1 @@ -Here will be the backend \ No newline at end of file +Here will be the backend diff --git a/apps/frontend/README.md b/apps/frontend/README.md index 6d4ab91..60ac336 100644 --- a/apps/frontend/README.md +++ b/apps/frontend/README.md @@ -1 +1 @@ -Here will be the frontend \ No newline at end of file +Here will be the frontend diff --git a/docs/BRANCHING.md b/docs/BRANCHING.md index 26e66b9..87ada43 100644 --- a/docs/BRANCHING.md +++ b/docs/BRANCHING.md @@ -1,4 +1,5 @@ # Branching Rules + - Protected: main (PR only, squash, CI must pass) - Names: feat/-, fix/-, chore/... docs/... ci/... - PR: 1 review, lint & format green, short scope & checklist diff --git a/eslint.config.cjs b/eslint.config.cjs index 7617d47..61af56f 100644 --- a/eslint.config.cjs +++ b/eslint.config.cjs @@ -1,20 +1,20 @@ -const js = require("@eslint/js"); -const tseslint = require("typescript-eslint"); -const pluginImport = require("eslint-plugin-import"); +const js = require('@eslint/js'); +const tseslint = require('typescript-eslint'); +const pluginImport = require('eslint-plugin-import'); module.exports = [ // Global ignores (auch Prettier-/ESLint-Configs) { ignores: [ - "node_modules", - "dist", - "coverage", - "**/.eslintrc.*", - "**/.prettierrc.*", - "**/*.config.*", - ".husky/**", - ".github/**", - "docs/**" + 'node_modules', + 'dist', + 'coverage', + '**/.eslintrc.*', + '**/.prettierrc.*', + '**/*.config.*', + '.husky/**', + '.github/**', + 'docs/**', ], }, @@ -23,26 +23,26 @@ module.exports = [ // Standard-Regeln für Code { - files: ["**/*.{js,cjs,mjs,ts,tsx}"], - languageOptions: { ecmaVersion: "latest", sourceType: "module" }, + files: ['**/*.{js,cjs,mjs,ts,tsx}'], + languageOptions: { ecmaVersion: 'latest', sourceType: 'module' }, plugins: { import: pluginImport }, rules: { - "import/order": ["warn", { "newlines-between": "always" }], - "no-console": "off", - "@typescript-eslint/no-require-imports": "off" - } + 'import/order': ['warn', { 'newlines-between': 'always' }], + 'no-console': 'off', + '@typescript-eslint/no-require-imports': 'off', + }, }, // Sonderfall: eigene Config-Dateien im CJS-Stil { - files: ["eslint.config.cjs", "*.config.cjs", "*.config.js"], + files: ['eslint.config.cjs', '*.config.cjs', '*.config.js'], languageOptions: { - ecmaVersion: "latest", - sourceType: "commonjs", - globals: { module: "writable", require: "writable" } + ecmaVersion: 'latest', + sourceType: 'commonjs', + globals: { module: 'writable', require: 'writable' }, }, rules: { - "@typescript-eslint/no-require-imports": "off" - } - } + '@typescript-eslint/no-require-imports': 'off', + }, + }, ]; From 915542b053647fc5eea39ffcd6308d78a8d354b8 Mon Sep 17 00:00:00 2001 From: Netshlife <111433435+RikoxCode@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:23:39 +0200 Subject: [PATCH 3/3] chore(format): apply prettier across repo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 779b395..ee13927 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,6 @@

Sesh is a mono-repo for managing PA/QV documentation. -It includes setup for **ESLint**, **Prettier**, **Husky hooks**, branching rules, GitHub workflows (CI/CD), and issue/PR templates. +It includes setup for **ESLint**, **Prettier**, **Husky hooks**, branching rules, GitHub workflows (CI/CD), and issue/PR templates. -This serves as the foundation for future implementations (React/Laravel) with Keycloak integration. \ No newline at end of file +This serves as the foundation for future implementations (React/Laravel) with Keycloak integration.