@eventcatalog/create-eventcatalog 2.0.9 → 2.0.11
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
CHANGED
|
@@ -22655,7 +22655,7 @@ function validateNpmName(name) {
|
|
|
22655
22655
|
var package_default = {
|
|
22656
22656
|
name: "@eventcatalog/create-eventcatalog",
|
|
22657
22657
|
description: "Create EventCatalog with one command",
|
|
22658
|
-
version: "2.0.
|
|
22658
|
+
version: "2.0.11",
|
|
22659
22659
|
bin: {
|
|
22660
22660
|
"create-catalog": "./dist/index.js"
|
|
22661
22661
|
},
|
package/package.json
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
## Stage 1: Build the app
|
|
1
2
|
FROM node:lts AS build
|
|
3
|
+
|
|
2
4
|
WORKDIR /app
|
|
5
|
+
|
|
6
|
+
# Install dependencies
|
|
7
|
+
COPY package.json package-lock.json ./
|
|
8
|
+
RUN npm install
|
|
9
|
+
|
|
10
|
+
# Copy source code
|
|
3
11
|
COPY . .
|
|
4
|
-
|
|
12
|
+
|
|
13
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
5
14
|
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
6
|
-
|
|
15
|
+
# Build the app
|
|
7
16
|
RUN npm run build
|
|
8
17
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
|
|
19
|
+
## Stage 2: Serve app with httpd server
|
|
20
|
+
FROM httpd:2.4
|
|
21
|
+
|
|
22
|
+
# Copy built app to serve
|
|
23
|
+
COPY --from=build /app/dist /usr/local/apache2/htdocs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: InventoryService
|
|
3
|
-
version: 0.0.
|
|
3
|
+
version: 0.0.1
|
|
4
4
|
name: Inventory Service
|
|
5
5
|
summary: |
|
|
6
6
|
Service that handles the inventory
|
|
@@ -33,4 +33,4 @@ The Inventory Service is a critical component of the system responsible for mana
|
|
|
33
33
|
|
|
34
34
|
## Architecture diagram
|
|
35
35
|
|
|
36
|
-
<NodeGraph title="Hello world" />
|
|
36
|
+
<NodeGraph title="Hello world" />
|