@eventcatalog/core 2.14.3 → 2.16.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/README.md +2 -1
- package/bin/eventcatalog.js +2 -0
- package/default-files-for-collections/ubiquitousLanguages.md +7 -0
- package/dist/analytics/analytics.cjs +71 -0
- package/dist/analytics/analytics.d.cts +3 -0
- package/dist/analytics/analytics.d.ts +3 -0
- package/dist/analytics/analytics.js +7 -0
- package/dist/analytics/log-build.cjs +155 -0
- package/dist/analytics/log-build.d.cts +7 -0
- package/dist/analytics/log-build.d.ts +7 -0
- package/dist/analytics/log-build.js +9 -0
- package/dist/catalog-to-astro-content-directory.cjs +286 -0
- package/dist/catalog-to-astro-content-directory.d.cts +3 -0
- package/dist/catalog-to-astro-content-directory.d.ts +3 -0
- package/dist/catalog-to-astro-content-directory.js +8 -0
- package/dist/chunk-55YPRY5U.js +87 -0
- package/dist/chunk-5RNDOKYT.js +97 -0
- package/dist/chunk-6VJTKPOS.js +30 -0
- package/dist/chunk-BT6ILNB3.js +33 -0
- package/dist/chunk-DMGFALQN.js +9 -0
- package/dist/chunk-E7TXTI7G.js +78 -0
- package/{scripts/watcher.js → dist/chunk-NTCYOR4N.js} +29 -52
- package/dist/chunk-YEQVKHST.js +56 -0
- package/dist/constants.cjs +35 -0
- package/dist/constants.d.cts +3 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +6 -0
- package/dist/eventcatalog-config-file-utils.cjs +116 -0
- package/dist/eventcatalog-config-file-utils.d.cts +7 -0
- package/dist/eventcatalog-config-file-utils.d.ts +7 -0
- package/dist/eventcatalog-config-file-utils.js +14 -0
- package/{bin/dist → dist}/eventcatalog.cjs +35 -36
- package/{bin/dist → dist}/eventcatalog.config.cjs +1 -1
- package/dist/eventcatalog.config.js +0 -0
- package/dist/eventcatalog.d.cts +2 -0
- package/dist/eventcatalog.d.ts +2 -0
- package/dist/eventcatalog.js +116 -0
- package/dist/generate.cjs +121 -0
- package/dist/generate.d.cts +3 -0
- package/dist/generate.d.ts +3 -0
- package/dist/generate.js +7 -0
- package/dist/map-catalog-to-astro.cjs +131 -0
- package/dist/map-catalog-to-astro.d.cts +28 -0
- package/dist/map-catalog-to-astro.d.ts +28 -0
- package/dist/map-catalog-to-astro.js +6 -0
- package/dist/watcher.cjs +231 -0
- package/dist/watcher.d.cts +21 -0
- package/dist/watcher.d.ts +21 -0
- package/dist/watcher.js +8 -0
- package/{src → eventcatalog/src}/components/MDX/NodeGraph/Edges/AnimatedMessageEdge.tsx +1 -1
- package/{src → eventcatalog/src}/components/MDX/NodeGraph/NodeGraph.tsx +28 -38
- package/{src → eventcatalog/src}/components/MDX/SchemaViewer/SchemaViewer.astro +6 -1
- package/{src → eventcatalog/src}/components/SideBars/CatalogResourcesSideBar/index.tsx +19 -1
- package/{src → eventcatalog/src}/components/SideBars/DomainSideBar.astro +23 -0
- package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +196 -0
- package/{src → eventcatalog/src}/content/config.ts +18 -0
- package/eventcatalog/src/hooks/eventcatalog-visualizer.ts +89 -0
- package/eventcatalog/src/pages/docs/[type]/[id]/language.astro +301 -0
- package/{src → eventcatalog/src}/utils/collections/domains.ts +17 -2
- package/{src → eventcatalog/src}/utils/collections/icons.ts +3 -0
- package/{src → eventcatalog/src}/utils/node-graphs/message-node-graph.ts +2 -27
- package/{src → eventcatalog/src}/utils/node-graphs/utils/utils.ts +60 -3
- package/package.json +12 -3
- package/.all-contributorsrc +0 -436
- package/.changeset/config.json +0 -11
- package/.github/CODEOWNERS +0 -3
- package/.github/ISSUE_TEMPLATE/bug.yml +0 -84
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
- package/.github/ISSUE_TEMPLATE/feature.yml +0 -48
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -14
- package/.github/funding.yml +0 -1
- package/.github/workflows/lint.yml +0 -22
- package/.github/workflows/release.yml +0 -34
- package/.github/workflows/test-bin.yml +0 -29
- package/.github/workflows/test-e2e.yml +0 -27
- package/.github/workflows/verify-build.yml +0 -28
- package/.prettierignore +0 -7
- package/.prettierrc +0 -18
- package/CHANGELOG.md +0 -1296
- package/bin/dist/eventcatalog.d.cts +0 -1
- package/bin/dist/eventcatalog.d.ts +0 -1
- package/bin/dist/eventcatalog.js +0 -531
- package/bin/eventcatalog.config.ts +0 -34
- package/images/example.png +0 -0
- package/images/sponsors/gravitee-logo-black.svg +0 -54
- package/images/sponsors/hookdeck.svg +0 -11
- package/images/sponsors/oso-logo-green.png +0 -0
- package/scripts/analytics/analytics.js +0 -31
- package/scripts/analytics/log-build.js +0 -26
- package/scripts/build-ci.js +0 -27
- package/scripts/catalog-to-astro-content-directory.js +0 -115
- package/scripts/ci/test.js +0 -24
- package/scripts/constants.ts +0 -3
- package/scripts/eventcatalog-config-file-utils.js +0 -89
- package/scripts/generate.js +0 -65
- package/scripts/map-catalog-to-astro.js +0 -174
- package/scripts/start-catalog-locally.js +0 -26
- package/src/components/Tables/columns/ServiceTableColumns.tsx +0 -164
- /package/{bin/dist → dist}/eventcatalog.config.d.cts +0 -0
- /package/{bin/dist → dist}/eventcatalog.config.d.ts +0 -0
- /package/{astro.config.mjs → eventcatalog/astro.config.mjs} +0 -0
- /package/{global.d.ts → eventcatalog/global.d.ts} +0 -0
- /package/{public → eventcatalog/public}/favicon.ico +0 -0
- /package/{public → eventcatalog/public}/icons/asyncapi.svg +0 -0
- /package/{public → eventcatalog/public}/icons/discord.svg +0 -0
- /package/{public → eventcatalog/public}/icons/github-purple.svg +0 -0
- /package/{public → eventcatalog/public}/icons/github.svg +0 -0
- /package/{public → eventcatalog/public}/icons/ms-teams.svg +0 -0
- /package/{public → eventcatalog/public}/icons/openapi.svg +0 -0
- /package/{public → eventcatalog/public}/icons/protocols/kafka.svg +0 -0
- /package/{public → eventcatalog/public}/icons/x-twitter.svg +0 -0
- /package/{public → eventcatalog/public}/icons/youtube.svg +0 -0
- /package/{public → eventcatalog/public}/logo.png +0 -0
- /package/{public → eventcatalog/public}/openapi.yml +0 -0
- /package/{public → eventcatalog/public}/opengraph.png +0 -0
- /package/{public → eventcatalog/public}/slack-icon.svg +0 -0
- /package/{src → eventcatalog/src}/components/DiscoverInsight.astro +0 -0
- /package/{src → eventcatalog/src}/components/DocsNavigation.astro +0 -0
- /package/{src → eventcatalog/src}/components/Header.astro +0 -0
- /package/{src → eventcatalog/src}/components/Lists/OwnersList.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Lists/PillList.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Lists/PillListFlat.styles.css +0 -0
- /package/{src → eventcatalog/src}/components/Lists/PillListFlat.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Lists/ProtocolList.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Lists/RepositoryList.astro +0 -0
- /package/{src → eventcatalog/src}/components/Lists/SpecificationsList.astro +0 -0
- /package/{src → eventcatalog/src}/components/Lists/VersionList.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Accordion/Accordion.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Accordion/Accordion.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Accordion/AccordionGroup.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Admonition.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/AsyncAPI/AsyncAPI.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/ChannelInformation/ChannelInformation.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/File.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Flow/Flow.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/DownloadButton.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/NodeGraph.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/NodeGraphPortal.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Channel.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Command.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Event.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/ExternalSystem.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Query.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Service.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/Step.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/NodeGraph/Nodes/User.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/OpenAPI/OpenAPI.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Schema.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/SchemaViewer/SchemaViewer.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/SchemaViewer/SchemaViewerPortal.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Steps/Step.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Steps/Steps.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Tiles/Tile.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/Tiles/Tiles.astro +0 -0
- /package/{src → eventcatalog/src}/components/MDX/components.tsx +0 -0
- /package/{src → eventcatalog/src}/components/MDX/page-components.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Search.astro +0 -0
- /package/{src → eventcatalog/src}/components/Seo.astro +0 -0
- /package/{src → eventcatalog/src}/components/SideBars/CatalogResourcesSideBar/styles.css +0 -0
- /package/{src → eventcatalog/src}/components/SideBars/ChannelSideBar.astro +0 -0
- /package/{src → eventcatalog/src}/components/SideBars/MessageSideBar.astro +0 -0
- /package/{src → eventcatalog/src}/components/SideBars/ServiceSideBar.astro +0 -0
- /package/{src → eventcatalog/src}/components/Tables/DebouncedInput.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/Table.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/columns/DomainTableColumns.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/columns/FlowTableColumns.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/columns/MessageTableColumns.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/columns/index.tsx +0 -0
- /package/{src → eventcatalog/src}/components/Tables/filters/custom-filters.ts +0 -0
- /package/{src → eventcatalog/src}/env.d.ts +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/WebSocket.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/amqp.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/eventbridge.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/googlepubsub.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/http.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/index.ts +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/jms.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/kafka.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/mercure.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/mqtt.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/nats.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/pulsar.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/redis.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/sns.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/solace.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/sqs.svg +0 -0
- /package/{src → eventcatalog/src}/icons/protocols/ws.svg +0 -0
- /package/{src → eventcatalog/src}/layouts/CustomDocsPageLayout.astro +0 -0
- /package/{src → eventcatalog/src}/layouts/DiscoverLayout.astro +0 -0
- /package/{src → eventcatalog/src}/layouts/Footer.astro +0 -0
- /package/{src → eventcatalog/src}/layouts/PlainPage.astro +0 -0
- /package/{src → eventcatalog/src}/layouts/VerticalSideBarLayout.astro +0 -0
- /package/{src → eventcatalog/src}/layouts/VisualiserLayout.astro +0 -0
- /package/{src → eventcatalog/src}/pages/discover/[type]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/[version]/asyncapi/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/[version]/changelog/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/[version]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/[version]/spec/_styles.css +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/[version]/spec/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/[type]/[id]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/teams/[id]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/docs/users/[id]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/visualiser/[type]/[id]/[version]/index.astro +0 -0
- /package/{src → eventcatalog/src}/pages/visualiser/[type]/[id]/index.astro +0 -0
- /package/{src → eventcatalog/src}/remark-plugins/mermaid.ts +0 -0
- /package/{src → eventcatalog/src}/types/index.ts +0 -0
- /package/{src → eventcatalog/src}/utils/channels.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/changelogs.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/file-diffs.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/flows.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/services.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/util.ts +0 -0
- /package/{src → eventcatalog/src}/utils/collections/versions.ts +0 -0
- /package/{src → eventcatalog/src}/utils/colors.ts +0 -0
- /package/{src → eventcatalog/src}/utils/commands.ts +0 -0
- /package/{src → eventcatalog/src}/utils/eventcatalog-config/catalog.ts +0 -0
- /package/{src → eventcatalog/src}/utils/events.ts +0 -0
- /package/{src → eventcatalog/src}/utils/example-remark-plugin.mjs +0 -0
- /package/{src → eventcatalog/src}/utils/messages.ts +0 -0
- /package/{src → eventcatalog/src}/utils/node-graphs/domains-node-graph.ts +0 -0
- /package/{src → eventcatalog/src}/utils/node-graphs/flows-node-graph.ts +0 -0
- /package/{src → eventcatalog/src}/utils/node-graphs/services-node-graph.ts +0 -0
- /package/{src → eventcatalog/src}/utils/page-loaders/page-data-loader.ts +0 -0
- /package/{src → eventcatalog/src}/utils/pages.ts +0 -0
- /package/{src → eventcatalog/src}/utils/queries.ts +0 -0
- /package/{src → eventcatalog/src}/utils/teams.ts +0 -0
- /package/{src → eventcatalog/src}/utils/url-builder.ts +0 -0
- /package/{src → eventcatalog/src}/utils/users.ts +0 -0
- /package/{tailwind.config.mjs → eventcatalog/tailwind.config.mjs} +0 -0
- /package/{tsconfig.json → eventcatalog/tsconfig.json} +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
name: Bug Report 🐞
|
|
2
|
-
description: Create a bug report
|
|
3
|
-
labels: ["bug"]
|
|
4
|
-
body:
|
|
5
|
-
- type: markdown
|
|
6
|
-
attributes:
|
|
7
|
-
value: |
|
|
8
|
-
:pray: Thanks for taking the time to fill out this bug report! Feel free to ping us on [EventCatalog Discord](https://discord.com/invite/3rjaZMmrAm) if you have any questions or need help.
|
|
9
|
-
|
|
10
|
-
- type: markdown
|
|
11
|
-
attributes:
|
|
12
|
-
value: |
|
|
13
|
-
## Bug Report
|
|
14
|
-
|
|
15
|
-
- type: textarea
|
|
16
|
-
id: i-tried-this
|
|
17
|
-
attributes:
|
|
18
|
-
label: "I tried this:"
|
|
19
|
-
placeholder: "What did you try to do? A code snippet or example helps."
|
|
20
|
-
validations:
|
|
21
|
-
required: true
|
|
22
|
-
|
|
23
|
-
- type: textarea
|
|
24
|
-
id: instead-what-happened
|
|
25
|
-
attributes:
|
|
26
|
-
label: "This happened:"
|
|
27
|
-
placeholder: "What happened instead of what you've expected?"
|
|
28
|
-
validations:
|
|
29
|
-
required: true
|
|
30
|
-
|
|
31
|
-
- type: textarea
|
|
32
|
-
id: what-did-you-expect
|
|
33
|
-
attributes:
|
|
34
|
-
label: "I expected this:"
|
|
35
|
-
placeholder: "What did you expect to happen? Describe the output or behavior you expected to see (unless it's obvious)."
|
|
36
|
-
|
|
37
|
-
- type: textarea
|
|
38
|
-
id: workaround
|
|
39
|
-
attributes:
|
|
40
|
-
label: "Is there a workaround?"
|
|
41
|
-
placeholder: "What's the workaround to avoid this issue?"
|
|
42
|
-
|
|
43
|
-
- type: textarea
|
|
44
|
-
attributes:
|
|
45
|
-
label: Anything else?
|
|
46
|
-
placeholder: |
|
|
47
|
-
Links? References? Logs? Anything that will give us more context about the issue you are encountering.
|
|
48
|
-
Tip: You can attach images or log files by dragging files in.
|
|
49
|
-
|
|
50
|
-
- type: markdown
|
|
51
|
-
attributes:
|
|
52
|
-
value: |
|
|
53
|
-
## Environment
|
|
54
|
-
|
|
55
|
-
- type: input
|
|
56
|
-
id: eventcatalog-version
|
|
57
|
-
attributes:
|
|
58
|
-
label: "EventCatalog Version"
|
|
59
|
-
placeholder: "@eventcatalog/core@{version}"
|
|
60
|
-
|
|
61
|
-
- type: input
|
|
62
|
-
id: node
|
|
63
|
-
attributes:
|
|
64
|
-
label: "Node.js Version"
|
|
65
|
-
placeholder: "node --version"
|
|
66
|
-
|
|
67
|
-
- type: dropdown
|
|
68
|
-
id: platform
|
|
69
|
-
attributes:
|
|
70
|
-
label: "Platform(s)"
|
|
71
|
-
multiple: true
|
|
72
|
-
options:
|
|
73
|
-
- MacOS
|
|
74
|
-
- Linux
|
|
75
|
-
- Windows
|
|
76
|
-
- Other
|
|
77
|
-
|
|
78
|
-
- type: textarea
|
|
79
|
-
attributes:
|
|
80
|
-
label: Community Notes
|
|
81
|
-
value: |
|
|
82
|
-
<!-- Please keep this note for the community -->
|
|
83
|
-
* Please vote by adding a 👍 reaction to the issue to help us prioritize.
|
|
84
|
-
* If you are interested to work on this issue, please leave a comment.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
name: Enhancement 🚀
|
|
2
|
-
description: Suggest a new feature or other improvement
|
|
3
|
-
labels: ["✨ enhancement","needs-discussion"]
|
|
4
|
-
body:
|
|
5
|
-
- type: markdown
|
|
6
|
-
attributes:
|
|
7
|
-
value: |
|
|
8
|
-
:pray: Thanks for taking the time to fill out this enhancement request! Feel free to ping us on [EventCatalog Discord](https://discord.com/invite/3rjaZMmrAm) if you have any questions or need help.
|
|
9
|
-
|
|
10
|
-
- type: markdown
|
|
11
|
-
attributes:
|
|
12
|
-
value: |
|
|
13
|
-
## Enhancement Request
|
|
14
|
-
|
|
15
|
-
- type: textarea
|
|
16
|
-
id: use-cases
|
|
17
|
-
attributes:
|
|
18
|
-
label: Use Case
|
|
19
|
-
placeholder: What problem are you trying to solve? Describe a *concrete* example of something you are trying to do and as many details as possible about your motivation, the environment, etc.
|
|
20
|
-
validations:
|
|
21
|
-
required: true
|
|
22
|
-
|
|
23
|
-
- type: textarea
|
|
24
|
-
id: proposal
|
|
25
|
-
attributes:
|
|
26
|
-
label: Proposed Solution
|
|
27
|
-
description:
|
|
28
|
-
placeholder: |
|
|
29
|
-
Optionally, describe how you would have ideally wanted EventCatalog to support this use case.
|
|
30
|
-
This can be a hypothetical "user story".
|
|
31
|
-
The purpose of this section is not to design a complete solution but rather to inspire the designer on what a user would have intuitively expected the solution to look like.
|
|
32
|
-
|
|
33
|
-
- type: textarea
|
|
34
|
-
id: implementation-notes
|
|
35
|
-
attributes:
|
|
36
|
-
label: Implementation Notes
|
|
37
|
-
description:
|
|
38
|
-
placeholder: |
|
|
39
|
-
Any thoughts regarding how this should be implemented?
|
|
40
|
-
|
|
41
|
-
- type: textarea
|
|
42
|
-
attributes:
|
|
43
|
-
label: Community Notes
|
|
44
|
-
value: |
|
|
45
|
-
<!-- Please keep this note for the community -->
|
|
46
|
-
* Please vote by adding a 👍 reaction to the issue to help us prioritize.
|
|
47
|
-
* If you are interested to work on this issue, please leave a comment.
|
|
48
|
-
* If this issue is labeled **needs-discussion**, it means the spec has not been finalized yet. Please reach out in the [EventCatalog Discord](https://discord.com/invite/3rjaZMmrAm).
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Thank you for sending the PR! We appreciate you spending the time to work on these changes.
|
|
3
|
-
|
|
4
|
-
Help us understand your motivation by explaining why you decided to make this change.
|
|
5
|
-
|
|
6
|
-
You can learn more about contributing to EventCatalog here: https://www.eventcatalog.dev/docs/contributing/overview
|
|
7
|
-
|
|
8
|
-
Happy contributing!
|
|
9
|
-
|
|
10
|
-
-->
|
|
11
|
-
|
|
12
|
-
## Motivation
|
|
13
|
-
|
|
14
|
-
(Write your motivation here.)
|
package/.github/funding.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
github: [event-catalog]
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
name: Lint
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
lint:
|
|
11
|
-
name: Lint
|
|
12
|
-
timeout-minutes: 30
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v4
|
|
16
|
-
- uses: pnpm/action-setup@v4
|
|
17
|
-
with:
|
|
18
|
-
version: 9
|
|
19
|
-
- name: Installation
|
|
20
|
-
run: pnpm i
|
|
21
|
-
- name: Prettier Code
|
|
22
|
-
run: pnpm run format:diff
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- master
|
|
6
|
-
- next
|
|
7
|
-
- main
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
permissions:
|
|
11
|
-
contents: write
|
|
12
|
-
pull-requests: write
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
if: github.repository == 'event-catalog/eventcatalog'
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v4
|
|
17
|
-
with:
|
|
18
|
-
fetch-depth: 0
|
|
19
|
-
|
|
20
|
-
- name: Use Node.js 20.x
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 20.x
|
|
24
|
-
|
|
25
|
-
- name: Install deps and build (with cache)
|
|
26
|
-
uses: bahmutov/npm-install@v1
|
|
27
|
-
|
|
28
|
-
- name: Create Release Pull Request or Publish to npm
|
|
29
|
-
uses: changesets/action@master
|
|
30
|
-
with:
|
|
31
|
-
publish: npm run release
|
|
32
|
-
env:
|
|
33
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
34
|
-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: Verify install with dependencies
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
env:
|
|
9
|
-
TEST_TAG: eventcatalog/bin:test
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
docker:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- name: Set up QEMU
|
|
16
|
-
uses: docker/setup-qemu-action@v3
|
|
17
|
-
|
|
18
|
-
- name: Set up Docker Buildx
|
|
19
|
-
uses: docker/setup-buildx-action@v3
|
|
20
|
-
|
|
21
|
-
- name: Build and export to Docker
|
|
22
|
-
uses: docker/build-push-action@v6
|
|
23
|
-
with:
|
|
24
|
-
load: true
|
|
25
|
-
tags: ${{ env.TEST_TAG }}
|
|
26
|
-
|
|
27
|
-
- name: Test
|
|
28
|
-
run: |
|
|
29
|
-
docker run --rm ${{ env.TEST_TAG }}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Tests e2e
|
|
2
|
-
on:
|
|
3
|
-
pull_request:
|
|
4
|
-
branches: [main, master]
|
|
5
|
-
jobs:
|
|
6
|
-
test:
|
|
7
|
-
timeout-minutes: 60
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/checkout@v4
|
|
11
|
-
- uses: actions/setup-node@v4
|
|
12
|
-
with:
|
|
13
|
-
node-version: lts/*
|
|
14
|
-
- name: Install dependencies
|
|
15
|
-
run: npm ci
|
|
16
|
-
- name: Install Playwright Browsers
|
|
17
|
-
run: npx playwright install --with-deps
|
|
18
|
-
- name: Build cli
|
|
19
|
-
run: npm run build:bin
|
|
20
|
-
- name: Build catalog
|
|
21
|
-
run: npx . build
|
|
22
|
-
env:
|
|
23
|
-
PROJECT_DIR: ./examples/default/
|
|
24
|
-
CATALOG_DIR: ./
|
|
25
|
-
NODE_ENV: CI # Skip analytics
|
|
26
|
-
- name: Run tests
|
|
27
|
-
run: npm run test:e2e
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Make sure the EventCatalog can build OK
|
|
2
|
-
name: Verify Build
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
pull_request:
|
|
6
|
-
branches:
|
|
7
|
-
- master
|
|
8
|
-
- main
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build:
|
|
12
|
-
name: Verify Build
|
|
13
|
-
timeout-minutes: 30
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
os: [ubuntu-latest, windows-latest]
|
|
17
|
-
runs-on: ${{ matrix.os }}
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@v4
|
|
20
|
-
- uses: actions/setup-node@v4
|
|
21
|
-
with:
|
|
22
|
-
node-version: '20.x'
|
|
23
|
-
- name: Installation
|
|
24
|
-
run: npm i
|
|
25
|
-
- name: Test
|
|
26
|
-
run: npm run test:ci
|
|
27
|
-
- name: Build
|
|
28
|
-
run: npm run verify-build:catalog
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": true,
|
|
3
|
-
"singleQuote": true,
|
|
4
|
-
"printWidth": 130,
|
|
5
|
-
"tabWidth": 2,
|
|
6
|
-
"useTabs": false,
|
|
7
|
-
"trailingComma": "es5",
|
|
8
|
-
"bracketSpacing": true,
|
|
9
|
-
"plugins": ["prettier-plugin-astro"],
|
|
10
|
-
"overrides": [
|
|
11
|
-
{
|
|
12
|
-
"files": "*.astro",
|
|
13
|
-
"options": {
|
|
14
|
-
"parser": "astro"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
}
|