Skip to content

refactor: standardize entry points and project structure#289

Merged
Tony133 merged 1 commit into
mainfrom
refactor/standardize-entry-points
May 20, 2026
Merged

refactor: standardize entry points and project structure#289
Tony133 merged 1 commit into
mainfrom
refactor/standardize-entry-points

Conversation

@Tony133
Copy link
Copy Markdown
Member

@Tony133 Tony133 commented May 20, 2026

Proposal:

This PR renames plugin.js to index.js and types/plugin.d.ts to types/index.d.ts to follow Fastify ecosystem naming conventions, and updates all references accordingly.

Changes:

  • Rename plugin.jsindex.js
  • Rename types/plugin.d.tstypes/index.d.ts
  • Updated package.json: main and types fields
  • Updated all test imports to use the new entry point

See PR reference:

- Move main logic to root index.js
- Standardize types to types/index.d.ts
- Update internal test imports to match new structure
- Update package.json entry points
@Tony133 Tony133 marked this pull request as ready for review May 20, 2026 07:03
@Tony133 Tony133 requested a review from a team May 20, 2026 07:04
@Tony133 Tony133 merged commit 629292b into main May 20, 2026
17 checks passed
@Tony133 Tony133 deleted the refactor/standardize-entry-points branch May 20, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants