Skip to content

Commit

Permalink
adds todo
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 31, 2025
1 parent b51fc59 commit 01aafcd
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
54 changes: 54 additions & 0 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
Migration Plan: Bun to Rspack/Rsbuild with Fastify

1. Backend Package.json Updates:
- Remove dependencies:
* bun
* bun-types
* @elysiajs/cors
* @elysiajs/static
* @elysiajs/swagger
* elysia
* elysia-helmet

- Add dependencies:
* fastify
* @fastify/cors
* @fastify/static
* @fastify/swagger
* jest
* @types/jest
* ts-jest
* nodemon (for development)

2. Build Configuration:
- Create rspack.config.js for backend
- Configure TypeScript and ESM support
- Set up build output structure
- Configure proper source maps

3. Code Migration:
- Convert Elysia routes to Fastify routes
- Update CORS middleware
- Migrate static file handling
- Update swagger implementation
- Replace any bun-specific APIs with node equivalents

4. Test Suite Updates:
- Configure Jest in package.json
- Set up ts-jest
- Convert existing tests to Jest format
- Update test mocks
- Ensure test coverage reporting

5. Development Environment:
- Configure nodemon for hot reloading
- Update TypeScript settings
- Set up proper development scripts

6. Root Package.json Updates:
- Remove bun as package manager
- Update workspace scripts
- Update turbo configuration
- Ensure proper node version is specified

Note: Save all type errors and package installations until ready to address them.

0 comments on commit 01aafcd

Please sign in to comment.