refactor: Update .gitignore and enhance error handling in feature-loader

Changes:
- Removed specific compiled file patterns from .gitignore to simplify ignore rules.
- Modified error handling in feature-loader.ts to rethrow errors instead of keeping original paths, preventing potential broken references.
- Added ".js" extensions to import statements in types package for ESM compliance.

Benefits:
 Cleaner .gitignore for better maintainability
 Improved error handling logic in feature-loader
 Consistent import paths for ESM compatibility

All tests passing.
This commit is contained in:
Kacper
2025-12-21 01:23:39 +01:00
parent 3928539ade
commit 55c49516c8
4 changed files with 14 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
{
"name": "@automaker/types",
"version": "1.0.0",
"type": "module",
"description": "Shared type definitions for AutoMaker",
"main": "dist/index.js",
"types": "dist/index.d.ts",