Skip to content

🌿 Fern Regeneration -- October 16, 2025#1211

Closed
fern-api[bot] wants to merge 1 commit into
masterfrom
fern-bot/2025-10-16T07-12Z
Closed

🌿 Fern Regeneration -- October 16, 2025#1211
fern-api[bot] wants to merge 1 commit into
masterfrom
fern-bot/2025-10-16T07-12Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented Oct 16, 2025

This pull request introduces several significant changes focused on modernizing the codebase and improving maintainability. The most notable updates are the migration from Prettier to Biome for code formatting and linting, simplification of the package distribution setup, and updates to the management client to support new resources and improve type reusability. Additionally, there are improvements to import style consistency and error handling.

Tooling and Formatting Updates:

  • Migrated from Prettier to Biome for code formatting and linting by adding a biome.json configuration, updating scripts in package.json, removing .prettierrc.yml, and updating .npmignore accordingly. (biome.json, package.json, .prettierrc.yml, .npmignore)

Package Distribution and Build Simplification:

  • Simplified the package.json distribution fields by removing complex multi-format exports and the dist directory, now pointing main and types directly to top-level files. The files field is updated to only include necessary files. (package.json)
  • Updated dependencies: removed Prettier and added @biomejs/biome, and updated the msw version. (package.json)

Management Client Enhancements:

  • Refactored the ManagementClient to use shared BaseClientOptions and BaseRequestOptions types (moved to a new BaseClient.ts), increasing code reuse and maintainability. (src/management/Client.ts, src/management/BaseClient.ts)
  • Added support for the new userAttributeProfiles resource and removed the unused groups resource from the ManagementClient. (src/management/Client.ts)

Code Style and Import Consistency:

  • Standardized import paths by removing .js extensions in internal imports for better compatibility and consistency. (Multiple files)
    Error Handling Improvements:

  • Updated error classes to use type-only imports for core and consistent import style for errors, improving type safety and reducing bundle size. (Multiple files)

@fern-api fern-api Bot requested a review from a team as a code owner October 16, 2025 07:12
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.

1 participant