Skip to content

Fix TSConfig Paths Registration Error on Node 23+ #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 18, 2025
Merged

Conversation

ncalteen
Copy link
Collaborator

This pull request introduces several updates to improve project configuration, enhance developer guidelines, and refactor code for better modularity and maintainability. Key changes include the addition of a CodeQL configuration file, comprehensive Copilot usage instructions, new VS Code settings for Copilot, and the refactoring of module imports in src/bootstrap.ts.

Closes #207

@ncalteen ncalteen self-assigned this Jul 18, 2025
@Copilot Copilot AI review requested due to automatic review settings July 18, 2025 17:00
Copy link

Semantic Version Check Passed ✅

Version in manifest file package.json is valid.

This comment will be automatically updated as changes are pushed to this PR branch.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes TSConfig paths registration errors on Node 23+ by refactoring the bootstrap module to use dynamic imports instead of require statements, along with project configuration improvements and developer tooling enhancements.

  • Refactored src/bootstrap.ts to use ES modules with dynamic imports for Node 23+ compatibility
  • Added comprehensive project documentation and VS Code configuration for Copilot
  • Updated package version and enhanced CodeQL analysis configuration

Reviewed Changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/bootstrap.ts Refactored from require() to dynamic imports for ES module compatibility
src/commands/run.ts Added quiet option to dotenv config
package.json Version bump to 5.1.0
.vscode/settings.json Added Copilot configuration for code review and commit messages
.vscode/mcp.json Added MCP server configuration
.github/copilot-instructions.md Added comprehensive developer guidelines
.github/codeql/codeql-config.yml Added CodeQL configuration with path exclusions
.github/workflows/codeql-analysis.yml Updated to use custom CodeQL config file

Copy link

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.13s
✅ JAVASCRIPT prettier 19 0 0 4.29s
✅ JSON npm-package-json-lint yes no no 0.82s
✅ JSON prettier 31 0 0 1.39s
✅ MARKDOWN markdownlint 10 0 0 1.25s
✅ REPOSITORY checkov yes no no 23.06s
✅ REPOSITORY gitleaks yes no no 1.49s
✅ REPOSITORY git_diff yes no no 0.02s
✅ REPOSITORY grype yes no no 45.0s
✅ REPOSITORY secretlint yes no no 1.08s
✅ REPOSITORY syft yes no no 7.2s
✅ REPOSITORY trivy yes no no 13.45s
✅ REPOSITORY trivy-sbom yes no no 5.19s
✅ REPOSITORY trufflehog yes no no 30.0s
✅ TYPESCRIPT prettier 97 0 0 4.77s
✅ YAML prettier 25 0 0 1.18s
✅ YAML yamllint 25 0 0 0.53s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@ncalteen ncalteen merged commit 2d38e69 into main Jul 18, 2025
14 checks passed
@ncalteen ncalteen deleted the ncalteen/bootstrap branch July 18, 2025 17:03
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.

TSConfig Paths Registration - Type Stripping Error in Node 23+
1 participant