@saastemly/voidcommerce 0.16.0 → 0.16.1
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
|
@@ -1379,7 +1379,7 @@ import color from "picocolors";
|
|
|
1379
1379
|
// package.json
|
|
1380
1380
|
var package_default = {
|
|
1381
1381
|
name: "@saastemly/voidcommerce",
|
|
1382
|
-
version: "0.16.
|
|
1382
|
+
version: "0.16.1",
|
|
1383
1383
|
description: "Void, with a shop in it. `vc init` walks you through Better Auth, betterCommerce and every plugin; everything else passes through to `void`.",
|
|
1384
1384
|
type: "module",
|
|
1385
1385
|
license: "MIT",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saastemly/voidcommerce",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Void, with a shop in it. `vc init` walks you through Better Auth, betterCommerce and every plugin; everything else passes through to `void`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/deploy/index.ts
CHANGED
|
@@ -66,11 +66,14 @@ export async function preflightCommand(args: string[]): Promise<number> {
|
|
|
66
66
|
printPreflight(project, result, source);
|
|
67
67
|
if (source !== "repository") return result.ready ? 0 : 1;
|
|
68
68
|
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
69
|
+
// Is there a migration that was generated and never committed?
|
|
70
|
+
//
|
|
71
|
+
// This one has teeth only LOCALLY. A CI checkout is by definition clean,
|
|
72
|
+
// so `git status` there reports nothing and this passes vacuously — the
|
|
73
|
+
// job that actually catches it in CI is the one that runs AFTER `vc dist`
|
|
74
|
+
// regenerates, because that is the moment a new migration can appear.
|
|
75
|
+
// Both are kept: they catch the same mistake at the two different moments
|
|
76
|
+
// it can be made.
|
|
74
77
|
const pending = await uncommittedMigrations(project.root);
|
|
75
78
|
if (pending.length > 0) {
|
|
76
79
|
console.error(
|