Skip to content

Commit 89e1089

Browse files
committed
chore: init monorepo
0 parents  commit 89e1089

109 files changed

Lines changed: 20382 additions & 0 deletions

File tree

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
workflow_call:
7+
8+
jobs:
9+
ci:
10+
runs-on: windows-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.13"
16+
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v5
19+
20+
- name: Install dependencies
21+
run: uv sync --all-groups
22+
23+
- name: Lint (ruff)
24+
run: uv run ruff check packages/
25+
26+
- name: Format check (ruff)
27+
run: uv run ruff format --check packages/
28+
29+
- name: Type check (mypy)
30+
run: uv run mypy packages/core/src/steamlayer_core --ignore-missing-imports

.github/workflows/docs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Docs
2+
on:
3+
push:
4+
branches: [main]
5+
paths:
6+
- "packages/core/src/**"
7+
- "docs/**"
8+
9+
permissions:
10+
contents: write
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.13"
19+
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v5
22+
23+
- name: Install dependencies
24+
run: uv sync --all-groups
25+
26+
- name: Deploy docs
27+
run: uv run mkdocs gh-deploy --force

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish
2+
on:
3+
push:
4+
tags:
5+
- "core-v*"
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
environment: pypi
11+
needs: ci
12+
permissions:
13+
id-token: write
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.13"
20+
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v5
23+
24+
- name: Build
25+
run: uv build --package steamlayer-core
26+
27+
- name: Publish
28+
run: uv publish
29+
ci:
30+
uses: ./.github/workflows/ci.yml

.gitignore

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# ─── Python ───────────────────────────────────────────────────────────────────
2+
__pycache__/
3+
*.py[cod]
4+
*.pyo
5+
*.pyd
6+
*.pdb
7+
*.egg
8+
*.egg-info/
9+
dist/
10+
build/
11+
.eggs/
12+
.venv/
13+
venv/
14+
env/
15+
.env
16+
pip-wheel-metadata/
17+
.pytest_cache/
18+
.mypy_cache/
19+
.ruff_cache/
20+
.hypothesis/
21+
htmlcov/
22+
.coverage
23+
.coverage.*
24+
coverage.xml
25+
*.cover
26+
*.log
27+
celerybeat-schedule
28+
*.sage.py
29+
30+
# ─── uv ───────────────────────────────────────────────────────────────────────
31+
.python-version
32+
33+
# ─── Node ─────────────────────────────────────────────────────────────────────
34+
node_modules/
35+
npm-debug.log*
36+
yarn-debug.log*
37+
yarn-error.log*
38+
pnpm-debug.log*
39+
.pnp
40+
.pnp.js
41+
.yarn/
42+
43+
# ─── Electron / Vite ──────────────────────────────────────────────────────────
44+
packages/app/out/
45+
packages/app/dist/
46+
packages/app/.vite/
47+
48+
# ─── Build artifacts ──────────────────────────────────────────────────────────
49+
*.spec.js
50+
*.tsbuildinfo
51+
52+
# ─── OS ───────────────────────────────────────────────────────────────────────
53+
.DS_Store
54+
.DS_Store?
55+
._*
56+
.Spotlight-V100
57+
.Trashes
58+
Thumbs.db
59+
Desktop.ini
60+
$RECYCLE.BIN/
61+
62+
# ─── IDEs ─────────────────────────────────────────────────────────────────────
63+
.vscode/
64+
.idea/
65+
*.suo
66+
*.user
67+
*.userosscache
68+
*.sln.docstates
69+
*.swp
70+
*.swo
71+
*~
72+
73+
# ─── PyInstaller ──────────────────────────────────────────────────────────────
74+
*.spec
75+
packages/backend/dist/
76+
packages/backend/build/
77+
78+
# ─── Vendors ──────────────────────────────────────────────────────────────────
79+
vendors/
80+
81+
# ─── Docs ─────────────────────────────────────────────────────────────────────
82+
site/
83+
84+
# ─── Misc ─────────────────────────────────────────────────────────────────────
85+
*.bak
86+
*.tmp
87+
*.orig
88+
dump.rdb
89+
project_dump.txt

.pre-comit-config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- repo: https://github.com/astral-sh/ruff-pre-commit
2+
rev: v0.5.0
3+
hooks:
4+
- id: ruff
5+
files: ^packages/(core|backend)/
6+
- id: ruff-format
7+
files: ^packages/(core|backend)/
8+
9+
- repo: https://github.com/pre-commit/mirrors-mypy
10+
rev: v2.0.0
11+
hooks:
12+
- id: mypy
13+
files: ^packages/core/
14+
args: ["--explicit-package-bases", "--check-untyped-defs", "--ignore-missing-imports"]
15+
additional_dependencies:
16+
- types-requests

README.md

Whitespace-only changes.

docs/api/client.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Client
2+
3+
::: steamlayer_core.api

docs/api/events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Events
2+
3+
::: steamlayer_core.events

docs/api/exceptions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Excpetions
2+
3+
::: steamlayer_core.domain.exceptions

docs/api/models.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Models
2+
3+
::: steamlayer_core.domain.models

0 commit comments

Comments
 (0)