Skip to content

Commit 0913675

Browse files
authored
Added CLAUDE.md with stack-specific notes (#14)
1 parent a582070 commit 0913675

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Notes for Claude (and humans) — SchulyWebsite
2+
3+
Angular 20 marketing site for [schuly.dev](https://schuly.dev). **Bun is the package manager** (no npm, no `package-lock.json`).
4+
5+
## Run / build
6+
7+
```sh
8+
bun install
9+
bun start # ng serve on http://localhost:4200
10+
bun run build # production build → dist/SchulyWebsite/browser
11+
bun run watch # dev build with file watching
12+
```
13+
14+
Required bun version: `1.2.21+` (text `bun.lock` format isn't readable by 1.1.x). Pinned via `packageManager` in `package.json` and `cli.packageManager` in `angular.json`.
15+
16+
## Build output
17+
18+
Angular 20 uses `@angular/build:application` builder → output at `dist/SchulyWebsite/browser`. **Cloudflare Pages is configured for that path** — verify if you change `angular.json`.
19+
20+
## Deploy
21+
22+
Cloudflare Pages deploys `main` automatically via the GitHub integration (Cloudflare dashboard, not a workflow).
23+
24+
Cloudflare build settings:
25+
- Build command: `bun run build`
26+
- Output: `dist/SchulyWebsite/browser`
27+
- Env: `BUN_VERSION=1.2.21`
28+
29+
The `.github/workflows/build.yml` CI is independent — it only verifies the build passes on PRs so broken code is caught before Cloudflare attempts a preview deploy.
30+
31+
## Add a feature
32+
33+
Stack is plain Angular standalone components. Look in `src/app/`. SCSS, no Tailwind. FontAwesome via `@fortawesome/angular-fontawesome`.
34+
35+
## Release
36+
37+
Driven by `application.properties` like the other repos. `sync-version-on-release.yml` updates both `application.properties` **and** the top-level `version` in `package.json` when a release is published.

0 commit comments

Comments
 (0)