Skip to content

feat: add source package builder#8

Merged
nkskaare merged 10 commits intomainfrom
feat-source-builder
Jan 27, 2026
Merged

feat: add source package builder#8
nkskaare merged 10 commits intomainfrom
feat-source-builder

Conversation

@nkskaare
Copy link
Copy Markdown
Contributor

Summary

This pull request introduces several improvements and refactorings across the codebase, focusing on Apex parsing accuracy, code cleanup, TypeScript configuration, and developer experience. The most significant changes include refining the Apex parser to improve classification, removing legacy Git identity handling, updating TypeScript and test configurations, and enhancing documentation for both users and contributors.

Apex Parsing and Analysis Improvements:

  • Refactored ApexParser to provide more accurate and consistent classification of Apex classes, interfaces, triggers, and enums. Now returns a fully populated ApexClassInfo object, initializes sensible defaults, and correctly handles the isTest property for all types. [1] [2] [3] [4] [5] [6] [7]
  • Updated ApexService to correctly filter and return class and test names using the improved parser output.
  • Adjusted ApexTypeAnalyzer and FHTAnalyzer to use the new SfpmMetadataPackage type and improved method signatures for better type safety and clarity. [1] [2] [3]

Git Handling and Cleanup:

  • Removed the unused GitIdentity class and all related code, simplifying Git operations and reducing unnecessary environment variable dependencies. [1] [2] [3] [4] [5] [6]
  • Improved logging in Git operations to use the correct logger methods and clarified error messages. [1] [2]
  • Fixed path handling for .gitignore to be cross-platform.

TypeScript and Testing Configuration:

  • Updated tsconfig.json to skip library checks and exclude node_modules and dist directories, improving build performance and reducing noise.
  • Removed unused Jest configuration and related dependencies in favor of Vitest, streamlining the testing setup. [1] [2]

Documentation and Developer Experience:

  • Replaced README-DEV.md with an expanded README.md that includes project introduction, features, installation, usage, configuration, and contribution guidelines. Also adds an SVG logo for branding. [1] [2]
  • Added a default Zsh terminal profile to the devcontainer settings for a better development environment. (.devcontainer/devcontainer.json)

Bug Fixes and Minor Improvements:

  • Fixed a bug in the Project command where package directories without a package property are now safely skipped.
  • Ensured that missing commitId properties do not cause errors when creating artifacts.

These changes collectively improve code quality, maintainability, and the overall developer experience.

@nkskaare nkskaare merged commit ed541b1 into main Jan 27, 2026
0 of 6 checks passed
@nkskaare nkskaare deleted the feat-source-builder branch January 27, 2026 19:14
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