@nera-static/nera 1.11.1 → 1.12.0
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 +5 -3
- package/package.json +3 -3
- package/src/starters.js +6 -0
package/README.md
CHANGED
|
@@ -128,7 +128,8 @@ theme it depends on still updates through npm).
|
|
|
128
128
|
|
|
129
129
|
`--starter` takes:
|
|
130
130
|
|
|
131
|
-
- a starter name: `blank` → `@nera-static/starter-blank
|
|
131
|
+
- a starter name: `blank` → `@nera-static/starter-blank`, `blog` →
|
|
132
|
+
`@nera-static/starter-blog`;
|
|
132
133
|
- a package name: `@acme/starter-shop`, or unscoped `nera-starter-shop`;
|
|
133
134
|
- a GitHub URL: `https://github.com/owner/repo` (optionally `.git`, `#ref`),
|
|
134
135
|
or `github:owner/repo#ref`;
|
|
@@ -159,8 +160,9 @@ default. Every question has a flag (`--starter`, `--name`, `--lang`); with
|
|
|
159
160
|
`--yes`, or without a terminal (scripts, CI, AI agents), nothing is asked and
|
|
160
161
|
`nera new` scaffolds the base template.
|
|
161
162
|
|
|
162
|
-
The official starters
|
|
163
|
-
|
|
163
|
+
The official starters: `blank` (`@nera-static/starter-blank`, one accessible
|
|
164
|
+
layout, no theme) and `blog` (`@nera-static/starter-blog`, a blog on
|
|
165
|
+
`@nera-static/theme-blog` with tags, an archive, an Atom feed and a sitemap).
|
|
164
166
|
|
|
165
167
|
## Checking the built site
|
|
166
168
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nera-static/nera",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "The Nera CLI — scaffold, build, preview and update a Nera static site with one command over the @nera-static/core engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"nera": "
|
|
7
|
+
"nera": "bin/nera.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "https://github.com/seebaermichi/nera-cli.git"
|
|
33
|
+
"url": "git+https://github.com/seebaermichi/nera-cli.git"
|
|
34
34
|
},
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/seebaermichi/nera-cli/issues"
|
package/src/starters.js
CHANGED
|
@@ -9,4 +9,10 @@ export const BUNDLED_STARTERS = [
|
|
|
9
9
|
label: 'Blank',
|
|
10
10
|
description: 'The smallest Nera starter: a home page, imprint and privacy placeholders, and one accessible layout. No theme, no plugins, no JavaScript.',
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
name: 'blog',
|
|
14
|
+
package: '@nera-static/starter-blog',
|
|
15
|
+
label: 'Blog',
|
|
16
|
+
description: 'A ready-to-edit Nera blog on @nera-static/theme-blog: three sample posts, tags, an archive by year, prev/next, an Atom feed, a sitemap, code blocks, navigation, responsive images, social links and imprint and privacy placeholders. No JavaScript.',
|
|
17
|
+
},
|
|
12
18
|
]
|