ecto 4.2.2 → 4.2.3

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/ecto.d.ts CHANGED
@@ -99,6 +99,10 @@ declare class Ecto {
99
99
  private readonly __nunjucks;
100
100
  private readonly __handlebars;
101
101
  private readonly __liquid;
102
+ /**
103
+ * Ecto constructor
104
+ * @param {EctoOptions} [options] - The options for the ecto engine
105
+ */
102
106
  constructor(options?: EctoOptions);
103
107
  /**
104
108
  * Get the default engine
package/dist/ecto.js CHANGED
@@ -299,6 +299,10 @@ var Ecto = class {
299
299
  __nunjucks;
300
300
  __handlebars;
301
301
  __liquid;
302
+ /**
303
+ * Ecto constructor
304
+ * @param {EctoOptions} [options] - The options for the ecto engine
305
+ */
302
306
  constructor(options) {
303
307
  this.__ejs = new EJS(options?.engineOptions?.ejs);
304
308
  this.__markdown = new Markdown(options?.engineOptions?.markdown);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecto",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Modern Template Consolidation Engine for EJS, Markdown, Pug, Nunjucks, Liquid, and Handlebars",
5
5
  "type": "module",
6
6
  "main": "./dist/ecto.js",
@@ -18,11 +18,10 @@
18
18
  "author": "Jared Wray <me@jaredwray.com>",
19
19
  "license": "MIT",
20
20
  "scripts": {
21
- "watch": "tsc -w -p .",
22
21
  "clean": "rimraf ./dist yarn.lock package-lock.json pnpm-lock.yaml ./coverage ./node_modules ./site/readme.md ./dist-site",
23
22
  "test": "xo --fix && vitest run --coverage",
24
23
  "build": "rimraf ./dist && tsup src/ecto.ts --format esm --dts --clean",
25
- "prepare": "npm run build",
24
+ "prepare": "pnpm build",
26
25
  "website:build": "rimraf ./site/readme.md && npx -y docula build -s ./site -o ./dist-site",
27
26
  "website:serve": "rimraf ./site/readme.md && npx -y docula serve -s ./site -o ./dist-site"
28
27
  },
@@ -53,36 +52,26 @@
53
52
  "nunjucks": "^3.2.4",
54
53
  "pug": "^3.0.3",
55
54
  "underscore": "^1.13.7",
56
- "writr": "^4.4.2"
55
+ "writr": "^4.4.3"
57
56
  },
58
57
  "devDependencies": {
59
58
  "@types/ejs": "^3.1.5",
60
- "@types/node": "^22.14.0",
59
+ "@types/node": "^22.15.17",
61
60
  "@types/nunjucks": "^3.2.6",
62
61
  "@types/pug": "^2.0.10",
63
62
  "@types/underscore": "^1.13.0",
64
- "@vitest/coverage-v8": "^3.1.1",
65
- "docula": "^0.11.0",
63
+ "@vitest/coverage-v8": "^3.1.3",
64
+ "docula": "^0.11.1",
66
65
  "rimraf": "^6.0.1",
67
66
  "tsup": "^8.4.0",
68
67
  "typescript": "^5.8.3",
69
- "vitest": "^3.1.1",
70
- "webpack": "^5.99.5",
68
+ "vitest": "^3.1.3",
69
+ "webpack": "^5.99.8",
71
70
  "xo": "^0.60.0"
72
71
  },
73
- "xo": {
74
- "ignores": [
75
- "vitest.config.mjs"
76
- ]
77
- },
78
72
  "files": [
79
73
  "dist",
80
74
  "bin",
81
75
  "LISCENSE"
82
- ],
83
- "pnpm": {
84
- "onlyBuiltDependencies": [
85
- "esbuild"
86
- ]
87
- }
76
+ ]
88
77
  }