@cenk1cenk2/md-printer 2.2.65 → 2.2.67
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/commands/index.js
CHANGED
|
@@ -68,7 +68,9 @@ var OUTPUT_FILE_ACCEPTED_TYPES = [
|
|
|
68
68
|
];
|
|
69
69
|
|
|
70
70
|
// src/commands/index.ts
|
|
71
|
-
var
|
|
71
|
+
var MDPrinter;
|
|
72
|
+
var _a;
|
|
73
|
+
MDPrinter = (_a = class extends import_oclif_common.Command {
|
|
72
74
|
constructor() {
|
|
73
75
|
super(...arguments);
|
|
74
76
|
__publicField(this, "nunjucks", import_nunjucks.default.configure({
|
|
@@ -198,10 +200,7 @@ var _MDPrinter = class _MDPrinter extends import_oclif_common.Command {
|
|
|
198
200
|
await this.fs.write(output, pdf.content);
|
|
199
201
|
}
|
|
200
202
|
}
|
|
201
|
-
}
|
|
202
|
-
__name(_MDPrinter, "MDPrinter");
|
|
203
|
-
__publicField(_MDPrinter, "description", "Generates a PDF from the given markdown file with the selected HTML template.");
|
|
204
|
-
__publicField(_MDPrinter, "flags", {
|
|
203
|
+
}, __name(_a, "MDPrinter"), __publicField(_a, "description", "Generates a PDF from the given markdown file with the selected HTML template."), __publicField(_a, "flags", {
|
|
205
204
|
template: import_oclif_common.Flags.string({
|
|
206
205
|
char: "t",
|
|
207
206
|
default: "default",
|
|
@@ -219,8 +218,7 @@ __publicField(_MDPrinter, "flags", {
|
|
|
219
218
|
char: "d",
|
|
220
219
|
description: "Run with Chrome browser instead of publishing the file."
|
|
221
220
|
})
|
|
222
|
-
})
|
|
223
|
-
__publicField(_MDPrinter, "args", {
|
|
221
|
+
}), __publicField(_a, "args", {
|
|
224
222
|
file: import_oclif_common.Args.string({
|
|
225
223
|
description: "Markdown file to be processed.",
|
|
226
224
|
required: true
|
|
@@ -229,5 +227,4 @@ __publicField(_MDPrinter, "args", {
|
|
|
229
227
|
description: "Output file that will be generated. Overwrites the one define in front-matter.",
|
|
230
228
|
required: false
|
|
231
229
|
})
|
|
232
|
-
});
|
|
233
|
-
var MDPrinter = _MDPrinter;
|
|
230
|
+
}), _a);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/md-printer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.67",
|
|
4
4
|
"description": "A markdown printer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "https://gitlab.kilic.dev/utils/md-printer",
|
|
@@ -82,27 +82,27 @@
|
|
|
82
82
|
"listr2": "^6.6.1",
|
|
83
83
|
"md-to-pdf": "^5.2.4",
|
|
84
84
|
"nunjucks": "^3.2.4",
|
|
85
|
-
"yaml": "^2.3.
|
|
85
|
+
"yaml": "^2.3.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@cenk1cenk2/cz-cc": "^1.7.
|
|
89
|
-
"@cenk1cenk2/eslint-config": "^2.7.
|
|
90
|
-
"@swc/core": "^1.3.
|
|
88
|
+
"@cenk1cenk2/cz-cc": "^1.7.2",
|
|
89
|
+
"@cenk1cenk2/eslint-config": "^2.7.25",
|
|
90
|
+
"@swc/core": "^1.3.95",
|
|
91
91
|
"@tailwindcss/forms": "^0.5.6",
|
|
92
92
|
"@tailwindcss/typography": "^0.5.10",
|
|
93
|
-
"@types/config": "^3.3.
|
|
94
|
-
"@types/fs-extra": "^11.0.
|
|
95
|
-
"@types/node": "^18.
|
|
96
|
-
"@types/nunjucks": "^3.2.
|
|
97
|
-
"eslint": "^8.
|
|
93
|
+
"@types/config": "^3.3.2",
|
|
94
|
+
"@types/fs-extra": "^11.0.3",
|
|
95
|
+
"@types/node": "^18.18.7",
|
|
96
|
+
"@types/nunjucks": "^3.2.5",
|
|
97
|
+
"eslint": "^8.52.0",
|
|
98
98
|
"lint-staged": "^14.0.1",
|
|
99
99
|
"oclif": "^3.17.2",
|
|
100
100
|
"postcss": "^8.4.31",
|
|
101
101
|
"prettier": "^3.0.3",
|
|
102
102
|
"simple-git-hooks": "^2.9.0",
|
|
103
103
|
"source-map-support": "^0.5.21",
|
|
104
|
-
"tailwindcss": "^3.3.
|
|
105
|
-
"theme-colors": "^0.0
|
|
104
|
+
"tailwindcss": "^3.3.5",
|
|
105
|
+
"theme-colors": "^0.1.0",
|
|
106
106
|
"ts-node": "^10.9.1",
|
|
107
107
|
"tsconfig-paths": "^4.2.0",
|
|
108
108
|
"tsconfig-replace-paths": "^0.0.14",
|