artidrop 0.1.4 → 0.1.5
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 +5 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -145,7 +145,11 @@ async function publish(pathOrStdin, options) {
|
|
|
145
145
|
`/artifacts/${options.update}`,
|
|
146
146
|
{
|
|
147
147
|
method: "PUT",
|
|
148
|
-
body: {
|
|
148
|
+
body: {
|
|
149
|
+
content,
|
|
150
|
+
title,
|
|
151
|
+
...options.visibility && { visibility: options.visibility }
|
|
152
|
+
},
|
|
149
153
|
apiKey
|
|
150
154
|
}
|
|
151
155
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artidrop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "CLI to publish and share HTML/Markdown artifacts with a single command",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"build": "tsup",
|
|
31
31
|
"dev": "tsx src/index.ts",
|
|
32
32
|
"test": "vitest run",
|
|
33
|
+
"test:watch": "vitest",
|
|
33
34
|
"lint": "eslint src/",
|
|
34
35
|
"typecheck": "tsc --noEmit"
|
|
35
36
|
},
|