Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
legacy/
dist/
.astro/
.browser/
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"tailwindCSS.classFunctions": ["cn", "cva"],
"search.exclude": {
"legacy/**": true,
"dist/**": true,
"pnpm-lock.yaml": true
},
Expand Down
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Node (`node tools/checks/verify-meta.ts`); every one has a `package.json` script
- `src/data/site.ts` — org facts, external URLs, calendar and analytics IDs. No hardcoded constants.
- `functions/` — Cloudflare Pages Functions (form submit, calendar proxy). Own tsconfig.
- `tools/` — repo checks, asset pipelines, and CI helpers. Own tsconfig.
- `legacy/` — the old Next.js site. **Reference only; never import from it.**

## Rules

Expand Down
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
# scstem.org

The website of the South Central STEM Collective. Astro, deployed by Cloudflare Pages.
The website of the South Central STEM Collective (SC2), a 501(c)(3) running FIRST robotics and
hands-on STEM programs in Franklin County, PA. Astro, static, no client-side framework, deployed
by Cloudflare Pages.

```sh
mise install # pinned node + pnpm
pnpm install
pnpm dev # http://localhost:4321
pnpm check # everything CI checks, minus the build
pnpm build # static build to dist/
```

| Read | For |
| ------------------- | ----------------------------------------------------------- |
| `AGENTS.md` | Architecture, rules, and commands, on one screen |
| `DESIGN.md` | The design system; when code and the doc disagree, doc wins |
| `docs/content.md` | Editing content: sponsors, events, FAQ, robots, team photos |
| `docs/tooling.md` | Toolchain, CI, performance budgets, environment variables |
| `docs/analytics.md` | GA4 and Cloudflare Web Analytics, and the event taxonomy |
| `docs/adr/` | Decisions and the reasoning behind them |

Cloudflare Pages builds from git: `main` is scstem.org, `staging` is staging.scstem.org, and every
other branch gets a noindexed preview URL. Changes land on `staging` first and merge to `main` once
verified there. The contact form and the calendar proxy are Pages Functions in `functions/`.
5 changes: 0 additions & 5 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import antiSlop from "./tools/lint/anti-slop/index.ts";

export default defineConfig(
globalIgnores([
"legacy/",
"dist/",
".astro/",
"public/",
Expand Down Expand Up @@ -50,10 +49,6 @@ export default defineConfig(
{ name: "clsx", message: "Use `cn` from `@/lib/cn` (AGENTS.md)." },
{ name: "tailwind-merge", message: "Use `cn` from `@/lib/cn` (AGENTS.md)." },
],
// `**`, not `*`: a single star matches one path segment and lets deep imports through.
patterns: [
{ group: ["legacy/**", "**/legacy/**"], message: "legacy/ is reference only." },
],
},
],
"perfectionist/sort-imports": "error",
Expand Down
2 changes: 1 addition & 1 deletion knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
// serve.ts shells out to the system openssl for its certificate; it is not an npm binary.
"ignoreBinaries": ["openssl"],
// tools/lint/anti-slop/shared is vendored upstream source (see its VENDOR.md).
"ignore": ["legacy/**", "tools/lint/anti-slop/shared/**"],
"ignore": ["tools/lint/anti-slop/shared/**"],
}
2 changes: 0 additions & 2 deletions legacy/.env.development

This file was deleted.

1 change: 0 additions & 1 deletion legacy/.env.production

This file was deleted.

1 change: 0 additions & 1 deletion legacy/.nvmrc

This file was deleted.

9 changes: 0 additions & 9 deletions legacy/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions legacy/biome.json

This file was deleted.

17 changes: 0 additions & 17 deletions legacy/components.json

This file was deleted.

7 changes: 0 additions & 7 deletions legacy/data/config.ts

This file was deleted.

109 changes: 0 additions & 109 deletions legacy/data/sponsors.ts

This file was deleted.

20 changes: 0 additions & 20 deletions legacy/next.config.ts

This file was deleted.

Loading
Loading