Process updated agent kit
All checks were successful
Build / build (push) Successful in 21s
Release Dry Run / release-dry-run (push) Successful in 16s
Codex Template Compliance / template-compliance (push) Successful in 5s
Scheduled Security Scan / security-scan (push) Successful in 9s
Scheduled Repository Cleanup Check / cleanup-check (push) Successful in 6s
Scheduled Dependency Check / dependency-check (push) Successful in 12s
All checks were successful
Build / build (push) Successful in 21s
Release Dry Run / release-dry-run (push) Successful in 16s
Codex Template Compliance / template-compliance (push) Successful in 5s
Scheduled Security Scan / security-scan (push) Successful in 9s
Scheduled Repository Cleanup Check / cleanup-check (push) Successful in 6s
Scheduled Dependency Check / dependency-check (push) Successful in 12s
This commit is contained in:
@@ -16,6 +16,8 @@ Remote:
|
|||||||
https://git.wilkensxl.de/Toxic/league-of-legends-gui-overhaul.git
|
https://git.wilkensxl.de/Toxic/league-of-legends-gui-overhaul.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Repository owner and name are derived from this project remote, not from the Agent Kit template repository.
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Use these commands as the source of truth:
|
Use these commands as the source of truth:
|
||||||
@@ -23,12 +25,15 @@ Use these commands as the source of truth:
|
|||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
npm run dev
|
npm run dev
|
||||||
|
npm run lint
|
||||||
npm run build
|
npm run build
|
||||||
npm test
|
npm test
|
||||||
|
npm run audit
|
||||||
|
npm run release:check
|
||||||
git diff --check
|
git diff --check
|
||||||
```
|
```
|
||||||
|
|
||||||
There is no separate lint script yet. `npm run build` runs `tsc --noEmit` before the Vite build. There is no audit or release-check script yet.
|
`npm run lint` runs `tsc --noEmit`. `npm run audit` checks production dependencies at high severity. `npm run release:check` runs lint, tests, and build.
|
||||||
|
|
||||||
Build and test verification should run on the Gitea runner with:
|
Build and test verification should run on the Gitea runner with:
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Audit production dependencies
|
||||||
|
run: npm run audit
|
||||||
|
|
||||||
|
- name: Lint and typecheck
|
||||||
|
run: npm run lint
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ League of Legends GUI Overhaul: React/Vite prototype for a modern, dark, MOBA-/f
|
|||||||
- Do not create a release unless explicitly requested.
|
- Do not create a release unless explicitly requested.
|
||||||
- Check repository state before editing and before finishing. Preserve unrelated user changes.
|
- Check repository state before editing and before finishing. Preserve unrelated user changes.
|
||||||
- Replace applicable placeholders in copied templates. Remove non-applicable placeholder sections instead of leaving fake values.
|
- Replace applicable placeholders in copied templates. Remove non-applicable placeholder sections instead of leaving fake values.
|
||||||
|
- Derive repository owner and name from this repository's remote or `GITHUB_REPOSITORY`. Never reuse owner/name values from the Agent Kit template repository.
|
||||||
- The current stack is Node, React, Vite, TypeScript, React Router, Vitest, Testing Library, and CSS custom properties.
|
- The current stack is Node, React, Vite, TypeScript, React Router, Vitest, Testing Library, and CSS custom properties.
|
||||||
- If `GITEA_TOKEN` is available locally, use it only for read-only Gitea API checks such as private repository metadata, package-read visibility, and Actions run status. Never print, commit, or store the token.
|
- If `GITEA_TOKEN` is available locally, use it only for read-only Gitea API checks such as private repository metadata, package-read visibility, and Actions run status. Never print, commit, or store the token.
|
||||||
- After pushing commits that trigger a Gitea workflow, poll the workflow run until it succeeds or a concrete blocker is known.
|
- After pushing commits that trigger a Gitea workflow, poll the workflow run until it succeeds or a concrete blocker is known.
|
||||||
@@ -26,12 +27,15 @@ Use these commands:
|
|||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
npm run dev
|
npm run dev
|
||||||
|
npm run lint
|
||||||
npm run build
|
npm run build
|
||||||
npm test
|
npm test
|
||||||
|
npm run audit
|
||||||
|
npm run release:check
|
||||||
git diff --check
|
git diff --check
|
||||||
```
|
```
|
||||||
|
|
||||||
There is no separate lint script yet. `npm run build` runs `tsc --noEmit` before the Vite build.
|
`npm run lint` runs `tsc --noEmit`. `npm run release:check` runs lint, tests, and build.
|
||||||
|
|
||||||
For build and test verification, prefer the Gitea runner workflow `.gitea/workflows/build.yml` over relying on this local machine. Local runs are useful for quick checks only when the required tools are already available.
|
For build and test verification, prefer the Gitea runner workflow `.gitea/workflows/build.yml` over relying on this local machine. Local runs are useful for quick checks only when the required tools are already available.
|
||||||
|
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -42,12 +42,24 @@ Build:
|
|||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Lint/typecheck:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
npm run lint
|
||||||
|
```
|
||||||
|
|
||||||
Run tests:
|
Run tests:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
npm test
|
npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Audit production dependencies:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
npm run audit
|
||||||
|
```
|
||||||
|
|
||||||
CI verification runs on the Gitea runner through `.gitea/workflows/build.yml`.
|
CI verification runs on the Gitea runner through `.gitea/workflows/build.yml`.
|
||||||
|
|
||||||
## Project Structure
|
## Project Structure
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ Codex Agent Repository Kit baseline applied. The project is a React/Vite/TypeScr
|
|||||||
- Project remote set to `https://git.wilkensxl.de/Toxic/league-of-legends-gui-overhaul.git`.
|
- Project remote set to `https://git.wilkensxl.de/Toxic/league-of-legends-gui-overhaul.git`.
|
||||||
- Documented current npm build and test commands.
|
- Documented current npm build and test commands.
|
||||||
- Added a Gitea runner build workflow for `npm ci`, `npm test`, `npm run build`, and `dist/` artifact upload.
|
- Added a Gitea runner build workflow for `npm ci`, `npm test`, `npm run build`, and `dist/` artifact upload.
|
||||||
|
- Added standard npm `lint`, `audit`, and `release:check` scripts from the Node kit profile.
|
||||||
|
- Processed Agent Kit update `c0262b9`, including the repository-owner derivation rule.
|
||||||
|
|
||||||
## Verification
|
## Verification
|
||||||
|
|
||||||
@@ -25,12 +27,10 @@ Codex Agent Repository Kit baseline applied. The project is a React/Vite/TypeScr
|
|||||||
|
|
||||||
## Open Questions
|
## Open Questions
|
||||||
|
|
||||||
- Separate lint, audit, and release-check scripts.
|
|
||||||
- Release packaging and download target.
|
- Release packaging and download target.
|
||||||
|
|
||||||
## Next Steps
|
## Next Steps
|
||||||
|
|
||||||
- Add separate lint, audit, and release-check scripts if needed.
|
|
||||||
- Watch the Gitea build workflow after pushes and fix runner-only failures in follow-up commits.
|
- Watch the Gitea build workflow after pushes and fix runner-only failures in follow-up commits.
|
||||||
- Update README, `AGENTS.md`, `.codex/project.md`, and release docs when implementation begins.
|
- Update README, `AGENTS.md`, `.codex/project.md`, and release docs when implementation begins.
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,12 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
"lint": "tsc --noEmit",
|
||||||
"build": "tsc --noEmit && vite build",
|
"build": "tsc --noEmit && vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test": "vitest run"
|
"test": "vitest run",
|
||||||
|
"audit": "npm audit --omit=dev --audit-level=high",
|
||||||
|
"release:check": "npm run lint && npm test && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user