From cb1d8ff661aa000e0bcc4a643773e3499cf6a6c4 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Tue, 17 Feb 2026 17:03:53 -0500 Subject: [PATCH] SEV-17: Initial commit --- .gitignore | 2 ++ CLAUDE.md | 23 +++++++++++++++++++++++ package.json | 8 ++++++++ 3 files changed, 33 insertions(+) create mode 100644 .gitignore create mode 100644 CLAUDE.md create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2752eb9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +.DS_Store diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..a7c9b44 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,23 @@ +# SwitchEV — Shared + +## Jira Workflow +All work in this repo should reference the relevant Jira ticket (project: `SEV`). Mention the ticket key in commit messages and PR titles (e.g. `SEV-23: Build shared validation schemas`). Quick fixes with no ticket are fine — just proceed directly. + +**Relevant Epics (use as parent when creating new tickets):** +- **SEV-7** — Backend API & Database *(primary — shared Go packages, validation, types)* +- **SEV-6** — Authentication & User Management *(shared auth constants, role definitions)* + +**JQL shortcut:** `project = SEV AND parent in (SEV-7, SEV-6) ORDER BY status` + +Full TODO-to-Jira mapping: `/Users/bastian/src/switchev/TODO.md` + +## Project +SwitchEV is an EV conversion marketplace. This repo contains shared constants, validation schemas, and type definitions used across the api/ and frontend sites. + +## Purpose +- Shared constants (roles, statuses, tiers, specialties) +- Validation schemas (reusable between frontend and API) +- Type definitions + +## Usage +Keep this package minimal. Only add code here if it is genuinely shared between multiple repos. diff --git a/package.json b/package.json new file mode 100644 index 0000000..f834ce9 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "switchev-shared", + "version": "0.1.0", + "private": true, + "description": "Shared constants, validation schemas, and type definitions for SwitchEV", + "type": "module", + "main": "index.js" +}