mjmlhelper 2.3.4 → 2.3.6
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/boilerplate/package.json +2 -1
- package/mjmlhelper.js +1 -1
- package/package.json +7 -7
package/boilerplate/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"setup": "mv example.mjmlhelper.json mjmlhelper.json && mv example.gitignore .gitignore",
|
|
7
|
+
"setup": "mv example.mjmlhelper.json mjmlhelper.json && mv example.gitignore .gitignore && npm install",
|
|
8
8
|
"watch": "onchange ./*.mjml ./**/*.mjml --initial --poll 50 --delay 0 --await-write-finish 50 -- onerror \"npm run build\" --title \"watch\" --message \"build failed\" --sound mute",
|
|
9
9
|
"build": "node ./node_modules/mjmlhelper/mjmlhelper.js build",
|
|
10
10
|
"mail": "node ./node_modules/mjmlhelper/mjmlhelper.js mail",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"mjmlhelper": "*"
|
|
19
19
|
},
|
|
20
20
|
"overrides": {
|
|
21
|
+
"js-beautify": "^2.0.3",
|
|
21
22
|
"js-yaml": "^4.2.0",
|
|
22
23
|
"uuid": "^11.1.1"
|
|
23
24
|
}
|
package/mjmlhelper.js
CHANGED
|
@@ -10,7 +10,7 @@ class mjmlhelper {
|
|
|
10
10
|
if (!fs.existsSync('./node_modules')) {
|
|
11
11
|
path = '..';
|
|
12
12
|
}
|
|
13
|
-
execSync('node ' + path + '/node_modules/mjml/bin/mjml index.mjml -o index.html');
|
|
13
|
+
execSync('node ' + path + '/node_modules/mjml/bin/mjml index.mjml -o index.html --config.allowIncludes true');
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
static runMjmlAfterwork(type) {
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjmlhelper",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "mjmlhelper.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@prettier/plugin-php": "^0.25.0",
|
|
8
8
|
"archiver": "^8.0.0",
|
|
9
9
|
"cli-error-notifier": "^3.0.2",
|
|
10
|
-
"fs-extra": "^11.
|
|
10
|
+
"fs-extra": "^11.4.0",
|
|
11
11
|
"ftp": "^0.3.10",
|
|
12
|
-
"jsdom": "^
|
|
12
|
+
"jsdom": "^30.0.1",
|
|
13
13
|
"mjml": "^5.4.0",
|
|
14
|
-
"nodemailer": "^
|
|
15
|
-
"npm": "^12.0.1",
|
|
14
|
+
"nodemailer": "^10.0.0",
|
|
16
15
|
"onchange": "^7.1.0",
|
|
17
|
-
"prettier": "^3.9.
|
|
16
|
+
"prettier": "^3.9.6"
|
|
18
17
|
},
|
|
19
18
|
"overrides": {
|
|
19
|
+
"js-beautify": "^2.0.3",
|
|
20
20
|
"js-yaml": "^4.2.0",
|
|
21
21
|
"uuid": "^11.1.1"
|
|
22
22
|
},
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"url": "git+ssh://git@github.com/vielhuber/mjmlhelper.git"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=20"
|
|
35
35
|
}
|
|
36
36
|
}
|