@mdream/crawl 0.8.0 → 0.8.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +29 -23
  2. package/package.json +4 -4
package/dist/cli.mjs CHANGED
@@ -121,29 +121,35 @@ async function interactiveCrawl() {
121
121
  p.cancel("Operation cancelled.");
122
122
  process.exit(0);
123
123
  } });
124
- const advancedOptions = await p.group({ outputFormats: () => p.multiselect({
125
- message: "Select output formats:",
126
- options: [
127
- {
128
- value: "llms.txt",
129
- label: "llms.txt (basic format)",
130
- hint: "Recommended"
131
- },
132
- {
133
- value: "llms-full.txt",
134
- label: "llms-full.txt (extended format)"
135
- },
136
- {
137
- value: "markdown",
138
- label: "Individual Markdown files"
139
- }
140
- ],
141
- initialValues: [
142
- "llms.txt",
143
- "llms-full.txt",
144
- "markdown"
145
- ]
146
- }) }, { onCancel: () => {
124
+ const advancedOptions = await p.group({
125
+ outputFormats: () => p.multiselect({
126
+ message: "Select output formats:",
127
+ options: [
128
+ {
129
+ value: "llms.txt",
130
+ label: "llms.txt (basic format)",
131
+ hint: "Recommended"
132
+ },
133
+ {
134
+ value: "llms-full.txt",
135
+ label: "llms-full.txt (extended format)"
136
+ },
137
+ {
138
+ value: "markdown",
139
+ label: "Individual Markdown files"
140
+ }
141
+ ],
142
+ initialValues: [
143
+ "llms.txt",
144
+ "llms-full.txt",
145
+ "markdown"
146
+ ]
147
+ }),
148
+ verbose: () => p.confirm({
149
+ message: "Enable verbose logging?",
150
+ initialValue: false
151
+ })
152
+ }, { onCancel: () => {
147
153
  p.cancel("Operation cancelled.");
148
154
  process.exit(0);
149
155
  } });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mdream/crawl",
3
3
  "type": "module",
4
- "version": "0.8.0",
4
+ "version": "0.8.2",
5
5
  "description": "Mdream Crawl generates comprehensive llms.txt artifacts from a single URL, using mdream to convert HTML to Markdown.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -49,11 +49,11 @@
49
49
  "crawlee": "^3.13.10",
50
50
  "nypm": "^0.6.0",
51
51
  "pathe": "^2.0.3",
52
- "picomatch": "^4.0.2",
53
- "mdream": "0.8.0"
52
+ "picomatch": "^4.0.3",
53
+ "mdream": "0.8.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@types/picomatch": "^4.0.0"
56
+ "@types/picomatch": "^4.0.1"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "obuild",