-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(create-cloudflare): telemetry collection (#6484)
Co-authored-by: Nevi Shah <76798024+nevikashah@users.noreply.github.com> Co-authored-by: lrapoport-cf <107272160+lrapoport-cf@users.noreply.github.com>
- Loading branch information
1 parent
ba4ac82
commit 5632968
Showing
38 changed files
with
2,279 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
"create-cloudflare": minor | ||
--- | ||
|
||
feat: telemetry collection | ||
|
||
Cloudflare will collect telemetry about your usage of `create-cloudflare` to improve the experience. | ||
|
||
If you would like to disable telemetry, you can run: | ||
|
||
```sh | ||
npm create cloudflare telemetry disable | ||
``` | ||
|
||
Alternatively, you can set an environment variable: | ||
|
||
```sh | ||
export CREATE_CLOUDFLARE_TELEMETRY_DISABLED=1 | ||
``` | ||
|
||
Read more about our data policy at https://github.com/cloudflare/workers-sdk/blob/main/packages/create-cloudflare/telemetry.md. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* Error thrown when an operation is cancelled | ||
*/ | ||
export class CancelError extends Error { | ||
constructor( | ||
message?: string, | ||
readonly signal?: NodeJS.Signals | ||
) { | ||
super(message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.