@lukoweb/create-apitogo 0.1.60 → 0.1.62
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 +6 -2
- package/dist/templates/default/js/AGENTS.md +25 -0
- package/dist/templates/default/js/apitogo.config.json +40 -0
- package/dist/templates/default/ts/.env.example +6 -2
- package/dist/templates/default/ts/AGENTS.md +25 -0
- package/dist/templates/default/ts/apitogo.config.json +40 -0
- package/dist/templates/empty/js/.env.example +6 -2
- package/dist/templates/empty/js/AGENTS.md +25 -0
- package/dist/templates/empty/js/apitogo.config.json +40 -0
- package/dist/templates/empty/ts/.env.example +6 -2
- package/dist/templates/empty/ts/AGENTS.md +25 -0
- package/dist/templates/empty/ts/apitogo.config.json +40 -0
- package/dist/templates/zuplo/AGENTS.md +25 -0
- package/package.json +1 -1
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Local demo auth is enabled by default in development.
|
|
2
|
+
# Sign in at /login with demo@apitogo.local / password
|
|
3
|
+
# Set APITOGO_CONFIG_demoMode=false to disable.
|
|
4
|
+
#
|
|
5
|
+
# Live dev-portal API URL (only needed after publish):
|
|
6
|
+
# VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# APItoGo Dev Portal — Agent Guidance
|
|
2
|
+
|
|
3
|
+
When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
|
|
4
|
+
|
|
5
|
+
## Use MCP tools for
|
|
6
|
+
|
|
7
|
+
| Change | MCP tool |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Add a docs page | `add_dev_portal_page` |
|
|
10
|
+
| Edit a docs page | `update_dev_portal_page` |
|
|
11
|
+
| OpenAPI / API Reference | `set_dev_portal_openapi` |
|
|
12
|
+
| Plans, branding, backend, projectId | `update_dev_portal_manifest` |
|
|
13
|
+
| Theme colors and fonts | `set_dev_portal_theme` |
|
|
14
|
+
| Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
|
|
15
|
+
|
|
16
|
+
These tools wire navigation/config and run site validation. Hand-editing `pages/**` or `apitogo.config.*` bypasses validation and can silently break the site.
|
|
17
|
+
|
|
18
|
+
## Hand-edit only when no tool exists
|
|
19
|
+
|
|
20
|
+
- **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
|
|
21
|
+
- **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
|
|
22
|
+
|
|
23
|
+
## Local preview
|
|
24
|
+
|
|
25
|
+
After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
|
|
@@ -14,6 +14,46 @@
|
|
|
14
14
|
"metadata": {
|
|
15
15
|
"favicon": "/Icon.png"
|
|
16
16
|
},
|
|
17
|
+
"theme": {
|
|
18
|
+
"fonts": {
|
|
19
|
+
"sans": "IBM Plex Sans",
|
|
20
|
+
"mono": "JetBrains Mono"
|
|
21
|
+
},
|
|
22
|
+
"light": {
|
|
23
|
+
"background": "#F5F6F9",
|
|
24
|
+
"foreground": "#0E1016",
|
|
25
|
+
"card": "#FFFFFF",
|
|
26
|
+
"cardForeground": "#0E1016",
|
|
27
|
+
"primary": "#E11D2A",
|
|
28
|
+
"primaryForeground": "#ffffff",
|
|
29
|
+
"secondary": "#FAFBFC",
|
|
30
|
+
"secondaryForeground": "#0E1016",
|
|
31
|
+
"muted": "#FAFBFC",
|
|
32
|
+
"mutedForeground": "#565E70",
|
|
33
|
+
"accent": "rgba(225, 29, 42, 0.08)",
|
|
34
|
+
"accentForeground": "#E11D2A",
|
|
35
|
+
"border": "#E6E8EF",
|
|
36
|
+
"input": "#D6DAE3",
|
|
37
|
+
"ring": "#E11D2A"
|
|
38
|
+
},
|
|
39
|
+
"dark": {
|
|
40
|
+
"background": "#0B0D12",
|
|
41
|
+
"foreground": "#EDEFF5",
|
|
42
|
+
"card": "#14171F",
|
|
43
|
+
"cardForeground": "#EDEFF5",
|
|
44
|
+
"primary": "#F23645",
|
|
45
|
+
"primaryForeground": "#ffffff",
|
|
46
|
+
"secondary": "#191D27",
|
|
47
|
+
"secondaryForeground": "#EDEFF5",
|
|
48
|
+
"muted": "#191D27",
|
|
49
|
+
"mutedForeground": "#A6AEBF",
|
|
50
|
+
"accent": "rgba(242, 54, 69, 0.13)",
|
|
51
|
+
"accentForeground": "#F23645",
|
|
52
|
+
"border": "#252B37",
|
|
53
|
+
"input": "#333A48",
|
|
54
|
+
"ring": "#F23645"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
17
57
|
"modules": {
|
|
18
58
|
"docs": {
|
|
19
59
|
"files": "/pages/**/*.{md,mdx}"
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Local demo auth is enabled by default in development.
|
|
2
|
+
# Sign in at /login with demo@apitogo.local / password
|
|
3
|
+
# Set APITOGO_CONFIG_demoMode=false to disable.
|
|
4
|
+
#
|
|
5
|
+
# Live dev-portal API URL (only needed after publish):
|
|
6
|
+
# VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# APItoGo Dev Portal — Agent Guidance
|
|
2
|
+
|
|
3
|
+
When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
|
|
4
|
+
|
|
5
|
+
## Use MCP tools for
|
|
6
|
+
|
|
7
|
+
| Change | MCP tool |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Add a docs page | `add_dev_portal_page` |
|
|
10
|
+
| Edit a docs page | `update_dev_portal_page` |
|
|
11
|
+
| OpenAPI / API Reference | `set_dev_portal_openapi` |
|
|
12
|
+
| Plans, branding, backend, projectId | `update_dev_portal_manifest` |
|
|
13
|
+
| Theme colors and fonts | `set_dev_portal_theme` |
|
|
14
|
+
| Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
|
|
15
|
+
|
|
16
|
+
These tools wire navigation/config and run site validation. Hand-editing `pages/**` or `apitogo.config.*` bypasses validation and can silently break the site.
|
|
17
|
+
|
|
18
|
+
## Hand-edit only when no tool exists
|
|
19
|
+
|
|
20
|
+
- **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
|
|
21
|
+
- **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
|
|
22
|
+
|
|
23
|
+
## Local preview
|
|
24
|
+
|
|
25
|
+
After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
|
|
@@ -14,6 +14,46 @@
|
|
|
14
14
|
"metadata": {
|
|
15
15
|
"favicon": "/Icon.png"
|
|
16
16
|
},
|
|
17
|
+
"theme": {
|
|
18
|
+
"fonts": {
|
|
19
|
+
"sans": "IBM Plex Sans",
|
|
20
|
+
"mono": "JetBrains Mono"
|
|
21
|
+
},
|
|
22
|
+
"light": {
|
|
23
|
+
"background": "#F5F6F9",
|
|
24
|
+
"foreground": "#0E1016",
|
|
25
|
+
"card": "#FFFFFF",
|
|
26
|
+
"cardForeground": "#0E1016",
|
|
27
|
+
"primary": "#E11D2A",
|
|
28
|
+
"primaryForeground": "#ffffff",
|
|
29
|
+
"secondary": "#FAFBFC",
|
|
30
|
+
"secondaryForeground": "#0E1016",
|
|
31
|
+
"muted": "#FAFBFC",
|
|
32
|
+
"mutedForeground": "#565E70",
|
|
33
|
+
"accent": "rgba(225, 29, 42, 0.08)",
|
|
34
|
+
"accentForeground": "#E11D2A",
|
|
35
|
+
"border": "#E6E8EF",
|
|
36
|
+
"input": "#D6DAE3",
|
|
37
|
+
"ring": "#E11D2A"
|
|
38
|
+
},
|
|
39
|
+
"dark": {
|
|
40
|
+
"background": "#0B0D12",
|
|
41
|
+
"foreground": "#EDEFF5",
|
|
42
|
+
"card": "#14171F",
|
|
43
|
+
"cardForeground": "#EDEFF5",
|
|
44
|
+
"primary": "#F23645",
|
|
45
|
+
"primaryForeground": "#ffffff",
|
|
46
|
+
"secondary": "#191D27",
|
|
47
|
+
"secondaryForeground": "#EDEFF5",
|
|
48
|
+
"muted": "#191D27",
|
|
49
|
+
"mutedForeground": "#A6AEBF",
|
|
50
|
+
"accent": "rgba(242, 54, 69, 0.13)",
|
|
51
|
+
"accentForeground": "#F23645",
|
|
52
|
+
"border": "#252B37",
|
|
53
|
+
"input": "#333A48",
|
|
54
|
+
"ring": "#F23645"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
17
57
|
"modules": {
|
|
18
58
|
"docs": {
|
|
19
59
|
"files": "/pages/**/*.{md,mdx}"
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Local demo auth is enabled by default in development.
|
|
2
|
+
# Sign in at /login with demo@apitogo.local / password
|
|
3
|
+
# Set APITOGO_CONFIG_demoMode=false to disable.
|
|
4
|
+
#
|
|
5
|
+
# Live dev-portal API URL (only needed after publish):
|
|
6
|
+
# VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# APItoGo Dev Portal — Agent Guidance
|
|
2
|
+
|
|
3
|
+
When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
|
|
4
|
+
|
|
5
|
+
## Use MCP tools for
|
|
6
|
+
|
|
7
|
+
| Change | MCP tool |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Add a docs page | `add_dev_portal_page` |
|
|
10
|
+
| Edit a docs page | `update_dev_portal_page` |
|
|
11
|
+
| OpenAPI / API Reference | `set_dev_portal_openapi` |
|
|
12
|
+
| Plans, branding, backend, projectId | `update_dev_portal_manifest` |
|
|
13
|
+
| Theme colors and fonts | `set_dev_portal_theme` |
|
|
14
|
+
| Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
|
|
15
|
+
|
|
16
|
+
These tools wire navigation/config and run site validation. Hand-editing `pages/**` or `apitogo.config.*` bypasses validation and can silently break the site.
|
|
17
|
+
|
|
18
|
+
## Hand-edit only when no tool exists
|
|
19
|
+
|
|
20
|
+
- **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
|
|
21
|
+
- **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
|
|
22
|
+
|
|
23
|
+
## Local preview
|
|
24
|
+
|
|
25
|
+
After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
|
|
@@ -14,6 +14,46 @@
|
|
|
14
14
|
"metadata": {
|
|
15
15
|
"favicon": "/Icon.png"
|
|
16
16
|
},
|
|
17
|
+
"theme": {
|
|
18
|
+
"fonts": {
|
|
19
|
+
"sans": "IBM Plex Sans",
|
|
20
|
+
"mono": "JetBrains Mono"
|
|
21
|
+
},
|
|
22
|
+
"light": {
|
|
23
|
+
"background": "#F5F6F9",
|
|
24
|
+
"foreground": "#0E1016",
|
|
25
|
+
"card": "#FFFFFF",
|
|
26
|
+
"cardForeground": "#0E1016",
|
|
27
|
+
"primary": "#E11D2A",
|
|
28
|
+
"primaryForeground": "#ffffff",
|
|
29
|
+
"secondary": "#FAFBFC",
|
|
30
|
+
"secondaryForeground": "#0E1016",
|
|
31
|
+
"muted": "#FAFBFC",
|
|
32
|
+
"mutedForeground": "#565E70",
|
|
33
|
+
"accent": "rgba(225, 29, 42, 0.08)",
|
|
34
|
+
"accentForeground": "#E11D2A",
|
|
35
|
+
"border": "#E6E8EF",
|
|
36
|
+
"input": "#D6DAE3",
|
|
37
|
+
"ring": "#E11D2A"
|
|
38
|
+
},
|
|
39
|
+
"dark": {
|
|
40
|
+
"background": "#0B0D12",
|
|
41
|
+
"foreground": "#EDEFF5",
|
|
42
|
+
"card": "#14171F",
|
|
43
|
+
"cardForeground": "#EDEFF5",
|
|
44
|
+
"primary": "#F23645",
|
|
45
|
+
"primaryForeground": "#ffffff",
|
|
46
|
+
"secondary": "#191D27",
|
|
47
|
+
"secondaryForeground": "#EDEFF5",
|
|
48
|
+
"muted": "#191D27",
|
|
49
|
+
"mutedForeground": "#A6AEBF",
|
|
50
|
+
"accent": "rgba(242, 54, 69, 0.13)",
|
|
51
|
+
"accentForeground": "#F23645",
|
|
52
|
+
"border": "#252B37",
|
|
53
|
+
"input": "#333A48",
|
|
54
|
+
"ring": "#F23645"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
17
57
|
"modules": {
|
|
18
58
|
"docs": {
|
|
19
59
|
"files": "/pages/**/*.{md,mdx}"
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Local demo auth is enabled by default in development.
|
|
2
|
+
# Sign in at /login with demo@apitogo.local / password
|
|
3
|
+
# Set APITOGO_CONFIG_demoMode=false to disable.
|
|
4
|
+
#
|
|
5
|
+
# Live dev-portal API URL (only needed after publish):
|
|
6
|
+
# VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# APItoGo Dev Portal — Agent Guidance
|
|
2
|
+
|
|
3
|
+
When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
|
|
4
|
+
|
|
5
|
+
## Use MCP tools for
|
|
6
|
+
|
|
7
|
+
| Change | MCP tool |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Add a docs page | `add_dev_portal_page` |
|
|
10
|
+
| Edit a docs page | `update_dev_portal_page` |
|
|
11
|
+
| OpenAPI / API Reference | `set_dev_portal_openapi` |
|
|
12
|
+
| Plans, branding, backend, projectId | `update_dev_portal_manifest` |
|
|
13
|
+
| Theme colors and fonts | `set_dev_portal_theme` |
|
|
14
|
+
| Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
|
|
15
|
+
|
|
16
|
+
These tools wire navigation/config and run site validation. Hand-editing `pages/**` or `apitogo.config.*` bypasses validation and can silently break the site.
|
|
17
|
+
|
|
18
|
+
## Hand-edit only when no tool exists
|
|
19
|
+
|
|
20
|
+
- **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
|
|
21
|
+
- **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
|
|
22
|
+
|
|
23
|
+
## Local preview
|
|
24
|
+
|
|
25
|
+
After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
|
|
@@ -14,6 +14,46 @@
|
|
|
14
14
|
"metadata": {
|
|
15
15
|
"favicon": "/Icon.png"
|
|
16
16
|
},
|
|
17
|
+
"theme": {
|
|
18
|
+
"fonts": {
|
|
19
|
+
"sans": "IBM Plex Sans",
|
|
20
|
+
"mono": "JetBrains Mono"
|
|
21
|
+
},
|
|
22
|
+
"light": {
|
|
23
|
+
"background": "#F5F6F9",
|
|
24
|
+
"foreground": "#0E1016",
|
|
25
|
+
"card": "#FFFFFF",
|
|
26
|
+
"cardForeground": "#0E1016",
|
|
27
|
+
"primary": "#E11D2A",
|
|
28
|
+
"primaryForeground": "#ffffff",
|
|
29
|
+
"secondary": "#FAFBFC",
|
|
30
|
+
"secondaryForeground": "#0E1016",
|
|
31
|
+
"muted": "#FAFBFC",
|
|
32
|
+
"mutedForeground": "#565E70",
|
|
33
|
+
"accent": "rgba(225, 29, 42, 0.08)",
|
|
34
|
+
"accentForeground": "#E11D2A",
|
|
35
|
+
"border": "#E6E8EF",
|
|
36
|
+
"input": "#D6DAE3",
|
|
37
|
+
"ring": "#E11D2A"
|
|
38
|
+
},
|
|
39
|
+
"dark": {
|
|
40
|
+
"background": "#0B0D12",
|
|
41
|
+
"foreground": "#EDEFF5",
|
|
42
|
+
"card": "#14171F",
|
|
43
|
+
"cardForeground": "#EDEFF5",
|
|
44
|
+
"primary": "#F23645",
|
|
45
|
+
"primaryForeground": "#ffffff",
|
|
46
|
+
"secondary": "#191D27",
|
|
47
|
+
"secondaryForeground": "#EDEFF5",
|
|
48
|
+
"muted": "#191D27",
|
|
49
|
+
"mutedForeground": "#A6AEBF",
|
|
50
|
+
"accent": "rgba(242, 54, 69, 0.13)",
|
|
51
|
+
"accentForeground": "#F23645",
|
|
52
|
+
"border": "#252B37",
|
|
53
|
+
"input": "#333A48",
|
|
54
|
+
"ring": "#F23645"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
17
57
|
"modules": {
|
|
18
58
|
"docs": {
|
|
19
59
|
"files": "/pages/**/*.{md,mdx}"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# APItoGo Dev Portal — Agent Guidance
|
|
2
|
+
|
|
3
|
+
When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
|
|
4
|
+
|
|
5
|
+
## Use MCP tools for
|
|
6
|
+
|
|
7
|
+
| Change | MCP tool |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Add a docs page | `add_dev_portal_page` |
|
|
10
|
+
| Edit a docs page | `update_dev_portal_page` |
|
|
11
|
+
| OpenAPI / API Reference | `set_dev_portal_openapi` |
|
|
12
|
+
| Plans, branding, backend, projectId | `update_dev_portal_manifest` |
|
|
13
|
+
| Theme colors and fonts | `set_dev_portal_theme` |
|
|
14
|
+
| Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
|
|
15
|
+
|
|
16
|
+
These tools wire navigation/config and run site validation. Hand-editing `pages/**` or `apitogo.config.*` bypasses validation and can silently break the site.
|
|
17
|
+
|
|
18
|
+
## Hand-edit only when no tool exists
|
|
19
|
+
|
|
20
|
+
- **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
|
|
21
|
+
- **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
|
|
22
|
+
|
|
23
|
+
## Local preview
|
|
24
|
+
|
|
25
|
+
After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
|