Ahmed Bouhuolia b6970fefc2 refactor: convert containers default exports to named exports
## Summary
Converted 905 default exports in src/containers to named exports for improved tree-shaking, better IDE refactoring support, and consistency with modern TypeScript practices.

## Changes
- Converted `export default function X` to `export function X` (916 files)
- Converted `export default compose(...)(X)` to `export const X = compose(...)(XInner)` with HOC wrapping
- Updated 373 import sites from default to named imports
- Fixed 136 React.lazy() imports to use .then() pattern for compatibility with named exports
- Updated re-export patterns in index files
- Fixed edge cases (alert arrays, connector HOCs, type definitions)

## Implementation
- Created codemod script: codemod-containers-exports.js (905 files converted)
- Created import updater: codemod-update-default-imports.js (373 imports fixed)
- Created lazy import fixer: codemod-fix-lazy-imports.js (136 lazy imports fixed)
- Manual fixes for 30 edge-case files (arrays, HOC factories, type definitions)

## Testing
- TypeScript type check: 0 codemod-related errors
- All lazy imports updated with .then() pattern
- All import sites updated to use named imports
- Zero remaining default exports in containers directory

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 20:08:39 +02:00
wip
2026-04-04 00:35:56 +02:00
2025-10-18 21:38:21 +02:00
2023-02-07 19:28:38 +02:00
wip
2026-01-15 22:04:51 +02:00
2026-01-28 23:40:32 +02:00
wip
2026-04-04 00:35:56 +02:00
2023-11-05 02:58:48 +02:00
2024-12-09 12:23:46 +02:00
2026-01-09 23:38:52 +02:00
2024-10-06 17:20:28 +02:00
wip
2026-03-27 16:11:33 +02:00
wip
2026-05-30 21:43:13 +02:00
wip
2026-05-17 20:38:56 +02:00
2026-01-31 15:31:17 +02:00

Bigcapital

Simple, smart online accounting software for small and medium businesses.

twitter

Bigcapital Cloud

What's Bigcapital?

Bigcapital is a smart and open-source accounting and inventory software, Bigcapital keeps all business finances in right place and automates accounting processes to give the business powerful and intelligent financial statements and reports to help in making decisions.

Getting Started

We've got serveral options on dev and prod depending on your need to get started quickly with Bigcapital.

Self-hosted

Bigcapital is available open-source under AGPL license. You can host it on your own servers using Docker.

Docker

To get started with self-hosted with Docker and Docker Compose, take a look at the Docker guide.

Development

Local Setup

To get started locally, we have a guide to help you.

Gitpod

  • Click the Gitpod button below to open this project in development mode.
  • This will open and configure the workspace in your browser with all the necessary dependencies.

Open in Gitpod

Headless Accounting

You can integrate Bigcapital API with your system to organize your transactions in double-entry system to get the best financial reports.

Run in Postman

Resources

Changelog

Please see Releases for more information what has changed recently.

Contact us

Meet our sales team for any commercial inquiries.

Book us with Cal.com

Recognition

Featured on Hacker News

Contributors

Thanks goes to these wonderful people (emoji key):

Ahmed Bouhuolia
Ahmed Bouhuolia

💻
Ameir Abdeldayem
Ameir Abdeldayem

🐛
ElforJani13
ElforJani13

💻
Lars Scheibling
Lars Scheibling

🐛
Suhaib Affan
Suhaib Affan

💻
Kalliopi Pliogka
Kalliopi Pliogka

🐛
Robert Koch
Robert Koch

💻
Casper Schuijt
Casper Schuijt

🐛
ANasouf
ANasouf

💻
Ragnar Laud
Ragnar Laud

🐛
Asena
Asena

🐛
Ben Snyder
Ben Snyder

💻
Vederis Leunardus
Vederis Leunardus

💻
Chris Cantrell
Chris Cantrell

🐛
Denis
Denis

🐛
Sachin Mittal
Sachin Mittal

🐛
Camilo Oviedo
Camilo Oviedo

💻
Mantey
Mantey

🐛
Daniel Lo Nigro
Daniel Lo Nigro

🐛 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Languages
TypeScript 97%
SCSS 1.9%
Shell 0.4%
JavaScript 0.3%
HTML 0.3%