@lukoweb/create-apitogo 0.1.51 → 0.1.54
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/.env.example +2 -2
- package/dist/templates/default/js/apitogo.config.json +22 -5
- package/dist/templates/default/ts/.env.example +2 -6
- package/dist/templates/default/ts/.env.production +1 -1
- package/dist/templates/default/ts/apitogo.config.json +8 -11
- package/dist/templates/default/ts/apitogo.config.tsx +3 -1
- package/dist/templates/empty/js/.env.example +2 -2
- package/dist/templates/empty/js/apitogo.config.json +8 -11
- package/dist/templates/empty/ts/.env.example +2 -2
- package/dist/templates/empty/ts/.env.production +1 -1
- package/dist/templates/empty/ts/apitogo.config.json +8 -11
- package/dist/templates/empty/ts/apitogo.config.tsx +3 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Public dev-portal API URL (client bundle)
|
|
2
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"siteName": "__APP_TITLE__",
|
|
3
|
-
"branding": { "title": "__APP_TITLE__" },
|
|
4
2
|
"site": {
|
|
5
3
|
"title": "__APP_TITLE__",
|
|
6
4
|
"logo": {
|
|
@@ -9,11 +7,31 @@
|
|
|
9
7
|
"width": "130px"
|
|
10
8
|
}
|
|
11
9
|
},
|
|
10
|
+
"authentication": {
|
|
11
|
+
"enabled": false,
|
|
12
|
+
"type": "dev-portal"
|
|
13
|
+
},
|
|
12
14
|
"metadata": {
|
|
13
15
|
"favicon": "/Icon.png"
|
|
14
16
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
+
"modules": {
|
|
18
|
+
"docs": {
|
|
19
|
+
"files": "/pages/**/*.{md,mdx}"
|
|
20
|
+
},
|
|
21
|
+
"landing": {
|
|
22
|
+
"enabled": true,
|
|
23
|
+
"path": "/",
|
|
24
|
+
"layout": "landing"
|
|
25
|
+
},
|
|
26
|
+
"userPanel": {
|
|
27
|
+
"enabled": true,
|
|
28
|
+
"dashboard": { "enabled": true },
|
|
29
|
+
"userManagement": { "enabled": true },
|
|
30
|
+
"plans": {
|
|
31
|
+
"enabled": false,
|
|
32
|
+
"page": "./user-panel/AccountPlansPage.tsx"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
17
35
|
},
|
|
18
36
|
"navigation": [
|
|
19
37
|
{
|
|
@@ -61,7 +79,6 @@
|
|
|
61
79
|
"label": "API Reference"
|
|
62
80
|
}
|
|
63
81
|
],
|
|
64
|
-
"redirects": [{ "from": "/", "to": "/introduction" }],
|
|
65
82
|
"apis": [
|
|
66
83
|
{
|
|
67
84
|
"type": "file",
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
# Optional overrides for apitogo.config.json (double underscore = nested path)
|
|
5
|
-
# APITOGO_CONFIG_projectId=your-local-project-id
|
|
6
|
-
# APITOGO_CONFIG_backend__sourceDirectory=../my-api
|
|
1
|
+
# Public dev-portal API URL (client bundle)
|
|
2
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"siteName": "__APP_TITLE__",
|
|
3
|
-
"branding": { "title": "__APP_TITLE__" },
|
|
4
|
-
"pricing": { "enabled": false },
|
|
5
|
-
"authentication": {
|
|
6
|
-
"enabled": false,
|
|
7
|
-
"type": "dev-portal"
|
|
8
|
-
},
|
|
9
2
|
"site": {
|
|
10
3
|
"title": "__APP_TITLE__",
|
|
11
4
|
"logo": {
|
|
@@ -14,13 +7,17 @@
|
|
|
14
7
|
"width": "130px"
|
|
15
8
|
}
|
|
16
9
|
},
|
|
10
|
+
"authentication": {
|
|
11
|
+
"enabled": false,
|
|
12
|
+
"type": "dev-portal"
|
|
13
|
+
},
|
|
17
14
|
"metadata": {
|
|
18
15
|
"favicon": "/Icon.png"
|
|
19
16
|
},
|
|
20
|
-
"docs": {
|
|
21
|
-
"files": "/pages/**/*.{md,mdx}"
|
|
22
|
-
},
|
|
23
17
|
"modules": {
|
|
18
|
+
"docs": {
|
|
19
|
+
"files": "/pages/**/*.{md,mdx}"
|
|
20
|
+
},
|
|
24
21
|
"landing": {
|
|
25
22
|
"enabled": true,
|
|
26
23
|
"path": "/",
|
|
@@ -31,7 +28,7 @@
|
|
|
31
28
|
"dashboard": { "enabled": true },
|
|
32
29
|
"userManagement": { "enabled": true },
|
|
33
30
|
"plans": {
|
|
34
|
-
"enabled":
|
|
31
|
+
"enabled": false,
|
|
35
32
|
"page": "./user-panel/AccountPlansPage.tsx"
|
|
36
33
|
}
|
|
37
34
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { buildApitogoConfig } from "@lukoweb/apitogo";
|
|
2
1
|
import { devPortalBillingPlugin } from "@lukoweb/apitogo-plugin-dev-portal-billing";
|
|
2
|
+
import { buildApitogoConfig } from "@lukoweb/apitogo/build-config";
|
|
3
|
+
import siteConfig from "./apitogo.config.json";
|
|
3
4
|
|
|
4
5
|
export default buildApitogoConfig({
|
|
6
|
+
...siteConfig,
|
|
5
7
|
plugins: [devPortalBillingPlugin()],
|
|
6
8
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Public dev-portal API URL (client bundle)
|
|
2
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"siteName": "__APP_TITLE__",
|
|
3
|
-
"branding": { "title": "__APP_TITLE__" },
|
|
4
|
-
"pricing": { "enabled": false },
|
|
5
|
-
"authentication": {
|
|
6
|
-
"enabled": false,
|
|
7
|
-
"type": "dev-portal"
|
|
8
|
-
},
|
|
9
2
|
"site": {
|
|
10
3
|
"title": "__APP_TITLE__",
|
|
11
4
|
"logo": {
|
|
@@ -14,13 +7,17 @@
|
|
|
14
7
|
"width": "130px"
|
|
15
8
|
}
|
|
16
9
|
},
|
|
10
|
+
"authentication": {
|
|
11
|
+
"enabled": false,
|
|
12
|
+
"type": "dev-portal"
|
|
13
|
+
},
|
|
17
14
|
"metadata": {
|
|
18
15
|
"favicon": "/Icon.png"
|
|
19
16
|
},
|
|
20
|
-
"docs": {
|
|
21
|
-
"files": "/pages/**/*.{md,mdx}"
|
|
22
|
-
},
|
|
23
17
|
"modules": {
|
|
18
|
+
"docs": {
|
|
19
|
+
"files": "/pages/**/*.{md,mdx}"
|
|
20
|
+
},
|
|
24
21
|
"landing": {
|
|
25
22
|
"enabled": true,
|
|
26
23
|
"path": "/",
|
|
@@ -31,7 +28,7 @@
|
|
|
31
28
|
"dashboard": { "enabled": true },
|
|
32
29
|
"userManagement": { "enabled": true },
|
|
33
30
|
"plans": {
|
|
34
|
-
"enabled":
|
|
31
|
+
"enabled": false,
|
|
35
32
|
"page": "./user-panel/AccountPlansPage.tsx"
|
|
36
33
|
}
|
|
37
34
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Public dev-portal API URL (client bundle)
|
|
2
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"siteName": "__APP_TITLE__",
|
|
3
|
-
"branding": { "title": "__APP_TITLE__" },
|
|
4
|
-
"pricing": { "enabled": false },
|
|
5
|
-
"authentication": {
|
|
6
|
-
"enabled": false,
|
|
7
|
-
"type": "dev-portal"
|
|
8
|
-
},
|
|
9
2
|
"site": {
|
|
10
3
|
"title": "__APP_TITLE__",
|
|
11
4
|
"logo": {
|
|
@@ -14,13 +7,17 @@
|
|
|
14
7
|
"width": "130px"
|
|
15
8
|
}
|
|
16
9
|
},
|
|
10
|
+
"authentication": {
|
|
11
|
+
"enabled": false,
|
|
12
|
+
"type": "dev-portal"
|
|
13
|
+
},
|
|
17
14
|
"metadata": {
|
|
18
15
|
"favicon": "/Icon.png"
|
|
19
16
|
},
|
|
20
|
-
"docs": {
|
|
21
|
-
"files": "/pages/**/*.{md,mdx}"
|
|
22
|
-
},
|
|
23
17
|
"modules": {
|
|
18
|
+
"docs": {
|
|
19
|
+
"files": "/pages/**/*.{md,mdx}"
|
|
20
|
+
},
|
|
24
21
|
"landing": {
|
|
25
22
|
"enabled": true,
|
|
26
23
|
"path": "/",
|
|
@@ -31,7 +28,7 @@
|
|
|
31
28
|
"dashboard": { "enabled": true },
|
|
32
29
|
"userManagement": { "enabled": true },
|
|
33
30
|
"plans": {
|
|
34
|
-
"enabled":
|
|
31
|
+
"enabled": false,
|
|
35
32
|
"page": "./user-panel/AccountPlansPage.tsx"
|
|
36
33
|
}
|
|
37
34
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { buildApitogoConfig } from "@lukoweb/apitogo";
|
|
2
1
|
import { devPortalBillingPlugin } from "@lukoweb/apitogo-plugin-dev-portal-billing";
|
|
2
|
+
import { buildApitogoConfig } from "@lukoweb/apitogo/build-config";
|
|
3
|
+
import siteConfig from "./apitogo.config.json";
|
|
3
4
|
|
|
4
5
|
export default buildApitogoConfig({
|
|
6
|
+
...siteConfig,
|
|
5
7
|
plugins: [devPortalBillingPlugin()],
|
|
6
8
|
});
|