@eventcatalog/create-eventcatalog 2.0.2 → 2.0.4
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 +1 -1
- package/package.json +1 -1
- package/templates/default/eventcatalog.config.js +9 -2
- package/templates/default/events/Inventory/InventoryAdjusted/index.md +2 -0
- package/templates/default/events/Inventory/InventoryAdjusted/schema.json +36 -0
- package/templates/default/public/logo.png +0 -0
package/dist/index.js
CHANGED
|
@@ -22652,7 +22652,7 @@ function validateNpmName(name) {
|
|
|
22652
22652
|
var package_default = {
|
|
22653
22653
|
name: "@eventcatalog/create-eventcatalog",
|
|
22654
22654
|
description: "Create EventCatalog with one command",
|
|
22655
|
-
version: "2.0.
|
|
22655
|
+
version: "2.0.4",
|
|
22656
22656
|
bin: {
|
|
22657
22657
|
"create-catalog": "./dist/index.js"
|
|
22658
22658
|
},
|
package/package.json
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
/** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
|
|
1
2
|
export default {
|
|
2
3
|
title: 'EventCatalog',
|
|
3
|
-
trailingSlash: false,
|
|
4
4
|
tagline: 'Discover, Explore and Document your Event Driven Architectures',
|
|
5
5
|
organizationName: 'Your Company',
|
|
6
6
|
homepageLink: 'https://eventcatalog.dev/',
|
|
7
7
|
editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
|
|
8
|
+
// By default set to false, add true to get urls ending in /
|
|
9
|
+
trailingSlash: false,
|
|
10
|
+
// Change to make the base url of the site different, by default https://{website}.com/docs,
|
|
11
|
+
// changing to /company would be https://{website}.com/company/docs,
|
|
12
|
+
base: '/',
|
|
13
|
+
// Customize the logo, add your logo to public/ folder
|
|
8
14
|
logo: {
|
|
9
15
|
alt: 'EventCatalog Logo',
|
|
10
|
-
src: 'logo.
|
|
16
|
+
src: 'logo.png',
|
|
17
|
+
text: 'EventCatalog'
|
|
11
18
|
},
|
|
12
19
|
docs: {
|
|
13
20
|
sidebar: {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Employee",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"description": "A record representing an employee",
|
|
6
|
+
"properties": {
|
|
7
|
+
"Name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the employee"
|
|
10
|
+
},
|
|
11
|
+
"Age": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"description": "The age of the employee"
|
|
14
|
+
},
|
|
15
|
+
"Department": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The department where the employee works"
|
|
18
|
+
},
|
|
19
|
+
"Position": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The position or title of the employee within the department"
|
|
22
|
+
},
|
|
23
|
+
"Salary": {
|
|
24
|
+
"type": "number",
|
|
25
|
+
"format": "double",
|
|
26
|
+
"description": "The salary of the employee"
|
|
27
|
+
},
|
|
28
|
+
"JoinDate": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "date",
|
|
31
|
+
"description": "The date when the employee joined the company"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": ["Name", "Age", "Department", "Position", "Salary", "JoinDate"]
|
|
35
|
+
}
|
|
36
|
+
|
|
Binary file
|