Skip to content

Commit

Permalink
feat: Added the update check that will check the package once a day a…
Browse files Browse the repository at this point in the history
…gainst the beta release, distTag can be changed later, then prints the latest (#763)

beta version to the user.

resolves #762
  • Loading branch information
JacobMGEvans authored Apr 8, 2022
1 parent 9d6be02 commit f72c943
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 21 deletions.
7 changes: 7 additions & 0 deletions .changeset/hungry-carrots-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

feat: Added the update check that will check the package once a day against the beta release, `distTag` can be changed later, then prints the latestbeta version to the user.

resolves #762
136 changes: 135 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"supports-color": "^9.2.1",
"tmp-promise": "^3.0.3",
"undici": "^4.15.1",
"update-check": "^1.5.4",
"ws": "^8.3.0",
"yargs": "^17.3.0"
},
Expand Down
Loading

1 comment on commit f72c943

@arisris
Copy link

@arisris arisris commented on f72c943 Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think update-check when not cached is verry slow bechause they are always download metadata on everry executing for example using "wrangler whoami"

Please sign in to comment.