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

init / generate / onboarding #7

Closed
Tracked by #12
threepointone opened this issue Nov 15, 2021 · 2 comments
Closed
Tracked by #12

init / generate / onboarding #7

threepointone opened this issue Nov 15, 2021 · 2 comments

Comments

@threepointone
Copy link
Contributor

This issue tracks the implementation of init, and the general onboarding process.

  • You can run wrangler init (or optionally wrangler init <name>, and it'll generate a wrangler.toml file where it's called with a name and compatibility_date.
  • We are considering expanding the types of configuration we accept: as ideas, it could be a .ts file (so you can typecheck your configuration), a .json file or included in package.json, and so on. (TODO: an issue just for configuration)
  • We are considering rethinking --generate and the overall onboarding process. We may build create-workers-app (inspired by create-react-app and other like it) to provide a better onboarding experience, but also so we can upgrade the experience without much configuration in the future.
@threepointone threepointone mentioned this issue Nov 16, 2021
27 tasks
@threepointone
Copy link
Contributor Author

  • For v2, we won't have any new types of config (ts, a field package.json, etc), probably in a minor release after that.
  • wrangler init now can generate a package.json/tsconfig

This issue should probably focus on create-workers-app. We should decide whether it's tied to the v2 release, and what shape it should take.

@threepointone
Copy link
Contributor Author

Marking this as closed, we can open a fresh issue for create-workers-app / onboarding in general

@jgentes jgentes moved this to Done in workers-sdk Jan 7, 2022
@petebacondarwin petebacondarwin added this to the Wrangler 2.0 milestone Feb 1, 2022
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

No branches or pull requests

2 participants