@eventcatalog/create-eventcatalog 2.0.8 → 2.0.10
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
|
@@ -22491,7 +22491,8 @@ var installTemplate = async ({
|
|
|
22491
22491
|
const devDependencies = [
|
|
22492
22492
|
"@parcel/watcher",
|
|
22493
22493
|
"concurrently",
|
|
22494
|
-
"cross-env"
|
|
22494
|
+
"cross-env",
|
|
22495
|
+
"@types/lodash.merge"
|
|
22495
22496
|
];
|
|
22496
22497
|
if (dependencies.length) {
|
|
22497
22498
|
console.log();
|
|
@@ -22654,7 +22655,7 @@ function validateNpmName(name) {
|
|
|
22654
22655
|
var package_default = {
|
|
22655
22656
|
name: "@eventcatalog/create-eventcatalog",
|
|
22656
22657
|
description: "Create EventCatalog with one command",
|
|
22657
|
-
version: "2.0.
|
|
22658
|
+
version: "2.0.10",
|
|
22658
22659
|
bin: {
|
|
22659
22660
|
"create-catalog": "./dist/index.js"
|
|
22660
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
|