betterstart-cli 0.0.39 → 0.0.40

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/dist/cli.js CHANGED
@@ -22176,6 +22176,11 @@ function scaffoldEnv(cwd, options) {
22176
22176
  }
22177
22177
 
22178
22178
  // adapters/next/init/prompts/plugins.ts
22179
+ function maskBlobToken(token) {
22180
+ const match = /^(vercel_blob_rw_[A-Za-z0-9]+)_/.exec(token);
22181
+ if (match) return `${match[1]}_***`;
22182
+ return `${token.slice(0, 8)}***`;
22183
+ }
22179
22184
  async function promptPlugins(cwd, options = {}) {
22180
22185
  const sections = [];
22181
22186
  const overwriteKeys = /* @__PURE__ */ new Set();
@@ -22235,7 +22240,12 @@ async function promptPlugins(cwd, options = {}) {
22235
22240
  storageStep.skip();
22236
22241
  } else {
22237
22242
  if (existingToken) {
22238
- p12.log.info("Using the existing Vercel Blob token from .env.local");
22243
+ p12.log.info(
22244
+ `Using the existing Vercel Blob token from .env.local ${styleText(
22245
+ "dim",
22246
+ `(${maskBlobToken(existingToken)})`
22247
+ )}`
22248
+ );
22239
22249
  }
22240
22250
  mergeIntegrationConfig(await collectIntegrationConfig(cwd, ["vercel-blob"]));
22241
22251
  storageStep.confirm();