DevJourney
What is it?
This repository is a collection of various pieces of code written in multiple languages. The code stored here is a mix of different projects, tests, and studies, each unrelated to the other.
Purpose
The purpose of this repository is to store and document the diverse range of code I have written as part of my learning journey. It serves as a personal reference and a showcase of my progress and exploration in various programming languages.
Tooling
Package manager
JavaScript projects use pnpm only. Each manifest declares
"packageManager": "pnpm@11.28.6", and only pnpm-lock.yaml files are tracked.
CI rejects package-lock.json, yarn.lock and bun.lock if they appear.
Formatting
prettier is pinned in the root package.json, so run pnpm install once at
the repository root to get the exact version CI uses. Styles are declared per
language:
| Language | Config |
|---|---|
| JS, TS, JSON, CSS, HTML, Markdown, YAML | .prettierrc.json, .prettierignore |
| C, C++ | .clang-format |
| Python | pyproject.toml ([tool.black]) |
| Java | google-java-format (fixed style) |
| Go | gofmt (fixed style) |
| Editors | .editorconfig |
./format formats staged files, ./format --check verifies them, and
./format --all formats every tracked file. CI runs ./format --all --check
over the whole tree, which is kept fully formatted.
Git hooks
Run ./setup-hooks once after cloning:
| Hook | Checks |
|---|---|
pre-commit | rejects build artifacts, compiled binaries, files over 10 MB and obvious credentials, then formats staged files |
commit-msg | enforces Conventional Commits (fix(scope): subject) |
pre-push | runs pnpm install --frozen-lockfile and the build script for every pnpm project touched by the push |
Bypass a hook with --no-verify only when necessary.
Continuous integration
| Workflow | Scope |
|---|---|
| Repository Guard | tracked artifacts, pnpm-only lockfiles, packageManager presence, oversized files |
| Format Check | formatting of the entire tree |
| Unit Tests | Vitest suites of the Vite React apps |
| JS Projects Install & Build Check | frozen install and build for every non-Docker JS project |
| Docker Image CI (learning-react, learning-qwik, html.nodejs) | image build per affected project |
| Dependency Review | blocks PRs that add high or critical severity dependencies |
main requires guard, format-check and dependency-review to pass before a
pull request can merge.
License
This project is licensed under the MIT License - see the LICENSE file for details.