Skip to content

Conversation

douglasduteil
Copy link
Contributor

@douglasduteil douglasduteil commented Jul 1, 2025


Summary

• Add data export to @gouvfr-lasuite/proconnect.core package
• Allow direct import of most-used-free-email-domains array for external tools
• Fix migration debt in hyyypertool project

Changes

New: src/data/index.ts - barrel export for all data arrays
Modified: package.json - add ./data export path with proper types
Enhanced: services/email/index.ts - export mostUsedFreeEmailDomains for convenience

Usage

External tools can now import the free email domains directly:

import { mostUsedFreeEmailDomains } from "@gouvfr-lasuite/proconnect.core/data";

Test plan

  • Package builds successfully with new exports
  • Data array is properly exported in dist
  • Changeset created for version management
  • Verify hyyypertool can import the data correctly

🤖 Generated with Claude Code

@douglasduteil douglasduteil force-pushed the douglasduteil/feat-core-export-data-folder-for-direct-free-email-domains-import branch 2 times, most recently from 1dcac36 to 2beda04 Compare July 1, 2025 16:48
Add data export to @gouvfr-lasuite/proconnect.core package to allow
direct import of most-used-free-email-domains array for external tools
like hyyypertool that need the raw data list.

Changes:
- Add src/data/index.ts barrel export for all data arrays
- Update package.json exports to include ./data path with proper types
- Enhanced README with comprehensive usage examples
- Detailed changeset documentation with French descriptions

Usage:
```typescript
import { mostUsedFreeEmailDomains } from "@gouvfr-lasuite/proconnect.core/data";
```

This resolves migration debt and centralizes free email domain management.
@douglasduteil douglasduteil force-pushed the douglasduteil/feat-core-export-data-folder-for-direct-free-email-domains-import branch from 2beda04 to 52007d7 Compare July 1, 2025 16:51
@douglasduteil douglasduteil merged commit 44b039f into master Jul 2, 2025
71 of 72 checks passed
@douglasduteil douglasduteil deleted the douglasduteil/feat-core-export-data-folder-for-direct-free-email-domains-import branch July 2, 2025 06:14
@github-actions github-actions bot mentioned this pull request Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant