Skip to content
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

sst: Create a configPrefix global option for the dev command #3452

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikeki
Copy link

@mikeki mikeki commented Oct 27, 2023

I'm working on a monorepo that will define different configs in the same directory, and I noticed that we only allow 1 config.

This change will provide the option of specifying a prefix to the config file:
e.g.

sst dev --configPrefix web/

The previous command would look for the config at web/sst.config.ts instead of only ever having the option of sst.config.ts.

This way we can run the sst dev command from the root level and work on any sub-package

@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2023

⚠️ No Changeset found

Latest commit: 03c64f9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@jayair
Copy link
Contributor

jayair commented Oct 28, 2023

Hmm this is an interesting pattern. Can you open a help thread in Discord? I've got a couple of questions.

@mikeki
Copy link
Author

mikeki commented Oct 30, 2023

@jayair I don't have a discord account, let me create one in the next couple days so that we can discuss.

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.

None yet

2 participants