question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promote unstable_dev() to dev()

See original GitHub issue

This issue will track the issues required to promote api/unstable_dev() to api/dev

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
caasscommented, Jul 6, 2022

I feel like there should be a more defined goal for the librarification of wrangler – like is the point to export just the commands e.g. wrangler.dev, wrangler.kv.put? or will we also include things like running an authentication flow or parsing a wrangler.toml, which are not “commands” that wrangler runs but are potentially useful to people using wrangler as a library? I guess this is a scope question.

Once that’s decided, I think it also makes sense to define how exactly the commands we export are going to be defined – i think it would be nice to have all the commands follow a certain spec, like for example “every command returns an EventEmitter the user can listen to” or “every command takes as parameters its CLI arguments in camelCase instead ofkebab-case”.

I feel fairly strongly that we shouldn’t promote dev until these sorts of things are sorted, since any standardization/changes to the public facing…library…API…? would be breaking, and therefore require a new major release?

0reactions
lmcarreirocommented, Oct 24, 2022

Thank you! Now my only dirty change into the cli.js is to expose the createTail. I’ll appreciate whenever you expose the unstable_tail API.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cumulative Layout Shift (CLS) - web.dev
A screencast illustrating how layout instability can negatively affect users. ... or left properties and use transform: translate() instead.
Read more >
17 Goals to Transform our World - the United Nations
Promote peaceful and inclusive societies for sustainable​ development, provide access to justice for all and build​ effective, accountable and inclusive ...
Read more >
ContentResolver | Android Developers
Since multiple concurrent syncs are now supported you should use getCurrentSyncs() to get the accurate list of current syncs. This method returns the...
Read more >
Pros and Cons of Node.js Web App Development | AltexSoft
Explore all node js advantages and disadvantages to see whether your project can benefit from this technology choice.
Read more >
Chapter 8: Emerging Adulthood – Lifespan Development
Five features make emerging adulthood distinctive: identity explorations, instability, self-focus, feeling in-between adolescence and adulthood, and a sense of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found