Skip to content

refactor: standardize imports/exports with barrel pattern (Closes #324) - #326

Merged
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Carlys17:refactor/barrel-exports
Jul 29, 2026
Merged

refactor: standardize imports/exports with barrel pattern (Closes #324)#326
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Carlys17:refactor/barrel-exports

Conversation

@Carlys17

Copy link
Copy Markdown
Contributor

Summary

Standardize import/export patterns across the SDK using barrel files.

  • Created src/ARCHITECTURE.md documenting barrel-export convention
  • Added barrel files: errors/index.ts, contracts/index.ts, types/index.ts, utils/index.ts
  • Updated all internal imports to use barrel paths (e.g., '../errors' instead of '../errors/axionveraError')
  • Normalized src/estimation/index.ts to use explicit named exports
  • Added src/imports.test.ts verification test

Changes

  • 65 files changed, +210/-119 lines

Closes #324

@El-swaggerito
El-swaggerito merged commit e11955a into Axionvera:main Jul 29, 2026
1 check passed
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.

Standardise Axionvera SDK imports and exports

2 participants