@nera-static/core 4.11.1 → 4.11.3

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 CHANGED
@@ -23,7 +23,7 @@ nera dev # build + live-reload dev server
23
23
  nera build # render pages/ → public/
24
24
  ```
25
25
 
26
- A site is a **thin project** — a `package.json` whose only Nera dependency is `@nera-static/nera`, plus `config/`, `pages/`, and a `theme/`. It is not a clone of this repo. See the [CLI README](https://github.com/seebaermichi/nera-cli) for the full site workflow (content, translations, deployment).
26
+ A site is a **thin project** — a `package.json` whose only Nera dependency is `@nera-static/nera`, plus `config/`, `pages/`, and a `theme/`. It is not a clone of this repo. See the [Nera docs](https://nera.js.org/docs/) for the full site workflow (content, translations, deployment) and the [CLI README](https://github.com/seebaermichi/nera-cli) for its commands.
27
27
 
28
28
  Install `@nera-static/core` directly only if you are **embedding the engine** — a custom build script, a hosted platform, or your own tooling:
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nera-static/core",
3
- "version": "4.11.1",
3
+ "version": "4.11.3",
4
4
  "description": "The Nera static site generator engine — the build pipeline and the layered theme/view resolver, importable by the Nera CLI, @nera-static/validate and tooling",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
package/src/render.js CHANGED
@@ -351,6 +351,9 @@ export const copyFolder = async (sourceFolder, targetFolder, ignoreBase) => {
351
351
  try {
352
352
  await cpy([`${sourceFolder}/**/*`], targetFolder, {
353
353
  parents: true,
354
+ // Dotfiles (.htaccess, .well-known/) are site payload too;
355
+ // anything unwanted is excluded via .neraignore.
356
+ dot: true,
354
357
  filter: (file) => ignoreFiles(ignore, file.path, sourceFolder),
355
358
  })
356
359
  console.log(SUCCESS_COLOR, 'Assets copied')