@nera-static/nera 1.3.0 → 1.4.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.
Files changed (2) hide show
  1. package/README.md +12 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -103,6 +103,17 @@ privacy:
103
103
  ```
104
104
 
105
105
  Silence a rule on one page with `validate_ignore: [a11y-h1]` in its frontmatter.
106
+ To silence a rule on whole files or folders, list them under `ignore` — this
107
+ works for `nera validate` too, e.g. for `layout-missing` on content fragments
108
+ another page pulls in, or on drafts, which have no `layout` on purpose:
109
+
110
+ ```yaml
111
+ ignore:
112
+ layout-missing:
113
+ - pages/*/references # a folder covers everything below it; * = one folder name
114
+ - pages/de/blog/drafts
115
+ ```
116
+
106
117
  Your own host is `origin` in `config/app.yaml`, else `app_origin` in
107
118
  `config/canonical-links.yaml`. Without `legal.*` config, the imprint and privacy
108
119
  links are found by their text in German and English only (*Impressum*,
@@ -136,7 +147,7 @@ layout `nera new` scaffolds.
136
147
 
137
148
  ## Requirements
138
149
 
139
- Node.js >= 20.
150
+ Node.js 20.19 or later, or 22.12 or later.
140
151
 
141
152
  ## License
142
153
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nera-static/nera",
3
- "version": "1.3.0",
3
+ "version": "1.4.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": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "homepage": "https://github.com/seebaermichi/nera-cli#readme",
38
38
  "engines": {
39
- "node": ">=20.0.0"
39
+ "node": "^20.19.0 || >=22.12.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"