@lukoweb/apitogo 0.1.80 → 0.1.81
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/cli.js +14 -14
- package/package.json +1 -1
- package/src/app/main.tsx +1 -1
- package/src/config/resolve-modules.ts +4 -4
package/dist/cli/cli.js
CHANGED
|
@@ -1339,7 +1339,7 @@ var init_resolve_modules = __esm({
|
|
|
1339
1339
|
return { ...defaults, ...override };
|
|
1340
1340
|
};
|
|
1341
1341
|
buildDefaultLandingContent = (config2) => {
|
|
1342
|
-
const siteTitle = config2.metadata?.applicationName ?? config2.site?.title ?? "
|
|
1342
|
+
const siteTitle = config2.metadata?.applicationName ?? config2.site?.title ?? "API ToGo";
|
|
1343
1343
|
return {
|
|
1344
1344
|
...DEFAULT_LANDING_CONTENT,
|
|
1345
1345
|
hero: {
|
|
@@ -1370,7 +1370,7 @@ var init_resolve_modules = __esm({
|
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
1372
|
resolveLandingContent = (config2, content, options) => {
|
|
1373
|
-
const siteTitle = config2.metadata?.applicationName ?? config2.site?.title ?? "
|
|
1373
|
+
const siteTitle = config2.metadata?.applicationName ?? config2.site?.title ?? "API ToGo";
|
|
1374
1374
|
if (options?.useDefaults === true) {
|
|
1375
1375
|
const defaults = buildDefaultLandingContent(config2);
|
|
1376
1376
|
const footer2 = mergeLandingSection(defaults.footer, content?.footer);
|
|
@@ -1390,7 +1390,7 @@ var init_resolve_modules = __esm({
|
|
|
1390
1390
|
features: content?.features ?? defaults.features,
|
|
1391
1391
|
primaryAction: content?.primaryAction ?? defaults.primaryAction,
|
|
1392
1392
|
secondaryAction: content?.secondaryAction ?? defaults.secondaryAction,
|
|
1393
|
-
// A configured footer replaces the "Built with
|
|
1393
|
+
// A configured footer replaces the "Built with API ToGo" powered-by line.
|
|
1394
1394
|
showPoweredBy: content?.showPoweredBy ?? (footer2 ? false : defaults.showPoweredBy),
|
|
1395
1395
|
trust: mergeLandingSection(defaults.trust, content?.trust),
|
|
1396
1396
|
apiShowcase: mergeLandingSection(
|
|
@@ -1418,7 +1418,7 @@ var init_resolve_modules = __esm({
|
|
|
1418
1418
|
features: content.features,
|
|
1419
1419
|
primaryAction: content.primaryAction,
|
|
1420
1420
|
secondaryAction: content.secondaryAction,
|
|
1421
|
-
// A configured footer replaces the "Built with
|
|
1421
|
+
// A configured footer replaces the "Built with API ToGo" powered-by line.
|
|
1422
1422
|
showPoweredBy: content.showPoweredBy ?? !footer,
|
|
1423
1423
|
trust: content.trust ? mergeLandingSection(void 0, content.trust) : void 0,
|
|
1424
1424
|
apiShowcase: content.apiShowcase ? mergeLandingSection(void 0, content.apiShowcase) : void 0,
|
|
@@ -5439,7 +5439,7 @@ async function apply(argv) {
|
|
|
5439
5439
|
|
|
5440
5440
|
// src/cli/cmds/apply.ts
|
|
5441
5441
|
var apply_default = {
|
|
5442
|
-
desc: "Apply apitogo.config.json to the
|
|
5442
|
+
desc: "Apply apitogo.config.json to the API ToGo platform (apihub, portal backend, portal frontend)",
|
|
5443
5443
|
command: "apply",
|
|
5444
5444
|
builder: (yargs2) => yargs2.option("dir", {
|
|
5445
5445
|
type: "string",
|
|
@@ -5633,7 +5633,7 @@ import {
|
|
|
5633
5633
|
// package.json
|
|
5634
5634
|
var package_default = {
|
|
5635
5635
|
name: "@lukoweb/apitogo",
|
|
5636
|
-
version: "0.1.
|
|
5636
|
+
version: "0.1.81",
|
|
5637
5637
|
type: "module",
|
|
5638
5638
|
sideEffects: [
|
|
5639
5639
|
"**/*.css",
|
|
@@ -10453,7 +10453,7 @@ async function build(argv) {
|
|
|
10453
10453
|
const packageJson2 = getZudokuPackageJson();
|
|
10454
10454
|
const jsonOnly = argv.jsonOnly === true || process.env.APITOGO_JSON_ONLY === "1";
|
|
10455
10455
|
if (!jsonOnly) {
|
|
10456
|
-
printDiagnosticsToConsole(`Starting
|
|
10456
|
+
printDiagnosticsToConsole(`Starting API ToGo build v${packageJson2.version}`);
|
|
10457
10457
|
printDiagnosticsToConsole("");
|
|
10458
10458
|
printDiagnosticsToConsole("");
|
|
10459
10459
|
}
|
|
@@ -10574,7 +10574,7 @@ function createDefaultApitogoJsonConfig(options) {
|
|
|
10574
10574
|
title: options.title,
|
|
10575
10575
|
logo: {
|
|
10576
10576
|
src: { light: "/logo-light.png", dark: "/logo-dark.png" },
|
|
10577
|
-
alt: "
|
|
10577
|
+
alt: "API ToGo",
|
|
10578
10578
|
width: "130px"
|
|
10579
10579
|
}
|
|
10580
10580
|
},
|
|
@@ -11155,7 +11155,7 @@ export default function ${componentName}() {
|
|
|
11155
11155
|
Edit this page in <code>pages/${slug}.tsx</code>.
|
|
11156
11156
|
</p>
|
|
11157
11157
|
<Callout type="info" title="Components">
|
|
11158
|
-
|
|
11158
|
+
API ToGo ships predefined UI components for docs pages. See{" "}
|
|
11159
11159
|
<a
|
|
11160
11160
|
href="https://docs.apitogo.com/docs/guides/custom-pages"
|
|
11161
11161
|
className="text-primary underline"
|
|
@@ -11937,7 +11937,7 @@ async function dev(argv) {
|
|
|
11937
11937
|
printDiagnosticsToConsole("Ctrl+C to exit");
|
|
11938
11938
|
printDiagnosticsToConsole("");
|
|
11939
11939
|
printDiagnosticsToConsole(
|
|
11940
|
-
`\u{1F680} Running
|
|
11940
|
+
`\u{1F680} Running API ToGo v${packageJson2.version}: ${url}`
|
|
11941
11941
|
);
|
|
11942
11942
|
printDiagnosticsToConsole("");
|
|
11943
11943
|
let hasExited = false;
|
|
@@ -12037,7 +12037,7 @@ async function init2(argv) {
|
|
|
12037
12037
|
|
|
12038
12038
|
// src/cli/cmds/init.ts
|
|
12039
12039
|
var init_default = {
|
|
12040
|
-
desc: "Scaffold a local
|
|
12040
|
+
desc: "Scaffold a local API ToGo developer portal (no platform calls)",
|
|
12041
12041
|
command: "init [dir]",
|
|
12042
12042
|
builder: (yargs2) => yargs2.positional("dir", {
|
|
12043
12043
|
type: "string",
|
|
@@ -12171,7 +12171,7 @@ async function status(argv) {
|
|
|
12171
12171
|
|
|
12172
12172
|
// src/cli/cmds/status.ts
|
|
12173
12173
|
var status_default = {
|
|
12174
|
-
desc: "Show account, project, and live readiness for the linked
|
|
12174
|
+
desc: "Show account, project, and live readiness for the linked API ToGo project",
|
|
12175
12175
|
command: "status",
|
|
12176
12176
|
builder: (yargs2) => yargs2.option("dir", {
|
|
12177
12177
|
type: "string",
|
|
@@ -12221,7 +12221,7 @@ async function teardown(argv) {
|
|
|
12221
12221
|
|
|
12222
12222
|
// src/cli/cmds/teardown.ts
|
|
12223
12223
|
var teardown_default = {
|
|
12224
|
-
desc: "Delete the linked
|
|
12224
|
+
desc: "Delete the linked API ToGo project",
|
|
12225
12225
|
command: "teardown",
|
|
12226
12226
|
builder: (yargs2) => yargs2.option("dir", {
|
|
12227
12227
|
type: "string",
|
|
@@ -12477,7 +12477,7 @@ var warnPackageVersionMismatch = () => {
|
|
|
12477
12477
|
const pkgManager = getPkgManager();
|
|
12478
12478
|
const message = `${colors11.yellow("React version mismatch detected!")}
|
|
12479
12479
|
|
|
12480
|
-
|
|
12480
|
+
API ToGo requires specific versions of React
|
|
12481
12481
|
and React DOM to function correctly.
|
|
12482
12482
|
|
|
12483
12483
|
Installed: ${colors11.bold(`react@${installed.react}, react-dom@${installed["react-dom"]}`)}
|
package/package.json
CHANGED
package/src/app/main.tsx
CHANGED
|
@@ -51,7 +51,7 @@ export const convertApitogoConfigToOptions = (
|
|
|
51
51
|
config: ApitogoConfig,
|
|
52
52
|
): ZudokuContextOptions => {
|
|
53
53
|
const siteTitle =
|
|
54
|
-
config.metadata?.applicationName ?? config.site?.title ?? "
|
|
54
|
+
config.metadata?.applicationName ?? config.site?.title ?? "API ToGo";
|
|
55
55
|
|
|
56
56
|
return {
|
|
57
57
|
basePath: config.basePath,
|
|
@@ -52,7 +52,7 @@ const buildDefaultLandingContent = (
|
|
|
52
52
|
config: ZudokuConfig,
|
|
53
53
|
): ResolvedLandingContent => {
|
|
54
54
|
const siteTitle =
|
|
55
|
-
config.metadata?.applicationName ?? config.site?.title ?? "
|
|
55
|
+
config.metadata?.applicationName ?? config.site?.title ?? "API ToGo";
|
|
56
56
|
|
|
57
57
|
return {
|
|
58
58
|
...DEFAULT_LANDING_CONTENT,
|
|
@@ -92,7 +92,7 @@ export const resolveLandingContent = (
|
|
|
92
92
|
options?: { useDefaults?: boolean },
|
|
93
93
|
): ResolvedLandingContent => {
|
|
94
94
|
const siteTitle =
|
|
95
|
-
config.metadata?.applicationName ?? config.site?.title ?? "
|
|
95
|
+
config.metadata?.applicationName ?? config.site?.title ?? "API ToGo";
|
|
96
96
|
|
|
97
97
|
if (options?.useDefaults === true) {
|
|
98
98
|
const defaults = buildDefaultLandingContent(config);
|
|
@@ -119,7 +119,7 @@ export const resolveLandingContent = (
|
|
|
119
119
|
features: content?.features ?? defaults.features,
|
|
120
120
|
primaryAction: content?.primaryAction ?? defaults.primaryAction,
|
|
121
121
|
secondaryAction: content?.secondaryAction ?? defaults.secondaryAction,
|
|
122
|
-
// A configured footer replaces the "Built with
|
|
122
|
+
// A configured footer replaces the "Built with API ToGo" powered-by line.
|
|
123
123
|
showPoweredBy:
|
|
124
124
|
content?.showPoweredBy ?? (footer ? false : defaults.showPoweredBy),
|
|
125
125
|
trust: mergeLandingSection(defaults.trust, content?.trust),
|
|
@@ -156,7 +156,7 @@ export const resolveLandingContent = (
|
|
|
156
156
|
features: content.features,
|
|
157
157
|
primaryAction: content.primaryAction,
|
|
158
158
|
secondaryAction: content.secondaryAction,
|
|
159
|
-
// A configured footer replaces the "Built with
|
|
159
|
+
// A configured footer replaces the "Built with API ToGo" powered-by line.
|
|
160
160
|
showPoweredBy: content.showPoweredBy ?? !footer,
|
|
161
161
|
trust: content.trust
|
|
162
162
|
? mergeLandingSection(undefined, content.trust)
|