@nera-static/core 4.16.3 → 4.16.4
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/package.json +1 -1
- package/src/render.js +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nera-static/core",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.4",
|
|
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
|
@@ -347,10 +347,11 @@ export function ignoreFiles(ignoreList, filePath, sourceRoot) {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
// OS and editor clutter that never belongs in public/, matched against a file's
|
|
350
|
-
// basename. The list cpy (via the `junk` package) skipped by default
|
|
351
|
-
//
|
|
350
|
+
// basename. The list cpy (via the `junk` package) skipped by default, plus the
|
|
351
|
+
// `.gitkeep`/`.keep` markers that keep an empty folder in git (`nera new`
|
|
352
|
+
// ships `theme/assets/.gitkeep`); a marker is never content to serve.
|
|
352
353
|
const JUNK =
|
|
353
|
-
|
|
354
|
+
/^\.gitkeep$|^\.keep$|^npm-debug\.log$|^\..*\.swp$|^\.DS_Store$|^\.AppleDouble$|^\.LSOverride$|^Icon\r$|^\._.*|^\.Spotlight-V100(?:$|\/)|\.Trashes|^__MACOSX$|~$|^Thumbs\.db$|^ehthumbs\.db$|^[Dd]esktop\.ini$|@eaDir$/
|
|
354
355
|
|
|
355
356
|
// Every file under `dir`, dotfiles included, junk excluded. Symlinks are
|
|
356
357
|
// followed like cpy's glob did (a linked directory is walked, a dangling link
|