Closed gaboesquivel closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
bitlauncher | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Aug 25, 2024 4:40am |
smartsale-faucet | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Aug 25, 2024 4:40am |
This pull request focuses on fixing build issues and making minor adjustments to improve code organization and imports. The changes include updating import statements, adjusting file paths, and making small code refactors to enhance readability and maintainability.
Change | Details | Files |
---|---|---|
Refactored import statements and adjusted type imports |
|
apps/indexer/src/routes/alchemy.ts |
Simplified error handling in alchemyWebhook function |
|
apps/indexer/src/routes/alchemy.ts |
Improved code formatting and readability |
|
apps/indexer/src/routes/alchemy.ts apps/webapp/app/actions/save-deposit.ts |
Updated configuration file paths |
|
packages/tsconfig/vite.json packages/utils/tsconfig.json |
The changes encompass a restructuring of the project to support a monorepo architecture, involving modifications to Dockerfiles, package management, and TypeScript configurations. Key changes include renaming dependencies, altering import paths, and refining function structures to enhance code clarity and maintainability. The updates signify a shift toward centralized management of shared packages and improvements in the installation processes across various application components.
File Path | Change Summary |
---|---|
apps/indexer/Dockerfile | Restructured package copying from apps to packages , split global dependency installation into separate commands. |
apps/indexer/package.json | Renamed TypeScript configuration dependency from @repo/typescript-config to @repo/tsconfig . |
apps/indexer/src/routes/alchemy.ts | Updated import paths to use centralized types, streamlined error handling in alchemyWebhook . |
apps/webapp/app/actions/save-deposit.ts | Minor formatting change for improved readability in saveDeposit function. |
packages/app-env/package.json | Renamed TypeScript configuration dependency from @repo/typescript-config to @repo/tsconfig . |
packages/contracts/package.json | Renamed TypeScript configuration dependency from @repo/typescript-config to @repo/tsconfig . |
packages/supabase/package.json | Renamed TypeScript configuration dependency from @repo/typescript-config to @repo/tsconfig . |
packages/tsconfig/package.json | Changed package name from @repo/typescript-config to @repo/tsconfig . |
packages/tsconfig/vite.json | Updated path for referenced TypeScript configuration file. |
packages/utils/package.json | Renamed TypeScript configuration dependency from @repo/typescript-config to @repo/tsconfig . |
packages/utils/tsconfig.json | Updated "extends" to a relative path for TypeScript configuration inheritance. |
sequenceDiagram
participant Client
participant AlchemyWebhook
participant Logger
Client->>AlchemyWebhook: Send event
AlchemyWebhook->>Logger: Log received event
AlchemyWebhook->>Client: Validate signature
alt Signature valid
AlchemyWebhook->>Client: Process event
else Signature invalid
AlchemyWebhook->>Client: Respond with unauthorized
end
π° Hopping through the code, oh what a sight,
Dependencies renamed, everything feels right!
Fromtypescript-config
totsconfig
we cheer,
A centralized path brings the packages near.
With clearer imports, our functions now shine,
In this code garden, all things align! πΌβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by Sourcery
Refactor import statements in alchemy.ts for better type management and correct paths in TypeScript configuration files to ensure proper build setup.
Enhancements:
Build:
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor
Chores