@cenk1cenk2/md-printer 2.2.66 → 2.2.68

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.
@@ -68,9 +68,7 @@ var OUTPUT_FILE_ACCEPTED_TYPES = [
68
68
  ];
69
69
 
70
70
  // src/commands/index.ts
71
- var MDPrinter;
72
- var _a;
73
- MDPrinter = (_a = class extends import_oclif_common.Command {
71
+ var _MDPrinter = class _MDPrinter extends import_oclif_common.Command {
74
72
  constructor() {
75
73
  super(...arguments);
76
74
  __publicField(this, "nunjucks", import_nunjucks.default.configure({
@@ -200,7 +198,10 @@ MDPrinter = (_a = class extends import_oclif_common.Command {
200
198
  await this.fs.write(output, pdf.content);
201
199
  }
202
200
  }
203
- }, __name(_a, "MDPrinter"), __publicField(_a, "description", "Generates a PDF from the given markdown file with the selected HTML template."), __publicField(_a, "flags", {
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", {
204
205
  template: import_oclif_common.Flags.string({
205
206
  char: "t",
206
207
  default: "default",
@@ -218,7 +219,8 @@ MDPrinter = (_a = class extends import_oclif_common.Command {
218
219
  char: "d",
219
220
  description: "Run with Chrome browser instead of publishing the file."
220
221
  })
221
- }), __publicField(_a, "args", {
222
+ });
223
+ __publicField(_MDPrinter, "args", {
222
224
  file: import_oclif_common.Args.string({
223
225
  description: "Markdown file to be processed.",
224
226
  required: true
@@ -227,4 +229,5 @@ MDPrinter = (_a = class extends import_oclif_common.Command {
227
229
  description: "Output file that will be generated. Overwrites the one define in front-matter.",
228
230
  required: false
229
231
  })
230
- }), _a);
232
+ });
233
+ var MDPrinter = _MDPrinter;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.65",
2
+ "version": "2.2.67",
3
3
  "commands": {
4
4
  ".": {
5
5
  "id": ".",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/md-printer",
3
- "version": "2.2.66",
3
+ "version": "2.2.68",
4
4
  "description": "A markdown printer.",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://gitlab.kilic.dev/utils/md-printer",
@@ -76,38 +76,38 @@
76
76
  "config": "^3.3.9",
77
77
  "enquirer": "^2.4.1",
78
78
  "execa": "^8.0.1",
79
- "fs-extra": "^11.1.1",
79
+ "fs-extra": "^11.2.0",
80
80
  "globby": "^11.1.0",
81
81
  "gray-matter": "^4.0.3",
82
82
  "listr2": "^6.6.1",
83
83
  "md-to-pdf": "^5.2.4",
84
84
  "nunjucks": "^3.2.4",
85
- "yaml": "^2.3.3"
85
+ "yaml": "^2.3.4"
86
86
  },
87
87
  "devDependencies": {
88
- "@cenk1cenk2/cz-cc": "^1.7.1",
89
- "@cenk1cenk2/eslint-config": "^2.7.23",
90
- "@swc/core": "^1.3.93",
91
- "@tailwindcss/forms": "^0.5.6",
88
+ "@cenk1cenk2/cz-cc": "^1.7.2",
89
+ "@cenk1cenk2/eslint-config": "^2.7.29",
90
+ "@swc/core": "^1.3.100",
91
+ "@tailwindcss/forms": "^0.5.7",
92
92
  "@tailwindcss/typography": "^0.5.10",
93
- "@types/config": "^3.3.1",
94
- "@types/fs-extra": "^11.0.2",
95
- "@types/node": "^18.18.4",
96
- "@types/nunjucks": "^3.2.4",
97
- "eslint": "^8.51.0",
93
+ "@types/config": "^3.3.3",
94
+ "@types/fs-extra": "^11.0.4",
95
+ "@types/node": "^18.19.2",
96
+ "@types/nunjucks": "^3.2.6",
97
+ "eslint": "^8.55.0",
98
98
  "lint-staged": "^14.0.1",
99
99
  "oclif": "^3.17.2",
100
- "postcss": "^8.4.31",
101
- "prettier": "^3.0.3",
100
+ "postcss": "^8.4.32",
101
+ "prettier": "^3.1.0",
102
102
  "simple-git-hooks": "^2.9.0",
103
103
  "source-map-support": "^0.5.21",
104
- "tailwindcss": "^3.3.3",
105
- "theme-colors": "^0.0.5",
104
+ "tailwindcss": "^3.3.6",
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",
109
- "tsup": "^7.2.0",
110
- "typescript": "^5.2.2"
109
+ "tsup": "^8.0.1",
110
+ "typescript": "^5.3.3"
111
111
  },
112
112
  "config": {
113
113
  "commitizen": {
@@ -7,7 +7,7 @@ html {
7
7
  }
8
8
 
9
9
  /*
10
- ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
10
+ ! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com
11
11
  */
12
12
 
13
13
  /*
@@ -129,8 +129,10 @@ strong {
129
129
  }
130
130
 
131
131
  /*
132
- 1. Use the user's configured `mono` font family by default.
133
- 2. Correct the odd `em` font sizing in all browsers.
132
+ 1. Use the user's configured `mono` font-family by default.
133
+ 2. Use the user's configured `mono` font-feature-settings by default.
134
+ 3. Use the user's configured `mono` font-variation-settings by default.
135
+ 4. Correct the odd `em` font sizing in all browsers.
134
136
  */
135
137
 
136
138
  code,
@@ -139,8 +141,12 @@ samp,
139
141
  pre {
140
142
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
141
143
  /* 1 */
142
- font-size: 1em;
144
+ font-feature-settings: normal;
143
145
  /* 2 */
146
+ font-variation-settings: normal;
147
+ /* 3 */
148
+ font-size: 1em;
149
+ /* 4 */
144
150
  }
145
151
 
146
152
  /*
@@ -575,10 +581,26 @@ select {
575
581
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
576
582
  }
577
583
 
584
+ @media (forced-colors: active) {
585
+ [type='checkbox']:checked {
586
+ -webkit-appearance: auto;
587
+ -moz-appearance: auto;
588
+ appearance: auto;
589
+ }
590
+ }
591
+
578
592
  [type='radio']:checked {
579
593
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
580
594
  }
581
595
 
596
+ @media (forced-colors: active) {
597
+ [type='radio']:checked {
598
+ -webkit-appearance: auto;
599
+ -moz-appearance: auto;
600
+ appearance: auto;
601
+ }
602
+ }
603
+
582
604
  [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
583
605
  border-color: transparent;
584
606
  background-color: currentColor;
@@ -593,6 +615,14 @@ select {
593
615
  background-repeat: no-repeat;
594
616
  }
595
617
 
618
+ @media (forced-colors: active) {
619
+ [type='checkbox']:indeterminate {
620
+ -webkit-appearance: auto;
621
+ -moz-appearance: auto;
622
+ appearance: auto;
623
+ }
624
+ }
625
+
596
626
  [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
597
627
  border-color: transparent;
598
628
  background-color: currentColor;