@secondlayer/cli 8.11.1 → 8.12.0
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 +21 -21
- package/dist/cli.js.map +6 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -31811,7 +31811,7 @@ var {
|
|
|
31811
31811
|
// package.json
|
|
31812
31812
|
var package_default = {
|
|
31813
31813
|
name: "@secondlayer/cli",
|
|
31814
|
-
version: "8.
|
|
31814
|
+
version: "8.12.0",
|
|
31815
31815
|
repository: {
|
|
31816
31816
|
type: "git",
|
|
31817
31817
|
url: "git+https://github.com/ryanwaits/secondlayer.git",
|
|
@@ -33857,24 +33857,6 @@ stacks_node_events_observers = [${entry}]
|
|
|
33857
33857
|
return { status: exists ? "added" : "created" };
|
|
33858
33858
|
}
|
|
33859
33859
|
|
|
33860
|
-
// src/lib/frozen.ts
|
|
33861
|
-
function markFrozen(cmd) {
|
|
33862
|
-
let warned = false;
|
|
33863
|
-
const warn2 = () => {
|
|
33864
|
-
if (warned)
|
|
33865
|
-
return;
|
|
33866
|
-
warned = true;
|
|
33867
|
-
process.stderr.write(`⚠ \`sl ${cmd.name()}\` is frozen — no further investment; it may be removed in a future major. The hosted dev loop (sl subgraphs create/deploy) is the supported path.
|
|
33868
|
-
`);
|
|
33869
|
-
};
|
|
33870
|
-
cmd.hook("preAction", warn2);
|
|
33871
|
-
cmd.addHelpText("beforeAll", () => {
|
|
33872
|
-
warn2();
|
|
33873
|
-
return "";
|
|
33874
|
-
});
|
|
33875
|
-
return cmd;
|
|
33876
|
-
}
|
|
33877
|
-
|
|
33878
33860
|
// src/commands/devnet.ts
|
|
33879
33861
|
init_output();
|
|
33880
33862
|
var COMPOSE_REL = join6(".secondlayer", "docker-compose.yml");
|
|
@@ -33905,7 +33887,7 @@ var SERVICES = [
|
|
|
33905
33887
|
"migrate"
|
|
33906
33888
|
];
|
|
33907
33889
|
function registerDevnetCommand(program2) {
|
|
33908
|
-
const devnet =
|
|
33890
|
+
const devnet = program2.command("devnet").description("Run Secondlayer services against a local Clarinet devnet");
|
|
33909
33891
|
devnet.command("connect").description("Point your clarinet project's devnet at a local Secondlayer stack and start it").option("--project <dir>", "Clarinet project directory (defaults to the nearest Clarinet.toml)").option("--image-tag <tag>", "Published image tag to run", DEFAULT_IMAGE_TAG).option("--owner <owner>", "ghcr image owner (namespace) to pull from").option("--no-up", "Patch config + write compose without starting docker").action(async (options) => {
|
|
33910
33892
|
await connect(options);
|
|
33911
33893
|
});
|
|
@@ -36936,6 +36918,24 @@ async function runLocalDoctor(jsonOutput) {
|
|
|
36936
36918
|
// src/commands/local.ts
|
|
36937
36919
|
init_config();
|
|
36938
36920
|
|
|
36921
|
+
// src/lib/frozen.ts
|
|
36922
|
+
function markFrozen(cmd) {
|
|
36923
|
+
let warned = false;
|
|
36924
|
+
const warn2 = () => {
|
|
36925
|
+
if (warned)
|
|
36926
|
+
return;
|
|
36927
|
+
warned = true;
|
|
36928
|
+
process.stderr.write(`⚠ \`sl ${cmd.name()}\` is frozen — no further investment; it may be removed in a future major. The hosted dev loop (sl subgraphs create/deploy) is the supported path.
|
|
36929
|
+
`);
|
|
36930
|
+
};
|
|
36931
|
+
cmd.hook("preAction", warn2);
|
|
36932
|
+
cmd.addHelpText("beforeAll", () => {
|
|
36933
|
+
warn2();
|
|
36934
|
+
return "";
|
|
36935
|
+
});
|
|
36936
|
+
return cmd;
|
|
36937
|
+
}
|
|
36938
|
+
|
|
36939
36939
|
// src/commands/db.ts
|
|
36940
36940
|
init_config();
|
|
36941
36941
|
init_dev_state();
|
|
@@ -38022,5 +38022,5 @@ registerAccountCommand(program);
|
|
|
38022
38022
|
registerKeysCommand(program);
|
|
38023
38023
|
program.parse();
|
|
38024
38024
|
|
|
38025
|
-
//# debugId=
|
|
38025
|
+
//# debugId=00D518F35B468C4664756E2164756E21
|
|
38026
38026
|
//# sourceMappingURL=cli.js.map
|