@timekast/factory 1.17.2 → 1.17.3

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.
@@ -2490,6 +2490,15 @@ export async function runProvision(flags) {
2490
2490
  await provisionNeon(rootDir, runState);
2491
2491
  writeProvisionState(rootDir, runState);
2492
2492
  }
2493
+ // 5a.2. Ensure the local E2E creds are in `.env.local` even on a resume/adopt where
2494
+ // the Vercel substrate was already `done` (writeE2eLocalCreds only runs inside
2495
+ // that step's first pass). Idempotent — `setEnvLine` replaces/appends the two
2496
+ // keys — so `pnpm test:e2e` works locally without a manual edit after a re-run.
2497
+ if (!flags.dryRun && runState.neon?.projectId) {
2498
+ if (writeE2eLocalCreds(rootDir, runState.neon.projectId, readNeonApiKey())) {
2499
+ console.log(' + .env.local (NEON_API_KEY · NEON_PROJECT_ID — para `pnpm test:e2e` local)');
2500
+ }
2501
+ }
2493
2502
  // 5b. Client domain (PROV-006) — runs AFTER the services so the Vercel project
2494
2503
  // (and the interim domains) already exist. Standalone patch or post-services.
2495
2504
  if (hasDomain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timekast/factory",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "description": "Public, thin CLI to bootstrap and maintain TimeKast Factory derived projects.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",