@askrjs/cli 0.0.16 → 0.0.18
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/analyze.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/{guardrails-XypvEZOT.js → guardrails-L60OAzIp.js} +1 -1
- package/dist/{runner-42nqhW9u.js → runner-CYvonJ0C.js} +845 -77
- package/dist/{runner-CEt07ieG.js → runner-DzWc9R4G.js} +1 -1
- package/dist/ssg-config.d.ts +68 -1
- package/dist/ssg.js +310 -7
- package/dist/templates/ssr/src/pages/example.tsx +1 -1
- package/dist/templates/ssr/src/styles.css +7 -0
- package/dist/templates/startkit/src/components/app-header.tsx +1 -1
- package/dist/templates/startkit/src/components/page-header.tsx +1 -7
- package/dist/templates/startkit/src/pages/workspace/accounts/index.tsx +1 -1
- package/dist/templates/startkit/src/pages/workspace/settings.tsx +1 -1
- package/dist/templates/startkit/src/styles/components.css +10 -0
- package/package.json +9 -6
package/dist/analyze.js
CHANGED
|
@@ -71,7 +71,7 @@ async function runAnalyzeCli(args = process.argv.slice(2), io = console, runtime
|
|
|
71
71
|
io.log(helpText.trimEnd());
|
|
72
72
|
return 0;
|
|
73
73
|
}
|
|
74
|
-
const report = await (runtime.analyze ?? (await import("./runner-
|
|
74
|
+
const report = await (runtime.analyze ?? (await import("./runner-CYvonJ0C.js")).runAnalysis)({
|
|
75
75
|
cwd: parsed.cwd,
|
|
76
76
|
workspacePatterns: parsed.workspacePatterns,
|
|
77
77
|
check: parsed.check
|
package/dist/cli.js
CHANGED
|
@@ -96,7 +96,7 @@ async function runCli(args = process.argv.slice(2), io = console) {
|
|
|
96
96
|
return runAnalyzeCli(args.slice(1), io);
|
|
97
97
|
}
|
|
98
98
|
if (command === "check" || command === "doctor" || command === "repair") {
|
|
99
|
-
const { runGuardrailCli } = await import("./guardrails-
|
|
99
|
+
const { runGuardrailCli } = await import("./guardrails-L60OAzIp.js");
|
|
100
100
|
return runGuardrailCli(command, args.slice(1), io);
|
|
101
101
|
}
|
|
102
102
|
if (command === "generate") {
|
|
@@ -98,7 +98,7 @@ async function runGuardrailCli(command, args = process.argv.slice(2), io = conso
|
|
|
98
98
|
cwd: parsed.cwd,
|
|
99
99
|
workspacePatterns: parsed.workspacePatterns
|
|
100
100
|
};
|
|
101
|
-
const { runCheck, runDoctor, runRepair } = await import("./runner-
|
|
101
|
+
const { runCheck, runDoctor, runRepair } = await import("./runner-DzWc9R4G.js");
|
|
102
102
|
const report = command === "doctor" ? await runDoctor(options, runtime) : command === "repair" ? await runRepair(options) : await runCheck(options, runtime);
|
|
103
103
|
if (parsed.json) io.log(JSON.stringify(report));
|
|
104
104
|
else if (report.command === "doctor") printDoctor(report, io);
|