eleventy-plugin-vento 4.2.1 → 4.3.0
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/CHANGELOG.md +6 -0
- package/dist/plugin.js +3 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/plugin.ts
|
|
2
|
-
import path from "
|
|
2
|
+
import path from "path";
|
|
3
3
|
import autotrimPlugin, { defaultTags as autotrimDefaultTags } from "ventojs/plugins/auto_trim.js";
|
|
4
4
|
|
|
5
5
|
// src/engine.ts
|
|
@@ -10,7 +10,8 @@ function createVentoTag(tagInfo) {
|
|
|
10
10
|
let LEVEL = 1;
|
|
11
11
|
const IS_PAIRED = tagInfo.group === "pairedShortcodes";
|
|
12
12
|
const tag = (env, code, output, tokens) => {
|
|
13
|
-
|
|
13
|
+
const match = code === tagInfo.name || code.startsWith(`${tagInfo.name} `);
|
|
14
|
+
if (!match) {
|
|
14
15
|
return;
|
|
15
16
|
}
|
|
16
17
|
const { dataVarname } = env.options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eleventy-plugin-vento",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Adds support for the Vento templating language to Eleventy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
},
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"debug": "4.4.
|
|
39
|
+
"debug": "4.4.1",
|
|
40
40
|
"ventojs": "1.12.16"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"11ty.ts": "0.0.5",
|
|
44
|
-
"@11ty/eleventy": "3.
|
|
45
|
-
"@changesets/cli": "2.29.
|
|
46
|
-
"@eslint/js": "9.
|
|
44
|
+
"@11ty/eleventy": "3.1.0",
|
|
45
|
+
"@changesets/cli": "2.29.4",
|
|
46
|
+
"@eslint/js": "9.27.0",
|
|
47
47
|
"@types/debug": "4.1.12",
|
|
48
48
|
"@types/eslint-config-prettier": "6.11.3",
|
|
49
|
-
"@types/node": "22.15.
|
|
50
|
-
"eslint": "9.
|
|
51
|
-
"eslint-config-prettier": "10.1.
|
|
52
|
-
"eslint-plugin-unicorn": "59.0.
|
|
53
|
-
"globals": "16.
|
|
54
|
-
"nano-spawn": "0.
|
|
49
|
+
"@types/node": "22.15.19",
|
|
50
|
+
"eslint": "9.27.0",
|
|
51
|
+
"eslint-config-prettier": "10.1.5",
|
|
52
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
53
|
+
"globals": "16.1.0",
|
|
54
|
+
"nano-spawn": "1.0.1",
|
|
55
55
|
"picocolors": "1.1.1",
|
|
56
|
-
"tsup": "8.
|
|
57
|
-
"tsx": "4.19.
|
|
58
|
-
"type-fest": "4.
|
|
56
|
+
"tsup": "8.5.0",
|
|
57
|
+
"tsx": "4.19.4",
|
|
58
|
+
"type-fest": "4.41.0",
|
|
59
59
|
"typescript": "5.8.3",
|
|
60
|
-
"typescript-eslint": "8.
|
|
61
|
-
"vitest": "3.1.
|
|
60
|
+
"typescript-eslint": "8.32.1",
|
|
61
|
+
"vitest": "3.1.3"
|
|
62
62
|
},
|
|
63
63
|
"prettier": {
|
|
64
64
|
"bracketSameLine": true,
|