Skip to content

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

Merged
smorimoto merged 1 commit intomainfrom
do-not-search-config
May 3, 2025
Merged

Search swagger-typescript-api.config instead of config by default#1200
smorimoto merged 1 commit intomainfrom
do-not-search-config

Conversation

@smorimoto
Copy link
Collaborator

Closes #1181

Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto added the bug Something isn't working label May 3, 2025
@changeset-bot
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 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'

2 participants