create-zudoku 0.0.0-e7477f4 → 0.0.0-e95e2f88

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.
Files changed (31) hide show
  1. package/dist/index.js +8 -8
  2. package/package.json +3 -3
  3. package/dist/templates/default/js/README-template.md +0 -25
  4. package/dist/templates/default/js/apis/openapi.yaml +0 -806
  5. package/dist/templates/default/js/eslintrc.json +0 -4
  6. package/dist/templates/default/js/gitignore +0 -32
  7. package/dist/templates/default/js/pages/example.mdx +0 -9
  8. package/dist/templates/default/js/pages/introduction.mdx +0 -15
  9. package/dist/templates/default/js/public/logo-dark.svg +0 -1
  10. package/dist/templates/default/js/public/logo-light.svg +0 -1
  11. package/dist/templates/default/js/zudoku.config.jsx +0 -65
  12. package/dist/templates/default/ts/README-template.md +0 -25
  13. package/dist/templates/default/ts/apis/openapi.yaml +0 -806
  14. package/dist/templates/default/ts/eslintrc.json +0 -6
  15. package/dist/templates/default/ts/gitignore +0 -32
  16. package/dist/templates/default/ts/pages/example.mdx +0 -9
  17. package/dist/templates/default/ts/pages/introduction.mdx +0 -15
  18. package/dist/templates/default/ts/public/banner-dark.svg +0 -100
  19. package/dist/templates/default/ts/public/banner.svg +0 -100
  20. package/dist/templates/default/ts/public/logo-dark.svg +0 -1
  21. package/dist/templates/default/ts/public/logo-light.svg +0 -1
  22. package/dist/templates/default/ts/tsconfig.json +0 -16
  23. package/dist/templates/default/ts/zudoku.config.tsx +0 -66
  24. package/dist/templates/zuplo/README-template.md +0 -7
  25. package/dist/templates/zuplo/gitignore +0 -32
  26. package/dist/templates/zuplo/pages/introduction.mdx +0 -129
  27. package/dist/templates/zuplo/pages/markdown.mdx +0 -103
  28. package/dist/templates/zuplo/public/banner-dark.svg +0 -100
  29. package/dist/templates/zuplo/public/banner.svg +0 -100
  30. package/dist/templates/zuplo/tsconfig.json +0 -16
  31. package/dist/templates/zuplo/zudoku.config.tsx +0 -89
@@ -1,89 +0,0 @@
1
- import type { ZudokuConfig } from "zudoku";
2
-
3
- /**
4
- * Developer Portal Configuration
5
- * For more information, see:
6
- * https://zuplo.com/docs/dev-portal/zudoku/configuration/overview
7
- */
8
- const config: ZudokuConfig = {
9
- site: {
10
- title: "My Developer Portal",
11
- logo: {
12
- src: {
13
- light: "https://cdn.zuplo.com/assets/my-dev-portal-light.svg",
14
- dark: "https://cdn.zuplo.com/assets/my-dev-portal-dark.svg",
15
- },
16
- },
17
- },
18
- navigation: [
19
- {
20
- type: "category",
21
- label: "Documentation",
22
- items: [
23
- {
24
- type: "category",
25
- label: "Getting Started",
26
- icon: "sparkles",
27
- items: [
28
- {
29
- type: "doc",
30
- file: "introduction",
31
- },
32
- {
33
- type: "doc",
34
- file: "markdown",
35
- },
36
- ],
37
- },
38
- {
39
- type: "category",
40
- label: "Useful Links",
41
- collapsible: false,
42
- icon: "link",
43
- items: [
44
- {
45
- type: "link",
46
- label: "Zuplo Docs",
47
- to: "https://zuplo.com/docs/dev-portal/introduction",
48
- },
49
- {
50
- type: "link",
51
- label: "Developer Portal Docs",
52
- to: "https://zuplo.com/docs/dev-portal/introduction",
53
- },
54
- ],
55
- },
56
- ],
57
- },
58
- {
59
- type: "link",
60
- to: "/api",
61
- label: "API Reference",
62
- },
63
- ],
64
- redirects: [{ from: "/", to: "/api" }],
65
- apis: [
66
- {
67
- type: "file",
68
- input: "../config/routes.oas.json",
69
- path: "api",
70
- },
71
- ],
72
- authentication: {
73
- // IMPORTANT: This is a demo Auth0 configuration.
74
- // In a real application, you should replace these values with your own
75
- // identity provider's configuration.
76
- // This configuration WILL NOT WORK with custom domains.
77
- // For more information, see:
78
- // https://zuplo.com/docs/dev-portal/zudoku/configuration/authentication
79
- type: "auth0",
80
- domain: "auth.zuplo.site",
81
- clientId: "f8I87rdsCRo4nU2FHf0fHVwA9P7xi7Ml",
82
- audience: "https://api.example.com/",
83
- },
84
- apiKeys: {
85
- enabled: true,
86
- },
87
- };
88
-
89
- export default config;