Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Allow wrangler to be run in subdirectories #989

Closed
EverlastingBugstopper opened this issue Jan 7, 2020 · 4 comments
Closed

Allow wrangler to be run in subdirectories #989

EverlastingBugstopper opened this issue Jan 7, 2020 · 4 comments
Labels
feature Feature requests and suggestions

Comments

@EverlastingBugstopper
Copy link
Contributor

We should walk up the directory structure looking for a wrangler.toml so that you can run wrangler commands in subdirectories.

This issue brought to you by a PR doing this in wasm-pack

@EverlastingBugstopper EverlastingBugstopper added feature Feature requests and suggestions priority - nice to have labels Jan 7, 2020
@ashleymichal
Copy link
Contributor

related: #860

@EverlastingBugstopper EverlastingBugstopper added this to the Avery's Wish List milestone Mar 11, 2020
@exvuma
Copy link
Contributor

exvuma commented Mar 11, 2020

How would we consider multiple wrangler.toml's in different subdirectories(sub/wrangler.toml and sub2/wrangler.toml )? What if you want multiple wrangler.toml (wrangler-api.toml ) files in one directory?

Both concerns would be addressed if we follow what webpack does and allow a flag to be passed in. To make convenient I put my wrangler commands in my package.json. In this case it'd look like

"scripts": {
  "deploy": "wrangler --config sub/wrangler.toml publish"
}

@stale
Copy link

stale bot commented Jun 18, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 18, 2020
@stale
Copy link

stale bot commented Jun 25, 2020

This issue has been automatically closed because it has not had recent activity. You may re-open the issue if it is still relevant.

@stale stale bot closed this as completed Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature requests and suggestions
Projects
None yet
Development

No branches or pull requests

3 participants