create-lettercamp 0.0.0-stage → 0.1.20
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 +29 -2
- package/bin/create-lettercamp.js +3 -0
- package/package.json +35 -4
package/README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Create Lettercamp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Create a Lettercamp site with one command (Node.js 22.23.4 or newer):
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm create lettercamp@latest
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Or use `npx create-lettercamp@latest`. Setup asks for a folder and starter preset,
|
|
10
|
+
then installs the Lettercamp CLI inside the new project.
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
cd my-lettercamp
|
|
14
|
+
npm run dev
|
|
15
|
+
npm run deploy
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
To supply choices directly:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm create lettercamp@latest my-blog -- --preset dark --yes
|
|
22
|
+
npx create-lettercamp@latest my-blog --preset dark --yes
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Use `--preset default` for the default starter, `--yes` to skip questions, or
|
|
26
|
+
`--no-install` to install dependencies later with `npm install`. Without a
|
|
27
|
+
terminal, unanswered questions use defaults. The destination must be new or empty.
|
|
28
|
+
Existing global installations are not changed.
|
|
29
|
+
|
|
30
|
+
See the [Lettercamp documentation](https://www.lettercamp.com/docs/cli).
|
package/package.json
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-lettercamp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.20",
|
|
4
|
+
"description": "Create a new Lettercamp site",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lettercamp",
|
|
7
|
+
"blog",
|
|
8
|
+
"cli",
|
|
9
|
+
"create"
|
|
10
|
+
],
|
|
11
|
+
"type": "module",
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=22.23.4"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/lettercamp/cli.git",
|
|
18
|
+
"directory": "create"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/lettercamp/cli#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/lettercamp/cli/issues"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public",
|
|
26
|
+
"registry": "https://registry.npmjs.org/"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"create-lettercamp": "bin/create-lettercamp.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"bin"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@lettercamp/cli": "0.1.20"
|
|
36
|
+
}
|
|
37
|
+
}
|