artidrop 0.1.3 → 0.1.4
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 +1 -1
- package/package.json +4 -2
package/dist/index.js
CHANGED
|
@@ -110,7 +110,7 @@ async function publish(pathOrStdin, options) {
|
|
|
110
110
|
const apiKey = requireApiKey();
|
|
111
111
|
let content;
|
|
112
112
|
let inferredFormat;
|
|
113
|
-
if (pathOrStdin === "-"
|
|
113
|
+
if (pathOrStdin === "-") {
|
|
114
114
|
content = await readStdin();
|
|
115
115
|
if (!options.format) {
|
|
116
116
|
process.stderr.write("Error: --format is required when reading from stdin.\n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artidrop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "CLI to publish and share HTML/Markdown artifacts with a single command",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsup",
|
|
31
31
|
"dev": "tsx src/index.ts",
|
|
32
|
+
"test": "vitest run",
|
|
32
33
|
"lint": "eslint src/",
|
|
33
34
|
"typecheck": "tsc --noEmit"
|
|
34
35
|
},
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"@types/node": "^25.5.0",
|
|
41
42
|
"tsup": "^8.5.1",
|
|
42
43
|
"tsx": "^4.21.0",
|
|
43
|
-
"typescript": "^5.9.3"
|
|
44
|
+
"typescript": "^5.9.3",
|
|
45
|
+
"vitest": "^4.1.0"
|
|
44
46
|
}
|
|
45
47
|
}
|