@eventcatalog/create-eventcatalog 3.0.3 → 3.0.5
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 +2 -1
- package/package.json +1 -1
- package/templates/asyncapi/Dockerfile.server +23 -0
- package/templates/asyncapi/env +9 -0
- package/templates/default/Dockerfile.server +23 -0
- package/templates/default/env +9 -0
- package/templates/empty/Dockerfile.server +23 -0
- package/templates/empty/env +9 -0
- package/templates/index.ts +1 -0
- package/templates/openapi/Dockerfile.server +23 -0
- package/templates/openapi/env +9 -0
package/dist/index.js
CHANGED
|
@@ -22466,7 +22466,7 @@ var import_os2 = __toESM(require("os"));
|
|
|
22466
22466
|
var package_default = {
|
|
22467
22467
|
name: "@eventcatalog/create-eventcatalog",
|
|
22468
22468
|
description: "Create EventCatalog with one command",
|
|
22469
|
-
version: "3.0.
|
|
22469
|
+
version: "3.0.5",
|
|
22470
22470
|
bin: {
|
|
22471
22471
|
"create-catalog": "./dist/index.js"
|
|
22472
22472
|
},
|
|
@@ -22609,6 +22609,7 @@ var installTemplate = async ({
|
|
|
22609
22609
|
switch (name) {
|
|
22610
22610
|
case "env":
|
|
22611
22611
|
case "gitignore":
|
|
22612
|
+
case "env":
|
|
22612
22613
|
case "npmrc":
|
|
22613
22614
|
case "dockerignore":
|
|
22614
22615
|
case "eslintrc.json": {
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Use this Docker file if your EventCatalog output is set to `server`.
|
|
2
|
+
# When EventCatalog output is set to `server`, the output will be a node server.
|
|
3
|
+
# This server is required for certain features like the EventCatalog Chat (with your own keys).
|
|
4
|
+
|
|
5
|
+
FROM node:lts AS runtime
|
|
6
|
+
WORKDIR /app
|
|
7
|
+
|
|
8
|
+
# Install dependencies
|
|
9
|
+
COPY package.json package-lock.json ./
|
|
10
|
+
RUN npm install
|
|
11
|
+
|
|
12
|
+
COPY . .
|
|
13
|
+
|
|
14
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
15
|
+
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
16
|
+
RUN npm run build
|
|
17
|
+
|
|
18
|
+
ENV HOST=0.0.0.0
|
|
19
|
+
ENV PORT=3000
|
|
20
|
+
EXPOSE 3000
|
|
21
|
+
|
|
22
|
+
# Start the server
|
|
23
|
+
CMD npm run start
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# EventCatalog Scale License Key, if you want to unlock the scale features
|
|
2
|
+
# You can get a 14 day trial license key from https://eventcatalog.cloud
|
|
3
|
+
|
|
4
|
+
EVENTCATALOG_SCALE_LICENSE_KEY=
|
|
5
|
+
|
|
6
|
+
# Optional key if you are using EventCatalog Chat with OpenAI Models.
|
|
7
|
+
# You need to set `output` to `server` in your eventcatalog.config.js file.
|
|
8
|
+
# See documentation for more details: https://www.eventcatalog.dev/features/ai-assistant
|
|
9
|
+
OPENAI_API_KEY=
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Use this Docker file if your EventCatalog output is set to `server`.
|
|
2
|
+
# When EventCatalog output is set to `server`, the output will be a node server.
|
|
3
|
+
# This server is required for certain features like the EventCatalog Chat (with your own keys).
|
|
4
|
+
|
|
5
|
+
FROM node:lts AS runtime
|
|
6
|
+
WORKDIR /app
|
|
7
|
+
|
|
8
|
+
# Install dependencies
|
|
9
|
+
COPY package.json package-lock.json ./
|
|
10
|
+
RUN npm install
|
|
11
|
+
|
|
12
|
+
COPY . .
|
|
13
|
+
|
|
14
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
15
|
+
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
16
|
+
RUN npm run build
|
|
17
|
+
|
|
18
|
+
ENV HOST=0.0.0.0
|
|
19
|
+
ENV PORT=3000
|
|
20
|
+
EXPOSE 3000
|
|
21
|
+
|
|
22
|
+
# Start the server
|
|
23
|
+
CMD npm run start
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# EventCatalog Scale License Key, if you want to unlock the scale features
|
|
2
|
+
# You can get a 14 day trial license key from https://eventcatalog.cloud
|
|
3
|
+
|
|
4
|
+
EVENTCATALOG_SCALE_LICENSE_KEY=
|
|
5
|
+
|
|
6
|
+
# Optional key if you are using EventCatalog Chat with OpenAI Models.
|
|
7
|
+
# You need to set `output` to `server` in your eventcatalog.config.js file.
|
|
8
|
+
# See documentation for more details: https://www.eventcatalog.dev/features/ai-assistant
|
|
9
|
+
OPENAI_API_KEY=
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Use this Docker file if your EventCatalog output is set to `server`.
|
|
2
|
+
# When EventCatalog output is set to `server`, the output will be a node server.
|
|
3
|
+
# This server is required for certain features like the EventCatalog Chat (with your own keys).
|
|
4
|
+
|
|
5
|
+
FROM node:lts AS runtime
|
|
6
|
+
WORKDIR /app
|
|
7
|
+
|
|
8
|
+
# Install dependencies
|
|
9
|
+
COPY package.json package-lock.json ./
|
|
10
|
+
RUN npm install
|
|
11
|
+
|
|
12
|
+
COPY . .
|
|
13
|
+
|
|
14
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
15
|
+
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
16
|
+
RUN npm run build
|
|
17
|
+
|
|
18
|
+
ENV HOST=0.0.0.0
|
|
19
|
+
ENV PORT=3000
|
|
20
|
+
EXPOSE 3000
|
|
21
|
+
|
|
22
|
+
# Start the server
|
|
23
|
+
CMD npm run start
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# EventCatalog Scale License Key, if you want to unlock the scale features
|
|
2
|
+
# You can get a 14 day trial license key from https://eventcatalog.cloud
|
|
3
|
+
|
|
4
|
+
EVENTCATALOG_SCALE_LICENSE_KEY=
|
|
5
|
+
|
|
6
|
+
# Optional key if you are using EventCatalog Chat with OpenAI Models.
|
|
7
|
+
# You need to set `output` to `server` in your eventcatalog.config.js file.
|
|
8
|
+
# See documentation for more details: https://www.eventcatalog.dev/features/ai-assistant
|
|
9
|
+
OPENAI_API_KEY=
|
package/templates/index.ts
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Use this Docker file if your EventCatalog output is set to `server`.
|
|
2
|
+
# When EventCatalog output is set to `server`, the output will be a node server.
|
|
3
|
+
# This server is required for certain features like the EventCatalog Chat (with your own keys).
|
|
4
|
+
|
|
5
|
+
FROM node:lts AS runtime
|
|
6
|
+
WORKDIR /app
|
|
7
|
+
|
|
8
|
+
# Install dependencies
|
|
9
|
+
COPY package.json package-lock.json ./
|
|
10
|
+
RUN npm install
|
|
11
|
+
|
|
12
|
+
COPY . .
|
|
13
|
+
|
|
14
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
15
|
+
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
16
|
+
RUN npm run build
|
|
17
|
+
|
|
18
|
+
ENV HOST=0.0.0.0
|
|
19
|
+
ENV PORT=3000
|
|
20
|
+
EXPOSE 3000
|
|
21
|
+
|
|
22
|
+
# Start the server
|
|
23
|
+
CMD npm run start
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# EventCatalog Scale License Key, if you want to unlock the scale features
|
|
2
|
+
# You can get a 14 day trial license key from https://eventcatalog.cloud
|
|
3
|
+
|
|
4
|
+
EVENTCATALOG_SCALE_LICENSE_KEY=
|
|
5
|
+
|
|
6
|
+
# Optional key if you are using EventCatalog Chat with OpenAI Models.
|
|
7
|
+
# You need to set `output` to `server` in your eventcatalog.config.js file.
|
|
8
|
+
# See documentation for more details: https://www.eventcatalog.dev/features/ai-assistant
|
|
9
|
+
OPENAI_API_KEY=
|