draftie 0.1.0 → 0.1.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/README.md +1 -1
- package/dist/state.js +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ npx draftie upload plan.html
|
|
|
18
18
|
- `upload` prints the page's link, `URL:`, and the link that returns the exact bytes,
|
|
19
19
|
`Raw HTML:`.
|
|
20
20
|
|
|
21
|
-
The commands talk to `https://draftie.
|
|
21
|
+
The commands talk to `https://draftie.tourik.dev`. For another server, log in with its
|
|
22
22
|
address once: `npx draftie auth login --url https://draftie.example.com`. That server is then
|
|
23
23
|
the default.
|
|
24
24
|
|
package/dist/state.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
export const DEFAULT_URL = "https://draftie.
|
|
4
|
+
export const DEFAULT_URL = "https://draftie.tourik.dev";
|
|
5
5
|
const DIR = path.join(os.homedir(), ".draftie");
|
|
6
6
|
const CONFIG_PATH = path.join(DIR, "config.json");
|
|
7
7
|
const DRAFTS_PATH = path.join(DIR, "drafts.json");
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draftie",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Upload one HTML file, get a stable link. For the plans, reports and mockups that agents write.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/thanostourik/draftie.git",
|
|
10
|
+
"directory": "cli"
|
|
11
|
+
},
|
|
8
12
|
"bin": {
|
|
9
|
-
"draftie": "
|
|
13
|
+
"draftie": "dist/draftie.js"
|
|
10
14
|
},
|
|
11
15
|
"files": [
|
|
12
16
|
"dist/",
|