create-better-t-stack 2.25.5 → 2.25.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,10 +82,10 @@ You can disable telemetry by setting the `BTS_TELEMETRY` environment variable:
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# Disable telemetry for a single run
|
|
85
|
-
|
|
85
|
+
BTS_TELEMETRY_DISABLED=1 npx create-better-t-stack my-app
|
|
86
86
|
|
|
87
87
|
# Disable telemetry globally in your shell profile (.bashrc, .zshrc, etc.)
|
|
88
|
-
export
|
|
88
|
+
export BTS_TELEMETRY_DISABLED=1
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
### Development
|
package/dist/index.js
CHANGED
|
@@ -1065,8 +1065,6 @@ const getLatestCLIVersion = () => {
|
|
|
1065
1065
|
function isTelemetryEnabled() {
|
|
1066
1066
|
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
|
1067
1067
|
const BTS_TELEMETRY = "1";
|
|
1068
|
-
console.log("BTS_TELEMETRY_DISABLED:", BTS_TELEMETRY_DISABLED);
|
|
1069
|
-
console.log("BTS_TELEMETRY:", BTS_TELEMETRY);
|
|
1070
1068
|
if (BTS_TELEMETRY_DISABLED !== void 0) return BTS_TELEMETRY_DISABLED !== "1";
|
|
1071
1069
|
if (BTS_TELEMETRY !== void 0) return BTS_TELEMETRY === "1";
|
|
1072
1070
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.7",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|