@lukoweb/create-apitogo 0.1.6 → 0.1.8
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/templates/default/js/apitogo.config.jsx +2 -2
- package/dist/templates/default/js/public/Icon.png +0 -0
- package/dist/templates/default/ts/apitogo.config.tsx +3 -3
- package/dist/templates/default/ts/public/Icon.png +0 -0
- package/dist/templates/index.ts +2 -1
- package/dist/templates/zuplo/apitogo.config.tsx +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @type {import('@lukoweb/apitogo').
|
|
1
|
+
/** @type {import('@lukoweb/apitogo').ApitogoConfig} */
|
|
2
2
|
const config = {
|
|
3
3
|
site: {
|
|
4
4
|
title: "__APP_TITLE__",
|
|
@@ -9,7 +9,7 @@ const config = {
|
|
|
9
9
|
},
|
|
10
10
|
},
|
|
11
11
|
metadata: {
|
|
12
|
-
favicon: "/
|
|
12
|
+
favicon: "/Icon.png",
|
|
13
13
|
},
|
|
14
14
|
navigation: [
|
|
15
15
|
{
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ApitogoConfig } from "@lukoweb/apitogo";
|
|
2
2
|
|
|
3
|
-
const config:
|
|
3
|
+
const config: ApitogoConfig = {
|
|
4
4
|
site: {
|
|
5
5
|
title: "__APP_TITLE__",
|
|
6
6
|
logo: {
|
|
@@ -10,7 +10,7 @@ const config: ZudokuConfig = {
|
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
12
|
metadata: {
|
|
13
|
-
favicon: "/
|
|
13
|
+
favicon: "/Icon.png",
|
|
14
14
|
},
|
|
15
15
|
navigation: [
|
|
16
16
|
{
|
|
Binary file
|
package/dist/templates/index.ts
CHANGED
|
@@ -187,7 +187,8 @@ export const installTemplate = async ({
|
|
|
187
187
|
});
|
|
188
188
|
|
|
189
189
|
const appTitle = formatAppTitle(appName);
|
|
190
|
-
const configFilename =
|
|
190
|
+
const configFilename =
|
|
191
|
+
mode === "ts" ? "apitogo.config.tsx" : "apitogo.config.jsx";
|
|
191
192
|
const configPath = path.join(root, configFilename);
|
|
192
193
|
const configContents = await fs.readFile(configPath, "utf8");
|
|
193
194
|
await fs.writeFile(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ApitogoConfig } from "@lukoweb/apitogo";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Developer Portal Configuration
|
|
5
5
|
* For more information, see:
|
|
6
6
|
* https://zuplo.com/docs/dev-portal/zudoku/configuration/overview
|
|
7
7
|
*/
|
|
8
|
-
const config:
|
|
8
|
+
const config: ApitogoConfig = {
|
|
9
9
|
site: {
|
|
10
10
|
title: "My Developer Portal",
|
|
11
11
|
logo: {
|