Routine dependency hygiene: Dependabot coverage, action majors, pins, templates
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, javascript, lua, markdown, python, typescript, yaml
- 領域
- build-system, ci-cd, tooling
調査の方向性
Start by reading .github/dependabot.yml and then each workflow named in the issue (deploy-docs.yml around lines 24-43, validate.yml:240, update-natives.yml, update-docs-index.yml, stale.yml) to see which action versions are in use. For the docs pinning, add a docs/requirements.txt with mkdocs-material==9.8.* and point the install step at it; for templates, edit templates/nui-vite/web/package.json, templates/nui-svelte/web/package.json, templates/javascript/package.json and the six fxmanifest.lua files. Done means Dependabot lists pip/npm entries, npm run build passes in both NUI templates, and no manifest references an undeclared resource. CI checks live in .github/workflows/validate.yml; there is no local test suite.
索引モデルが issue の本文から書いたものです。
説明
Summary
Routine dependency hygiene items: Dependabot covers only GitHub Actions, two action majors are behind, the docs build installs an unpinned mkdocs-material, the NUI templates start new projects on older majors, the JS template uses "latest" typings, and six framework templates include oxmysql without declaring it.
Where
.github/dependabot.yml:1-6.github/workflows/deploy-docs.yml:24, 29, 43,.github/workflows/validate.yml:240,.github/workflows/update-natives.yml:18,.github/workflows/update-docs-index.yml:18,.github/workflows/stale.yml:17templates/nui-vite/web/package.json:17-19,templates/nui-svelte/web/package.json:15-16templates/javascript/package.json:7-8templates/{esx,qbcore,qbox,oxcore,rsg,vorp}/fxmanifest.lua:19
Details
- Dependabot coverage. Only
package-ecosystem: "github-actions"is configured. There is nopipentry for/mcp-serverand nonpmentries fortemplates/nui-vite/web,templates/nui-svelte/webortemplates/javascript. The nui-svelte peer conflict tracked in "nui-svelte fails npm install: vite-plugin-svelte 4 needs vite 5, pins vite 6" would likely have been surfaced. - Action majors.
actions/setup-python@v6(4 workflows) has av7major available;actions/stale@v10hasv11. If Dependabot PRs for these exist, check why they were not merged. - mkdocs-material unpinned.
deploy-docs.yml:29runspip install mkdocs-materialwith no version and builds withmkdocs build --strict, so any upstream release can break the deploy with no repo change. Its base packagemkdocshas had no release since 2024-08. - NUI templates behind. Both templates use
vite ^6.0.0,typescript ^5.7.0, and nui-vite@vitejs/plugin-react ^4.4.0, two majors behind current releases. This is staleness, not a known vulnerability. -
"latest"typings.@citizenfx/clientand@citizenfx/serverare"latest", so different users get different typings. - Undeclared oxmysql. Six framework manifests list
'@oxmysql/lib/MySQL.lua'inserver_scriptsbut declare only the framework dependency, and no template server file usesMySQL. On a server without oxmysql the resource fails to load, and start order is not guaranteed.
Impact
No automated alerts for Python or template dependency issues, a docs deploy that can break on any upstream release, and new resources that start on outdated tooling or carry an unused hard database dependency.
Suggested fix
- Add
pip(/mcp-server, weekly) and optionallynpmentries for each templateweb/directory withversioning-strategy: increase. - Bump
actions/setup-pythonto v7 andactions/staleto v11 (or SHA-pin them per "Pin workflow actions to commit SHAs and narrow release write scope"). - Pin docs dependencies (for example
mkdocs-material==9.8.*indocs/requirements.txt) and let Dependabot track them. - Migrate both NUI templates to current vite with matching plugin majors in one change, verifying
npm run build. - Replace
"latest"with a caret range on the current@citizenfx/*version. - Either remove the oxmysql include from the six templates or add
oxmysqlto their dependencies with a comment that it is only needed for DB access.
Acceptance criteria
- Dependabot covers pip (and optionally npm) manifests.
- Workflows use current action majors.
- The docs build installs pinned versions.
- Template package versions are explicit ranges and both NUI templates build.
- No template includes a resource file it does not declare as a dependency.
Getting started
- Relevant files:
.github/dependabot.yml,.github/workflows/*.yml,templates/*/package.json,templates/*/web/package.json,templates/*/fxmanifest.lua - How to run checks: there is no test suite yet; run the MCP server with
cd mcp-server && pip install -r requirements.txt && python server.py, and CI checks live in.github/workflows/validate.yml - Related docs: GitHub Dependabot configuration reference
Filed by repo-audit/full-audit at 701824d. Severity: low. Effort: S. audit-key: dependencies|.github/dependabot.yml|routine
- 主要言語
- Python
- スター
- 7
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/CFX-Developer-Tools のほかの issue
-
help wanted severity: low tech-debt
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
TMHSDigital/CFX-Developer-Tools#79 ·
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted severity: low
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
TMHSDigital/CFX-Developer-Tools#68 ·
メンテナーはふだん 1 日以内に返信
-
help wanted severity: low tech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
TMHSDigital/CFX-Developer-Tools#66 ·
メンテナーはふだん 1 日以内に返信
-
enhancement severity: medium
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
TMHSDigital/CFX-Developer-Tools#58 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement severity: medium
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
TMHSDigital/CFX-Developer-Tools#57 ·
メンテナーはふだん 1 日以内に返信
TMHSDigital/CFX-Developer-Tools の issue をすべて見る
似ている issue
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FAIRmat-NFDI/sand#239 ·
メンテナーはふだん 1 日以内に返信
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coco-research/coco#539 ·
メンテナーはふだん 1 日以内に返信
-
dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
JustBeanie/hass-volcano-hybrid#34 ·
メンテナーはふだん 1 日以内に返信