@secondlayer/cli 1.12.0 → 1.12.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 +6 -4
- package/dist/cli.js.map +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -32678,7 +32678,7 @@ var {
|
|
|
32678
32678
|
// package.json
|
|
32679
32679
|
var package_default = {
|
|
32680
32680
|
name: "@secondlayer/cli",
|
|
32681
|
-
version: "1.12.
|
|
32681
|
+
version: "1.12.1",
|
|
32682
32682
|
description: "CLI for streams, subgraphs, and real-time blockchain indexing on Stacks",
|
|
32683
32683
|
type: "module",
|
|
32684
32684
|
bin: {
|
|
@@ -35650,7 +35650,9 @@ Stopped watching.`);
|
|
|
35650
35650
|
});
|
|
35651
35651
|
if (result.action === "unchanged") {
|
|
35652
35652
|
info(`Subgraph "${def.name}" is up to date (v${result.version} — no changes)`);
|
|
35653
|
-
} else if (result.action === "created"
|
|
35653
|
+
} else if (result.action === "created") {
|
|
35654
|
+
success(`Subgraph "${def.name}" created → v${result.version}`);
|
|
35655
|
+
} else if (result.action === "reindexed") {
|
|
35654
35656
|
if (result.diff) {
|
|
35655
35657
|
const { addedTables, addedColumns, breakingChanges } = result.diff;
|
|
35656
35658
|
if (breakingChanges.length > 0) {
|
|
@@ -35671,7 +35673,7 @@ Stopped watching.`);
|
|
|
35671
35673
|
info("Aborted.");
|
|
35672
35674
|
process.exit(0);
|
|
35673
35675
|
}
|
|
35674
|
-
success(
|
|
35676
|
+
success(`Subgraph "${def.name}" updated → v${result.version} (reindexing)`);
|
|
35675
35677
|
} else {
|
|
35676
35678
|
if (result.diff) {
|
|
35677
35679
|
const { addedTables, addedColumns } = result.diff;
|
|
@@ -37516,5 +37518,5 @@ registerWhoamiCommand(program);
|
|
|
37516
37518
|
registerReceiverCommand(program);
|
|
37517
37519
|
program.parse();
|
|
37518
37520
|
|
|
37519
|
-
//# debugId=
|
|
37521
|
+
//# debugId=4F67DC8C5DB68FB264756E2164756E21
|
|
37520
37522
|
//# sourceMappingURL=cli.js.map
|