Skip to content

fix: update create-atlas-app to use correct dependency versions - #16

Open
iacapuca wants to merge 3 commits into
mainfrom
fix/create-atlas-app-versions
Open

fix: update create-atlas-app to use correct dependency versions#16
iacapuca wants to merge 3 commits into
mainfrom
fix/create-atlas-app-versions

Conversation

@iacapuca

@iacapuca iacapuca commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR improves the create-atlas-app CLI tool to generate apps with consistent dependency versions and complete configuration files matching the rest of the monorepo.

Changes

Dependency Version Updates

  • Update hono from ^4.7.7 to ^4.10.2 to match other apps (traffic-deaths, cyclist-profile)
  • Add @atlas/typescript-config to devDependencies for proper TypeScript configuration

Generator Improvements

  • Add .gitignore generator for consistent file exclusions across all generated apps
  • Fix tsconfig.test.json to include:
    • rootDir configuration
    • noEmit flag
    • node type in addition to vitest/globals
    • exclude array for consistency

Why This Matters

The CLI tool was generating apps with:

  • Outdated dependency versions causing TypeScript type checking failures
  • Missing TypeScript configuration package
  • Incomplete configuration files
  • Inconsistency with existing apps in the monorepo

This fix ensures that new apps created with create-atlas-app will:

  • Have the same dependency versions as existing apps
  • Include all necessary configuration files
  • Pass TypeScript type checking without errors
  • Follow the established patterns in the monorepo

Testing

  • Verified the generated package.json matches traffic-deaths and cyclist-profile
  • Verified tsconfig.test.json matches the pattern used in existing apps
  • Verified .gitignore generator creates consistent file exclusions
  • Rebuilt create-atlas-app package successfully

- Update hono from ^4.7.7 to ^4.10.2 to match other apps
- Add @atlas/typescript-config to devDependencies
- Ensures all new apps created with the CLI have consistent versions
- Fixes TypeScript configuration issues in generated apps
- Add .gitignore generator for consistent file exclusions
- Fix tsconfig.test.json to include rootDir, noEmit, and node types
- Add exclude array to tsconfig.test.json for consistency
- Ensures generated apps have all necessary configuration files
- Matches the pattern used in existing apps (traffic-deaths, cyclist-profile)
- Remove trailing newline in gitignore.ts
- Sort imports alphabetically in index.ts
- All 162 files now pass biome CI checks
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.

1 participant