spfx-estate-doctor: Inventory an SPFx Estate Without Touching a Tenant
Описание и применение
Инструмент spfx-estate-doctor позволяет быстро и полностью офлайн‑инспектировать множество проектов SPFx, выявляя версии, отсутствующие данные о владельцах и дублирующиеся идентификаторы без доступа к SharePoint‑тенанту.
Задача
Organizations need a quick, offline way to inventory multiple SPFx projects to identify version usage, missing owners, duplicate IDs, and packaging issues without accessing a tenant.
Результат
The tool provides a byte‑identical, diff‑friendly inventory of local SPFx projects, revealing missing files, duplicate IDs, and version gaps without any network calls or tenant access.
Рабочий процесс
- 1. Install or run via npx:
npx spfx-estate-doctor scan <project_dirs> --json estate.json --md estate.md - 2. For many projects, create a newline‑delimited manifest file and run
npx spfx-estate-doctor scan --manifest projects.txt - 3. Review the generated JSON/Markdown for package identity, SPFx version, compatibility, manifest shapes, owner info, and duplicate IDs.
- 4. Use findings to update projects, add owners, or resolve duplicate IDs.
- 5. Re‑run the scan to verify changes.
Доказательства
Offline inventory of local project files only. This is not tenant validation, App Catalog state, deployment status, or a security audit.
The scanner makes no network calls, executes no project commands, reads no credentials, invokes no Microsoft 365 CLI, and writes no files inside inspected projects.
- Дата записи: 2026-09-07T15:14:29.290Z