@masumdev/markforge 0.2.1 → 0.2.2
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/cli.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -2551,12 +2551,12 @@ var App = ({ inputFile, config, onComplete }) => {
|
|
|
2551
2551
|
|
|
2552
2552
|
// src/cli.tsx
|
|
2553
2553
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
2554
|
+
process.removeAllListeners("warning");
|
|
2554
2555
|
process.on("warning", (w) => {
|
|
2555
2556
|
if (w.message.includes("localstorage-file") || w.message.includes("localStorage")) return;
|
|
2556
2557
|
process.stderr.write(`(node:${process.pid}) ${w.name}: ${w.message}
|
|
2557
2558
|
`);
|
|
2558
2559
|
});
|
|
2559
|
-
process.removeAllListeners("warning");
|
|
2560
2560
|
async function main() {
|
|
2561
2561
|
const program = new Command();
|
|
2562
2562
|
program.name("markforge").description("Modern Markdown & MDX multi-format publishing engine & CLI (DOCX, PDF, HTML, Images)").version(MARKFORGE_VERSION, "-V, --version", "Output current markforge version").argument("[input-file]", "Markdown or MDX source file to compile", "README.md").option("-t, --to <formats>", "Target formats to compile to (comma-separated: docx,pdf,html)", "docx,pdf").option("-o, --output <dir>", "Output directory for generated documents").option("--theme <theme>", "Built-in theme name (default, academic, github, corporate, minimal)").option("--css <path...>", "Custom CSS stylesheet(s) to inject").option("-c, --config <path>", "Path to custom markforge configuration file").option("--toc", "Force Table of Contents generation").option("-w, --watch", "Watch input file for changes and recompile", false).option("-s, --serve [port]", "Start local HTTP preview server", false).option("-O, --open", "Open compiled document in default browser", false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masumdev/markforge",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Modern, high-performance Markdown & MDX multi-format document publishing engine and CLI (DOCX, PDF, HTML, and Images) with embedded HTML/CSS, image inliner, and Ink terminal UI.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|