@secondlayer/cli 8.11.0 → 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 +26 -25
- package/dist/cli.js.map +7 -7
- package/package.json +2 -2
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",
|
|
@@ -31862,7 +31862,7 @@ var package_default = {
|
|
|
31862
31862
|
"@secondlayer/bundler": "^0.3.7",
|
|
31863
31863
|
"@secondlayer/scaffold": "^1.3.0",
|
|
31864
31864
|
"@secondlayer/sdk": "^6.23.1",
|
|
31865
|
-
"@secondlayer/shared": "^6.
|
|
31865
|
+
"@secondlayer/shared": "^6.35.1",
|
|
31866
31866
|
"@secondlayer/stacks": "^2.5.1",
|
|
31867
31867
|
"@secondlayer/subgraphs": "^3.14.1",
|
|
31868
31868
|
"@biomejs/js-api": "^0.7.0",
|
|
@@ -32081,9 +32081,10 @@ function addBillingCommand(parent) {
|
|
|
32081
32081
|
function renderBillingStatus(res) {
|
|
32082
32082
|
if (!res.subscription) {
|
|
32083
32083
|
console.log(formatKeyValue([
|
|
32084
|
-
["Plan", "Free
|
|
32085
|
-
["
|
|
32086
|
-
["
|
|
32084
|
+
["Plan", "Free"],
|
|
32085
|
+
["Reads", dim("10 req/s · last ~24h window")],
|
|
32086
|
+
["Subgraphs", dim("upgrade to deploy / go private")],
|
|
32087
|
+
["Upgrade", dim("https://secondlayer.tools/platform/billing")]
|
|
32087
32088
|
]));
|
|
32088
32089
|
return;
|
|
32089
32090
|
}
|
|
@@ -33856,24 +33857,6 @@ stacks_node_events_observers = [${entry}]
|
|
|
33856
33857
|
return { status: exists ? "added" : "created" };
|
|
33857
33858
|
}
|
|
33858
33859
|
|
|
33859
|
-
// src/lib/frozen.ts
|
|
33860
|
-
function markFrozen(cmd) {
|
|
33861
|
-
let warned = false;
|
|
33862
|
-
const warn2 = () => {
|
|
33863
|
-
if (warned)
|
|
33864
|
-
return;
|
|
33865
|
-
warned = true;
|
|
33866
|
-
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.
|
|
33867
|
-
`);
|
|
33868
|
-
};
|
|
33869
|
-
cmd.hook("preAction", warn2);
|
|
33870
|
-
cmd.addHelpText("beforeAll", () => {
|
|
33871
|
-
warn2();
|
|
33872
|
-
return "";
|
|
33873
|
-
});
|
|
33874
|
-
return cmd;
|
|
33875
|
-
}
|
|
33876
|
-
|
|
33877
33860
|
// src/commands/devnet.ts
|
|
33878
33861
|
init_output();
|
|
33879
33862
|
var COMPOSE_REL = join6(".secondlayer", "docker-compose.yml");
|
|
@@ -33904,7 +33887,7 @@ var SERVICES = [
|
|
|
33904
33887
|
"migrate"
|
|
33905
33888
|
];
|
|
33906
33889
|
function registerDevnetCommand(program2) {
|
|
33907
|
-
const devnet =
|
|
33890
|
+
const devnet = program2.command("devnet").description("Run Secondlayer services against a local Clarinet devnet");
|
|
33908
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) => {
|
|
33909
33892
|
await connect(options);
|
|
33910
33893
|
});
|
|
@@ -36935,6 +36918,24 @@ async function runLocalDoctor(jsonOutput) {
|
|
|
36935
36918
|
// src/commands/local.ts
|
|
36936
36919
|
init_config();
|
|
36937
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
|
+
|
|
36938
36939
|
// src/commands/db.ts
|
|
36939
36940
|
init_config();
|
|
36940
36941
|
init_dev_state();
|
|
@@ -38021,5 +38022,5 @@ registerAccountCommand(program);
|
|
|
38021
38022
|
registerKeysCommand(program);
|
|
38022
38023
|
program.parse();
|
|
38023
38024
|
|
|
38024
|
-
//# debugId=
|
|
38025
|
+
//# debugId=00D518F35B468C4664756E2164756E21
|
|
38025
38026
|
//# sourceMappingURL=cli.js.map
|