105 lines
2.2 KiB
YAML
105 lines
2.2 KiB
YAML
apiVersion: devrunbook.io/v1alpha1
|
|
kind: RepositoryProfile
|
|
metadata:
|
|
name: Example TypeScript Service
|
|
revision: 1
|
|
source: manual
|
|
contentDigest: 041e20f67e299665e85e5f14800a4bbcfa5e6c42ccdd7b22d29206e2c3f6727e
|
|
spec:
|
|
repositoryType: single-app
|
|
defaultBranch: main
|
|
stack:
|
|
languages:
|
|
- TypeScript
|
|
frameworks:
|
|
- Next.js
|
|
packageManagers:
|
|
- pnpm
|
|
databases:
|
|
- PostgreSQL
|
|
deploymentTypes:
|
|
- Docker Compose
|
|
testFrameworks:
|
|
- Vitest
|
|
- Playwright
|
|
commands:
|
|
- id: install
|
|
role: install
|
|
command: pnpm install --frozen-lockfile
|
|
workingDirectory: .
|
|
platform: any
|
|
shell: auto
|
|
source: manual
|
|
confirmed: true
|
|
safeForAgentSuggestion: true
|
|
timeoutSeconds: 900
|
|
- id: lint
|
|
role: lint
|
|
command: pnpm lint
|
|
workingDirectory: .
|
|
platform: any
|
|
shell: auto
|
|
source: manual
|
|
confirmed: true
|
|
safeForAgentSuggestion: true
|
|
timeoutSeconds: 600
|
|
- id: typecheck
|
|
role: typecheck
|
|
command: pnpm typecheck
|
|
workingDirectory: .
|
|
platform: any
|
|
shell: auto
|
|
source: manual
|
|
confirmed: true
|
|
safeForAgentSuggestion: true
|
|
timeoutSeconds: 600
|
|
- id: unit-test
|
|
role: unit-test
|
|
command: pnpm test
|
|
workingDirectory: .
|
|
platform: any
|
|
shell: auto
|
|
source: manual
|
|
confirmed: true
|
|
safeForAgentSuggestion: true
|
|
timeoutSeconds: 900
|
|
- id: build
|
|
role: build
|
|
command: pnpm build
|
|
workingDirectory: .
|
|
platform: any
|
|
shell: auto
|
|
source: manual
|
|
confirmed: true
|
|
safeForAgentSuggestion: true
|
|
timeoutSeconds: 1200
|
|
paths:
|
|
applicationRoots:
|
|
- apps/web
|
|
- packages
|
|
testRoots:
|
|
- tests
|
|
- apps/web/tests
|
|
documentationRoots:
|
|
- docs
|
|
generated:
|
|
- .next
|
|
- coverage
|
|
- dist
|
|
protected:
|
|
- data
|
|
- backups
|
|
- .env
|
|
excluded:
|
|
- node_modules
|
|
- .git
|
|
policies:
|
|
preserveBackwardCompatibility: true
|
|
newDependencies: justify
|
|
gitWrite: none
|
|
migrations: reversible-only
|
|
documentationRequired: true
|
|
networkAccess: read-only-approved-hosts
|
|
productionDataAccess: forbidden
|
|
notes: Synthetic profile used only for schema, digest and composition fixtures.
|