@jahia/create-module 0.7.0 → 0.7.1

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/index.js CHANGED
@@ -84,7 +84,8 @@ Run the following commands to get started:
84
84
  "# Commit all files",
85
85
  )}
86
86
  ${styleText("dim", "4.")} ${styleText("cyanBright", "code .")} ${styleText("dim", "# Open the project in VSCode")}
87
- ${styleText("dim", "5.")} ${styleText("magentaBright", "yarn build && yarn dev")} ${styleText("dim", "# Build and start the dev mode")}
87
+ ${styleText("dim", "5.")} ${styleText("blueBright", "docker-compose up --wait")} ${styleText("dim", "# Start Jahia")}
88
+ ${styleText("dim", "6.")} ${styleText("magentaBright", "yarn build && yarn dev")} ${styleText("dim", "# Build and start the dev mode")}
88
89
  `);
89
90
  } catch (error) {
90
91
  console.error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jahia/create-module",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "keywords": [
5
5
  "template"
6
6
  ],
@@ -0,0 +1 @@
1
+ - installOrUpgradeBundle: "mvn:org.jahia.modules/javascript-modules-engine/$VERSION"
@@ -0,0 +1,30 @@
1
+ services:
2
+ jahia:
3
+ image: jahia/jahia-ee:8.2
4
+ depends_on:
5
+ - postgres
6
+ ports:
7
+ - 8080:8080
8
+ - 9229:9229
9
+ environment:
10
+ DB_VENDOR: postgresql
11
+ DB_URL: jdbc:postgresql://postgres:5432/jahia
12
+ DB_USER: jahia
13
+ DB_PASS: dbpassword
14
+ JPDA: true
15
+ EXECUTE_PROVISIONING_SCRIPT: "file:/mnt/jahia/provisioning.yml"
16
+ volumes:
17
+ - type: bind
18
+ source: ./docker
19
+ target: /mnt/jahia
20
+ healthcheck:
21
+ test: ["CMD", "curl", "http://localhost:8080/start"]
22
+ interval: 5s
23
+ timeout: 1s
24
+ retries: 24
25
+
26
+ postgres:
27
+ image: postgres:16
28
+ environment:
29
+ POSTGRES_USER: jahia
30
+ POSTGRES_PASSWORD: dbpassword
@@ -1,4 +1,4 @@
1
- $MODULE_component=$MODULE - Components
1
+ $MODULEmix_component=$MODULE - Components
2
2
 
3
3
  $MODULE_helloWorld=Hello World
4
4
  $MODULE_helloWorld.name=Name
@@ -1,4 +1,4 @@
1
- $MODULE_component=$MODULE - Composants
1
+ $MODULEmix_component=$MODULE - Composants
2
2
 
3
3
  $MODULE_helloWorld=Bienvenue
4
4
  $MODULE_helloWorld.name=Nom