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

polish: add -y --yes flag to init #446

Closed
JacobMGEvans opened this issue Feb 11, 2022 · 0 comments · Fixed by #448
Closed

polish: add -y --yes flag to init #446

JacobMGEvans opened this issue Feb 11, 2022 · 0 comments · Fixed by #448
Assignees
Labels
polish Small improvements to the experience

Comments

@JacobMGEvans
Copy link
Contributor

To increase ergonomic for a rapid initialization of a Worker environment, yes flag can be provided that would
automatically provide this setup:

  • package.json
  • TypeScript, which includes tsconfig.json & @cloudflare/workers-types
  • Template "hello world" Worker at src/index.ts
@JacobMGEvans JacobMGEvans added the polish Small improvements to the experience label Feb 11, 2022
@JacobMGEvans JacobMGEvans self-assigned this Feb 11, 2022
mrbbot added a commit that referenced this issue Oct 31, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack`
header were only shown in a pretty-error page. This PR logs those
errors with source-maps applied to the console too, using the
`source-map-support` package. This simplifies our code, and also
means we don't need to touch internal Youch methods, as the errors
we pass to Youch are already source-mapped.
mrbbot added a commit that referenced this issue Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack`
header were only shown in a pretty-error page. This PR logs those
errors with source-maps applied to the console too, using the
`source-map-support` package. This simplifies our code, and also
means we don't need to touch internal Youch methods, as the errors
we pass to Youch are already source-mapped.
mrbbot added a commit that referenced this issue Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack`
header were only shown in a pretty-error page. This PR logs those
errors with source-maps applied to the console too, using the
`source-map-support` package. This simplifies our code, and also
means we don't need to touch internal Youch methods, as the errors
we pass to Youch are already source-mapped.
mrbbot added a commit that referenced this issue Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack`
header were only shown in a pretty-error page. This PR logs those
errors with source-maps applied to the console too, using the
`source-map-support` package. This simplifies our code, and also
means we don't need to touch internal Youch methods, as the errors
we pass to Youch are already source-mapped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish Small improvements to the experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant