This PR migrates the package manager from `npm` to `pnpm`. ### Changes: - Replaced `package-lock.json` with `pnpm-lock.yaml` and `pnpm-workspace.yaml`. - Updated `.gitea/workflows/test.yaml` to include `pnpm/action-setup@v4` and use `pnpm install` / `pnpm test`. - Updated `renovate.json` to match `pnpm` manager and execute `pnpm install --frozen-lockfile` and `pnpm run build`. - Updated `.pre-commit-config.yaml` to exclude `pnpm-lock.yaml` from `pretty-format-yaml`. - Updated documentation in `README.md` and `GEMINI.md`. - Rebuilt `dist/index.js`.Reviewed-on: #110
25 lines
478 B
JSON
25 lines
478 B
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"local>server/Renovate-Template:renovate.json",
|
|
"config:recommended",
|
|
":automergeLinters"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchManagers": [
|
|
"pnpm"
|
|
],
|
|
"postUpgradeTasks": {
|
|
"commands": [
|
|
"pnpm install --frozen-lockfile",
|
|
"pnpm run build"
|
|
],
|
|
"fileFilters": [
|
|
"dist/index.js"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|