diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17abceb..19a16a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: ".nvmrc" cache: npm - name: Install dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cb4949e..f419da6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: ".nvmrc" registry-url: https://registry.npmjs.org cache: npm diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24 diff --git a/AGENTS.md b/AGENTS.md index 6acc1f6..7e3807f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,6 +8,47 @@ The repo is currently in an early, docs-first stage. Use this file to keep imple - `seamless-auth-api` - `seamless-auth-server` +## Working Standards (fells-code baseline) + +These rules apply to every repository in the fells-code org. Repo-specific +guidance may extend them but must not contradict them. + +### Attribution + +- Commit and open PRs solely under the repository owner's identity. Never + commit under an agent or assistant identity. +- Never attribute work to an AI assistant: no `Co-Authored-By: Claude` (or any + assistant) trailers, no "Generated with" / "Created with Claude" notes, and no + assistant branding or emoji anywhere in commit messages, PR or issue titles + and descriptions, changesets, code comments, or docs. + +### Comments + +- Comment only when the code genuinely needs explaining: a non-obvious reason, a + gotcha, or an invariant. Never narrate what the code plainly does. + +### TODOs + +- Every `TODO`/`FIXME` must reference a ticket, e.g. `// TODO(#123): ...`. + Do not leave a bare TODO. If no ticket exists, create one first. + +### Commits & branches + +- Conventional Commits (`feat:`, `fix:`, `chore:`, `docs:`, `ci:`, `test:`). +- Descriptive branch names (`feat/...`, `fix/...`); never a `claude/` or other + tool-generated prefix. + +### Public-facing text + +- No em dashes in commit messages, code comments, PR or issue text, changesets, + or docs. Use a comma, parentheses, or a separate sentence. + +### Before declaring work done + +- Run the repo's checks (typecheck, lint, format, tests) and report real output. + Never claim a change works without running them. +- Match the surrounding code's style, naming, and comment density. + ## Purpose This repository is the public messaging package system for SeamlessAuth. diff --git a/package.json b/package.json index d3a082c..7505ab0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "packages/*" ], "engines": { - "node": ">=18" + "node": ">=24 <25" }, "scripts": { "build": "tsc -b",