getfilepress 0.1.29 → 0.1.30
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 +12 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,17 @@ Written **FilePress**. npm **`getfilepress`**. CLI **`filepress`** (same script
|
|
|
8
8
|
|
|
9
9
|
## Start a site
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Shortest path: a folder with `filepress.config.ts` (`title`, `url`), `posts/*.md`, and `"getfilepress": "^0.1.29"` in `package.json`.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm install
|
|
15
|
+
pnpm build # → ./build/
|
|
16
|
+
pnpm preview # serve build/, no Genie
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`pnpm dev` is optional (Genie). FilePress does not upload `build/`.
|
|
20
|
+
|
|
21
|
+
From a clone of this repo, scaffold a fuller starter:
|
|
12
22
|
|
|
13
23
|
```bash
|
|
14
24
|
pnpm install
|
|
@@ -18,7 +28,7 @@ cd ../my-blog && pnpm install && pnpm dev
|
|
|
18
28
|
|
|
19
29
|
`filepress new "Title"` stamps `posts/YYYY-MM-DD-slug.md`. Config, frontmatter, images, and commands: [Docs](https://getfilepress.com/docs).
|
|
20
30
|
|
|
21
|
-
Pin CI on npm (`getfilepress` current is `0.1.
|
|
31
|
+
Pin CI on npm (`getfilepress` current is `0.1.29`) or a git SHA / existing tag. `link:` is local only.
|
|
22
32
|
|
|
23
33
|
## Import
|
|
24
34
|
|
package/package.json
CHANGED