@opensyntaxhq/autodocs-plugin-examples 2.0.0 → 2.1.1
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/index.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var import_promises = __toESM(require("fs/promises"));
|
|
|
64
64
|
var import_path4 = __toESM(require("path"));
|
|
65
65
|
|
|
66
66
|
// ../../core/src/version.ts
|
|
67
|
-
var VERSION = "2.
|
|
67
|
+
var VERSION = "2.1.1";
|
|
68
68
|
|
|
69
69
|
// ../../core/src/generators/markdown/index.ts
|
|
70
70
|
var import_promises2 = __toESM(require("fs/promises"));
|
|
@@ -172,8 +172,7 @@ ${errors.join("\n")}`);
|
|
|
172
172
|
}
|
|
173
173
|
} finally {
|
|
174
174
|
try {
|
|
175
|
-
await import_promises6.default.
|
|
176
|
-
await import_promises6.default.rmdir(tempDir);
|
|
175
|
+
await import_promises6.default.rm(tempDir, { recursive: true, force: true });
|
|
177
176
|
} catch {
|
|
178
177
|
}
|
|
179
178
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import fs2 from "fs/promises";
|
|
|
29
29
|
import path4 from "path";
|
|
30
30
|
|
|
31
31
|
// ../../core/src/version.ts
|
|
32
|
-
var VERSION = "2.
|
|
32
|
+
var VERSION = "2.1.1";
|
|
33
33
|
|
|
34
34
|
// ../../core/src/generators/markdown/index.ts
|
|
35
35
|
import fs3 from "fs/promises";
|
|
@@ -137,8 +137,7 @@ ${errors.join("\n")}`);
|
|
|
137
137
|
}
|
|
138
138
|
} finally {
|
|
139
139
|
try {
|
|
140
|
-
await fs8.
|
|
141
|
-
await fs8.rmdir(tempDir);
|
|
140
|
+
await fs8.rm(tempDir, { recursive: true, force: true });
|
|
142
141
|
} catch {
|
|
143
142
|
}
|
|
144
143
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensyntaxhq/autodocs-plugin-examples",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Code example validation and extraction plugin for Autodocs",
|
|
6
6
|
"repository": {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"typescript": "^5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@opensyntaxhq/autodocs-core": "^2.
|
|
48
|
+
"@opensyntaxhq/autodocs-core": "^2.1.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@opensyntaxhq/autodocs-core": "^2.
|
|
51
|
+
"@opensyntaxhq/autodocs-core": "^2.1.1",
|
|
52
52
|
"@types/node": "^25.2.2",
|
|
53
53
|
"tsup": "^8.5.1"
|
|
54
54
|
}
|