@eventcatalog/create-eventcatalog 3.1.2 → 4.0.0
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/index.js +18 -1
- package/package.json +1 -1
- package/templates/asyncapi/eventcatalog.config.js +7 -7
- package/templates/confluent/eventcatalog.config.js +7 -7
- package/templates/default/eventcatalog.config.js +8 -13
- package/templates/empty/eventcatalog.config.js +7 -13
- package/templates/eventbridge/eventcatalog.config.js +7 -7
- package/templates/graphql/eventcatalog.config.js +7 -6
- package/templates/openapi/eventcatalog.config.js +7 -13
package/dist/index.js
CHANGED
|
@@ -22518,7 +22518,7 @@ var import_os2 = __toESM(require("os"));
|
|
|
22518
22518
|
var package_default = {
|
|
22519
22519
|
name: "@eventcatalog/create-eventcatalog",
|
|
22520
22520
|
description: "Create EventCatalog with one command",
|
|
22521
|
-
version: "
|
|
22521
|
+
version: "4.0.0",
|
|
22522
22522
|
bin: {
|
|
22523
22523
|
"create-catalog": "./dist/index.js"
|
|
22524
22524
|
},
|
|
@@ -22953,6 +22953,23 @@ Run ${import_chalk5.default.cyan(`${program.name()} --help`)} to see all options
|
|
|
22953
22953
|
organizationName = res.organizationName.trim();
|
|
22954
22954
|
}
|
|
22955
22955
|
}
|
|
22956
|
+
const onboardingRes = await (0, import_prompts.default)({
|
|
22957
|
+
type: "confirm",
|
|
22958
|
+
name: "wantsOnboarding",
|
|
22959
|
+
message: "Would you like a free onboarding call to learn how EventCatalog can help your team?",
|
|
22960
|
+
initial: false
|
|
22961
|
+
});
|
|
22962
|
+
if (onboardingRes.wantsOnboarding) {
|
|
22963
|
+
console.log();
|
|
22964
|
+
console.log(import_chalk5.default.cyan("Great! You can schedule your free onboarding call here:"));
|
|
22965
|
+
console.log(import_chalk5.default.bold.underline("https://calendly.com/boyneyy123/eventcatalog-onboard-session"));
|
|
22966
|
+
console.log();
|
|
22967
|
+
await (0, import_prompts.default)({
|
|
22968
|
+
type: "text",
|
|
22969
|
+
name: "continue",
|
|
22970
|
+
message: "Press Enter to continue with the installation..."
|
|
22971
|
+
});
|
|
22972
|
+
}
|
|
22956
22973
|
const template = program.template || "default";
|
|
22957
22974
|
const resolvedProjectPath = import_path11.default.resolve(projectPath);
|
|
22958
22975
|
const projectName = import_path11.default.basename(resolvedProjectPath);
|
package/package.json
CHANGED
|
@@ -18,6 +18,13 @@ export default {
|
|
|
18
18
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
19
19
|
// changing to /company would be https://{website}.com/company/docs,
|
|
20
20
|
base: '/',
|
|
21
|
+
// Customize the navigation for your docs sidebar.
|
|
22
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
23
|
+
navigation: {
|
|
24
|
+
pages: [
|
|
25
|
+
'list:all',
|
|
26
|
+
]
|
|
27
|
+
},
|
|
21
28
|
logo: {
|
|
22
29
|
alt: 'EventCatalog Logo',
|
|
23
30
|
src: '/logo.png',
|
|
@@ -58,13 +65,6 @@ export default {
|
|
|
58
65
|
},
|
|
59
66
|
],
|
|
60
67
|
],
|
|
61
|
-
docs: {
|
|
62
|
-
sidebar: {
|
|
63
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
64
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
65
|
-
type: 'LIST_VIEW'
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
68
|
// Enable RSS feed for your eventcatalog
|
|
69
69
|
rss: {
|
|
70
70
|
enabled: true,
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
14
14
|
// changing to /company would be https://{website}.com/company/docs,
|
|
15
15
|
base: '/',
|
|
16
|
+
// Customize the navigation for your docs sidebar.
|
|
17
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
18
|
+
navigation: {
|
|
19
|
+
pages: [
|
|
20
|
+
'list:all',
|
|
21
|
+
]
|
|
22
|
+
},
|
|
16
23
|
// Customize the logo, add your logo to public/ folder
|
|
17
24
|
logo: {
|
|
18
25
|
alt: 'EventCatalog Logo',
|
|
@@ -25,13 +32,6 @@ export default {
|
|
|
25
32
|
// number of items to include in the feed per resource (event, service, etc)
|
|
26
33
|
limit: 20
|
|
27
34
|
},
|
|
28
|
-
docs: {
|
|
29
|
-
sidebar: {
|
|
30
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
31
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
32
|
-
type: 'LIST_VIEW'
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
35
|
// required random generated id used by eventcatalog
|
|
36
36
|
cId: '<cId>',
|
|
37
37
|
// This lets you copy markdown contents from EventCatalog to your clipboard
|
|
@@ -13,25 +13,20 @@ export default {
|
|
|
13
13
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
14
14
|
// changing to /company would be https://{website}.com/company/docs,
|
|
15
15
|
base: '/',
|
|
16
|
+
// Customize the navigation for your docs sidebar.
|
|
17
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
18
|
+
navigation: {
|
|
19
|
+
pages: [
|
|
20
|
+
'list:top-level-domains',
|
|
21
|
+
'list:all',
|
|
22
|
+
]
|
|
23
|
+
},
|
|
16
24
|
// Customize the logo, add your logo to public/ folder
|
|
17
25
|
logo: {
|
|
18
26
|
alt: 'EventCatalog Logo',
|
|
19
27
|
src: '/logo.png',
|
|
20
28
|
text: 'EventCatalog'
|
|
21
29
|
},
|
|
22
|
-
docs: {
|
|
23
|
-
sidebar: {
|
|
24
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
25
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
26
|
-
type: 'LIST_VIEW'
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
// Enable RSS feed for your eventcatalog
|
|
30
|
-
rss: {
|
|
31
|
-
enabled: true,
|
|
32
|
-
// number of items to include in the feed per resource (event, service, etc)
|
|
33
|
-
limit: 20
|
|
34
|
-
},
|
|
35
30
|
// This lets you copy markdown contents from EventCatalog to your clipboard
|
|
36
31
|
// Including schemas for your events and services
|
|
37
32
|
llmsTxt: {
|
|
@@ -13,30 +13,24 @@ export default {
|
|
|
13
13
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
14
14
|
// changing to /company would be https://{website}.com/company/docs,
|
|
15
15
|
base: '/',
|
|
16
|
+
// Customize the navigation for your docs sidebar.
|
|
17
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
18
|
+
navigation: {
|
|
19
|
+
pages: [
|
|
20
|
+
'list:all',
|
|
21
|
+
]
|
|
22
|
+
},
|
|
16
23
|
// Customize the logo, add your logo to public/ folder
|
|
17
24
|
logo: {
|
|
18
25
|
alt: 'EventCatalog Logo',
|
|
19
26
|
src: '/logo.png',
|
|
20
27
|
text: 'EventCatalog'
|
|
21
28
|
},
|
|
22
|
-
// Enable RSS feed for your eventcatalog
|
|
23
|
-
rss: {
|
|
24
|
-
enabled: true,
|
|
25
|
-
// number of items to include in the feed per resource (event, service, etc)
|
|
26
|
-
limit: 20
|
|
27
|
-
},
|
|
28
29
|
// This lets you copy markdown contents from EventCatalog to your clipboard
|
|
29
30
|
// Including schemas for your events and services
|
|
30
31
|
llmsTxt: {
|
|
31
32
|
enabled: true,
|
|
32
33
|
},
|
|
33
|
-
docs: {
|
|
34
|
-
sidebar: {
|
|
35
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
36
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
37
|
-
type: 'LIST_VIEW'
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
34
|
// required random generated id used by eventcatalog
|
|
41
35
|
cId: '<cId>'
|
|
42
36
|
}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
14
14
|
// changing to /company would be https://{website}.com/company/docs,
|
|
15
15
|
base: '/',
|
|
16
|
+
// Customize the navigation for your docs sidebar.
|
|
17
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
18
|
+
navigation: {
|
|
19
|
+
pages: [
|
|
20
|
+
'list:all',
|
|
21
|
+
]
|
|
22
|
+
},
|
|
16
23
|
// Customize the logo, add your logo to public/ folder
|
|
17
24
|
logo: {
|
|
18
25
|
alt: 'EventCatalog Logo',
|
|
@@ -25,13 +32,6 @@ export default {
|
|
|
25
32
|
// number of items to include in the feed per resource (event, service, etc)
|
|
26
33
|
limit: 20
|
|
27
34
|
},
|
|
28
|
-
docs: {
|
|
29
|
-
sidebar: {
|
|
30
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
31
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
32
|
-
type: 'LIST_VIEW'
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
35
|
// This lets you copy markdown contents from EventCatalog to your clipboard
|
|
36
36
|
// Including schemas for your events and services
|
|
37
37
|
llmsTxt: {
|
|
@@ -18,6 +18,13 @@ export default {
|
|
|
18
18
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
19
19
|
// changing to /company would be https://{website}.com/company/docs,
|
|
20
20
|
base: "/",
|
|
21
|
+
// Customize the navigation for your docs sidebar.
|
|
22
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
23
|
+
navigation: {
|
|
24
|
+
pages: [
|
|
25
|
+
'list:all',
|
|
26
|
+
]
|
|
27
|
+
},
|
|
21
28
|
// Customize the logo, add your logo to public/ folder
|
|
22
29
|
logo: {
|
|
23
30
|
alt: "EventCatalog Logo",
|
|
@@ -49,12 +56,6 @@ export default {
|
|
|
49
56
|
},
|
|
50
57
|
],
|
|
51
58
|
],
|
|
52
|
-
// Enable RSS feed for your eventcatalog
|
|
53
|
-
rss: {
|
|
54
|
-
enabled: true,
|
|
55
|
-
// number of items to include in the feed per resource (event, service, etc)
|
|
56
|
-
limit: 20
|
|
57
|
-
},
|
|
58
59
|
// required random generated id used by eventcatalog
|
|
59
60
|
cId: '<cId>'
|
|
60
61
|
};
|
|
@@ -18,6 +18,13 @@ export default {
|
|
|
18
18
|
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
19
19
|
// changing to /company would be https://{website}.com/company/docs,
|
|
20
20
|
base: "/",
|
|
21
|
+
// Customize the navigation for your docs sidebar.
|
|
22
|
+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
|
|
23
|
+
navigation: {
|
|
24
|
+
pages: [
|
|
25
|
+
'list:all',
|
|
26
|
+
]
|
|
27
|
+
},
|
|
21
28
|
// Customize the logo, add your logo to public/ folder
|
|
22
29
|
logo: {
|
|
23
30
|
alt: "EventCatalog Logo",
|
|
@@ -63,19 +70,6 @@ export default {
|
|
|
63
70
|
},
|
|
64
71
|
],
|
|
65
72
|
],
|
|
66
|
-
docs: {
|
|
67
|
-
sidebar: {
|
|
68
|
-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
|
|
69
|
-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
|
|
70
|
-
type: 'LIST_VIEW'
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
// Enable RSS feed for your eventcatalog
|
|
74
|
-
rss: {
|
|
75
|
-
enabled: true,
|
|
76
|
-
// number of items to include in the feed per resource (event, service, etc)
|
|
77
|
-
limit: 20
|
|
78
|
-
},
|
|
79
73
|
// required random generated id used by eventcatalog
|
|
80
74
|
cId: '<cId>'
|
|
81
75
|
};
|