@cenk1cenk2/md-printer 2.15.3 → 2.15.5

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.
@@ -168,9 +168,9 @@ var MDPrinter = class extends Command {
168
168
  join(ctx.templates, "**/*")
169
169
  ]).on("change", async () => {
170
170
  await this.run();
171
- const ctx$1 = await this.runTasks();
171
+ const ctx = await this.runTasks();
172
172
  this.logger.info("Waiting for the next change.");
173
- return this.runMd2Pdf(ctx$1).catch((err) => {
173
+ return this.runMd2Pdf(ctx).catch((err) => {
174
174
  this.logger.error(err);
175
175
  });
176
176
  });
@@ -5,16 +5,16 @@ const INPUT_FILE_ACCEPTED_TYPES = [
5
5
  ".yml",
6
6
  ".yaml"
7
7
  ];
8
- let OutputFileType = /* @__PURE__ */ function(OutputFileType$1) {
9
- OutputFileType$1["PDF"] = "pdf";
10
- OutputFileType$1["HTML"] = "html";
11
- return OutputFileType$1;
8
+ let OutputFileType = /* @__PURE__ */ function(OutputFileType) {
9
+ OutputFileType["PDF"] = "pdf";
10
+ OutputFileType["HTML"] = "html";
11
+ return OutputFileType;
12
12
  }({});
13
- let InputFileType = /* @__PURE__ */ function(InputFileType$1) {
14
- InputFileType$1["MARKDOWN"] = "md";
15
- InputFileType$1["YAML"] = "yaml";
16
- InputFileType$1["YAML_SHORT"] = "yml";
17
- return InputFileType$1;
13
+ let InputFileType = /* @__PURE__ */ function(InputFileType) {
14
+ InputFileType["MARKDOWN"] = "md";
15
+ InputFileType["YAML"] = "yaml";
16
+ InputFileType["YAML_SHORT"] = "yml";
17
+ return InputFileType;
18
18
  }({});
19
19
 
20
20
  //#endregion
@@ -1,12 +1,12 @@
1
1
  //#region src/constants/template.constants.ts
2
- let TemplateFiles = /* @__PURE__ */ function(TemplateFiles$1) {
3
- TemplateFiles$1["FOOTER"] = "footer.html";
4
- TemplateFiles$1["HEADER"] = "header.html";
5
- TemplateFiles$1["TEMPLATE"] = "template.html.j2";
6
- TemplateFiles$1["TAILWIND_CSS"] = "tailwind.css";
7
- TemplateFiles$1["CSS"] = "main.css";
8
- TemplateFiles$1["SETTINGS"] = "settings.json";
9
- return TemplateFiles$1;
2
+ let TemplateFiles = /* @__PURE__ */ function(TemplateFiles) {
3
+ TemplateFiles["FOOTER"] = "footer.html";
4
+ TemplateFiles["HEADER"] = "header.html";
5
+ TemplateFiles["TEMPLATE"] = "template.html.j2";
6
+ TemplateFiles["TAILWIND_CSS"] = "tailwind.css";
7
+ TemplateFiles["CSS"] = "main.css";
8
+ TemplateFiles["SETTINGS"] = "settings.json";
9
+ return TemplateFiles;
10
10
  }({});
11
11
  const RequiredTemplateFiles = [TemplateFiles.SETTINGS];
12
12
  const TEMPLATE_DIRECTORY = "templates";
@@ -151,5 +151,5 @@
151
151
  "enableJsonFlag": false
152
152
  }
153
153
  },
154
- "version": "2.15.2"
154
+ "version": "2.15.4"
155
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/md-printer",
3
- "version": "2.15.3",
3
+ "version": "2.15.5",
4
4
  "description": "A markdown printer.",
5
5
  "module": "dist/index.mjs",
6
6
  "type": "module",
@@ -70,55 +70,55 @@
70
70
  "cenk1cenk2"
71
71
  ],
72
72
  "dependencies": {
73
- "@cenk1cenk2/oclif-common": "^7.0.0",
74
- "@listr2/manager": "^4.0.0",
75
- "@oclif/core": "^4.5.3",
76
- "@oclif/plugin-help": "^6.2.32",
77
- "@tailwindcss/forms": "^0.5.10",
78
- "@tailwindcss/postcss": "^4.1.13",
79
- "@tailwindcss/typography": "^0.5.16",
73
+ "@cenk1cenk2/oclif-common": "^7.0.7",
74
+ "@listr2/manager": "^4.1.0",
75
+ "@oclif/core": "^4.8.0",
76
+ "@oclif/plugin-help": "^6.2.37",
77
+ "@tailwindcss/forms": "^0.5.11",
78
+ "@tailwindcss/postcss": "^4.1.18",
79
+ "@tailwindcss/typography": "^0.5.19",
80
80
  "chokidar": "^5.0.0",
81
- "fs-extra": "^11.3.1",
81
+ "fs-extra": "^11.3.3",
82
82
  "get-port": "^7.1.0",
83
83
  "gray-matter": "^4.0.3",
84
- "listr2": "^10.0.0",
85
- "md-to-pdf": "^5.2.4",
84
+ "listr2": "^10.1.0",
85
+ "md-to-pdf": "^5.2.5",
86
86
  "nunjucks": "^3.2.4",
87
87
  "postcss": "^8.5.6",
88
- "puppeteer": "^24.19.0",
88
+ "puppeteer": "^24.37.2",
89
89
  "showdown": "^2.1.0",
90
90
  "source-map-support": "^0.5.21",
91
- "tailwindcss": "^4.1.13",
92
- "yaml": "^2.8.1"
91
+ "tailwindcss": "^4.1.18",
92
+ "yaml": "^2.8.2"
93
93
  },
94
94
  "devDependencies": {
95
- "@cenk1cenk2/cz-cc": "^2.1.5",
96
- "@cenk1cenk2/eslint-config": "^3.1.69",
97
- "@tsconfig/node24": "^24.0.3",
95
+ "@cenk1cenk2/cz-cc": "^2.2.3",
96
+ "@cenk1cenk2/eslint-config": "^3.1.72",
97
+ "@tsconfig/node24": "^24.0.4",
98
98
  "@types/config": "^3.3.5",
99
99
  "@types/fs-extra": "^11.0.4",
100
- "@types/node": "^24.3.1",
100
+ "@types/node": "^24.10.11",
101
101
  "@types/nunjucks": "^3.2.6",
102
102
  "@types/showdown": "^2.0.6",
103
- "eslint": "^9.35.0",
104
- "execa": "^9.6.0",
103
+ "eslint": "^9.39.2",
104
+ "execa": "^9.6.1",
105
105
  "globby": "^16.1.0",
106
- "lint-staged": "^16.1.6",
107
- "oclif": "^4.22.18",
108
- "prettier": "^3.6.2",
106
+ "lint-staged": "^16.2.7",
107
+ "oclif": "^4.22.73",
108
+ "prettier": "^3.8.1",
109
109
  "prettier-plugin-jinja-template": "^2.1.0",
110
110
  "simple-git-hooks": "^2.13.1",
111
111
  "theme-colors": "^0.1.0",
112
112
  "tpm": "^1.4.14",
113
113
  "ts-node": "^10.9.2",
114
114
  "tsconfig-paths": "^4.2.0",
115
- "tsdown": "^0.19.0",
116
- "typescript": "^5.9.2"
115
+ "tsdown": "^0.20.3",
116
+ "typescript": "^5.9.3"
117
117
  },
118
118
  "config": {
119
119
  "commitizen": {
120
120
  "path": "./node_modules/@cenk1cenk2/cz-cc"
121
121
  }
122
122
  },
123
- "packageManager": "pnpm@10.28.0"
123
+ "packageManager": "pnpm@10.29.1"
124
124
  }