Skip to content

Conversation

@seveibar
Copy link
Contributor

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

}

if (importName.startsWith("@tsci/")) {
return importSnippet(importName, ctx, depth)

Choose a reason for hiding this comment

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

P1 Badge Tsconfig alias check now blocks built‑in snippets

The new path‑alias check runs before the @tsci/ snippet handling. If a project has a wildcard alias such as "@*": ["packages/*"] (common in monorepos to target all scoped packages), matchesTsconfigPathPattern will treat @tsci/... as an alias hit and the function now throws before reaching importSnippet. In previous behavior snippets were imported before the alias guard, so they worked even with broad aliases. This change will cause the evaluator to throw on any @tsci/* import whenever a broad alias exists, breaking snippet resolution for those projects.

Useful? React with 👍 / 👎.

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