Rocky_Mountain_Vending/.pnpm-store/v10/files/57/3b0b580e8fffd654f6f2721d939c405f8c4ae2e33be852168e315de6f110719949516421c804eb9b599000625cbafdd2d9e1769c60dd204d32fbf2de45caea
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

43 lines
No EOL
1.7 KiB
JavaScript

#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "nextTelemetry", {
enumerable: true,
get: function() {
return nextTelemetry;
}
});
const _picocolors = require("../lib/picocolors");
const _storage = require("../telemetry/storage");
const telemetry = new _storage.Telemetry({
distDir: process.cwd()
});
let isEnabled = telemetry.isEnabled;
const nextTelemetry = (options, arg)=>{
if (options.enable || arg === 'enable') {
telemetry.setEnabled(true);
isEnabled = true;
console.log((0, _picocolors.cyan)('Success!'));
} else if (options.disable || arg === 'disable') {
const path = telemetry.setEnabled(false);
if (isEnabled) {
console.log((0, _picocolors.cyan)(`Your preference has been saved${path ? ` to ${path}` : ''}.`));
} else {
console.log((0, _picocolors.yellow)(`Next.js' telemetry collection is already disabled.`));
}
isEnabled = false;
} else {
console.log((0, _picocolors.bold)('Next.js Telemetry'));
}
console.log(`\nStatus: ${isEnabled ? (0, _picocolors.bold)((0, _picocolors.green)('Enabled')) : (0, _picocolors.bold)((0, _picocolors.red)('Disabled'))}`);
if (isEnabled) {
console.log('\nNext.js telemetry is completely anonymous. Thank you for participating!');
} else {
console.log(`\nYou have opted-out of Next.js' anonymous telemetry program.\nNo data will be collected from your machine.`);
}
console.log(`\nLearn more: ${(0, _picocolors.cyan)('https://nextjs.org/telemetry')}`);
};
//# sourceMappingURL=next-telemetry.js.map