Skip to content

Search swagger-typescript-api.config instead of config by default #1200

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 1 commit into from
May 3, 2025

Conversation

smorimoto
Copy link
Collaborator

Closes #1181

Signed-off-by: Sora Morimoto <[email protected]>
@smorimoto smorimoto added the bug Something isn't working label May 3, 2025
Copy link

changeset-bot bot commented May 3, 2025

🦋 Changeset detected

Latest commit: 034d0ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
swagger-typescript-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@smorimoto smorimoto requested a review from Copilot May 3, 2025 05:08
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 PR updates the default configuration search behavior to use "swagger-typescript-api.config" rather than a generic "config" file.

  • Added a "name" property in the config loader to target the specific config file.
  • Updated changeset documentation accordingly.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
index.ts Added a "name" property to guide default config lookup.
.changeset/spicy-cougars-travel.md Updated changeset to document the behavior change.

@smorimoto smorimoto merged commit 3cc0194 into main May 3, 2025
5 checks passed
@smorimoto smorimoto deleted the do-not-search-config branch May 3, 2025 05:09
@github-actions github-actions bot mentioned this pull request May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR Cannot find module 'config'
1 participant