Commit 7d3b2c3
fix(openapi-resource-gen): delete orphaned tag index.ts barrels on stale cleanup
Tag barrel files (e.g. actions/index.ts) were not included in the stale-file
tracking set, so removing all endpoints for a tag left behind an empty barrel
with broken re-exports. The fix:
- Expand preExistingFiles filter to include /index.ts and /index.mock.ts files
- Register every written barrel path in writtenFiles so root and active-tag
barrels are protected; only barrels for tags no longer generated are deleted
Regenerates github-data-access to remove the 43 orphaned tag folders that
accumulated from a previous generation without --tagFilter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e5e4ac0 commit 7d3b2c3
47 files changed
Lines changed: 67 additions & 946 deletions
File tree
- libs/github-data-access/src
- actions
- activity
- agent-tasks
- agents
- apps
- billing
- campaigns
- checks
- classroom
- code-quality
- code-scanning
- code-security
- codes-of-conduct
- codespaces
- copilot-spaces
- copilot
- credentials
- dependabot
- dependency-graph
- emojis
- enterprise-team-memberships
- enterprise-team-organizations
- enterprise-teams
- gists
- gitignore
- git
- hosted-compute
- interactions
- issues
- licenses
- markdown
- meta
- migrations
- oidc
- orgs
- packages
- private-registries
- projects
- pulls
- rate-limit
- reactions
- search
- secret-scanning
- security-advisories
- teams
- tools/openapi-resource-gen/src/generators/api-resource
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments