ecto 2.1.9 → 2.1.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/README.md +2 -2
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
-----
|
|
12
12
|
|
|
13
|
-
Ecto is a modern template consolidation engine that works with the top template engines: EJS, Markdown, Pug, Nunjucks, Mustache, Handlebars, and Liquid. It consolidates these template engines to a single library, allowing you to use any of them with ease. With features like automatic engine selection, an easy-to-use API, zero-configuration, and regular updates, you can rest assured that Ecto works as expected for all your templating needs.
|
|
13
|
+
Ecto is a modern template consolidation engine that works with the top template engines: EJS, Markdown, Pug, Nunjucks, Mustache, Handlebars, and Liquid. It consolidates these template engines to a single library, allowing you to use any of them with ease. With features like automatic engine selection, an easy-to-use API, zero-configuration, and regular updates, you can be rest assured that Ecto works as expected for all your templating needs.
|
|
14
14
|
|
|
15
15
|
## Features
|
|
16
16
|
|
|
@@ -99,7 +99,7 @@ Next Steps:
|
|
|
99
99
|
|
|
100
100
|
## Only the Top Template Engines and Their Extensions
|
|
101
101
|
|
|
102
|
-
We
|
|
102
|
+
We focus on the most popular and well-maintained consolidation engines. Unfortunately other engines suffered from packages that were unsupported, making it difficult to validate them as working fully. Some engines also had limited types and lacked ease of use.
|
|
103
103
|
|
|
104
104
|
Our goal is to support the top engines, handling the vast majority of use cases. Here are the top engines that we support:
|
|
105
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ecto",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "Modern Template Consolidation Engine for EJS, Markdown, Pug, Nunjucks, Liquid, and Handlebars",
|
|
5
5
|
"main": "./dist/ecto.js",
|
|
6
6
|
"types": "./dist/ecto.d.ts",
|
|
@@ -32,17 +32,19 @@
|
|
|
32
32
|
"clean": "rm -rf ./dist && rm -rf node_modules",
|
|
33
33
|
"test": "jest --coverage",
|
|
34
34
|
"compile": "tsc -p .",
|
|
35
|
-
"build": "rm -rf ./dist && npm i && npm run test && npm run compile"
|
|
35
|
+
"build": "rm -rf ./dist && npm i && npm run test && npm run compile",
|
|
36
|
+
"website:build": "npx docula",
|
|
37
|
+
"website:serve": "npx docula serve"
|
|
36
38
|
},
|
|
37
39
|
"dependencies": {
|
|
38
|
-
"@markdoc/markdoc": "^0.
|
|
40
|
+
"@markdoc/markdoc": "^0.3.0",
|
|
39
41
|
"ejs": "^3.1.9",
|
|
40
42
|
"fs-extra": "^11.1.1",
|
|
41
43
|
"handlebars": "^4.7.7",
|
|
42
44
|
"helper-date": "^1.0.1",
|
|
43
|
-
"helpers-for-handlebars": "^0.10.
|
|
44
|
-
"liquidjs": "^10.7.
|
|
45
|
-
"nunjucks": "^3.2.
|
|
45
|
+
"helpers-for-handlebars": "^0.10.11",
|
|
46
|
+
"liquidjs": "^10.7.1",
|
|
47
|
+
"nunjucks": "^3.2.4",
|
|
46
48
|
"pug": "^3.0.2",
|
|
47
49
|
"underscore": "^1.13.6",
|
|
48
50
|
"winston": "^3.8.2"
|
|
@@ -52,14 +54,15 @@
|
|
|
52
54
|
"@types/express": "^4.17.17",
|
|
53
55
|
"@types/fs-extra": "^11.0.1",
|
|
54
56
|
"@types/handlebars-helpers": "^0.5.3",
|
|
55
|
-
"@types/jest": "^29.5.
|
|
57
|
+
"@types/jest": "^29.5.1",
|
|
56
58
|
"@types/mustache": "^4.2.2",
|
|
57
59
|
"@types/nunjucks": "^3.2.2",
|
|
58
60
|
"@types/pug": "^2.0.6",
|
|
59
61
|
"@types/underscore": "^1.11.4",
|
|
62
|
+
"docula": "^0.3.0",
|
|
60
63
|
"jest": "^29.5.0",
|
|
61
|
-
"ts-jest": "^29.0
|
|
62
|
-
"typescript": "^5.0.
|
|
64
|
+
"ts-jest": "^29.1.0",
|
|
65
|
+
"typescript": "^5.0.4"
|
|
63
66
|
},
|
|
64
67
|
"files": [
|
|
65
68
|
"dist",
|